@taggor/contract 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/contract-version.d.ts +6 -2
  3. package/dist/contract-version.d.ts.map +1 -1
  4. package/dist/contract-version.js +13 -7
  5. package/dist/contract-version.js.map +1 -1
  6. package/dist/data-api.d.ts +7 -37
  7. package/dist/data-api.d.ts.map +1 -1
  8. package/dist/data-api.js +11 -45
  9. package/dist/data-api.js.map +1 -1
  10. package/dist/diagnostic-catalog.d.ts +23 -57
  11. package/dist/diagnostic-catalog.d.ts.map +1 -1
  12. package/dist/diagnostic-catalog.js +23 -51
  13. package/dist/diagnostic-catalog.js.map +1 -1
  14. package/dist/error-catalog.d.ts +14 -0
  15. package/dist/error-catalog.d.ts.map +1 -1
  16. package/dist/error-catalog.js +19 -5
  17. package/dist/error-catalog.js.map +1 -1
  18. package/dist/error-titles-pt-br.d.ts +13 -0
  19. package/dist/error-titles-pt-br.d.ts.map +1 -0
  20. package/dist/error-titles-pt-br.js +99 -0
  21. package/dist/error-titles-pt-br.js.map +1 -0
  22. package/dist/event-params.d.ts +41 -0
  23. package/dist/event-params.d.ts.map +1 -0
  24. package/dist/event-params.js +92 -0
  25. package/dist/event-params.js.map +1 -0
  26. package/dist/index.d.ts +7 -5
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +7 -5
  29. package/dist/index.js.map +1 -1
  30. package/dist/json-schema.d.ts.map +1 -1
  31. package/dist/json-schema.js +0 -8
  32. package/dist/json-schema.js.map +1 -1
  33. package/dist/limit-catalog.d.ts +4 -25
  34. package/dist/limit-catalog.d.ts.map +1 -1
  35. package/dist/limit-catalog.js +6 -27
  36. package/dist/limit-catalog.js.map +1 -1
  37. package/dist/limits.d.ts +9 -21
  38. package/dist/limits.d.ts.map +1 -1
  39. package/dist/limits.js +9 -21
  40. package/dist/limits.js.map +1 -1
  41. package/dist/locale-tag.d.ts +2 -2
  42. package/dist/locale-tag.js +2 -2
  43. package/dist/manifest.d.ts +26 -5
  44. package/dist/manifest.d.ts.map +1 -1
  45. package/dist/manifest.js +16 -35
  46. package/dist/manifest.js.map +1 -1
  47. package/dist/metering.d.ts +18 -5
  48. package/dist/metering.d.ts.map +1 -1
  49. package/dist/metering.js +18 -5
  50. package/dist/metering.js.map +1 -1
  51. package/dist/plan-pricing.d.ts +28 -55
  52. package/dist/plan-pricing.d.ts.map +1 -1
  53. package/dist/plan-pricing.js +15 -60
  54. package/dist/plan-pricing.js.map +1 -1
  55. package/dist/schema/component-manifest.v1.json +5 -12
  56. package/dist/schema/data-api.v1.json +4 -39
  57. package/dist/site-manifest.d.ts +1 -8
  58. package/dist/site-manifest.d.ts.map +1 -1
  59. package/dist/site-manifest.js +3 -6
  60. package/dist/site-manifest.js.map +1 -1
  61. package/dist/ssr-cap.d.ts +1 -1
  62. package/dist/ssr-cap.d.ts.map +1 -1
  63. package/dist/url-value.d.ts.map +1 -1
  64. package/dist/url-value.js +1 -1
  65. package/dist/url-value.js.map +1 -1
  66. package/dist/zod-free.d.ts +3 -4
  67. package/dist/zod-free.d.ts.map +1 -1
  68. package/dist/zod-free.js +3 -4
  69. package/dist/zod-free.js.map +1 -1
  70. package/package.json +1 -1
  71. package/dist/consent-text.d.ts +0 -31
  72. package/dist/consent-text.d.ts.map +0 -1
  73. package/dist/consent-text.js +0 -41
  74. package/dist/consent-text.js.map +0 -1
package/dist/limits.js CHANGED
@@ -50,7 +50,8 @@ export const MANIFEST_LIMITS = /* @__PURE__ */ Object.freeze({
50
50
  maxCollections: 10,
51
51
  maxCollectionFields: 50,
52
52
  maxTrackEvents: 30,
53
- maxTrackProps: 8,
53
+ /** Declared parameter hints of one track event; the same number as `EVENT_PARAM_LIMITS.maxPerEvent`. */
54
+ maxTrackProps: 25,
54
55
  maxEnumValues: 50,
55
56
  enumValueMaxLength: 64,
56
57
  /** Fields of one declared object value (prop, event detail). */
@@ -107,8 +108,11 @@ export const WORKSPACE_LIMITS = /* @__PURE__ */ Object.freeze({
107
108
  export const DATA_API_LIMITS = Object.freeze({
108
109
  /** Maximum body of `POST /d/<siteKey>/<collection>` in bytes. */
109
110
  submitBodyMaxBytes: 32_768,
110
- /** Maximum body of a `track` beacon in bytes. */
111
- trackBodyMaxBytes: 2_048,
111
+ /**
112
+ * Maximum body of a `POST /e/` beacon in bytes: the room for `EVENT_PARAM_LIMITS.maxPerEvent`
113
+ * parameters of `valueMaxLength` characters (UTF-8 and JSON escaping included).
114
+ */
115
+ trackBodyMaxBytes: 16_384,
112
116
  /** Maximum keys in the `data` object of a submission before field validation. */
113
117
  submitDataMaxKeys: 50,
114
118
  idempotencyKeyMinLength: 16,
@@ -122,26 +126,10 @@ export const DATA_API_LIMITS = Object.freeze({
122
126
  errorMessageMaxLength: 500,
123
127
  maxErrorFields: 50,
124
128
  });
125
- /**
126
- * Limits of the consent proof a submission carries (`consent` of the data API's
127
- * `submit`). Apart from `DATA_API_LIMITS` on purpose: the SDK bundles that object (its transports
128
- * read it), and only the server-side schema reads these; the `@__PURE__` mark lets a bundler drop
129
- * them from a component that imports another limit (esbuild keeps an unmarked `Object.freeze` call).
130
- *
131
- * Inputs: none. Output: frozen numbers used by `consentProofSchema`. Errors: none. Side effects:
132
- * none.
133
- */
134
- export const CONSENT_PROOF_LIMITS = /* @__PURE__ */ Object.freeze({
135
- /** `consent.text_hash`: SHA-256 in lowercase hex. */
136
- consentTextHashLength: 64,
137
- /** `consent.locale`: a BCP 47 language tag such as `pt-BR`. */
138
- consentLocaleMaxLength: 35,
139
- });
140
129
  /**
141
130
  * Limits of the `locales` declaration of a manifest (contract 1.2): the languages a
142
- * component ships messages for. Apart from `MANIFEST_LIMITS` for the same reason as
143
- * `CONSENT_PROOF_LIMITS`: the SDK bundled that whole object until the limits were split (the runtime still
144
- * does), and only the manifest schema reads these.
131
+ * component ships messages for. Apart from `MANIFEST_LIMITS` on purpose: the SDK bundles that whole
132
+ * object (the runtime too), and only the manifest schema reads these.
145
133
  *
146
134
  * Inputs: none. Output: frozen numbers used by the manifest schema. Errors: none. Side effects:
147
135
  * none.
@@ -1 +1 @@
1
- {"version":3,"file":"limits.js","sourceRoot":"","sources":["../src/limits.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;GAOG;AAEH,kGAAkG;AAClG,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC;AACtC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACxC,0EAA0E;AAC1E,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AACrC,uDAAuD;AACvD,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC;AAEpC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3D,8EAA8E;IAC9E,aAAa,EAAE,eAAe;IAC9B,iDAAiD;IACjD,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,oBAAoB,EAAE,GAAG;IACzB,4FAA4F;IAC5F,0BAA0B,EAAE,GAAG;IAC/B,sFAAsF;IACtF,mBAAmB,EAAE,EAAE;IACvB,mBAAmB,EAAE,EAAE;IACvB,iBAAiB,EAAE,GAAG;IACtB,QAAQ,EAAE,EAAE;IACZ,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,cAAc,EAAE,EAAE;IAClB,mBAAmB,EAAE,EAAE;IACvB,cAAc,EAAE,EAAE;IAClB,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE,EAAE;IACjB,kBAAkB,EAAE,EAAE;IACtB,gEAAgE;IAChE,eAAe,EAAE,EAAE;IACnB,0EAA0E;IAC1E,eAAe,EAAE,iBAAiB;IAClC,wEAAwE;IACxE,aAAa,EAAE,eAAe;IAC9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AE,KAAK;IAC9B,iBAAiB,EAAE,GAAG;IACtB,2BAA2B;IAC3B,WAAW,EAAE,GAAG;IAChB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,GAAG;IACpB,qBAAqB,EAAE,GAAG;IAC1B,cAAc,EAAE,EAAE;CACnB,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;IACzD,sCAAsC;IACtC,UAAU,EAAE,EAAE;IACd,0FAA0F;IAC1F,kBAAkB,EAAE,EAAE;IACtB;;;OAGG;IACH,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC;IACxD,sFAAsF;IACtF,SAAS,EAAE,EAAE;IACb,kCAAkC;IAClC,aAAa,EAAE,SAAS;CACzB,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Language tags of the contract, without Zod: the pattern every tag follows and the
3
3
  * attribute the SDK reads the visitor's language from. The runtime and the SDK may import these
4
- * through `@taggor/contract/zod-free`; the manifest's `locales` (contract 1.2) and the consent
5
- * proof of the data API validate with the same pattern.
4
+ * through `@taggor/contract/zod-free`; the manifest's `locales` (contract 1.2) validates with
5
+ * the same pattern.
6
6
  */
7
7
  /**
8
8
  * A BCP 47 language tag as the contract writes it (`pt-BR`, `en`, `es-419`, `zh-Hant-TW`): a
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Language tags of the contract, without Zod: the pattern every tag follows and the
3
3
  * attribute the SDK reads the visitor's language from. The runtime and the SDK may import these
4
- * through `@taggor/contract/zod-free`; the manifest's `locales` (contract 1.2) and the consent
5
- * proof of the data API validate with the same pattern.
4
+ * through `@taggor/contract/zod-free`; the manifest's `locales` (contract 1.2) validates with
5
+ * the same pattern.
6
6
  */
7
7
  /**
8
8
  * A BCP 47 language tag as the contract writes it (`pt-BR`, `en`, `es-419`, `zh-Hant-TW`): a
@@ -8,8 +8,7 @@
8
8
  * (it is authored in TypeScript and mirrors the DOM); anything that travels in the data API is
9
9
  * snake_case (see `data-api.ts`). The contract version and the `__proto__` guard live in
10
10
  * `contract-version.ts` and `proto-guard.ts` (both Zod-free), and the version is checked first.
11
- * The manifest also declares `data.personal` and `data.privacyPolicyUrl` (the declaration that
12
- * makes the SDK require the visitor's consent on every submit), `locales` (the languages the
11
+ * The manifest also declares `locales` (the languages the
13
12
  * component ships messages for and the one it falls back to), `assets` (the images and fonts the
14
13
  * builder found imported, by content hash), `formAssociated` (the element takes part in the host
15
14
  * page's `<form>` through `ElementInternals`), `delegatesFocus` (the shadow root delegates focus)
@@ -567,6 +566,18 @@ export declare const collectionSchema: z.ZodObject<{
567
566
  declare const trackEventSchema: z.ZodObject<{
568
567
  description: z.ZodOptional<z.ZodString>;
569
568
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
569
+ type: z.ZodLiteral<"string">;
570
+ description: z.ZodOptional<z.ZodString>;
571
+ minLength: z.ZodOptional<z.ZodInt>;
572
+ maxLength: z.ZodOptional<z.ZodInt>;
573
+ format: z.ZodOptional<z.ZodEnum<{
574
+ url: "url";
575
+ date: "date";
576
+ email: "email";
577
+ tel: "tel";
578
+ "date-time": "date-time";
579
+ }>>;
580
+ }, z.core.$strict>, z.ZodObject<{
570
581
  type: z.ZodLiteral<"number">;
571
582
  description: z.ZodOptional<z.ZodString>;
572
583
  min: z.ZodOptional<z.ZodNumber>;
@@ -613,7 +624,7 @@ declare const assetSchema: z.ZodObject<{
613
624
  * not fit its prop). Side effects: none.
614
625
  */
615
626
  /**
616
- * The share of `interaction` and `custom` events the browser sends (contract 1.10; the description was reworded in 1.11);
627
+ * The share of `track` events the browser sends (contract 1.10; the description was reworded in 1.11);
617
628
  * `render` and `error` are never sampled. The edge weights each stored event by
618
629
  * `1 / eventSampleRate` from the stored manifest, so the metrics stay estimates of the real total.
619
630
  */
@@ -1650,6 +1661,18 @@ export declare const componentManifestSchema: z.ZodObject<{
1650
1661
  track: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1651
1662
  description: z.ZodOptional<z.ZodString>;
1652
1663
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1664
+ type: z.ZodLiteral<"string">;
1665
+ description: z.ZodOptional<z.ZodString>;
1666
+ minLength: z.ZodOptional<z.ZodInt>;
1667
+ maxLength: z.ZodOptional<z.ZodInt>;
1668
+ format: z.ZodOptional<z.ZodEnum<{
1669
+ url: "url";
1670
+ date: "date";
1671
+ email: "email";
1672
+ tel: "tel";
1673
+ "date-time": "date-time";
1674
+ }>>;
1675
+ }, z.core.$strict>, z.ZodObject<{
1653
1676
  type: z.ZodLiteral<"number">;
1654
1677
  description: z.ZodOptional<z.ZodString>;
1655
1678
  min: z.ZodOptional<z.ZodNumber>;
@@ -1664,8 +1687,6 @@ export declare const componentManifestSchema: z.ZodObject<{
1664
1687
  values: z.ZodArray<z.ZodString>;
1665
1688
  }, z.core.$strict>], "type">>>;
1666
1689
  }, z.core.$strict>>>;
1667
- personal: z.ZodOptional<z.ZodBoolean>;
1668
- privacyPolicyUrl: z.ZodOptional<z.ZodString>;
1669
1690
  }, z.core.$strict>>;
1670
1691
  size: z.ZodOptional<z.ZodObject<{
1671
1692
  display: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AA+BzB,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAY1D,4FAA4F;AAC5F,eAAO,MAAM,eAAe,wEAKjB,CAAC;AAEZ,uFAAuF;AACvF,eAAO,MAAM,aAAa,qEAMf,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AAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC5E,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAE3D,2FAA2F;AAC3F,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAC3B;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAA;CAAE,GAC3D;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,CAAA;CAAE,CAAC;AAKtE;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,CAkB5D;AA2DD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,mBAAmB,CAWjE;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAmBnE"}
package/dist/manifest.js CHANGED
@@ -8,8 +8,7 @@
8
8
  * (it is authored in TypeScript and mirrors the DOM); anything that travels in the data API is
9
9
  * snake_case (see `data-api.ts`). The contract version and the `__proto__` guard live in
10
10
  * `contract-version.ts` and `proto-guard.ts` (both Zod-free), and the version is checked first.
11
- * The manifest also declares `data.personal` and `data.privacyPolicyUrl` (the declaration that
12
- * makes the SDK require the visitor's consent on every submit), `locales` (the languages the
11
+ * The manifest also declares `locales` (the languages the
13
12
  * component ships messages for and the one it falls back to), `assets` (the images and fonts the
14
13
  * builder found imported, by content hash), `formAssociated` (the element takes part in the host
15
14
  * page's `<form>` through `ElementInternals`), `delegatesFocus` (the shadow root delegates focus)
@@ -20,7 +19,7 @@ import * as z from "zod";
20
19
  import { boundedRecord, cssValueSchema, memberDescriptionSchema, plainText, uniqueArray, } from "./bounded.js";
21
20
  import { ASSET_LIMITS, LOCALE_LIMITS, MANIFEST_LIMITS } from "./limits.js";
22
21
  import { ASSET_HASH_PATTERN, ASSET_TYPES } from "./assets.js";
23
- import { cssVarNameSchema, memberNameSchema, propNameSchema, snakeNameSchema, componentNameSchema, } from "./names.js";
22
+ import { cssVarNameSchema, memberNameSchema, propNameSchema, fieldNameSchema, snakeNameSchema, componentNameSchema, } from "./names.js";
24
23
  import { tagNameSchema } from "./tag-name.js";
25
24
  import { CONTRACT_VERSION_POLICY, classifyContractVersion, contractVersionMessage, contractVersionPattern, } from "./contract-version.js";
26
25
  import { boundedPath, boundedSegment } from "./bounded-path.js";
@@ -30,7 +29,6 @@ import { LOCALE_ATTRIBUTE, LOCALE_TAG_MESSAGE, LOCALE_TAG_PATTERN } from "./loca
30
29
  import { CSS_VALUE_PATTERN, FONT_FAMILY_PATTERN } from "./css-value.js";
31
30
  import { propDeclarationSchema } from "./props.js";
32
31
  import { componentLibrariesSchema } from "./libraries.js";
33
- import { DEFAULT_URL_PROTOCOLS } from "./url-value.js";
34
32
  import { arrayValueSchema, booleanValueSchema, enumValueTypeSchema, numberValueSchema, scalarValueSchema, stringValueSchema, valueSchema, } from "./value-schema.js";
35
33
  /** Browser capabilities a component may declare; anything else is impossible to request. */
36
34
  export const PERMISSION_APIS = Object.freeze([
@@ -109,31 +107,29 @@ export const collectionSchema = z
109
107
  error: "required must only name declared fields",
110
108
  })
111
109
  .meta({ id: "CollectionDeclaration" });
112
- /** A track prop: number, boolean or enum. Free text is impossible, so no PII can ride along. */
110
+ /**
111
+ * A track parameter hint: the type the component expects (TypeScript hint for `track` and the
112
+ * documentation of the event). It is never a filter: whatever the component passes is sent, within
113
+ * the technical limits of `event-params.ts`.
114
+ */
113
115
  const trackPropSchema = z
114
- .discriminatedUnion("type", [numberValueSchema, booleanValueSchema, enumValueTypeSchema])
116
+ .discriminatedUnion("type", [
117
+ stringValueSchema,
118
+ numberValueSchema,
119
+ booleanValueSchema,
120
+ enumValueTypeSchema,
121
+ ])
115
122
  .meta({ id: "TrackProp" });
116
123
  const trackEventSchema = z
117
124
  .strictObject({
118
125
  description: memberDescriptionSchema,
119
- props: boundedRecord(snakeNameSchema, trackPropSchema, MANIFEST_LIMITS.maxTrackProps, "track props").optional(),
126
+ props: boundedRecord(fieldNameSchema, trackPropSchema, MANIFEST_LIMITS.maxTrackProps, "track props").optional(),
120
127
  })
121
128
  .meta({ id: "TrackEventDeclaration" });
122
129
  const dataSchema = z
123
130
  .strictObject({
124
131
  collections: boundedRecord(memberNameSchema, collectionSchema, MANIFEST_LIMITS.maxCollections, "collections").optional(),
125
132
  track: boundedRecord(memberNameSchema, trackEventSchema, MANIFEST_LIMITS.maxTrackEvents, "track events").optional(),
126
- personal: z.boolean().optional().meta({
127
- description: "True when the collections hold personal data: every submit then carries the visitor's consent. Defaults to false.",
128
- }),
129
- privacyPolicyUrl: propNameSchema.optional().meta({
130
- description: 'Name of the prop of type "url" that links the privacy policy, set per site. Required when personal is true.',
131
- }),
132
- })
133
- .refine((data) => data.personal !== true || data.privacyPolicyUrl !== undefined, {
134
- // zod-only: personal-requires-privacy-policy
135
- error: 'a component with personal data must declare privacyPolicyUrl, the name of its "url" prop that links the privacy policy',
136
- path: ["privacyPolicyUrl"],
137
133
  })
138
134
  .meta({ id: "DataDeclaration" });
139
135
  const pixelsSchema = z.int().min(0).max(MANIFEST_LIMITS.sizeMaxPixels);
@@ -214,7 +210,7 @@ const CONTRACT_VERSION_PATTERN = contractVersionPattern();
214
210
  * not fit its prop). Side effects: none.
215
211
  */
216
212
  /**
217
- * The share of `interaction` and `custom` events the browser sends (contract 1.10; the description was reworded in 1.11);
213
+ * The share of `track` events the browser sends (contract 1.10; the description was reworded in 1.11);
218
214
  * `render` and `error` are never sampled. The edge weights each stored event by
219
215
  * `1 / eventSampleRate` from the stored manifest, so the metrics stay estimates of the real total.
220
216
  */
@@ -223,7 +219,7 @@ export const eventSampleRateSchema = z
223
219
  .min(EVENT_SAMPLE_RATE_MIN)
224
220
  .max(1)
225
221
  .meta({
226
- description: `Share of interaction and custom events the browser sends, from ${String(EVENT_SAMPLE_RATE_MIN)} to 1 (default 1: all). Render and error events are never sampled. Each stored event is weighted by 1 divided by this rate, so totals stay estimates of the real count.`,
222
+ description: `Share of the track events the browser sends, from ${String(EVENT_SAMPLE_RATE_MIN)} to 1 (default 1: all). Render and error events are never sampled. Each stored event is weighted by 1 divided by this rate, so totals stay estimates of the real count.`,
227
223
  });
228
224
  export const componentManifestSchema = z
229
225
  .strictObject({
@@ -254,21 +250,6 @@ export const componentManifestSchema = z
254
250
  delegatesFocus: z.boolean().optional().meta({
255
251
  description: "Whether the shadow root delegates focus: focusing the element, clicking one of its labels or a non-focusable part of it focuses the component's first focusable element. Defaults to the value of formAssociated.",
256
252
  }),
257
- })
258
- // The policy link must be able to be an https page: a prop limited
259
- // to http or mailto could never carry one. No `protocols` means the default, https only.
260
- .refine(
261
- // zod-only: privacy-policy-https-url-prop
262
- ({ data, props }) => {
263
- if (data?.privacyPolicyUrl === undefined)
264
- return true;
265
- if (props === undefined || !Object.hasOwn(props, data.privacyPolicyUrl))
266
- return false;
267
- const policy = props[data.privacyPolicyUrl];
268
- return (policy?.type === "url" && (policy.protocols ?? DEFAULT_URL_PROTOCOLS).includes("https"));
269
- }, {
270
- error: 'privacyPolicyUrl must name a declared prop of type "url" whose protocols include https',
271
- path: ["data", "privacyPolicyUrl"],
272
253
  })
273
254
  // The `locale` attribute belongs to the SDK's language choice once `locales` is declared;
274
255
  // a prop of that name would read the same attribute with another meaning. Only
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,CAAC,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C,CAAC;IACjD,IAAI,YAAY,KAAK,SAAS;QAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;IAC7E,MAAM,MAAM,GAAG,uBAAuB,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC,CAAC;IACrF,OAAO,MAAM,CAAC,OAAO;QACnB,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,IAAI,EAAE;QACrC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;AACpD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,aAAa,EAAE,CAAC;QAChD,OAAO;YACL,EAAE,EAAE,KAAK;YACT,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,EAAE;oBACR,OAAO,EAAE,iCAAiC,MAAM,CAAC,eAAe,CAAC,aAAa,CAAC,aAAa;iBAC7F;aACF;SACF,CAAC;IACJ,CAAC;IACD,IAAI,OAAgB,CAAC;IACrB,IAAI,CAAC;QACH,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC,EAAE,CAAC;IACtF,CAAC;IACD,OAAO,aAAa,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC"}
@@ -53,10 +53,23 @@ export declare function usageMonthStart(date: Date): Date;
53
53
  * `blobs[7]` a coarse device class (`DEVICE_CLASSES`, derived from the user agent on the edge);
54
54
  * `doubles[0]` 1 (one point per event; sampling weights come from `_sample_interval`). No IP, no
55
55
  * visitor identifier, no city or region, no path, no user agent. `render` is the aggregate count; the rest are
56
- * interactions and are not stored when the visitor sends a privacy signal the site honors.
56
+ * `track` and error events and are not stored when the visitor sends a privacy signal the site honors.
57
57
  */
58
- export declare const COMPONENT_EVENT_KINDS: readonly ["render", "interaction", "custom", "error"];
58
+ export declare const COMPONENT_EVENT_KINDS: readonly ["render", "custom", "error"];
59
59
  export type ComponentEventKind = (typeof COMPONENT_EVENT_KINDS)[number];
60
+ /**
61
+ * The kind of a PARAMETER point: next to the event point of a
62
+ * `custom` event (a `track` call), the edge writes one point per free parameter the event carried,
63
+ * into the same `component_events` dataset, append-only: `indexes[0]` site key; `blobs[0]` this kind;
64
+ * `blobs[1]` to `blobs[7]` as the event point (the tag, the version hash, the hostname, the traffic
65
+ * class, the event name, the country, the device class); `blobs[8]` the parameter name;
66
+ * `blobs[9]` the value (at most `EVENT_PARAM_LIMITS.valueMaxLength` characters, as sent); `blobs[10]` the kind of the
67
+ * event it belongs to (always `custom`); `doubles[0]` the weight of the event (`1 / rate`).
68
+ * It is NOT in `COMPONENT_EVENT_KINDS`: `POST /e/` never takes it from a body, and the event counts of
69
+ * the metrics (which name their kinds) never include it; only the parameter reader asks for it. It
70
+ * follows its event: not stored when the visitor sends a privacy signal the site honors.
71
+ */
72
+ export declare const EVENT_PARAM_POINT_KIND = "param";
60
73
  /**
61
74
  * The server-render points of `GET /r/<siteKey>/<tag>`, written by the
62
75
  * edge itself into the same `component_events` dataset with the same layout: `indexes[0]` site key;
@@ -93,7 +106,7 @@ export type DeviceClass = (typeof DEVICE_CLASSES)[number];
93
106
  export declare const EVENT_SAMPLE_RATE_MIN = 0.001;
94
107
  /**
95
108
  * The kinds the browser never samples: the render count, the `error` reports of the
96
- * runtime (rare, and a sample would hide a failing release). Only `interaction` and `custom` follow `eventSampleRate`.
109
+ * runtime (rare, and a sample would hide a failing release). Only `custom` follows `eventSampleRate`.
97
110
  */
98
111
  export declare const UNSAMPLED_EVENT_KINDS: readonly ComponentEventKind[];
99
112
  /**
@@ -115,8 +128,8 @@ export declare function shouldSendEvent(kind: ComponentEventKind, rate: number |
115
128
  */
116
129
  export declare function eventWeight(kind: ComponentEventKind, rate: number | undefined): number;
117
130
  /**
118
- * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view,
119
- * counted in the SDK's data transport: a component that emits on every keystroke or
131
+ * The most `track` beacons a component sends in one page view,
132
+ * counted in the SDK's data transport: a component that tracks on every keystroke or
120
133
  * slider move cannot flood the visitor's network or the dataset. Sampling (`shouldSendEvent`)
121
134
  * applies on top; the edge's flood keys stay the technical protection.
122
135
  */
@@ -1 +1 @@
1
- {"version":3,"file":"metering.d.ts","sourceRoot":"","sources":["../src/metering.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,qGAAqG;AACrG,eAAO,MAAM,eAAe,4CAA6C,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,+FAA+F;AAC/F,eAAO,MAAM,eAAe,2BAA4B,CAAC;AACzD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAE1F;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAEhD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,uDAAwD,CAAC;AAC3F,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,oC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AAY,GAAG,OAAO,CAE1F;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAEhD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,wCAAyC,CAAC;AAC5E,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,oCAAqC,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,eAAe,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,cAAc,mDAAoD,CAAC;AAChF,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAAwB,CAAC;AAOxF;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,kBAAkB,EACxB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,IAAI,EAAE,MAAM,GACX,OAAO,CAGT;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGtF;AAED;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC"}
package/dist/metering.js CHANGED
@@ -55,9 +55,22 @@ export function usageMonthStart(date) {
55
55
  * `blobs[7]` a coarse device class (`DEVICE_CLASSES`, derived from the user agent on the edge);
56
56
  * `doubles[0]` 1 (one point per event; sampling weights come from `_sample_interval`). No IP, no
57
57
  * visitor identifier, no city or region, no path, no user agent. `render` is the aggregate count; the rest are
58
- * interactions and are not stored when the visitor sends a privacy signal the site honors.
58
+ * `track` and error events and are not stored when the visitor sends a privacy signal the site honors.
59
59
  */
60
- export const COMPONENT_EVENT_KINDS = ["render", "interaction", "custom", "error"];
60
+ export const COMPONENT_EVENT_KINDS = ["render", "custom", "error"];
61
+ /**
62
+ * The kind of a PARAMETER point: next to the event point of a
63
+ * `custom` event (a `track` call), the edge writes one point per free parameter the event carried,
64
+ * into the same `component_events` dataset, append-only: `indexes[0]` site key; `blobs[0]` this kind;
65
+ * `blobs[1]` to `blobs[7]` as the event point (the tag, the version hash, the hostname, the traffic
66
+ * class, the event name, the country, the device class); `blobs[8]` the parameter name;
67
+ * `blobs[9]` the value (at most `EVENT_PARAM_LIMITS.valueMaxLength` characters, as sent); `blobs[10]` the kind of the
68
+ * event it belongs to (always `custom`); `doubles[0]` the weight of the event (`1 / rate`).
69
+ * It is NOT in `COMPONENT_EVENT_KINDS`: `POST /e/` never takes it from a body, and the event counts of
70
+ * the metrics (which name their kinds) never include it; only the parameter reader asks for it. It
71
+ * follows its event: not stored when the visitor sends a privacy signal the site honors.
72
+ */
73
+ export const EVENT_PARAM_POINT_KIND = "param";
61
74
  /**
62
75
  * The server-render points of `GET /r/<siteKey>/<tag>`, written by the
63
76
  * edge itself into the same `component_events` dataset with the same layout: `indexes[0]` site key;
@@ -92,7 +105,7 @@ export const DEVICE_CLASSES = ["mobile", "desktop", "tablet", "other"];
92
105
  export const EVENT_SAMPLE_RATE_MIN = 0.001;
93
106
  /**
94
107
  * The kinds the browser never samples: the render count, the `error` reports of the
95
- * runtime (rare, and a sample would hide a failing release). Only `interaction` and `custom` follow `eventSampleRate`.
108
+ * runtime (rare, and a sample would hide a failing release). Only `custom` follows `eventSampleRate`.
96
109
  */
97
110
  export const UNSAMPLED_EVENT_KINDS = ["render", "error"];
98
111
  /** A rate the manifest may declare: finite and within `[EVENT_SAMPLE_RATE_MIN, 1]`. */
@@ -126,8 +139,8 @@ export function eventWeight(kind, rate) {
126
139
  return 1 / rate;
127
140
  }
128
141
  /**
129
- * The most beacons of one kind (`interaction` or `custom`) a component sends in one page view,
130
- * counted in the SDK's data transport: a component that emits on every keystroke or
142
+ * The most `track` beacons a component sends in one page view,
143
+ * counted in the SDK's data transport: a component that tracks on every keystroke or
131
144
  * slider move cannot flood the visitor's network or the dataset. Sampling (`shouldSendEvent`)
132
145
  * applies on top; the edge's flood keys stay the technical protection.
133
146
  */
@@ -1 +1 @@
1
- {"version":3,"file":"metering.js","sourceRoot":"","sources":["../src/metering.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAE7D,qGAAqG;AACrG,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAG1E,+FAA+F;AAC/F,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,KAAK,CAAU,CAAC;AAGzD;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAAC,SAAwB,EAAE,OAAqB;IAC/E,OAAO,SAAS,KAAK,SAAS,IAAI,OAAO,KAAK,OAAO,CAAC;AACxD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,IAAU;IACxC,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAC;AAG3F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CA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IAAI,IAAI,IAAI,qBAAqB,IAAI,IAAI,IAAI,CAAC,CAAC;AAChF,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,eAAe,CAC7B,IAAwB,EACxB,IAAwB,EACxB,IAAY;IAEZ,IAAI,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3E,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CAAC,IAAwB,EAAE,IAAwB;IAC5E,IAAI,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,CAAC,CAAC;IACxE,OAAO,CAAC,GAAG,IAAI,CAAC;AAClB,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC"}
@@ -1,3 +1,19 @@
1
+ /**
2
+ * What each plan COSTS, the technical site ceiling and the overage rates and rules. Zod-free, frozen, same style as `plan-usage.ts` and `plan-limits.ts`.
3
+ *
4
+ * Why it lives in the contract: the billing catalog (`apps/api/src/domain/billing/plans.ts`) and the
5
+ * public site both need these numbers, and a number written twice drifts. The billing catalog
6
+ * composes its rows from here; the site reads them through its figures registry, so no plan price
7
+ * is typed by hand in site copy.
8
+ *
9
+ * ALL NUMBERS ARE PROVISIONAL until the plans and prices are final.
10
+ * Money is US dollar cents.
11
+ * Nothing here charges or cuts; it is a table.
12
+ *
13
+ * The overage rate table below (`OVERAGE_RATES`) is the ONE place
14
+ * the price of a unit above the plan is written; the site, the portal, the API and the Stripe
15
+ * prices read it. Rates are provisional until the prices are final.
16
+ */
1
17
  import type { PlanId } from "./plan-limits.js";
2
18
  import { type OverageMetric } from "./limit-catalog.js";
3
19
  /** An amount in US dollar cents, per month and per year (billed once a year). */
@@ -5,23 +21,15 @@ export interface PlanMoney {
5
21
  readonly monthly: number;
6
22
  readonly annual: number;
7
23
  }
8
- /** The Agency's growth past its included sites: one more site costs money and raises two ceilings. */
9
- export interface PlanSiteExtension {
10
- /** Sites in the plan's price (the plan's `maxSites` quota). */
11
- readonly includedSites: number;
12
- /** The most sites with add-ons. */
13
- readonly maxSites: number;
14
- readonly extraSitePriceUsdCents: PlanMoney;
15
- /** What each extra site adds to the monthly renders ceiling. */
16
- readonly rendersPerExtraSite: number;
17
- /** What each extra site adds to the monthly submissions ceiling. */
18
- readonly submissionsPerExtraSite: number;
19
- }
20
- /** The price of one plan and its site extension (null when the plan has none). */
24
+ /** The price of one plan. */
21
25
  export interface PlanPricing {
22
26
  readonly priceUsdCents: PlanMoney;
23
- readonly siteExtension: PlanSiteExtension | null;
24
27
  }
28
+ /**
29
+ * The most live sites a workspace may hold while the overage bills the sites past its plan (Pro and
30
+ * Agency pay US$ 1 a site a month), so "billed, never refused" still has a technical end.
31
+ */
32
+ export declare const BILLABLE_SITES_CEILING = 500;
25
33
  /** The pricing of every plan, by plan id. Frozen. */
26
34
  export declare const planPricing: Readonly<Record<PlanId, PlanPricing>>;
27
35
  /** A plan that pays: the only ones that can have an overage. */
@@ -49,8 +57,7 @@ export interface OverageRate {
49
57
  * The tariffs (provisional), in micro USD per unit:
50
58
  * renders US$ 0,02 per 1.000; SSR renders US$ 0,015 per 1.000; SSR version-day US$ 0,01 (no
51
59
  * included amount in v1); build over the weekly limit US$ 0,01; stored submission US$ 0,25 per
52
- * 1.000; storage US$ 1,00 per GB-month (1000 per MB, on the average of the cycle's daily readings); extra site US$ 1 (Pro) and US$ 2 (Agency, the existing
53
- * add-on price, billed on the plan subscription, so its overage rate is informational).
60
+ * 1.000; storage US$ 1,00 per GB-month (1000 per MB, on the average of the cycle's daily readings); extra site US$ 1 on Pro and on Agency.
54
61
  */
55
62
  export declare const OVERAGE_RATES: Readonly<Record<OverageMetric, OverageRate>>;
56
63
  /** The metrics in a fixed order (ledger and Stripe meters follow it). */
@@ -100,44 +107,10 @@ export declare function defaultSpendMilestonePercents(): readonly number[];
100
107
  */
101
108
  export declare function overageMicroUsdPerUnit(metric: OverageMetric, planId: PlanId): number | null;
102
109
  /**
103
- * Which of the forgeable metrics are billed (all three are on). A render and a stored submission can be forged by
104
- * anyone with the public site key, so they were kept off the bill until a guard existed. The rule
105
- * is that a customer pays what was used, so the three metrics are billed; the guard (a surge
106
- * flag per site, `usage-guard.ts`) no longer holds anything back, it only keeps the Free plan from
107
- * being cut by forged traffic and warns the customer of an unusual day, and the safety net for a wrong
108
- * bill is the credit on request (runbook). The switch stays in ONE place: the billing code of the API
109
- * derives its `OVERAGE_BILLING_FROM_*` constants from it, and the site, the portal and the CLI choose
110
- * their wording by `isOverageMetricBilled`, so a switch changes the code and every text together. A
111
- * gate only has an effect while the API's overage mode is not `off`. Changing it is an
112
- * ADR-level decision, never a drive-by edit.
113
- */
114
- export interface OverageBillingGates {
115
- /** The renders metric (`loader_hits`). */
116
- readonly loaderHits: boolean;
117
- /** The submissions metric and the storage that follows it. */
118
- readonly submissions: boolean;
119
- }
120
- /** The gates as the code ships them: both on; frozen, the literal types are `true`. */
121
- export declare const OVERAGE_BILLING_GATES: Readonly<{
122
- readonly loaderHits: true;
123
- readonly submissions: true;
124
- }>;
125
- /**
126
- * Whether the excess of a metric is billed automatically (and so spends the customer's cap, raises a
127
- * cap notice and counts in the cost estimate). Renders when `gates.loaderHits`; submissions and
128
- * storage when `gates.submissions`; builds, extra sites and SSR always.
129
- * Inputs: a metric and the gates (default: as shipped). Output: a boolean. Pure.
130
- */
131
- export declare function isOverageMetricBilled(metric: OverageMetric, gates?: OverageBillingGates): boolean;
132
- /**
133
- * Whether going past a catalog limit is billed automatically today on a paid plan: the limit is
134
- * `metered` on Pro (Agency matches) and its metric is billed (`isOverageMetricBilled`). A limit that
135
- * is `hard` on every plan (a security or per-build cap), an unknown name and a metered limit whose
136
- * metric's gate is off are all false. The portal and the CLI
137
- * word a limit row with it.
138
- * Inputs: a limit name (any string) and the gates (default: as shipped). Output: a boolean. Pure.
110
+ * Whether going past a catalog limit is billed automatically on a paid plan: the limit is
111
+ * `metered` on Pro (Agency matches). A limit that is `hard` on every plan (a security or per-build
112
+ * cap) and an unknown name are false. The portal and the CLI word a limit row with it.
113
+ * Inputs: a limit name (any string). Output: a boolean. Pure.
139
114
  */
140
- export declare function isLimitOverageBilled(name: string, gates?: OverageBillingGates): boolean;
141
- /** The metrics billed today, in the fixed metric order: derived from the gates, never typed. */
142
- export declare const BILLED_OVERAGE_METRICS: readonly OverageMetric[];
115
+ export declare function isLimitOverageBilled(name: string): boolean;
143
116
  //# sourceMappingURL=plan-pricing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan-pricing.d.ts","sourceRoot":"","sources":["../src/plan-pricing.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAkC,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExF,iFAAiF;AACjF,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,sGAAsG;AACtG,MAAM,WAAW,iBAAiB;IAChC,+DAA+D;IAC/D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,mCAAmC;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,sBAAsB,EAAE,SAAS,CAAC;IAC3C,gEAAgE;IAChE,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,oEAAoE;IACpE,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;CAC1C;AAED,kFAAkF;AAClF,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,aAAa,EAAE,SAAS,CAAC;IAClC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAClD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