From b58562758668d76e6205d2c29abe051faa46e308 Mon Sep 17 00:00:00 2001
From: vinibrsl
Date: Wed, 25 Oct 2023 12:02:51 +0000
Subject: [PATCH] deploy: 0c8b3d7992e1cd2ff8f3bb179761245d77317c58
---
.build | 5 +-
404.html | 2 +-
Mix.Tasks.CancelSubscription.html | 2 +-
Mix.Tasks.CleanClickhouse.html | 2 +-
Mix.Tasks.CreateFreeSubscription.html | 2 +-
Mix.Tasks.DownloadCountryDatabase.html | 2 +-
Mix.Tasks.GenerateReferrerFavicons.html | 2 +-
Mix.Tasks.PullSandboxSubscription.html | 2 +-
Mix.Tasks.SendPageview.html | 2 +-
ObanErrorReporter.html | 2 +-
Plausible.AsyncInsertRepo.html | 18 +-
Plausible.Auth.ApiKey.html | 2 +-
Plausible.Auth.ApiKeyAdmin.html | 2 +-
Plausible.Auth.EmailActivationCode.html | 2 +-
Plausible.Auth.EmailVerification.html | 2 +-
Plausible.Auth.GracePeriod.html | 2 +-
Plausible.Auth.Invitation.html | 2 +-
Plausible.Auth.Password.html | 2 +-
Plausible.Auth.Token.html | 2 +-
Plausible.Auth.User.html | 2 +-
Plausible.Auth.UserAdmin.html | 2 +-
Plausible.Auth.html | 2 +-
Plausible.Billing.EnterprisePlan.html | 2 +-
Plausible.Billing.EnterprisePlanAdmin.html | 2 +-
Plausible.Billing.Feature.html | 2 +-
Plausible.Billing.PaddleApi.html | 2 +-
Plausible.Billing.Plans.html | 2 +-
Plausible.Billing.Quota.html | 8 +-
Plausible.Billing.SiteLocker.html | 2 +-
Plausible.Billing.Subscription.Status.html | 2 +-
Plausible.Billing.html | 2 +-
Plausible.ChangesetHelpers.html | 2 +-
Plausible.Cldr.AcceptLanguage.html | 258 ++++++------
Plausible.Cldr.Currency.html | 126 +++---
Plausible.Cldr.Locale.html | 50 +--
Plausible.Cldr.Number.Cardinal.html | 20 +-
Plausible.Cldr.Number.Format.html | 50 +--
Plausible.Cldr.Number.Formatter.Decimal.html | 2 +-
Plausible.Cldr.Number.Ordinal.html | 20 +-
Plausible.Cldr.Number.PluralRule.Range.html | 2 +-
Plausible.Cldr.Number.Symbol.html | 16 +-
Plausible.Cldr.Number.System.html | 56 +--
Plausible.Cldr.Number.Transliterate.html | 22 +-
Plausible.Cldr.Number.html | 178 ++++-----
Plausible.Cldr.Rbnf.NumberSystem.html | 14 +-
Plausible.Cldr.Rbnf.Ordinal.html | 18 +-
Plausible.Cldr.Rbnf.Spellout.html | 14 +-
Plausible.Cldr.html | 138 +++----
Plausible.ClickhouseEventV2.html | 2 +-
Plausible.ClickhouseRepo.html | 18 +-
Plausible.ClickhouseSessionV2.BoolUInt8.html | 2 +-
Plausible.ClickhouseSessionV2.html | 2 +-
Plausible.ConfigHelpers.html | 2 +-
Plausible.DataCase.html | 2 +-
Plausible.DataMigration.NumericIDs.html | 2 +-
Plausible.DataMigration.Repo.html | 18 +-
...ible.DataMigration.RewriteFunnelDupes.html | 2 +-
Plausible.DataMigration.html | 2 +-
Plausible.DebugReplayInfo.html | 2 +-
Plausible.Ecto.EventName.html | 2 +-
Plausible.Event.WriteBuffer.html | 2 +-
Plausible.Factory.html | 2 +-
Plausible.Funnel.Step.html | 2 +-
Plausible.Funnel.html | 2 +-
Plausible.Funnels.html | 2 +-
Plausible.Geo.html | 66 ++--
Plausible.Goal.html | 2 +-
Plausible.Goals.html | 2 +-
Plausible.Google.Api.Mock.html | 2 +-
Plausible.Google.Api.html | 2 +-
Plausible.Google.Buffer.html | 2 +-
Plausible.Google.HTTP.html | 2 +-
Plausible.Google.ReportRequest.html | 2 +-
Plausible.HTTPClient.Interface.html | 2 +-
Plausible.HTTPClient.Non200Error.html | 2 +-
Plausible.HTTPClient.html | 2 +-
Plausible.ImportDeletionRepo.html | 18 +-
Plausible.Imported.html | 2 +-
Plausible.IngestRepo.html | 18 +-
Plausible.Ingestion.Counters.Buffer.html | 2 +-
Plausible.Ingestion.Counters.Record.html | 2 +-
...e.Ingestion.Counters.TelemetryHandler.html | 2 +-
Plausible.Ingestion.Counters.html | 2 +-
Plausible.Ingestion.Event.html | 2 +-
Plausible.Ingestion.Request.html | 2 +-
Plausible.Mailer.html | 2 +-
Plausible.OpenTelemetry.Sampler.html | 2 +-
Plausible.PaddleApi.Mock.html | 2 +-
Plausible.Plugins.API.Goals.html | 2 +-
Plausible.Plugins.API.Pagination.html | 2 +-
Plausible.Plugins.API.SharedLinks.html | 2 +-
Plausible.Plugins.API.Token.html | 2 +-
Plausible.Plugins.API.Tokens.html | 2 +-
...sible.PromEx.Plugins.PlausibleMetrics.html | 2 +-
Plausible.PromEx.html | 2 +-
Plausible.Props.html | 2 +-
Plausible.Purge.html | 2 +-
Plausible.Release.html | 2 +-
Plausible.Repo.html | 2 +-
Plausible.Sentry.Client.html | 2 +-
Plausible.SentryFilter.html | 2 +-
Plausible.Session.CacheStore.html | 2 +-
Plausible.Session.Salts.html | 2 +-
Plausible.Session.WriteBuffer.html | 2 +-
Plausible.Site.Cache.Warmer.All.html | 2 +-
...ble.Site.Cache.Warmer.RecentlyUpdated.html | 2 +-
Plausible.Site.Cache.Warmer.html | 2 +-
Plausible.Site.Cache.html | 2 +-
Plausible.Site.CustomDomain.html | 2 +-
Plausible.Site.Domain.html | 2 +-
Plausible.Site.GateKeeper.html | 2 +-
Plausible.Site.GoogleAuth.html | 2 +-
Plausible.Site.ImportedData.html | 2 +-
Plausible.Site.Membership.html | 2 +-
...ble.Site.Memberships.AcceptInvitation.html | 2 +-
...ble.Site.Memberships.CreateInvitation.html | 374 ++++++++++++++++++
...ble.Site.Memberships.RejectInvitation.html | 2 +-
...ble.Site.Memberships.RemoveInvitation.html | 2 +-
Plausible.Site.Memberships.html | 102 ++++-
Plausible.Site.MonthlyReport.html | 2 +-
Plausible.Site.Removal.html | 2 +-
Plausible.Site.SharedLink.html | 2 +-
Plausible.Site.SpikeNotification.html | 2 +-
Plausible.Site.WeeklyReport.html | 2 +-
Plausible.Site.html | 2 +-
Plausible.SiteAdmin.html | 8 +-
Plausible.Sites.html | 220 +----------
Plausible.Stats.Aggregate.html | 2 +-
Plausible.Stats.Base.html | 2 +-
Plausible.Stats.Breakdown.html | 2 +-
Plausible.Stats.Clickhouse.html | 2 +-
Plausible.Stats.Compare.html | 2 +-
Plausible.Stats.Comparisons.html | 2 +-
Plausible.Stats.CurrentVisitors.html | 2 +-
Plausible.Stats.CustomProps.html | 2 +-
Plausible.Stats.FilterParser.html | 14 +-
Plausible.Stats.FilterSuggestions.html | 2 +-
Plausible.Stats.Filters.html | 2 +-
Plausible.Stats.Fragments.html | 2 +-
Plausible.Stats.Funnel.html | 2 +-
Plausible.Stats.Imported.html | 2 +-
Plausible.Stats.Interval.html | 2 +-
Plausible.Stats.Props.html | 2 +-
Plausible.Stats.Query.html | 2 +-
Plausible.Stats.Timeseries.html | 2 +-
Plausible.Stats.Util.html | 2 +-
Plausible.Stats.html | 2 +-
Plausible.Test.Support.HTML.html | 2 +-
Plausible.Test.Support.HTTPMocker.html | 2 +-
Plausible.TestUtils.html | 2 +-
Plausible.Themes.html | 2 +-
Plausible.Timezones.html | 2 +-
Plausible.Users.html | 2 +-
Plausible.Workers.CheckUsage.html | 2 +-
Plausible.Workers.CleanInvitations.html | 2 +-
...Workers.ExpireDomainChangeTransitions.html | 2 +-
Plausible.Workers.ImportGoogleAnalytics.html | 2 +-
Plausible.Workers.LockSites.html | 2 +-
Plausible.Workers.NotifyAnnualRenewal.html | 2 +-
Plausible.Workers.RotateSalts.html | 2 +-
Plausible.Workers.ScheduleEmailReports.html | 2 +-
Plausible.Workers.SendCheckStatsEmails.html | 2 +-
Plausible.Workers.SendEmailReport.html | 2 +-
Plausible.Workers.SendSiteSetupEmails.html | 2 +-
Plausible.Workers.SendTrialNotifications.html | 2 +-
Plausible.Workers.SpikeNotifier.html | 2 +-
Plausible.epub | Bin 546482 -> 547527 bytes
Plausible.html | 2 +-
PlausibleWeb.Api.ExternalController.html | 2 +-
PlausibleWeb.Api.ExternalSitesController.html | 2 +-
PlausibleWeb.Api.ExternalStatsController.html | 2 +-
PlausibleWeb.Api.Helpers.html | 2 +-
PlausibleWeb.Api.InternalController.html | 2 +-
PlausibleWeb.Api.PaddleController.html | 2 +-
PlausibleWeb.Api.StatsController.html | 18 +-
PlausibleWeb.AuthController.html | 2 +-
PlausibleWeb.AuthPlug.html | 2 +-
PlausibleWeb.AuthView.html | 2 +-
PlausibleWeb.AuthorizeSiteAccess.html | 2 +-
PlausibleWeb.AuthorizeSitesApiPlug.html | 2 +-
PlausibleWeb.AuthorizeStatsApiPlug.html | 2 +-
PlausibleWeb.AvatarController.html | 2 +-
PlausibleWeb.BillingController.html | 2 +-
PlausibleWeb.BillingView.html | 2 +-
PlausibleWeb.CRMAuthPlug.html | 2 +-
PlausibleWeb.Captcha.html | 2 +-
PlausibleWeb.Components.Generic.html | 2 +-
PlausibleWeb.Components.Google.html | 2 +-
PlausibleWeb.Components.Settings.html | 2 +-
PlausibleWeb.Components.Site.Feature.html | 2 +-
PlausibleWeb.ConnCase.html | 2 +-
PlausibleWeb.ControllerHelpers.html | 2 +-
PlausibleWeb.Email.html | 2 +-
PlausibleWeb.EmailView.html | 2 +-
PlausibleWeb.Endpoint.html | 2 +-
PlausibleWeb.ErrorHelpers.html | 2 +-
PlausibleWeb.ErrorReportController.html | 2 +-
PlausibleWeb.ErrorView.html | 2 +-
PlausibleWeb.Favicon.html | 2 +-
PlausibleWeb.FirstLaunchPlug.html | 2 +-
PlausibleWeb.FormHelpers.html | 2 +-
PlausibleWeb.InvitationController.html | 2 +-
PlausibleWeb.LastSeenPlug.html | 2 +-
PlausibleWeb.LayoutView.JWT.html | 2 +-
PlausibleWeb.LayoutView.html | 2 +-
PlausibleWeb.Live.ChoosePlan.html | 2 +-
...Live.Components.ComboBox.StaticSearch.html | 2 +-
PlausibleWeb.Live.Components.ComboBox.html | 2 +-
PlausibleWeb.Live.Components.Form.html | 2 +-
PlausibleWeb.Live.Flash.html | 2 +-
PlausibleWeb.Live.FunnelSettings.Form.html | 2 +-
PlausibleWeb.Live.FunnelSettings.List.html | 2 +-
PlausibleWeb.Live.FunnelSettings.html | 2 +-
PlausibleWeb.Live.GoalSettings.Form.html | 2 +-
PlausibleWeb.Live.GoalSettings.List.html | 2 +-
PlausibleWeb.Live.GoalSettings.html | 2 +-
PlausibleWeb.Live.Plugins.API.Settings.html | 2 +-
PlausibleWeb.Live.Plugins.API.TokenForm.html | 2 +-
PlausibleWeb.Live.PropsSettings.Form.html | 2 +-
PlausibleWeb.Live.PropsSettings.List.html | 2 +-
PlausibleWeb.Live.PropsSettings.html | 2 +-
PlausibleWeb.Live.RegisterForm.html | 2 +-
PlausibleWeb.Live.ResetPasswordForm.html | 2 +-
PlausibleWeb.MJML.WeeklyReport.html | 2 +-
PlausibleWeb.PageController.html | 2 +-
PlausibleWeb.PageView.html | 2 +-
...ibleWeb.Plugins.API.Controllers.Goals.html | 2 +-
...b.Plugins.API.Controllers.SharedLinks.html | 2 +-
PlausibleWeb.Plugins.API.Errors.html | 2 +-
PlausibleWeb.Plugins.API.Router.html | 2 +-
PlausibleWeb.Plugins.API.Schemas.Error.html | 2 +-
...chemas.Goal.CreateRequest.CustomEvent.html | 2 +-
...I.Schemas.Goal.CreateRequest.Pageview.html | 2 +-
...PI.Schemas.Goal.CreateRequest.Revenue.html | 2 +-
...lugins.API.Schemas.Goal.CreateRequest.html | 2 +-
....Plugins.API.Schemas.Goal.CustomEvent.html | 2 +-
...Plugins.API.Schemas.Goal.ListResponse.html | 2 +-
...Web.Plugins.API.Schemas.Goal.Pageview.html | 2 +-
...eWeb.Plugins.API.Schemas.Goal.Revenue.html | 2 +-
...ibleWeb.Plugins.API.Schemas.Goal.Type.html | 2 +-
PlausibleWeb.Plugins.API.Schemas.Goal.html | 2 +-
PlausibleWeb.Plugins.API.Schemas.Link.html | 2 +-
...sibleWeb.Plugins.API.Schemas.NotFound.html | 2 +-
...lugins.API.Schemas.PaginationMetadata.html | 2 +-
...b.Plugins.API.Schemas.PaymentRequired.html | 2 +-
....API.Schemas.SharedLink.CreateRequest.html | 2 +-
...s.API.Schemas.SharedLink.ListResponse.html | 2 +-
...bleWeb.Plugins.API.Schemas.SharedLink.html | 2 +-
...eWeb.Plugins.API.Schemas.Unauthorized.html | 2 +-
...ugins.API.Schemas.UnprocessableEntity.html | 2 +-
PlausibleWeb.Plugins.API.Spec.html | 2 +-
PlausibleWeb.Plugins.API.Views.Error.html | 2 +-
PlausibleWeb.Plugins.API.Views.Goal.html | 2 +-
...sibleWeb.Plugins.API.Views.Pagination.html | 2 +-
...sibleWeb.Plugins.API.Views.SharedLink.html | 2 +-
PlausibleWeb.Plugins.API.html | 2 +-
PlausibleWeb.PluginsAPICase.html | 2 +-
PlausibleWeb.Plugs.AuthorizePluginsAPI.html | 2 +-
...bleWeb.Plugs.MaybeDisableRegistration.html | 2 +-
PlausibleWeb.Plugs.NoRobots.html | 2 +-
PlausibleWeb.RefInspector.html | 2 +-
PlausibleWeb.RemoteIp.html | 2 +-
PlausibleWeb.RequireAccountPlug.html | 2 +-
PlausibleWeb.RequireLoggedOutPlug.html | 2 +-
PlausibleWeb.Router.html | 2 +-
PlausibleWeb.SessionTimeoutPlug.html | 2 +-
PlausibleWeb.Site.MembershipController.html | 6 +-
PlausibleWeb.Site.MembershipView.html | 2 +-
PlausibleWeb.SiteController.html | 2 +-
PlausibleWeb.SiteView.html | 2 +-
PlausibleWeb.StatsController.html | 2 +-
PlausibleWeb.StatsView.html | 2 +-
PlausibleWeb.Tracker.html | 2 +-
PlausibleWeb.UnsubscribeController.html | 2 +-
PlausibleWeb.UnsubscribeView.html | 2 +-
PlausibleWeb.html | 2 +-
account-locking.html | 2 +-
api-reference.html | 12 +-
contributing.html | 2 +-
...ta-B61F8F8A.js => search_data-35B6031A.js} | 2 +-
...-2C588244.js => sidebar_items-8CC1E49E.js} | 2 +-
readme.html | 2 +-
search.html | 4 +-
283 files changed, 1353 insertions(+), 1056 deletions(-)
create mode 100644 Plausible.Site.Memberships.CreateInvitation.html
rename dist/{search_data-B61F8F8A.js => search_data-35B6031A.js} (62%)
rename dist/{sidebar_items-2C588244.js => sidebar_items-8CC1E49E.js} (50%)
diff --git a/.build b/.build
index 89cece91f..6f94dbcb3 100644
--- a/.build
+++ b/.build
@@ -112,6 +112,7 @@ Plausible.Site.GoogleAuth.html
Plausible.Site.ImportedData.html
Plausible.Site.Membership.html
Plausible.Site.Memberships.AcceptInvitation.html
+Plausible.Site.Memberships.CreateInvitation.html
Plausible.Site.Memberships.RejectInvitation.html
Plausible.Site.Memberships.RemoveInvitation.html
Plausible.Site.Memberships.html
@@ -302,8 +303,8 @@ dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2
dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2
dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2
dist/remixicon-NKANDIL5.woff2
-dist/search_data-B61F8F8A.js
-dist/sidebar_items-2C588244.js
+dist/search_data-35B6031A.js
+dist/sidebar_items-8CC1E49E.js
index.html
readme.html
search.html
diff --git a/404.html b/404.html
index d8aab455d..24e7959a1 100644
--- a/404.html
+++ b/404.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CancelSubscription.html b/Mix.Tasks.CancelSubscription.html
index 145802994..98f8054be 100644
--- a/Mix.Tasks.CancelSubscription.html
+++ b/Mix.Tasks.CancelSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CleanClickhouse.html b/Mix.Tasks.CleanClickhouse.html
index a32ba2b75..cca551e4a 100644
--- a/Mix.Tasks.CleanClickhouse.html
+++ b/Mix.Tasks.CleanClickhouse.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CreateFreeSubscription.html b/Mix.Tasks.CreateFreeSubscription.html
index c3d89cd9e..4470950cc 100644
--- a/Mix.Tasks.CreateFreeSubscription.html
+++ b/Mix.Tasks.CreateFreeSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.DownloadCountryDatabase.html b/Mix.Tasks.DownloadCountryDatabase.html
index 1efd220cd..2040fee59 100644
--- a/Mix.Tasks.DownloadCountryDatabase.html
+++ b/Mix.Tasks.DownloadCountryDatabase.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.GenerateReferrerFavicons.html b/Mix.Tasks.GenerateReferrerFavicons.html
index d4218c6c5..1194768e9 100644
--- a/Mix.Tasks.GenerateReferrerFavicons.html
+++ b/Mix.Tasks.GenerateReferrerFavicons.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.PullSandboxSubscription.html b/Mix.Tasks.PullSandboxSubscription.html
index d76614459..6f97d0c48 100644
--- a/Mix.Tasks.PullSandboxSubscription.html
+++ b/Mix.Tasks.PullSandboxSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.SendPageview.html b/Mix.Tasks.SendPageview.html
index 9da353d30..098411dd0 100644
--- a/Mix.Tasks.SendPageview.html
+++ b/Mix.Tasks.SendPageview.html
@@ -13,7 +13,7 @@
-
+
diff --git a/ObanErrorReporter.html b/ObanErrorReporter.html
index 17932f93b..b8dc16925 100644
--- a/ObanErrorReporter.html
+++ b/ObanErrorReporter.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.AsyncInsertRepo.html b/Plausible.AsyncInsertRepo.html
index 23d1c7c33..a6471d3c4 100644
--- a/Plausible.AsyncInsertRepo.html
+++ b/Plausible.AsyncInsertRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1114,23 +1114,23 @@ pool to disconnect within the given interval.
See
-Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
+Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
- defmodule Demo do
+ defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a , Ch , type : "UInt64"
field :b , :string
- end
- end
+ end
+ end
- rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
- { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
+ rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
+ { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
# schemaless
- { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
+ { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
diff --git a/Plausible.Auth.ApiKey.html b/Plausible.Auth.ApiKey.html
index 9ffb1128f..c321f0fc2 100644
--- a/Plausible.Auth.ApiKey.html
+++ b/Plausible.Auth.ApiKey.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.ApiKeyAdmin.html b/Plausible.Auth.ApiKeyAdmin.html
index f61710cc6..b1a9ee5a8 100644
--- a/Plausible.Auth.ApiKeyAdmin.html
+++ b/Plausible.Auth.ApiKeyAdmin.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.EmailActivationCode.html b/Plausible.Auth.EmailActivationCode.html
index f85907f4b..4139d6830 100644
--- a/Plausible.Auth.EmailActivationCode.html
+++ b/Plausible.Auth.EmailActivationCode.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.EmailVerification.html b/Plausible.Auth.EmailVerification.html
index 360310218..d1d3076f1 100644
--- a/Plausible.Auth.EmailVerification.html
+++ b/Plausible.Auth.EmailVerification.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.GracePeriod.html b/Plausible.Auth.GracePeriod.html
index 0d29cba6b..34062d961 100644
--- a/Plausible.Auth.GracePeriod.html
+++ b/Plausible.Auth.GracePeriod.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Invitation.html b/Plausible.Auth.Invitation.html
index 99675267a..555347146 100644
--- a/Plausible.Auth.Invitation.html
+++ b/Plausible.Auth.Invitation.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Password.html b/Plausible.Auth.Password.html
index 809ba9256..d6f793280 100644
--- a/Plausible.Auth.Password.html
+++ b/Plausible.Auth.Password.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Token.html b/Plausible.Auth.Token.html
index bb63bad2a..8ada60a3b 100644
--- a/Plausible.Auth.Token.html
+++ b/Plausible.Auth.Token.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.User.html b/Plausible.Auth.User.html
index a8a1cb2f0..fada2655d 100644
--- a/Plausible.Auth.User.html
+++ b/Plausible.Auth.User.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.UserAdmin.html b/Plausible.Auth.UserAdmin.html
index e36134450..1341c6296 100644
--- a/Plausible.Auth.UserAdmin.html
+++ b/Plausible.Auth.UserAdmin.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.html b/Plausible.Auth.html
index 0f7507ff7..6f4e3248e 100644
--- a/Plausible.Auth.html
+++ b/Plausible.Auth.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.EnterprisePlan.html b/Plausible.Billing.EnterprisePlan.html
index 054d47298..4522af798 100644
--- a/Plausible.Billing.EnterprisePlan.html
+++ b/Plausible.Billing.EnterprisePlan.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.EnterprisePlanAdmin.html b/Plausible.Billing.EnterprisePlanAdmin.html
index 8bcffe553..bdc377b47 100644
--- a/Plausible.Billing.EnterprisePlanAdmin.html
+++ b/Plausible.Billing.EnterprisePlanAdmin.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.Feature.html b/Plausible.Billing.Feature.html
index 8a8488ab9..d1d149be8 100644
--- a/Plausible.Billing.Feature.html
+++ b/Plausible.Billing.Feature.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.PaddleApi.html b/Plausible.Billing.PaddleApi.html
index 3315ea9be..9b27ef46c 100644
--- a/Plausible.Billing.PaddleApi.html
+++ b/Plausible.Billing.PaddleApi.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.Plans.html b/Plausible.Billing.Plans.html
index 0bfa5ebf4..3d30adc3b 100644
--- a/Plausible.Billing.Plans.html
+++ b/Plausible.Billing.Plans.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.Quota.html b/Plausible.Billing.Quota.html
index 502ab55c5..e6ecd8407 100644
--- a/Plausible.Billing.Quota.html
+++ b/Plausible.Billing.Quota.html
@@ -13,7 +13,7 @@
-
+
@@ -247,7 +247,7 @@ Functions
allowed_features_for(user)
-
+
View Source
@@ -270,7 +270,7 @@ ability to use all features during their trial.
features_usage(user)
-
+
View Source
@@ -472,7 +472,7 @@ with the user's sites.
within_limit?(usage, limit)
-
+
View Source
diff --git a/Plausible.Billing.SiteLocker.html b/Plausible.Billing.SiteLocker.html
index 2c9997830..bc61ddfa4 100644
--- a/Plausible.Billing.SiteLocker.html
+++ b/Plausible.Billing.SiteLocker.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.Subscription.Status.html b/Plausible.Billing.Subscription.Status.html
index e435fcf8a..6c62304cd 100644
--- a/Plausible.Billing.Subscription.Status.html
+++ b/Plausible.Billing.Subscription.Status.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Billing.html b/Plausible.Billing.html
index 11be487d4..d43036859 100644
--- a/Plausible.Billing.html
+++ b/Plausible.Billing.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ChangesetHelpers.html b/Plausible.ChangesetHelpers.html
index 67f5ac4d7..5e8f5ceeb 100644
--- a/Plausible.ChangesetHelpers.html
+++ b/Plausible.ChangesetHelpers.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Cldr.AcceptLanguage.html b/Plausible.Cldr.AcceptLanguage.html
index b66a02563..9b5c36570 100644
--- a/Plausible.Cldr.AcceptLanguage.html
+++ b/Plausible.Cldr.AcceptLanguage.html
@@ -13,7 +13,7 @@
-
+
@@ -119,7 +119,7 @@ Plausible
the set of natural languages that are preferred as a response to the request.
Language tags function are provided in Cldr.LanguageTag .The format of an Accept-Language header is as follows in ABNF format:
Accept - Language = "Accept-Language" ":"
1 #( language-range [ ";" "q" "=" qvalue ] )
- language - range = ( ( 1 * 8 ALPHA * ( "-" 1 * 8 ALPHA ) ) | "*" ) Each language-range MAY be given an associated quality value which represents an
+ language - range = ( ( 1 * 8 ALPHA * ( "-" 1 * 8 ALPHA ) ) | "*" )
Each language-range MAY be given an associated quality value which represents an
estimate of the user's preference for the languages specified by that range. The
quality value defaults to "q=1". For example,
Accept - Language : da , en - gb ; q = 0.8 , en ; q = 0.7 would mean: "I prefer Danish, but will accept British English and other types of English."
@@ -232,54 +232,54 @@ a configured iex> Plausible.Cldr.AcceptLanguage . best_match ( "da;q=0.1,zh-TW;q=0.3" , TestBackend.Cldr )
- { :ok ,
- % Cldr.LanguageTag {
+iex> Plausible.Cldr.AcceptLanguage . best_match ( "da;q=0.1,zh-TW;q=0.3" , TestBackend.Cldr )
+ { :ok ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } }
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
- iex> Plausible.Cldr.AcceptLanguage . best_match ( "da;q=0.1,zh-TW;q=0.3" , TestBackend.Cldr )
- { :ok ,
- % Cldr.LanguageTag {
+ iex> Plausible.Cldr.AcceptLanguage . best_match ( "da;q=0.1,zh-TW;q=0.3" , TestBackend.Cldr )
+ { :ok ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } }
-
- iex> Plausible.Cldr.AcceptLanguage . best_match ( "xx,yy;q=0.3" )
- { :error ,
- { Cldr.NoMatchingLocale ,
- "No configured locale could be matched to \" xx,yy;q=0.3 \" " } }
-
- iex> Plausible.Cldr.AcceptLanguage . best_match ( "invalid_tag" )
- { :error , { Cldr.LanguageTag.ParseError ,
- "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
+
+ iex> Plausible.Cldr.AcceptLanguage . best_match ( "xx,yy;q=0.3" )
+ { :error ,
+ { Cldr.NoMatchingLocale ,
+ "No configured locale could be matched to \" xx,yy;q=0.3 \" " } }
+
+ iex> Plausible.Cldr.AcceptLanguage . best_match ( "invalid_tag" )
+ { :error , { Cldr.LanguageTag.ParseError ,
+ "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
@@ -340,95 +340,95 @@ wuth an error tuple for each invalid tag added at the end of the list.
-iex> Cldr.AcceptLanguage . parse ( "da,zh-TW;q=0.3" , TestBackend.Cldr )
- { :ok ,
- [
- { 1.0 ,
- % Cldr.LanguageTag {
+iex> Cldr.AcceptLanguage . parse ( "da,zh-TW;q=0.3" , TestBackend.Cldr )
+ { :ok ,
+ [
+ { 1.0 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "da" ,
cldr_locale_name : :da ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "da" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :da ,
requested_locale_name : "da" ,
script : :Latn ,
territory : :DK ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { 0.3 ,
- % Cldr.LanguageTag {
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { 0.3 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } }
- ] }
-
- iex> Plausible.Cldr.AcceptLanguage . parse ( "invalid_tag" )
- { :error ,
- { Cldr.LanguageTag.ParseError ,
- "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
-
- iex> Plausible.Cldr.AcceptLanguage . parse ( "da,zh-TW;q=0.3,invalid_tag" )
- { :ok ,
- [
- { 1.0 ,
- % Cldr.LanguageTag {
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
+ ] }
+
+ iex> Plausible.Cldr.AcceptLanguage . parse ( "invalid_tag" )
+ { :error ,
+ { Cldr.LanguageTag.ParseError ,
+ "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
+
+ iex> Plausible.Cldr.AcceptLanguage . parse ( "da,zh-TW;q=0.3,invalid_tag" )
+ { :ok ,
+ [
+ { 1.0 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "da" ,
cldr_locale_name : :da ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "da" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :da ,
requested_locale_name : "da" ,
script : :Latn ,
territory : :DK ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { 0.3 ,
- % Cldr.LanguageTag {
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { 0.3 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { :error ,
- { Cldr.LanguageTag.ParseError ,
- "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
- ] }
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { :error ,
+ { Cldr.LanguageTag.ParseError ,
+ "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
+ ] }
@@ -473,92 +473,92 @@ wuth an error tuple for each invalid tag added at the end of the list.
-iex> Plausible.Cldr.AcceptLanguage . parse! ( "da,zh-TW;q=0.3" )
- [
- { 1.0 ,
- % Cldr.LanguageTag {
+iex> Plausible.Cldr.AcceptLanguage . parse! ( "da,zh-TW;q=0.3" )
+ [
+ { 1.0 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "da" ,
cldr_locale_name : :da ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "da" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :da ,
requested_locale_name : "da" ,
script : :Latn ,
territory : :DK ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { 0.3 ,
- % Cldr.LanguageTag {
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { 0.3 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } }
- ]
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
+ ]
Plausible.Cldr.AcceptLanguage . parse! "invalid_tag"
** (Cldr.AcceptLanguageError) "Expected a BCP47 language tag. Could not parse the remaining "g" starting at position 11
(ex_cldr) lib/cldr/accept_language.ex:304: Cldr.AcceptLanguage.parse!/1
- iex> Plausible.Cldr.AcceptLanguage . parse! ( "da,zh-TW;q=0.3,invalid_tag" )
- [
- { 1.0 ,
- % Cldr.LanguageTag {
+ iex> Plausible.Cldr.AcceptLanguage . parse! ( "da,zh-TW;q=0.3,invalid_tag" )
+ [
+ { 1.0 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "da" ,
cldr_locale_name : :da ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "da" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :da ,
requested_locale_name : "da" ,
script : :Latn ,
territory : :DK ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { 0.3 ,
- % Cldr.LanguageTag {
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { 0.3 ,
+ % Cldr.LanguageTag {
backend : TestBackend.Cldr ,
canonical_locale_name : "zh-TW" ,
cldr_locale_name : :"zh-Hant" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : nil ,
language : "zh" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :"zh-Hant" ,
requested_locale_name : "zh-TW" ,
script : :Hant ,
territory : :TW ,
- transform : %{ } ,
- language_variants : [ ]
- } } ,
- { :error ,
- { Cldr.LanguageTag.ParseError ,
- "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
- ]
+ transform : %{ } ,
+ language_variants : [ ]
+ } } ,
+ { :error ,
+ { Cldr.LanguageTag.ParseError ,
+ "Expected a BCP47 language tag. Could not parse the remaining \" g \" starting at position 11" } }
+ ]
diff --git a/Plausible.Cldr.Currency.html b/Plausible.Cldr.Currency.html
index 71c3009b1..fa93dd6d0 100644
--- a/Plausible.Cldr.Currency.html
+++ b/Plausible.Cldr.Currency.html
@@ -13,7 +13,7 @@
-
+
@@ -390,11 +390,11 @@ The default is :all. See FJD : % Cldr.Currency {
+ %{ FJD : % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "FJD" ,
- count : %{ one : "Fijian dollar" , other : "Fijian dollars" } ,
+ count : %{ one : "Fijian dollar" , other : "Fijian dollars" } ,
digits : 2 ,
from : nil ,
iso_digits : 2 ,
@@ -404,12 +404,12 @@ The default is :all. See symbol : "FJD" ,
tender : true ,
to : nil
- } ,
- SUR : % Cldr.Currency {
+ } ,
+ SUR : % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "SUR" ,
- count : %{ one : "Soviet rouble" , other : "Soviet roubles" } ,
+ count : %{ one : "Soviet rouble" , other : "Soviet roubles" } ,
digits : 2 ,
from : nil ,
iso_digits : nil ,
@@ -419,7 +419,7 @@ The default is :all. See symbol : "SUR" ,
tender : true ,
to : nil
- } ,
+ } ,
...
} }
@@ -470,11 +470,11 @@ The default is :all. See FJD : % Cldr.Currency {
+ => %{FJD : % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "FJD" ,
- count : %{ one : "Fijian dollar" , other : "Fijian dollars" } ,
+ count : %{ one : "Fijian dollar" , other : "Fijian dollars" } ,
digits : 2 ,
from : nil ,
iso_digits : 2 ,
@@ -484,12 +484,12 @@ The default is :all. See symbol : "FJD" ,
tender : true ,
to : nil
- } ,
- SUR : % Cldr.Currency {
+ } ,
+ SUR : % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "SUR" ,
- count : %{ one : "Soviet rouble" , other : "Soviet roubles" } ,
+ count : %{ one : "Soviet rouble" , other : "Soviet roubles" } ,
digits : 2 ,
from : nil ,
iso_digits : nil ,
@@ -499,7 +499,7 @@ The default is :all. See symbol : "SUR" ,
tender : true ,
to : nil
- } ,
+ } ,
... }
@@ -557,13 +557,13 @@ or a
-iex> Plausible.Cldr.Currency . currency_for_code ( "AUD" )
- { :ok ,
- % Cldr.Currency {
+iex> Plausible.Cldr.Currency . currency_for_code ( "AUD" )
+ { :ok ,
+ % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "AUD" ,
- count : %{ one : "Australian dollar" , other : "Australian dollars" } ,
+ count : %{ one : "Australian dollar" , other : "Australian dollars" } ,
digits : 2 ,
iso_digits : 2 ,
name : "Australian Dollar" ,
@@ -571,15 +571,15 @@ or a rounding : 0 ,
symbol : "A$" ,
tender : true
- } }
+ } }
- iex> Plausible.Cldr.Currency . currency_for_code ( "THB" )
- { :ok ,
- % Cldr.Currency {
+ iex> Plausible.Cldr.Currency . currency_for_code ( "THB" )
+ { :ok ,
+ % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "THB" ,
- count : %{ one : "Thai baht" , other : "Thai baht" } ,
+ count : %{ one : "Thai baht" , other : "Thai baht" } ,
digits : 2 ,
iso_digits : 2 ,
name : "Thai Baht" ,
@@ -587,7 +587,7 @@ or a rounding : 0 ,
symbol : "THB" ,
tender : true
- } }
+ } }
@@ -646,12 +646,12 @@ or a
-iex> Plausible.Cldr.Currency . currency_for_code! ( "AUD" )
- % Cldr.Currency {
+iex> Plausible.Cldr.Currency . currency_for_code! ( "AUD" )
+ % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "AUD" ,
- count : %{ one : "Australian dollar" , other : "Australian dollars" } ,
+ count : %{ one : "Australian dollar" , other : "Australian dollars" } ,
digits : 2 ,
iso_digits : 2 ,
name : "Australian Dollar" ,
@@ -659,14 +659,14 @@ or a rounding : 0 ,
symbol : "A$" ,
tender : true
- }
+ }
- iex> Plausible.Cldr.Currency . currency_for_code! ( "THB" )
- % Cldr.Currency {
+ iex> Plausible.Cldr.Currency . currency_for_code! ( "THB" )
+ % Cldr.Currency {
cash_digits : 2 ,
cash_rounding : 0 ,
code : "THB" ,
- count : %{ one : "Thai baht" , other : "Thai baht" } ,
+ count : %{ one : "Thai baht" , other : "Thai baht" } ,
digits : 2 ,
iso_digits : 2 ,
name : "Thai Baht" ,
@@ -674,7 +674,7 @@ or a rounding : 0 ,
symbol : "THB" ,
tender : true
- }
+ }
@@ -715,11 +715,11 @@ or a
-iex> { :ok , locale } = Plausible.Cldr . validate_locale "en"
+iex> { :ok , locale } = Plausible.Cldr . validate_locale "en"
iex> Plausible.Cldr.Currency . currency_from_locale locale
:USD
- iex> { :ok , locale } = Plausible.Cldr . validate_locale "en-AU"
+ iex> { :ok , locale } = Plausible.Cldr . validate_locale "en-AU"
iex> Plausible.Cldr.Currency . currency_from_locale locale
:AUD
@@ -768,13 +768,13 @@ or a
iex> MyApp.Cldr.Currency . currency_history_for_locale "en"
- { :ok ,
- %{
- USD : %{ from : ~D[1792-01-01] , to : nil } ,
- USN : %{ tender : false } ,
- USS : %{ from : nil , tender : false , to : ~D[2014-03-01] }
- }
- }
+ { :ok ,
+ %{
+ USD : %{ from : ~D[1792-01-01] , to : nil } ,
+ USN : %{ tender : false } ,
+ USS : %{ from : nil , tender : false , to : ~D[2014-03-01] }
+ }
+ }
@@ -834,8 +834,8 @@ The default is :all. See MyApp.Cldr.Currency . currency_strings "en"
- => { :ok ,
- %{
+ => { :ok ,
+ %{
"mexican silver pesos" => :MXP ,
"sudanese dinar" => :SDD ,
"bad" => :BAD ,
@@ -845,7 +845,7 @@ The default is :all. See "guyanaese dollars" => :GYD ,
"equatorial guinean ekwele" => :GQE ,
...
- } }
+ } }
}
@@ -1004,7 +1004,7 @@ mapping is returned for that territory.iex> Plausible.Cldr.Currency . current_territory_currencies ( )
+iex> Plausible.Cldr.Currency . current_territory_currencies ( )
@@ -1097,10 +1097,10 @@ currency codeiex> Plausible.Cldr.Currency . known_currency_code "AUD"
- { :ok , :AUD }
+ { :ok , :AUD }
iex> Plausible.Cldr.Currency . known_currency_code "GGG"
- { :error , { Cldr.UnknownCurrencyError , "The currency \" GGG \" is invalid" } }
+{ :error , { Cldr.UnknownCurrencyError , "The currency \" GGG \" is invalid" } }
@@ -1247,14 +1247,14 @@ such as 0.05. Optional.iex> Plausible.Cldr.Currency . new ( :XAE , name : "Custom Name" , digits : 0 )
- { :ok ,
- % Cldr.Currency {
+iex> Plausible.Cldr.Currency . new ( :XAE , name : "Custom Name" , digits : 0 )
+ { :ok ,
+ % Cldr.Currency {
alt_code : :XAE ,
cash_digits : 0 ,
cash_rounding : nil ,
code : :XAE ,
- count : %{ other : "Custom Name" } ,
+ count : %{ other : "Custom Name" } ,
digits : 0 ,
from : nil ,
iso_digits : 0 ,
@@ -1264,11 +1264,11 @@ such as 0.05. Optional.symbol : "XAE" ,
tender : false ,
to : nil
- } }
- iex> MyApp.Cldr.Currency . new ( :XAH , name : "Custom Name" )
- { :error , "Required options are missing. Required options are [:name, :digits]" }
- iex> Plausible.Cldr.Currency . new ( :XAE , name : "XAE" , digits : 0 )
- { :error , { Cldr.CurrencyAlreadyDefined , "Currency :XAE is already defined." } }
+ } }
+ iex> MyApp.Cldr.Currency . new ( :XAH , name : "Custom Name" )
+ { :error , "Required options are missing. Required options are [:name, :digits]" }
+ iex> Plausible.Cldr.Currency . new ( :XAE , name : "XAE" , digits : 0 )
+ { :error , { Cldr.CurrencyAlreadyDefined , "Currency :XAE is already defined." } }
@@ -1327,19 +1327,19 @@ default is Plaus
iex> Plausible.Cldr.Currency . pluralize 1 , :USD
- { :ok , "US dollar" }
+ { :ok , "US dollar" }
iex> Plausible.Cldr.Currency . pluralize 3 , :USD
- { :ok , "US dollars" }
+ { :ok , "US dollars" }
iex> Plausible.Cldr.Currency . pluralize 12 , :USD , locale : "zh"
- { :ok , "美元" }
+ { :ok , "美元" }
iex> Plausible.Cldr.Currency . pluralize 12 , :USD , locale : "fr"
- { :ok , "dollars des États-Unis" }
+ { :ok , "dollars des États-Unis" }
iex> Plausible.Cldr.Currency . pluralize 1 , :USD , locale : "fr"
- { :ok , "dollar des États-Unis" }
+{ :ok , "dollar des États-Unis" }
diff --git a/Plausible.Cldr.Locale.html b/Plausible.Cldr.Locale.html
index 2e9efebda..41b505334 100644
--- a/Plausible.Cldr.Locale.html
+++ b/Plausible.Cldr.Locale.html
@@ -13,7 +13,7 @@
-
+
@@ -297,16 +297,16 @@ this specific locale..iex> Plausible.Cldr.Locale . fallback_locale_names ( :"fr-CA" )
- { :ok , [ :"fr-CA" , :fr , :und ] }
+iex> Plausible.Cldr.Locale . fallback_locale_names ( :"fr-CA" )
+ { :ok , [ :"fr-CA" , :fr , :und ] }
# Fallbacks are typically formed by progressively
# stripping variant, territory and script from the
# given locale name. But not always - there are
# certain fallbacks that take a different path.
- iex> Plausible.Cldr.Locale . fallback_locale_names ( :nb )
- { :ok , [ :nb , :no , :und ] }
+ iex> Plausible.Cldr.Locale . fallback_locale_names ( :nb )
+ { :ok , [ :nb , :no , :und ] }
@@ -360,20 +360,20 @@ this specific locale.Plausible.Cldr.Locale . fallback_locales ( :"fr-CA" )
- => { :ok ,
- [ # Cldr.LanguageTag < fr - CA [ validated ] > , # Cldr.LanguageTag < fr [ validated ] > ,
- # Cldr.LanguageTag < und [ validated ] > ] }
+Plausible.Cldr.Locale . fallback_locales ( :"fr-CA" )
+ => { :ok ,
+ [ # Cldr.LanguageTag < fr - CA [ validated ] > , # Cldr.LanguageTag < fr [ validated ] > ,
+ # Cldr.LanguageTag < und [ validated ] > ] }
# Fallbacks are typically formed by progressively
# stripping variant, territory and script from the
# given locale name. But not always - there are
# certain fallbacks that take a different path.
- Plausible.Cldr.Locale . fallback_locales ( :nb ) )
- => { :ok ,
- [ # Cldr.LanguageTag < nb [ validated ] > , # Cldr.LanguageTag < no [ validated ] > ,
- # Cldr.LanguageTag < und [ validated ] > ] }
+ Plausible.Cldr.Locale . fallback_locales ( :nb ) )
+ => { :ok ,
+ [ # Cldr.LanguageTag < nb [ validated ] > , # Cldr.LanguageTag < no [ validated ] > ,
+ # Cldr.LanguageTag < und [ validated ] > ] }
@@ -504,15 +504,15 @@ generic top-level domain names.iex> Plausible.Cldr.Locale . locale_from_host "a.b.com.au"
- Elixir.Plausible.Cldr . validate_locale ( :"en-AU" )
+ Elixir.Plausible.Cldr . validate_locale ( :"en-AU" )
- iex> Plausible.Cldr.Locale . locale_from_host ( "a.b.com.tv" )
- { :error ,
- { Cldr.UnknownLocaleError , "No locale was identified for territory \" tv \" " } }
+ iex> Plausible.Cldr.Locale . locale_from_host ( "a.b.com.tv" )
+ { :error ,
+ { Cldr.UnknownLocaleError , "No locale was identified for territory \" tv \" " } }
- iex> Plausible.Cldr.Locale . locale_from_host ( "a.b.com" )
- { :error ,
- { Cldr.UnknownLocaleError , "No locale was identified for territory \" com \" " } }
+iex> Plausible.Cldr.Locale . locale_from_host ( "a.b.com" )
+ { :error ,
+ { Cldr.UnknownLocaleError , "No locale was identified for territory \" com \" " } }
@@ -654,12 +654,12 @@ be a territory.iex> Cldr.Locale . territory_from_host ( "a.b.com.au" )
- { :ok , :AU }
+iex> Cldr.Locale . territory_from_host ( "a.b.com.au" )
+ { :ok , :AU }
- iex> Cldr.Locale . territory_from_host ( "a.b.com" )
- { :error ,
- { Cldr.UnknownLocaleError , "No locale was identified for territory \" com \" " } }
+ iex> Cldr.Locale . territory_from_host ( "a.b.com" )
+ { :error ,
+ { Cldr.UnknownLocaleError , "No locale was identified for territory \" com \" " } }
diff --git a/Plausible.Cldr.Number.Cardinal.html b/Plausible.Cldr.Number.Cardinal.html
index 684707e4b..32d2e9074 100644
--- a/Plausible.Cldr.Number.Cardinal.html
+++ b/Plausible.Cldr.Number.Cardinal.html
@@ -13,7 +13,7 @@
-
+
@@ -426,31 +426,31 @@ The valid substitution keys are :zero, iex> Plausible.Cldr.Number.Cardinal . pluralize 1 , "en" , %{ one : "one" }
+iex> Plausible.Cldr.Number.Cardinal . pluralize 1 , "en" , %{ one : "one" }
"one"
- iex> Plausible.Cldr.Number.Cardinal . pluralize 2 , "en" , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize 2 , "en" , %{ one : "one" }
nil
- iex> Plausible.Cldr.Number.Cardinal . pluralize 2 , "en" , %{ one : "one" , two : "two" , other : "other" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize 2 , "en" , %{ one : "one" , two : "two" , other : "other" }
"other"
- iex> Plausible.Cldr.Number.Cardinal . pluralize 22 , "en" , %{ one : "one" , two : "two" , other : "other" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize 22 , "en" , %{ one : "one" , two : "two" , other : "other" }
"other"
- iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 1 ) , "en" , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 1 ) , "en" , %{ one : "one" }
"one"
- iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 2 ) , "en" , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 2 ) , "en" , %{ one : "one" }
nil
- iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 2 ) , "en" , %{ one : "one" , two : "two" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize Decimal . new ( 2 ) , "en" , %{ one : "one" , two : "two" }
nil
- iex> Plausible.Cldr.Number.Cardinal . pluralize 1 .. 10 , "ar" , %{ one : "one" , few : "few" , other : "other" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize 1 .. 10 , "ar" , %{ one : "one" , few : "few" , other : "other" }
"few"
- iex> Plausible.Cldr.Number.Cardinal . pluralize 1 .. 10 , "en" , %{ one : "one" , few : "few" , other : "other" }
+ iex> Plausible.Cldr.Number.Cardinal . pluralize 1 .. 10 , "en" , %{ one : "one" , few : "few" , other : "other" }
"other"
diff --git a/Plausible.Cldr.Number.Format.html b/Plausible.Cldr.Number.Format.html
index 27945f3a1..15f425a87 100644
--- a/Plausible.Cldr.Number.Format.html
+++ b/Plausible.Cldr.Number.Format.html
@@ -13,7 +13,7 @@
-
+
@@ -439,7 +439,7 @@ to precompile all the known formats at compile time.
-iex> Plausible.Cldr.Number.Format . default_grouping_for ( :en )
- { :ok , %{ fraction : %{ first : 0 , rest : 0 } , integer : %{ first : 3 , rest : 3 } } }
+iex> Plausible.Cldr.Number.Format . default_grouping_for ( :en )
+ { :ok , %{ fraction : %{ first : 0 , rest : 0 } , integer : %{ first : 3 , rest : 3 } } }
-iex> Plausible.Cldr.Number.Format . default_grouping_for! ( :en )
- %{ fraction : %{ first : 0 , rest : 0 } , integer : %{ first : 3 , rest : 3 } }
+iex> Plausible.Cldr.Number.Format . default_grouping_for! ( :en )
+ %{ fraction : %{ first : 0 , rest : 0 } , integer : %{ first : 3 , rest : 3 } }
@@ -772,8 +772,8 @@ is Plausible.Cld
Examples
-iex> Plausible.Cldr.Number.Format . minimum_grouping_digits_for ( "en" )
- { :ok , 1 }
+iex> Plausible.Cldr.Number.Format . minimum_grouping_digits_for ( "en" )
+ { :ok , 1 }
@@ -825,7 +825,7 @@ is Plausible.Cld
Examples
-iex> Plausible.Cldr.Number.Format . minimum_grouping_digits_for! ( "en" )
+iex> Plausible.Cldr.Number.Format . minimum_grouping_digits_for! ( "en" )
1
diff --git a/Plausible.Cldr.Number.Formatter.Decimal.html b/Plausible.Cldr.Number.Formatter.Decimal.html
index 16c989f6e..23f5e44e1 100644
--- a/Plausible.Cldr.Number.Formatter.Decimal.html
+++ b/Plausible.Cldr.Number.Formatter.Decimal.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Cldr.Number.Ordinal.html b/Plausible.Cldr.Number.Ordinal.html
index 89ab3ba43..a93976ce6 100644
--- a/Plausible.Cldr.Number.Ordinal.html
+++ b/Plausible.Cldr.Number.Ordinal.html
@@ -13,7 +13,7 @@
-
+
@@ -429,31 +429,31 @@ The valid substitution keys are :zero, iex> Plausible.Cldr.Number.Ordinal . pluralize 1 , :en , %{ one : "one" }
+iex> Plausible.Cldr.Number.Ordinal . pluralize 1 , :en , %{ one : "one" }
"one"
- iex> Plausible.Cldr.Number.Ordinal . pluralize 2 , :en , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize 2 , :en , %{ one : "one" }
nil
- iex> Plausible.Cldr.Number.Ordinal . pluralize 2 , :en , %{ one : "one" , two : "two" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize 2 , :en , %{ one : "one" , two : "two" }
"two"
- iex> Plausible.Cldr.Number.Ordinal . pluralize 22 , :en , %{ one : "one" , two : "two" , other : "other" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize 22 , :en , %{ one : "one" , two : "two" , other : "other" }
"two"
- iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 1 ) , :en , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 1 ) , :en , %{ one : "one" }
"one"
- iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 2 ) , :en , %{ one : "one" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 2 ) , :en , %{ one : "one" }
nil
- iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 2 ) , :en , %{ one : "one" , two : "two" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize Decimal . new ( 2 ) , :en , %{ one : "one" , two : "two" }
"two"
- iex> Plausible.Cldr.Number.Ordinal . pluralize 1 .. 10 , "ar" , %{ one : "one" , few : "few" , other : "other" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize 1 .. 10 , "ar" , %{ one : "one" , few : "few" , other : "other" }
"other"
- iex> Plausible.Cldr.Number.Ordinal . pluralize 1 .. 10 , "en" , %{ one : "one" , few : "few" , other : "other" }
+ iex> Plausible.Cldr.Number.Ordinal . pluralize 1 .. 10 , "en" , %{ one : "one" , few : "few" , other : "other" }
"other"
diff --git a/Plausible.Cldr.Number.PluralRule.Range.html b/Plausible.Cldr.Number.PluralRule.Range.html
index 373f96b59..56eca0794 100644
--- a/Plausible.Cldr.Number.PluralRule.Range.html
+++ b/Plausible.Cldr.Number.PluralRule.Range.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Cldr.Number.Symbol.html b/Plausible.Cldr.Number.Symbol.html
index 0bb1516e6..b37d23be2 100644
--- a/Plausible.Cldr.Number.Symbol.html
+++ b/Plausible.Cldr.Number.Symbol.html
@@ -13,7 +13,7 @@
-
+
@@ -349,9 +349,9 @@ is Plausible.Cld
Example:
-iex> Plausible.Cldr.Number.Symbol . number_symbols_for ( :th )
- { :ok , %{
- latn : % Cldr.Number.Symbol {
+iex> Plausible.Cldr.Number.Symbol . number_symbols_for ( :th )
+ { :ok , %{
+ latn : % Cldr.Number.Symbol {
decimal : "." ,
exponential : "E" ,
group : "," ,
@@ -364,8 +364,8 @@ is Plausible.Cld
plus_sign : "+" ,
superscripting_exponent : "×" ,
time_separator : ":"
- } ,
- thai : % Cldr.Number.Symbol {
+ } ,
+ thai : % Cldr.Number.Symbol {
decimal : "." ,
exponential : "E" ,
group : "," ,
@@ -378,8 +378,8 @@ is Plausible.Cld
plus_sign : "+" ,
superscripting_exponent : "×" ,
time_separator : ":"
- }
- } }
+ }
+ } }
diff --git a/Plausible.Cldr.Number.System.html b/Plausible.Cldr.Number.System.html
index 5e40512fb..b390a964f 100644
--- a/Plausible.Cldr.Number.System.html
+++ b/Plausible.Cldr.Number.System.html
@@ -13,7 +13,7 @@
-
+
@@ -288,23 +288,23 @@ it is returned as is.iex> Plausible.Cldr.Number.System . number_system_for "th" , :latn
- { :ok , %{ digits : "0123456789" , type : :numeric } }
+ { :ok , %{ digits : "0123456789" , type : :numeric } }
iex> Plausible.Cldr.Number.System . number_system_for "en" , :default
- { :ok , %{ digits : "0123456789" , type : :numeric } }
+ { :ok , %{ digits : "0123456789" , type : :numeric } }
iex> Plausible.Cldr.Number.System . number_system_for "he" , :traditional
- { :ok , %{ rules : "hebrew" , type : :algorithmic } }
+ { :ok , %{ rules : "hebrew" , type : :algorithmic } }
iex> Plausible.Cldr.Number.System . number_system_for "en" , :native
- { :ok , %{ digits : "0123456789" , type : :numeric } }
+ { :ok , %{ digits : "0123456789" , type : :numeric } }
iex> Plausible.Cldr.Number.System . number_system_for "en" , :finance
- {
+ {
:error ,
- { Cldr.UnknownNumberSystemError ,
- "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}" }
- }
+ { Cldr.UnknownNumberSystemError ,
+ "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}" }
+ }
@@ -480,13 +480,13 @@ or a
iex> Plausible.Cldr.Number.System . number_systems_for "en"
- { :ok , %{ default : :latn , native : :latn } }
+ { :ok , %{ default : :latn , native : :latn } }
iex> Plausible.Cldr.Number.System . number_systems_for "th"
- { :ok , %{ default : :latn , native : :thai } }
+ { :ok , %{ default : :latn , native : :thai } }
iex> Plausible.Cldr.Number.System . number_systems_for "zz"
- { :error , { Cldr.InvalidLanguageError , "The language \" zz \" is invalid" } }
+{ :error , { Cldr.InvalidLanguageError , "The language \" zz \" is invalid" } }
@@ -584,20 +584,20 @@ actual system name.ex > Plausible.Cldr.Number.System . system_name_from ( :default , "en" )
- { :ok , :latn }
+ex > Plausible.Cldr.Number.System . system_name_from ( :default , "en" )
+ { :ok , :latn }
- iex> Plausible.Cldr.Number.System . system_name_from ( "latn" , "en" )
- { :ok , :latn }
+ iex> Plausible.Cldr.Number.System . system_name_from ( "latn" , "en" )
+ { :ok , :latn }
- iex> Plausible.Cldr.Number.System . system_name_from ( :native , "en" )
- { :ok , :latn }
+ iex> Plausible.Cldr.Number.System . system_name_from ( :native , "en" )
+ { :ok , :latn }
- iex> Plausible.Cldr.Number.System . system_name_from ( :nope , "en" )
- {
+ iex> Plausible.Cldr.Number.System . system_name_from ( :nope , "en" )
+ {
:error ,
- { Cldr.UnknownNumberSystemError , "The number system :nope is unknown" }
- } Note that return value is not guaranteed to be a valid
+
{ Cldr.UnknownNumberSystemError , "The number system :nope is unknown" }
+ } Note that return value is not guaranteed to be a valid
number system for the given locale as demonstrated in the third example.
@@ -644,16 +644,16 @@ is recommended.iex> Plausible.Cldr.Number.System . to_system 123456 , :hebr
- { :ok , "קכ״ג׳תנ״ו" }
+ { :ok , "קכ״ג׳תנ״ו" }
iex> Plausible.Cldr.Number.System . to_system 123 , :hans
- { :ok , "一百二十三" }
+ { :ok , "一百二十三" }
iex> Plausible.Cldr.Number.System . to_system 123 , :hant
- { :ok , "一百二十三" }
+ { :ok , "一百二十三" }
iex> Plausible.Cldr.Number.System . to_system 123 , :hansfin
- { :ok , "壹佰贰拾叁" }
+{ :ok , "壹佰贰拾叁" }
diff --git a/Plausible.Cldr.Number.Transliterate.html b/Plausible.Cldr.Number.Transliterate.html
index 92e69c9e1..270e6efeb 100644
--- a/Plausible.Cldr.Number.Transliterate.html
+++ b/Plausible.Cldr.Number.Transliterate.html
@@ -13,7 +13,7 @@
-
+
@@ -133,12 +133,12 @@ digits between number systems. For example from :arabic to :latn. Since genera
transliteration map is slow, pairs of transliterations can be configured so that the
transliteration map is created at compile time and therefore speeding up transliteration at
run time.To configure these transliteration pairs, add the to the use Cldr configuration
-in a backend module:
defmodule MyApp.Cldr do
+in a backend module:defmodule MyApp.Cldr do
use Cldr ,
- locale : [ "en" , "fr" , "th" ] ,
+ locale : [ "en" , "fr" , "th" ] ,
default_locale : "en" ,
- precompile_transliterations : [ { :latn , :thai } , { :arab , :thai } ]
- end Where each tuple in the list configures one transliteration map. In this example, two maps are
+
precompile_transliterations : [ { :latn , :thai } , { :arab , :thai } ]
+ end Where each tuple in the list configures one transliteration map. In this example, two maps are
configured: from :latn to :thai and from :arab to :thai.
A list of configurable number systems is returned by Cldr.Number.System.systems_with_digits/0 .
If a transliteration is requested between two number pairs that have not been configured for
precompilation, a warning is logged.
@@ -252,22 +252,22 @@ and
-iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" )
+iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" )
"123556"
- iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123,556.000" , "fr" , :default )
+ iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123,556.000" , "fr" , :default )
"123 556,000"
- iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , :default )
+ iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , :default )
"123556"
- iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , "thai" )
+ iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , "thai" )
"๑๒๓๕๕๖"
- iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , :native )
+ iex> Plausible.Cldr.Number.Transliterate . transliterate ( "123556" , "th" , :native )
"๑๒๓๕๕๖"
- iex> Plausible.Cldr.Number.Transliterate . transliterate ( "Some number is: 123556" , "th" , "thai" )
+ iex> Plausible.Cldr.Number.Transliterate . transliterate ( "Some number is: 123556" , "th" , "thai" )
"Some number is: ๑๒๓๕๕๖"
diff --git a/Plausible.Cldr.Number.html b/Plausible.Cldr.Number.html
index e74bcf02a..d8f471d03 100644
--- a/Plausible.Cldr.Number.html
+++ b/Plausible.Cldr.Number.html
@@ -13,7 +13,7 @@
-
+
@@ -412,19 +412,19 @@ using the Elixir standard library functions.
-iex> Plausible.Cldr.Number . parse ( "+1.000,34" , locale : "de" )
- { :ok , 1000.34 }
+iex> Plausible.Cldr.Number . parse ( "+1.000,34" , locale : "de" )
+ { :ok , 1000.34 }
- iex> Plausible.Cldr.Number . parse ( "-1_000_000.34" )
- { :ok , - 1000000.34 }
+ iex> Plausible.Cldr.Number . parse ( "-1_000_000.34" )
+ { :ok , - 1000000.34 }
- iex> Plausible.Cldr.Number . parse ( "1.000" , locale : "de" , number : :integer )
- { :ok , 1000 }
+ iex> Plausible.Cldr.Number . parse ( "1.000" , locale : "de" , number : :integer )
+ { :ok , 1000 }
- iex> Plausible.Cldr.Number . parse ( "+1.000,34" , locale : "de" , number : :integer )
- { :error ,
- { Cldr.Number.ParseError ,
- "The string \" +1.000,34 \" could not be parsed as a number" } }
+ iex> Plausible.Cldr.Number . parse ( "+1.000,34" , locale : "de" , number : :integer )
+ { :error ,
+ { Cldr.Number.ParseError ,
+ "The string \" +1.000,34 \" could not be parsed as a number" } }
@@ -496,17 +496,17 @@ financial instruments.
-iex> Plausible.Cldr.Number . scan ( "100 US dollars" )
+iex> Plausible.Cldr.Number . scan ( "100 US dollars" )
...> |> Plausible.Cldr.Number . resolve_currencies
- [ 100 , :USD ]
+ [ 100 , :USD ]
- iex> Plausible.Cldr.Number . scan ( "100 eurosports" )
- ...> |> Plausible.Cldr.Number . resolve_currencies ( fuzzy : 0.75 )
- [ 100 , :EUR ]
+ iex> Plausible.Cldr.Number . scan ( "100 eurosports" )
+ ...> |> Plausible.Cldr.Number . resolve_currencies ( fuzzy : 0.75 )
+ [ 100 , :EUR ]
- iex> Plausible.Cldr.Number . scan ( "100 dollars des États-Unis" )
- ...> |> Plausible.Cldr.Number . resolve_currencies ( locale : "fr" )
- [ 100 , :USD ]
+ iex> Plausible.Cldr.Number . scan ( "100 dollars des États-Unis" )
+ ...> |> Plausible.Cldr.Number . resolve_currencies ( locale : "fr" )
+ [ 100 , :USD ]
@@ -583,19 +583,19 @@ financial instruments.iex> Plausible.Cldr.Number . resolve_currency ( "US dollars" )
- [ :USD ]
+iex> Plausible.Cldr.Number . resolve_currency ( "US dollars" )
+ [ :USD ]
- iex> Plausible.Cldr.Number . resolve_currency ( "100 eurosports" , fuzzy : 0.75 )
- [ :EUR ]
+ iex> Plausible.Cldr.Number . resolve_currency ( "100 eurosports" , fuzzy : 0.75 )
+ [ :EUR ]
- iex> Plausible.Cldr.Number . resolve_currency ( "dollars des États-Unis" , locale : "fr" )
- [ :USD ]
+ iex> Plausible.Cldr.Number . resolve_currency ( "dollars des États-Unis" , locale : "fr" )
+ [ :USD ]
- iex> Plausible.Cldr.Number . resolve_currency ( "not a known currency" , locale : "fr" )
- { :error ,
- { Cldr.UnknownCurrencyError ,
- "The currency \" not a known currency \" is unknown or not supported" } }
+ iex> Plausible.Cldr.Number . resolve_currency ( "not a known currency" , locale : "fr" )
+ { :error ,
+ { Cldr.UnknownCurrencyError ,
+ "The currency \" not a known currency \" is unknown or not supported" } }
@@ -659,13 +659,13 @@ The default is options[:backend].get_locale()
iex> Plausible.Cldr.Number . resolve_per "11%"
- [ "11" , :percent ]
+ [ "11" , :percent ]
iex> Plausible.Cldr.Number . resolve_per "% of linguists"
- [ :percent , " of linguists" ]
+ [ :percent , " of linguists" ]
iex> Plausible.Cldr.Number . resolve_per "% of linguists %"
- [ :percent , " of linguists " , :percent ]
+[ :percent , " of linguists " , :percent ]
@@ -722,9 +722,9 @@ The default is options[:backend].get_locale()
Examples
-iex> Plausible.Cldr.Number . scan ( "100%" )
- ...> |> Plausible.Cldr.Number . resolve_pers ( )
- [ 100 , :percent ]
+iex> Plausible.Cldr.Number . scan ( "100%" )
+ ...> |> Plausible.Cldr.Number . resolve_pers ( )
+ [ 100 , :percent ]
@@ -784,20 +784,20 @@ and any options provided are passed to that function.iex> Plausible.Cldr.Number . scan ( "£1_000_000.34" )
- [ "£" , 1000000.34 ]
+iex> Plausible.Cldr.Number . scan ( "£1_000_000.34" )
+ [ "£" , 1000000.34 ]
- iex> Plausible.Cldr.Number . scan ( "I want £1_000_000 dollars" )
- [ "I want £" , 1000000 , " dollars" ]
+ iex> Plausible.Cldr.Number . scan ( "I want £1_000_000 dollars" )
+ [ "I want £" , 1000000 , " dollars" ]
- iex> Plausible.Cldr.Number . scan ( "The prize is 23" )
- [ "The prize is " , 23 ]
+ iex> Plausible.Cldr.Number . scan ( "The prize is 23" )
+ [ "The prize is " , 23 ]
- iex> Plausible.Cldr.Number . scan ( "The lottery number is 23 for the next draw" )
- [ "The lottery number is " , 23 , " for the next draw" ]
+ iex> Plausible.Cldr.Number . scan ( "The lottery number is 23 for the next draw" )
+ [ "The lottery number is " , 23 , " for the next draw" ]
- iex> Plausible.Cldr.Number . scan ( "The loss is -1.000 euros" , locale : "de" , number : :integer )
- [ "The loss is " , - 1000 , " euros" ]
+ iex> Plausible.Cldr.Number . scan ( "The loss is -1.000 euros" , locale : "de" , number : :integer )
+ [ "The loss is " , - 1000 , " euros" ]
@@ -844,7 +844,7 @@ options.iex> Plausible.Cldr.Number . to_approx_string 1234
- { :ok , "~1,234" }
+{ :ok , "~1,234" }
@@ -891,7 +891,7 @@ options.iex> Plausible.Cldr.Number . to_at_least_string 1234
- { :ok , "1,234+" }
+{ :ok , "1,234+" }
@@ -938,7 +938,7 @@ options.iex> Plausible.Cldr.Number . to_at_most_string 1234
- { :ok , "≤1,234" }
+{ :ok , "≤1,234" }
@@ -985,7 +985,7 @@ options.
iex> Plausible.Cldr.Number . to_range_string 1234 .. 5678
- { :ok , "1,234–5,678" }
+{ :ok , "1,234–5,678" }
@@ -1104,21 +1104,21 @@ extensions.iex> Cldr.Number . to_string ( 100 , format : :currency , currency : :USD , wrapper : fn
+applied to the symbol than the number. For example:iex> Cldr.Number . to_string ( 100 , format : :currency , currency : :USD , wrapper : fn
...> string , :currency_symbol -> "<span class= \" symbol \" >" <> string <> "</span>"
...> string , :number -> "<span class= \" number \" >" <> string <> "</span>"
...> string , :currency_space -> "<span>" <> string <> "</span>"
...> string , _other -> string
- ...> end )
- { :ok , "<span class= \" symbol \" >$</span><span class= \" number \" >100.00</span>" } It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3
+
...> end )
+ { :ok , "<span class= \" symbol \" >$</span><span class= \" number \" >100.00</span>" } It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3
function if wrapping HTML tags since these will ensure HTML entities are
-correctly encoded. For example:
iex> Cldr.Number . to_string ( 100 , format : :currency , currency : :USD , wrapper : fn
- ...> string , :currency_symbol -> Phoenix.HTML.Tag . content_tag ( :span , string , class : "symbol" )
- ...> string , :number -> Phoenix.HTML.Tag . content_tag ( :span , string , class : "number" )
- ...> string , :currency_space -> Phoenix.HTML.Tag . content_tag ( :span , string )
+correctly encoded. For example:iex> Cldr.Number . to_string ( 100 , format : :currency , currency : :USD , wrapper : fn
+ ...> string , :currency_symbol -> Phoenix.HTML.Tag . content_tag ( :span , string , class : "symbol" )
+ ...> string , :number -> Phoenix.HTML.Tag . content_tag ( :span , string , class : "number" )
+ ...> string , :currency_space -> Phoenix.HTML.Tag . content_tag ( :span , string )
...> string , _other -> string
- ...> end )
- { :ok , "<span class= \" symbol \" >$</span><span class= \" number \" >100.00</span>" } When formatting a number the format is parsed into format elements that might include
+
...> end )
+ { :ok , "<span class= \" symbol \" >$</span><span class= \" number \" >100.00</span>" } When formatting a number the format is parsed into format elements that might include
a currency symbol, a literal string, inserted text between a currency symbol and the
currency amount, a percent sign, the number itself and several other elements. In
some cases it is helpful to be apply specific formatting to each element.
@@ -1139,80 +1139,80 @@ inserted in the final formatted number.
iex> Plausible.Cldr.Number . to_string 12345
- { :ok , "12,345" }
+ { :ok , "12,345" }
iex> Plausible.Cldr.Number . to_string 12345 , locale : "fr"
- { :ok , "12 345" }
+ { :ok , "12 345" }
iex> Plausible.Cldr.Number . to_string 1345.32 , currency : :EUR , locale : "es" , minimum_grouping_digits : 1
- { :ok , "1.345,32 €" }
+ { :ok , "1.345,32 €" }
iex> Plausible.Cldr.Number . to_string 1345.32 , currency : :EUR , locale : "es"
- { :ok , "1345,32 €" }
+ { :ok , "1345,32 €" }
iex> Plausible.Cldr.Number . to_string 12345 , locale : "fr" , currency : "USD"
- { :ok , "12 345,00 $US" }
+ { :ok , "12 345,00 $US" }
iex> Plausible.Cldr.Number . to_string 12345 , format : "#E0"
- { :ok , "1.2345E4" }
+ { :ok , "1.2345E4" }
iex> Plausible.Cldr.Number . to_string 12345 , format : :accounting , currency : "THB"
- { :ok , "THB 12,345.00" }
+ { :ok , "THB 12,345.00" }
iex> Plausible.Cldr.Number . to_string - 12345 , format : :accounting , currency : "THB"
- { :ok , "(THB 12,345.00)" }
+ { :ok , "(THB 12,345.00)" }
iex> Plausible.Cldr.Number . to_string 12345 , format : :accounting , currency : "THB" ,
...> locale : "th"
- { :ok , "฿12,345.00" }
+ { :ok , "฿12,345.00" }
iex> Plausible.Cldr.Number . to_string 12345 , format : :accounting , currency : "THB" ,
...> locale : "th" , number_system : :native
- { :ok , "฿๑๒,๓๔๕.๐๐" }
+ { :ok , "฿๑๒,๓๔๕.๐๐" }
iex> Plausible.Cldr.Number . to_string 1244.30 , format : :long
- { :ok , "1 thousand" }
+ { :ok , "1 thousand" }
iex> Plausible.Cldr.Number . to_string 1244.30 , format : :long , currency : "USD"
- { :ok , "1,244 US dollars" }
+ { :ok , "1,244 US dollars" }
iex> Plausible.Cldr.Number . to_string 1244.30 , format : :short
- { :ok , "1K" }
+ { :ok , "1K" }
iex> Plausible.Cldr.Number . to_string 1244.30 , format : :short , currency : "EUR"
- { :ok , "€1K" }
+ { :ok , "€1K" }
iex> Plausible.Cldr.Number . to_string 1234 , format : :spellout
- { :ok , "one thousand two hundred thirty-four" }
+ { :ok , "one thousand two hundred thirty-four" }
iex> Plausible.Cldr.Number . to_string 1234 , format : :spellout_verbose
- { :ok , "one thousand two hundred and thirty-four" }
+ { :ok , "one thousand two hundred and thirty-four" }
iex> Plausible.Cldr.Number . to_string 1989 , format : :spellout_year
- { :ok , "nineteen eighty-nine" }
+ { :ok , "nineteen eighty-nine" }
iex> Plausible.Cldr.Number . to_string 123 , format : :ordinal
- { :ok , "123rd" }
+ { :ok , "123rd" }
iex> Plausible.Cldr.Number . to_string 123 , format : :roman
- { :ok , "CXXIII" }
+ { :ok , "CXXIII" }
iex> Plausible.Cldr.Number . to_string 123 , locale : "th-u-nu-thai"
- { :ok , "๑๒๓" }
+{ :ok , "๑๒๓" }
Errors
An error tuple {:error, reason} will be returned if an error is detected.
-The two most likely causes of an error return are:
A format cannot be compiled. In this case the error tuple will look like: iex> Plausible.Cldr.Number . to_string ( 12345 , format : "0#" )
- { :error , { Cldr.FormatCompileError ,
- "Decimal format compiler: syntax error before: \" # \" " } } The format style requested is not defined for the locale and
+The two most likely causes of an error return are:A format cannot be compiled. In this case the error tuple will look like: iex> Plausible.Cldr.Number . to_string ( 12345 , format : "0#" )
+ { :error , { Cldr.FormatCompileError ,
+ "Decimal format compiler: syntax error before: \" # \" " } } The format style requested is not defined for the locale and
number_system. This happens typically when the number system is
:algorithmic rather than the more common :numeric. In this case the error
-return looks like: iex> Plausible.Cldr.Number . to_string ( 1234 , locale : "he" , number_system : "hebr" )
- { :error , { Cldr.UnknownFormatError ,
- "The locale :he with number system :hebr does not define a format :standard" } }
+return looks like: iex> Plausible.Cldr.Number . to_string ( 1234 , locale : "he" , number_system : "hebr" )
+ { :error , { Cldr.UnknownFormatError ,
+ "The locale :he with number system :hebr does not define a format :standard" } }
@@ -1316,17 +1316,17 @@ returned by iex> Plausible.Cldr.Number . validate_number_system "en" , :latn
- { :ok , :latn }
+ { :ok , :latn }
iex> Plausible.Cldr.Number . validate_number_system "en" , :default
- { :ok , :latn }
+ { :ok , :latn }
iex> Plausible.Cldr.Number . validate_number_system "en" , :unknown
- { :error ,
- { Cldr.UnknownNumberSystemError , "The number system :unknown is unknown" } }
+ { :error ,
+ { Cldr.UnknownNumberSystemError , "The number system :unknown is unknown" } }
iex> Plausible.Cldr.Number . validate_number_system "zz" , :default
- { :error , { Cldr.InvalidLanguageError , "The language \" zz \" is invalid" } }
+{ :error , { Cldr.InvalidLanguageError , "The language \" zz \" is invalid" } }
diff --git a/Plausible.Cldr.Rbnf.NumberSystem.html b/Plausible.Cldr.Rbnf.NumberSystem.html
index 9c8305f27..31319a0bd 100644
--- a/Plausible.Cldr.Rbnf.NumberSystem.html
+++ b/Plausible.Cldr.Rbnf.NumberSystem.html
@@ -13,7 +13,7 @@
-
+
@@ -116,9 +116,9 @@ Plausible
Functions to implement the number system rule-based-number-format rules of CLDR.
These rules are defined only on the "und" locale and represent specialised
number formatting.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules
-defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.NumberSystem . rule_sets ( :und )
- ...> |> Enum . sort ( )
- [
+defined in the Unicode CLDR data repository. Available rules are identified by:iex> Plausible.Cldr.Rbnf.NumberSystem . rule_sets ( :und )
+ ...> |> Enum . sort ( )
+ [
:armenian_lower ,
:armenian_upper ,
:cyrillic_lower ,
@@ -132,9 +132,9 @@ defined in the Unicode CLDR data repository. Available rules are identified by:
:roman_upper ,
:tamil ,
:zz_default
- ] A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.NumberSystem . roman_upper ( 123 , :und )
- "CXXIII" This particular call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :roman )
- { :ok , "CXXIII" }
+ ] A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.NumberSystem . roman_upper ( 123 , :und )
+ "CXXIII" This particular call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :roman )
+ { :ok , "CXXIII" }
diff --git a/Plausible.Cldr.Rbnf.Ordinal.html b/Plausible.Cldr.Rbnf.Ordinal.html
index ef84dfdec..bb30c5f6a 100644
--- a/Plausible.Cldr.Rbnf.Ordinal.html
+++ b/Plausible.Cldr.Rbnf.Ordinal.html
@@ -13,7 +13,7 @@
-
+
@@ -116,20 +116,20 @@ Plausible
Functions to implement the ordinal rule-based-number-format rules of CLDR.
As CLDR notes, the data is incomplete or non-existent for many languages. It
is considered complete for English however.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules
-defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Ordinal . rule_sets ( :en )
- [ :digits_ordinal ]
+defined in the Unicode CLDR data repository. Available rules are identified by:iex> Plausible.Cldr.Rbnf.Ordinal . rule_sets ( :en )
+ [ :digits_ordinal ]
- iex> Plausible.Cldr.Rbnf.Ordinal . rule_sets ( "fr" )
- ...> |> Enum . sort ( )
- [
+ iex> Plausible.Cldr.Rbnf.Ordinal . rule_sets ( "fr" )
+ ...> |> Enum . sort ( )
+ [
:digits_ordinal ,
:digits_ordinal_feminine ,
:digits_ordinal_feminine_plural ,
:digits_ordinal_masculine ,
:digits_ordinal_masculine_plural
- ] A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.Ordinal . digits_ordinal ( 123 , :en )
- "123rd" This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :ordinal )
- { :ok , "123rd" }
+ ] A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.Ordinal . digits_ordinal ( 123 , :en )
+ "123rd" This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :ordinal )
+ { :ok , "123rd" }
diff --git a/Plausible.Cldr.Rbnf.Spellout.html b/Plausible.Cldr.Rbnf.Spellout.html
index d90d3ecd0..ce8fb8942 100644
--- a/Plausible.Cldr.Rbnf.Spellout.html
+++ b/Plausible.Cldr.Rbnf.Spellout.html
@@ -13,7 +13,7 @@
-
+
@@ -116,9 +116,9 @@ Plausible
Functions to implement the spellout rule-based-number-format rules of CLDR.
As CLDR notes, the data is incomplete or non-existent for many languages. It
is considered complete for English however.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules
-defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Spellout . rule_sets ( "en" )
- ...> |> Enum . sort ( )
- [
+defined in the Unicode CLDR data repository. Available rules are identified by:iex> Plausible.Cldr.Rbnf.Spellout . rule_sets ( "en" )
+ ...> |> Enum . sort ( )
+ [
:spellout_cardinal ,
:spellout_cardinal_verbose ,
:spellout_numbering ,
@@ -126,9 +126,9 @@ defined in the Unicode CLDR data repository. Available rules are identified by:
:spellout_numbering_year ,
:spellout_ordinal ,
:spellout_ordinal_verbose
- ] A rule can then be invoked on an available rule_set. For example:
iex> Plausible.Cldr.Rbnf.Spellout . spellout_ordinal ( 123 , "en" )
- "one hundred twenty-third" This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :spellout )
- { :ok , "one hundred twenty-three" }
+ ] A rule can then be invoked on an available rule_set. For example:
iex> Plausible.Cldr.Rbnf.Spellout . spellout_ordinal ( 123 , "en" )
+ "one hundred twenty-third" This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number . to_string ( 123 , format : :spellout )
+ { :ok , "one hundred twenty-three" }
diff --git a/Plausible.Cldr.html b/Plausible.Cldr.html
index 991af2691..2460dd040 100644
--- a/Plausible.Cldr.html
+++ b/Plausible.Cldr.html
@@ -13,7 +13,7 @@
-
+
@@ -518,24 +518,24 @@ Functions
Example
-iex> Plausible.Cldr . default_locale ( )
- % Cldr.LanguageTag {
+iex> Plausible.Cldr . default_locale ( )
+ % Cldr.LanguageTag {
backend : Plausible.Cldr ,
canonical_locale_name : "en-001" ,
cldr_locale_name : :"en-001" ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : "en" ,
language : "en" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :en ,
requested_locale_name : "en-001" ,
script : :Latn ,
territory : :"001" ,
- transform : %{ } ,
- language_variants : [ ]
- }
+ transform : %{ } ,
+ language_variants : [ ]
+ }
@@ -570,7 +570,7 @@ does not specify one and none can be inferred.iex> Plausible.Cldr . default_territory ( )
+iex> Plausible.Cldr . default_territory ( )
:"001"
@@ -633,13 +633,13 @@ is inserted between words or sentences. The valid options are
iex> Plausible.Cldr . ellipsis "And furthermore"
"And furthermore…"
- iex> Plausible.Cldr . ellipsis [ "And furthermore" , "there is much to be done" ] , locale : :ja
+ iex> Plausible.Cldr . ellipsis [ "And furthermore" , "there is much to be done" ] , locale : :ja
"And furthermore…there is much to be done"
iex> Plausible.Cldr . ellipsis "And furthermore" , format : :word
"And furthermore …"
- iex> Plausible.Cldr . ellipsis [ "And furthermore" , "there is much to be done" ] , locale : :ja , format : :word
+ iex> Plausible.Cldr . ellipsis [ "And furthermore" , "there is much to be done" ] , locale : :ja , format : :word
"And furthermore … there is much to be done"
@@ -675,23 +675,23 @@ take an optional locale parameter for which a locale is not supplied.
-iex> Plausible.Cldr . put_locale ( "pl" )
+iex> Plausible.Cldr . put_locale ( "pl" )
iex> Plausible.Cldr . get_locale
- % Cldr.LanguageTag {
+ % Cldr.LanguageTag {
backend : Elixir.Plausible.Cldr ,
canonical_locale_name : "pl" ,
cldr_locale_name : :pl ,
- extensions : %{ } ,
+ extensions : %{ } ,
language : "pl" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :pl ,
territory : :PL ,
requested_locale_name : "pl" ,
script : :Latn ,
- transform : %{ } ,
- language_variants : [ ]
- }
+ transform : %{ } ,
+ language_variants : [ ]
+ }
@@ -824,10 +824,10 @@ name is configured and available in Gettext.iex> Plausible.Cldr . known_gettext_locale_name? ( "en" )
+iex> Plausible.Cldr . known_gettext_locale_name? ( "en" )
true
- iex> Plausible.Cldr . known_gettext_locale_name? ( "!!" )
+ iex> Plausible.Cldr . known_gettext_locale_name? ( "!!" )
false
@@ -946,10 +946,10 @@ name is configured and available in Cldr.iex> Plausible.Cldr . known_locale_name? ( :en )
+iex> Plausible.Cldr . known_locale_name? ( :en )
true
- iex> Plausible.Cldr . known_locale_name? ( :"!!" )
+ iex> Plausible.Cldr . known_locale_name? ( :"!!" )
false
@@ -1004,7 +1004,7 @@ in this module or in
iex> Plausible.Cldr . known_number_system_types
- [ :default , :finance , :native , :traditional ]
+[ :default , :finance , :native , :traditional ]
@@ -1115,10 +1115,10 @@ rules based number formats (RBNF).iex> Plausible.Cldr . known_rbnf_locale_name? ( :en )
+iex> Plausible.Cldr . known_rbnf_locale_name? ( :en )
true
- iex> Plausible.Cldr . known_rbnf_locale_name? ( :"!!" )
+ iex> Plausible.Cldr . known_rbnf_locale_name? ( :"!!" )
false
@@ -1239,29 +1239,29 @@ of a language tag.
Examples
-iex> Plausible.Cldr . put_locale ( "en" )
- { :ok ,
- % Cldr.LanguageTag {
+iex> Plausible.Cldr . put_locale ( "en" )
+ { :ok ,
+ % Cldr.LanguageTag {
backend : Plausible.Cldr ,
canonical_locale_name : "en" ,
cldr_locale_name : :en ,
- language_subtags : [ ] ,
- extensions : %{ } ,
+ language_subtags : [ ] ,
+ extensions : %{ } ,
gettext_locale_name : "en" ,
language : "en" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :en ,
requested_locale_name : "en" ,
script : :Latn ,
territory : :US ,
- transform : %{ } ,
- language_variants : [ ]
- } }
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
- iex> Plausible.Cldr . put_locale ( "invalid-locale!" )
- { :error , { Cldr.LanguageTag.ParseError ,
- "Expected a BCP47 language tag. Could not parse the remaining \" ! \" starting at position 15" } }
+ iex> Plausible.Cldr . put_locale ( "invalid-locale!" )
+ { :error , { Cldr.LanguageTag.ParseError ,
+ "Expected a BCP47 language tag. Could not parse the remaining \" ! \" starting at position 15" } }
@@ -1444,47 +1444,47 @@ of a language tag.iex> Plausible.Cldr . validate_locale ( :en )
- { :ok ,
- % Cldr.LanguageTag {
+iex> Plausible.Cldr . validate_locale ( :en )
+ { :ok ,
+ % Cldr.LanguageTag {
backend : Plausible.Cldr ,
canonical_locale_name : "en" ,
cldr_locale_name : :en ,
- extensions : %{ } ,
+ extensions : %{ } ,
gettext_locale_name : "en" ,
language : "en" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :en ,
requested_locale_name : "en" ,
script : :Latn ,
territory : :US ,
- transform : %{ } ,
- language_variants : [ ]
- } }
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
- iex> Plausible.Cldr . validate_locale Plausible.Cldr . default_locale ( )
- { :ok ,
- % Cldr.LanguageTag {
+ iex> Plausible.Cldr . validate_locale Plausible.Cldr . default_locale ( )
+ { :ok ,
+ % Cldr.LanguageTag {
backend : Plausible.Cldr ,
canonical_locale_name : "en-001" ,
cldr_locale_name : :"en-001" ,
- extensions : %{ } ,
+ extensions : %{ } ,
gettext_locale_name : "en" ,
language : "en" ,
- locale : %{ } ,
- private_use : [ ] ,
+ locale : %{ } ,
+ private_use : [ ] ,
rbnf_locale_name : :en ,
requested_locale_name : "en-001" ,
script : :Latn ,
territory : :"001" ,
- transform : %{ } ,
- language_variants : [ ]
- } }
+ transform : %{ } ,
+ language_variants : [ ]
+ } }
- iex> Plausible.Cldr . validate_locale ( "zzz" )
- { :error , { Cldr.InvalidLanguageError , "The language \" zzz \" is invalid" } }
+ iex> Plausible.Cldr . validate_locale ( "zzz" )
+ { :error , { Cldr.InvalidLanguageError , "The language \" zzz \" is invalid" } }
@@ -1555,22 +1555,22 @@ of a language tag.iex> Plausible.Cldr . validate_number_system_type :default
- { :ok , :default }
+ { :ok , :default }
iex> Plausible.Cldr . validate_number_system_type :traditional
- { :ok , :traditional }
+ { :ok , :traditional }
iex> Plausible.Cldr . validate_number_system_type :latn
- {
+ {
:error ,
- { Cldr.UnknownNumberSystemTypeError , "The number system type :latn is unknown" }
- }
+ { Cldr.UnknownNumberSystemTypeError , "The number system type :latn is unknown" }
+ }
iex> Plausible.Cldr . validate_number_system_type "bork"
- {
+ {
:error ,
- { Cldr.UnknownNumberSystemTypeError , "The number system type \" bork \" is invalid" }
- }
+ { Cldr.UnknownNumberSystemTypeError , "The number system type \" bork \" is invalid" }
+ }
diff --git a/Plausible.ClickhouseEventV2.html b/Plausible.ClickhouseEventV2.html
index 2acfc4a1f..8f22f558c 100644
--- a/Plausible.ClickhouseEventV2.html
+++ b/Plausible.ClickhouseEventV2.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ClickhouseRepo.html b/Plausible.ClickhouseRepo.html
index dd8164439..db47bcc9b 100644
--- a/Plausible.ClickhouseRepo.html
+++ b/Plausible.ClickhouseRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -816,23 +816,23 @@ pool to disconnect within the given interval.See
-Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
+Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
- defmodule Demo do
+ defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a , Ch , type : "UInt64"
field :b , :string
- end
- end
+ end
+ end
- rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
- { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
+ rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
+ { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
# schemaless
- { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
+ { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
diff --git a/Plausible.ClickhouseSessionV2.BoolUInt8.html b/Plausible.ClickhouseSessionV2.BoolUInt8.html
index ff5858f3a..c736db7d7 100644
--- a/Plausible.ClickhouseSessionV2.BoolUInt8.html
+++ b/Plausible.ClickhouseSessionV2.BoolUInt8.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ClickhouseSessionV2.html b/Plausible.ClickhouseSessionV2.html
index f478c6f8f..08be1eeef 100644
--- a/Plausible.ClickhouseSessionV2.html
+++ b/Plausible.ClickhouseSessionV2.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ConfigHelpers.html b/Plausible.ConfigHelpers.html
index ee9401f38..a39002983 100644
--- a/Plausible.ConfigHelpers.html
+++ b/Plausible.ConfigHelpers.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.DataCase.html b/Plausible.DataCase.html
index 70f31a758..7e6c99967 100644
--- a/Plausible.DataCase.html
+++ b/Plausible.DataCase.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.DataMigration.NumericIDs.html b/Plausible.DataMigration.NumericIDs.html
index e7bb57506..2155dc884 100644
--- a/Plausible.DataMigration.NumericIDs.html
+++ b/Plausible.DataMigration.NumericIDs.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.DataMigration.Repo.html b/Plausible.DataMigration.Repo.html
index 436297f97..25e47de71 100644
--- a/Plausible.DataMigration.Repo.html
+++ b/Plausible.DataMigration.Repo.html
@@ -13,7 +13,7 @@
-
+
@@ -1123,23 +1123,23 @@ pool to disconnect within the given interval.See
-Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
+Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
- defmodule Demo do
+ defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a , Ch , type : "UInt64"
field :b , :string
- end
- end
+ end
+ end
- rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
- { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
+ rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
+ { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
# schemaless
- { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
+ { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
diff --git a/Plausible.DataMigration.RewriteFunnelDupes.html b/Plausible.DataMigration.RewriteFunnelDupes.html
index e88348f0c..3a74c332f 100644
--- a/Plausible.DataMigration.RewriteFunnelDupes.html
+++ b/Plausible.DataMigration.RewriteFunnelDupes.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.DataMigration.html b/Plausible.DataMigration.html
index ceb6f1ac7..1be82bbd2 100644
--- a/Plausible.DataMigration.html
+++ b/Plausible.DataMigration.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.DebugReplayInfo.html b/Plausible.DebugReplayInfo.html
index 4a5f7c216..60374ef78 100644
--- a/Plausible.DebugReplayInfo.html
+++ b/Plausible.DebugReplayInfo.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ecto.EventName.html b/Plausible.Ecto.EventName.html
index 009454ad0..5959dd025 100644
--- a/Plausible.Ecto.EventName.html
+++ b/Plausible.Ecto.EventName.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Event.WriteBuffer.html b/Plausible.Event.WriteBuffer.html
index de6e49026..031ae49c6 100644
--- a/Plausible.Event.WriteBuffer.html
+++ b/Plausible.Event.WriteBuffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Factory.html b/Plausible.Factory.html
index e60b42090..497439688 100644
--- a/Plausible.Factory.html
+++ b/Plausible.Factory.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Funnel.Step.html b/Plausible.Funnel.Step.html
index 3d4e31944..39d01e150 100644
--- a/Plausible.Funnel.Step.html
+++ b/Plausible.Funnel.Step.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Funnel.html b/Plausible.Funnel.html
index ecd9aca39..57e461226 100644
--- a/Plausible.Funnel.html
+++ b/Plausible.Funnel.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Funnels.html b/Plausible.Funnels.html
index 55a8eeafe..1d7548f7f 100644
--- a/Plausible.Funnels.html
+++ b/Plausible.Funnels.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Geo.html b/Plausible.Geo.html
index c0202df59..169b1d87c 100644
--- a/Plausible.Geo.html
+++ b/Plausible.Geo.html
@@ -13,7 +13,7 @@
-
+
@@ -231,8 +231,8 @@ Functions
Examples
- In the case of a DB-IP database:
iex> database_type ( )
- "DBIP-City-Lite" In the case of a MaxMind database:
iex> database_type ( )
+ In the case of a DB-IP database:
iex> database_type ( )
+ "DBIP-City-Lite" In the case of a MaxMind database:
iex> database_type ( )
"GeoLite2-City"
@@ -272,8 +272,8 @@ asynchronously.
- Loading from a local file:
iex> load_db ( path : "/etc/plausible/dbip-city.mmdb" )
- :ok Downloading a MaxMind DB (this license key is no longer active):
iex> load_db ( license_key : "LNpsJCCKPis6XvBP" , edition : "GeoLite2-City" , async : true )
+ Loading from a local file:
iex> load_db ( path : "/etc/plausible/dbip-city.mmdb" )
+ :ok Downloading a MaxMind DB (this license key is no longer active):
iex> load_db ( license_key : "LNpsJCCKPis6XvBP" , edition : "GeoLite2-City" , async : true )
:ok
@@ -302,21 +302,21 @@ asynchronously.
-iex> lookup ( "8.7.6.5" )
- %{
- "city" => %{
+iex> lookup ( "8.7.6.5" )
+ %{
+ "city" => %{
"geoname_id" => 5349755 ,
- "names" => %{
+ "names" => %{
"de" => "Fontana" ,
"en" => "Fontana" ,
"ja" => "フォンタナ" ,
"ru" => "Фонтана"
- }
- } ,
- "continent" => %{
+ }
+ } ,
+ "continent" => %{
"code" => "NA" ,
"geoname_id" => 6255149 ,
- "names" => %{
+ "names" => %{
"de" => "Nordamerika" ,
"en" => "North America" ,
"es" => "Norteamérica" ,
@@ -325,12 +325,12 @@ asynchronously."pt-BR" => "América do Norte" ,
"ru" => "Северная Америка" ,
"zh-CN" => "北美洲"
- }
- } ,
- "country" => %{
+ }
+ } ,
+ "country" => %{
"geoname_id" => 6252001 ,
"iso_code" => "US" ,
- "names" => %{
+ "names" => %{
"de" => "Vereinigte Staaten" ,
"en" => "United States" ,
"es" => "Estados Unidos" ,
@@ -339,20 +339,20 @@ asynchronously."pt-BR" => "EUA" ,
"ru" => "США" ,
"zh-CN" => "美国"
- }
- } ,
- "location" => %{
+ }
+ } ,
+ "location" => %{
"accuracy_radius" => 50 ,
"latitude" => 34.1211 ,
"longitude" => - 117.4362 ,
"metro_code" => 803 ,
"time_zone" => "America/Los_Angeles"
- } ,
- "postal" => %{ "code" => "92336" } ,
- "registered_country" => %{
+ } ,
+ "postal" => %{ "code" => "92336" } ,
+ "registered_country" => %{
"geoname_id" => 6252001 ,
"iso_code" => "US" ,
- "names" => %{
+ "names" => %{
"de" => "Vereinigte Staaten" ,
"en" => "United States" ,
"es" => "Estados Unidos" ,
@@ -361,13 +361,13 @@ asynchronously."pt-BR" => "EUA" ,
"ru" => "США" ,
"zh-CN" => "美国"
- }
- } ,
- "subdivisions" => [
- %{
+ }
+ } ,
+ "subdivisions" => [
+ %{
"geoname_id" => 5332921 ,
"iso_code" => "CA" ,
- "names" => %{
+ "names" => %{
"de" => "Kalifornien" ,
"en" => "California" ,
"es" => "California" ,
@@ -376,10 +376,10 @@ asynchronously."pt-BR" => "Califórnia" ,
"ru" => "Калифорния" ,
"zh-CN" => "加州"
- }
- }
- ]
- }
+ }
+ }
+ ]
+ }
diff --git a/Plausible.Goal.html b/Plausible.Goal.html
index e20e1fe97..04c9b2e78 100644
--- a/Plausible.Goal.html
+++ b/Plausible.Goal.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Goals.html b/Plausible.Goals.html
index a2fcdd260..b1d740338 100644
--- a/Plausible.Goals.html
+++ b/Plausible.Goals.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Api.Mock.html b/Plausible.Google.Api.Mock.html
index 32816ede7..5384ec4aa 100644
--- a/Plausible.Google.Api.Mock.html
+++ b/Plausible.Google.Api.Mock.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Api.html b/Plausible.Google.Api.html
index 66be58b25..7c619204d 100644
--- a/Plausible.Google.Api.html
+++ b/Plausible.Google.Api.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Buffer.html b/Plausible.Google.Buffer.html
index c1b53e363..eec261936 100644
--- a/Plausible.Google.Buffer.html
+++ b/Plausible.Google.Buffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.HTTP.html b/Plausible.Google.HTTP.html
index a888e30fe..026bfe6d8 100644
--- a/Plausible.Google.HTTP.html
+++ b/Plausible.Google.HTTP.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.ReportRequest.html b/Plausible.Google.ReportRequest.html
index fc484ebfa..ba48be5f1 100644
--- a/Plausible.Google.ReportRequest.html
+++ b/Plausible.Google.ReportRequest.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.Interface.html b/Plausible.HTTPClient.Interface.html
index e74dba71e..660f99af6 100644
--- a/Plausible.HTTPClient.Interface.html
+++ b/Plausible.HTTPClient.Interface.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.Non200Error.html b/Plausible.HTTPClient.Non200Error.html
index 548f14a04..da2290639 100644
--- a/Plausible.HTTPClient.Non200Error.html
+++ b/Plausible.HTTPClient.Non200Error.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.html b/Plausible.HTTPClient.html
index a7b53b1bf..879db714e 100644
--- a/Plausible.HTTPClient.html
+++ b/Plausible.HTTPClient.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ImportDeletionRepo.html b/Plausible.ImportDeletionRepo.html
index 2d807068f..cc029e66a 100644
--- a/Plausible.ImportDeletionRepo.html
+++ b/Plausible.ImportDeletionRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1114,23 +1114,23 @@ pool to disconnect within the given interval.See
-Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
+Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
- defmodule Demo do
+ defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a , Ch , type : "UInt64"
field :b , :string
- end
- end
+ end
+ end
- rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
- { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
+ rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
+ { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
# schemaless
- { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
+ { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
diff --git a/Plausible.Imported.html b/Plausible.Imported.html
index 76cf05a78..cf1755f9b 100644
--- a/Plausible.Imported.html
+++ b/Plausible.Imported.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.IngestRepo.html b/Plausible.IngestRepo.html
index cae54cd18..d4b29554d 100644
--- a/Plausible.IngestRepo.html
+++ b/Plausible.IngestRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1114,23 +1114,23 @@ pool to disconnect within the given interval.
See
-Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
+Similar to insert_all/2 but with the following differences:
accepts rows as streams or lists sends rows as a chunked request doesn't autogenerate ids or does any other preprocessing Example:
Repo . query! ( "create table ecto_ch_demo(a UInt64, b String) engine Null" )
- defmodule Demo do
+ defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a , Ch , type : "UInt64"
field :b , :string
- end
- end
+ end
+ end
- rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
- { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
+ rows = Stream . map ( 1 .. 100_000 , fn i -> %{ a : i , b : to_string ( i ) } end )
+ { 100_000 , nil } = Repo . insert_stream ( Demo , rows )
# schemaless
- { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
+ { 100_000 , nil } = Repo . insert_stream ( "ecto_ch_demo" , rows , types : [ a : Ch.Types . u64 ( ) , b : :string ] )
diff --git a/Plausible.Ingestion.Counters.Buffer.html b/Plausible.Ingestion.Counters.Buffer.html
index 55e956ec0..b856c12cc 100644
--- a/Plausible.Ingestion.Counters.Buffer.html
+++ b/Plausible.Ingestion.Counters.Buffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.Record.html b/Plausible.Ingestion.Counters.Record.html
index 9c9e69d8f..334320c0f 100644
--- a/Plausible.Ingestion.Counters.Record.html
+++ b/Plausible.Ingestion.Counters.Record.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.TelemetryHandler.html b/Plausible.Ingestion.Counters.TelemetryHandler.html
index f0bee2353..0e804dc09 100644
--- a/Plausible.Ingestion.Counters.TelemetryHandler.html
+++ b/Plausible.Ingestion.Counters.TelemetryHandler.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.html b/Plausible.Ingestion.Counters.html
index 055942c74..e5bf49af1 100644
--- a/Plausible.Ingestion.Counters.html
+++ b/Plausible.Ingestion.Counters.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Event.html b/Plausible.Ingestion.Event.html
index f463e089a..4ea03bdd4 100644
--- a/Plausible.Ingestion.Event.html
+++ b/Plausible.Ingestion.Event.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Request.html b/Plausible.Ingestion.Request.html
index db5f49973..74747db65 100644
--- a/Plausible.Ingestion.Request.html
+++ b/Plausible.Ingestion.Request.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Mailer.html b/Plausible.Mailer.html
index 94d413e64..e51e85129 100644
--- a/Plausible.Mailer.html
+++ b/Plausible.Mailer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.OpenTelemetry.Sampler.html b/Plausible.OpenTelemetry.Sampler.html
index 3217e7384..2738d98d0 100644
--- a/Plausible.OpenTelemetry.Sampler.html
+++ b/Plausible.OpenTelemetry.Sampler.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PaddleApi.Mock.html b/Plausible.PaddleApi.Mock.html
index 9ec413c91..6d3a567e9 100644
--- a/Plausible.PaddleApi.Mock.html
+++ b/Plausible.PaddleApi.Mock.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Plugins.API.Goals.html b/Plausible.Plugins.API.Goals.html
index 3372e187c..59ba53700 100644
--- a/Plausible.Plugins.API.Goals.html
+++ b/Plausible.Plugins.API.Goals.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Plugins.API.Pagination.html b/Plausible.Plugins.API.Pagination.html
index c3427121b..ac803d2e7 100644
--- a/Plausible.Plugins.API.Pagination.html
+++ b/Plausible.Plugins.API.Pagination.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Plugins.API.SharedLinks.html b/Plausible.Plugins.API.SharedLinks.html
index ca6bc35c7..7f3e2fe5d 100644
--- a/Plausible.Plugins.API.SharedLinks.html
+++ b/Plausible.Plugins.API.SharedLinks.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Plugins.API.Token.html b/Plausible.Plugins.API.Token.html
index 4eb31594e..f593177cb 100644
--- a/Plausible.Plugins.API.Token.html
+++ b/Plausible.Plugins.API.Token.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Plugins.API.Tokens.html b/Plausible.Plugins.API.Tokens.html
index 46cef2b27..d9a52c767 100644
--- a/Plausible.Plugins.API.Tokens.html
+++ b/Plausible.Plugins.API.Tokens.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PromEx.Plugins.PlausibleMetrics.html b/Plausible.PromEx.Plugins.PlausibleMetrics.html
index e0d195a7e..fdee16f32 100644
--- a/Plausible.PromEx.Plugins.PlausibleMetrics.html
+++ b/Plausible.PromEx.Plugins.PlausibleMetrics.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PromEx.html b/Plausible.PromEx.html
index 5b0642a87..2a09c0215 100644
--- a/Plausible.PromEx.html
+++ b/Plausible.PromEx.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Props.html b/Plausible.Props.html
index d50922361..960e32a6f 100644
--- a/Plausible.Props.html
+++ b/Plausible.Props.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Purge.html b/Plausible.Purge.html
index 06027a88e..8405a4afc 100644
--- a/Plausible.Purge.html
+++ b/Plausible.Purge.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Release.html b/Plausible.Release.html
index 7ed381bf8..cf89a8cc6 100644
--- a/Plausible.Release.html
+++ b/Plausible.Release.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Repo.html b/Plausible.Repo.html
index ac255bf91..13528ad5b 100644
--- a/Plausible.Repo.html
+++ b/Plausible.Repo.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Sentry.Client.html b/Plausible.Sentry.Client.html
index 9bfae1fe2..1e0bbb4ff 100644
--- a/Plausible.Sentry.Client.html
+++ b/Plausible.Sentry.Client.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.SentryFilter.html b/Plausible.SentryFilter.html
index 9c247d978..63871d912 100644
--- a/Plausible.SentryFilter.html
+++ b/Plausible.SentryFilter.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.CacheStore.html b/Plausible.Session.CacheStore.html
index 14a761d42..050303209 100644
--- a/Plausible.Session.CacheStore.html
+++ b/Plausible.Session.CacheStore.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.Salts.html b/Plausible.Session.Salts.html
index 82e9302d1..e7594a7ca 100644
--- a/Plausible.Session.Salts.html
+++ b/Plausible.Session.Salts.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.WriteBuffer.html b/Plausible.Session.WriteBuffer.html
index f1bc51fe5..1e0255a5f 100644
--- a/Plausible.Session.WriteBuffer.html
+++ b/Plausible.Session.WriteBuffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.All.html b/Plausible.Site.Cache.Warmer.All.html
index a2de85975..e163e8857 100644
--- a/Plausible.Site.Cache.Warmer.All.html
+++ b/Plausible.Site.Cache.Warmer.All.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.RecentlyUpdated.html b/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
index fd5828683..5ef32fe8d 100644
--- a/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
+++ b/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.html b/Plausible.Site.Cache.Warmer.html
index d50448ed7..bd57ec59a 100644
--- a/Plausible.Site.Cache.Warmer.html
+++ b/Plausible.Site.Cache.Warmer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.html b/Plausible.Site.Cache.html
index 0260f2463..0e8bfdeda 100644
--- a/Plausible.Site.Cache.html
+++ b/Plausible.Site.Cache.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.CustomDomain.html b/Plausible.Site.CustomDomain.html
index 5b90fff05..a0fb2e2dd 100644
--- a/Plausible.Site.CustomDomain.html
+++ b/Plausible.Site.CustomDomain.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Domain.html b/Plausible.Site.Domain.html
index ee7cb3e14..c17327e30 100644
--- a/Plausible.Site.Domain.html
+++ b/Plausible.Site.Domain.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.GateKeeper.html b/Plausible.Site.GateKeeper.html
index 85b810fb1..31511ad91 100644
--- a/Plausible.Site.GateKeeper.html
+++ b/Plausible.Site.GateKeeper.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.GoogleAuth.html b/Plausible.Site.GoogleAuth.html
index c8bebf30c..47dd8d9fc 100644
--- a/Plausible.Site.GoogleAuth.html
+++ b/Plausible.Site.GoogleAuth.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.ImportedData.html b/Plausible.Site.ImportedData.html
index 188233e4f..33035e88d 100644
--- a/Plausible.Site.ImportedData.html
+++ b/Plausible.Site.ImportedData.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Membership.html b/Plausible.Site.Membership.html
index d7b0eaaa0..b51701bdc 100644
--- a/Plausible.Site.Membership.html
+++ b/Plausible.Site.Membership.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Memberships.AcceptInvitation.html b/Plausible.Site.Memberships.AcceptInvitation.html
index d5dbf6027..de482ae5d 100644
--- a/Plausible.Site.Memberships.AcceptInvitation.html
+++ b/Plausible.Site.Memberships.AcceptInvitation.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Memberships.CreateInvitation.html b/Plausible.Site.Memberships.CreateInvitation.html
new file mode 100644
index 000000000..23748de19
--- /dev/null
+++ b/Plausible.Site.Memberships.CreateInvitation.html
@@ -0,0 +1,374 @@
+
+
+
+
+
+
+
+
+
+ Plausible.Site.Memberships.CreateInvitation — Plausible v0.0.1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Settings
+
+
+
+
+
+ View Source
+
+
+ Plausible.Site.Memberships.CreateInvitation
+ (Plausible v0.0.1)
+
+
+
+
+
+Service for inviting new or existing users to a sites, including ownershhip
+transfers.
+
+
+
+
+
+
+
+ Summary
+
+
+
+
+
+ Functions
+
+
+
+
+
+
+
+
+
+
Invites a new team member to the given site. Returns a
+%Plausible.Auth.Invitation{} struct and sends the invitee an email to accept
+this invitation.
+
+
+
+
+
+
+
+
+
+
+
+
+Types
+
+
+
+
+
+
+
+
+
+
+
+
@type invite_error() ::
+ Ecto.Changeset.t ()
+ | :already_a_member
+ | :transfer_to_self
+ | {:over_limit, non_neg_integer ()}
+ | :forbidden
+ | :upgrade_required
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Functions
+
+
+
+
+
+
+
+
+
+
+
+
+
+Invites a new team member to the given site. Returns a
+%Plausible.Auth.Invitation{} struct and sends the invitee an email to accept
+this invitation.
The inviter must have enough permissions to invite the new team member,
+otherwise this function returns {:error, :forbidden}.
If the new team member role is :owner, this function handles the invitation
+as an ownership transfer and requires the inviter to be the owner of the site.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Plausible.Site.Memberships.RejectInvitation.html b/Plausible.Site.Memberships.RejectInvitation.html
index c607eb4ae..6145a68df 100644
--- a/Plausible.Site.Memberships.RejectInvitation.html
+++ b/Plausible.Site.Memberships.RejectInvitation.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Memberships.RemoveInvitation.html b/Plausible.Site.Memberships.RemoveInvitation.html
index 50b0f5501..729778abe 100644
--- a/Plausible.Site.Memberships.RemoveInvitation.html
+++ b/Plausible.Site.Memberships.RemoveInvitation.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Memberships.html b/Plausible.Site.Memberships.html
index 90ad8b76e..cadc51965 100644
--- a/Plausible.Site.Memberships.html
+++ b/Plausible.Site.Memberships.html
@@ -13,7 +13,7 @@
-
+
@@ -148,6 +148,36 @@ Plausible
+
+
+
+
+
+