@supatype/types 0.1.7 → 0.1.10
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.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +8 -8
- package/.turbo/turbo-typecheck.log +1 -1
- package/LICENSE +21 -0
- package/dist/index.d.ts +46 -46
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/index.ts +48 -48
- package/tests/modifier-unwrap.test.ts +2 -2
- package/tests/primitives.test.ts +1 -1
- package/tests/relation-cycles.test.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @supatype/types@0.1.
|
|
2
|
+
> @supatype/types@0.1.10 test /home/runner/work/supatype/supatype/packages/types
|
|
3
3
|
> vitest run
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/home/runner/work/supatype/supatype/packages/types[39m
|
|
7
7
|
|
|
8
|
-
[32m✓[39m tests/
|
|
9
|
-
[32m✓[39m tests/
|
|
10
|
-
[32m✓[39m tests/
|
|
11
|
-
[32m✓[39m tests/
|
|
12
|
-
[32m✓[39m tests/
|
|
8
|
+
[32m✓[39m tests/primitives.test.ts [2m([22m[2m15 tests[22m[2m)[22m[32m 21[2mms[22m[39m
|
|
9
|
+
[32m✓[39m tests/relation-cycles.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 11[2mms[22m[39m
|
|
10
|
+
[32m✓[39m tests/optional-model-spread.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 39[2mms[22m[39m
|
|
11
|
+
[32m✓[39m tests/primitives.test.js [2m([22m[2m3 tests[22m[2m)[22m[32m 11[2mms[22m[39m
|
|
12
|
+
[32m✓[39m tests/modifier-unwrap.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
13
13
|
|
|
14
14
|
[2m Test Files [22m [1m[32m5 passed[39m[22m[90m (5)[39m
|
|
15
15
|
[2m Tests [22m [1m[32m29 passed[39m[22m[90m (29)[39m
|
|
16
|
-
[2m Start at [22m
|
|
17
|
-
[2m Duration [22m
|
|
16
|
+
[2m Start at [22m 18:55:57
|
|
17
|
+
[2m Duration [22m 1.77s[2m (transform 592ms, setup 0ms, import 906ms, tests 88ms, environment 1ms)[22m
|
|
18
18
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Supatype
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ declare const SUPATYPE_MODEL: unique symbol;
|
|
|
8
8
|
* vocabulary in a package that also exports `Block`, `Blocks` and `Localized`.
|
|
9
9
|
*
|
|
10
10
|
* The phantom property is **optional**, which is what keeps values usable: `id.toUpperCase()` works and
|
|
11
|
-
* a plain string can be assigned to a `UUID`. It also means the label is not reliably *detectable
|
|
12
|
-
* type structurally satisfies a tag whose only property is optional
|
|
11
|
+
* a plain string can be assigned to a `UUID`. It also means the label is not reliably *detectable*, any
|
|
12
|
+
* type structurally satisfies a tag whose only property is optional, so this is for things that are
|
|
13
13
|
* values (`UUID`, an access rule, the model marker) and never for field declarations. Declarations use
|
|
14
14
|
* a required discriminator instead; see `Modifier`.
|
|
15
15
|
*
|
|
@@ -23,11 +23,11 @@ type Tagged<TShape, TTag extends string> = TShape & {
|
|
|
23
23
|
};
|
|
24
24
|
type Primitive<TName extends string, TShape> = Tagged<TShape, `primitive:${TName}`>;
|
|
25
25
|
/**
|
|
26
|
-
* A field *declaration* wrapper
|
|
26
|
+
* A field *declaration* wrapper, `Optional<string>`, `Unique<Slug>`, `Localized<RichText>`.
|
|
27
27
|
*
|
|
28
28
|
* **Nominal, with a required discriminator**, unlike `Tagged`. Nobody ever holds a value of type
|
|
29
29
|
* `Optional<string>`: you declare a field with it and read the row shape `Model<>` derives, so this does
|
|
30
|
-
* not need to be assignable to its own inner type
|
|
30
|
+
* not need to be assignable to its own inner type, and making it so was the cause of three defects.
|
|
31
31
|
*
|
|
32
32
|
* As an intersection carrying an optional tag, every type satisfied `Modifier<Name, infer _>`: a plain
|
|
33
33
|
* `string` reported as `Optional`, so unwrapping never reached a fixed point (`TS2589` on reading any
|
|
@@ -95,7 +95,7 @@ export type GeoPoint = Primitive<"GeoPoint", {
|
|
|
95
95
|
* `amount` is a **string**, like {@link Money} and {@link Decimal}, because the value crosses the
|
|
96
96
|
* wire as JSON: `bigint` cannot be serialised (`JSON.stringify(1n)` throws) and `number` loses
|
|
97
97
|
* integers past 2^53. Use {@link Money} or {@link Decimal} instead when you want a numeric column
|
|
98
|
-
* to sum and index
|
|
98
|
+
* to sum and index, this type keeps the currency with the amount, which a scalar column cannot.
|
|
99
99
|
*/
|
|
100
100
|
export type Currency<Code extends string = string> = Primitive<"Currency", {
|
|
101
101
|
amount: string;
|
|
@@ -103,7 +103,7 @@ export type Currency<Code extends string = string> = Primitive<"Currency", {
|
|
|
103
103
|
}>;
|
|
104
104
|
/** Link target for {@link Button}. */
|
|
105
105
|
export type ButtonTarget = "_self" | "_blank";
|
|
106
|
-
/** CMS button / CTA
|
|
106
|
+
/** CMS button / CTA, label, href, optional aria-label and target (stored as JSONB). */
|
|
107
107
|
export type ButtonValue = {
|
|
108
108
|
label: string;
|
|
109
109
|
href: string;
|
|
@@ -113,11 +113,11 @@ export type ButtonValue = {
|
|
|
113
113
|
export type Button = Primitive<"Button", ButtonValue>;
|
|
114
114
|
/**
|
|
115
115
|
* Lexical JSON in DB/UI.
|
|
116
|
-
* **`string`** is allowed in TS for defaults, seeds, and incremental adoption (plain text or Lexical JSON string
|
|
116
|
+
* **`string`** is allowed in TS for defaults, seeds, and incremental adoption (plain text or Lexical JSON string, not HTML).
|
|
117
117
|
*
|
|
118
118
|
* Schema defaults:
|
|
119
|
-
* - `RichText<"Your sentence"
|
|
120
|
-
* - `Default<RichText, "Your sentence"
|
|
119
|
+
* - `RichText<"Your sentence">`: plain-text default (sugar)
|
|
120
|
+
* - `Default<RichText, "Your sentence">`: same, composes with modifiers
|
|
121
121
|
* - Lexical document: pass a JSON string literal or use `Default<RichText, '{"root":…}'>`
|
|
122
122
|
*/
|
|
123
123
|
export type RichText<D extends string = never> = Primitive<D extends never ? "RichText" : `RichText:${D}`, SerializedEditorState | string>;
|
|
@@ -157,7 +157,7 @@ export type BucketConfig<_TAccess extends BucketAccessMode | undefined = undefin
|
|
|
157
157
|
* Names a logical storage bucket. Export `type AvatarBucket = Bucket<"avatars", { … }>` and pass
|
|
158
158
|
* {@link ImageAsset}<AvatarBucket> / {@link FileAsset}<AvatarBucket> on models.
|
|
159
159
|
*
|
|
160
|
-
* Config is erased at runtime
|
|
160
|
+
* Config is erased at runtime, only `@supatype/cli` reads it via the TypeScript type checker shape.
|
|
161
161
|
*/
|
|
162
162
|
export type Bucket<TName extends string = string, TConfig extends BucketConfig | Record<string, unknown> = BucketConfig> = Primitive<`Bucket:${TName}`, {
|
|
163
163
|
name: TName;
|
|
@@ -169,7 +169,7 @@ export type Asset<TBucket extends Bucket = Bucket> = Primitive<"Asset", {
|
|
|
169
169
|
mimeType?: string;
|
|
170
170
|
size?: number;
|
|
171
171
|
}>;
|
|
172
|
-
/** Second generic on {@link ImageAsset} / {@link FileAsset}
|
|
172
|
+
/** Second generic on {@link ImageAsset} / {@link FileAsset}, parsed by CLI only. */
|
|
173
173
|
export type AssetFieldOptions = {
|
|
174
174
|
/** When true, stored as JSONB locale map of storage refs. Default false. */
|
|
175
175
|
localized?: boolean;
|
|
@@ -187,7 +187,7 @@ export type LocaleConfig<TLocales extends readonly string[] = readonly string[],
|
|
|
187
187
|
defaultLocale: TDefault;
|
|
188
188
|
}>;
|
|
189
189
|
/**
|
|
190
|
-
* Translatable field
|
|
190
|
+
* Translatable field: stored as JSONB with locale keys in Postgres,
|
|
191
191
|
* e.g. `{ "en": "Hello", "de": "Hallo" }`. Configure locales with {@link LocaleConfig}.
|
|
192
192
|
*
|
|
193
193
|
* Use `Optional<Localized<string>>` when the field may be null.
|
|
@@ -215,7 +215,7 @@ export type Searchable<T> = Modifier<"Searchable", T>;
|
|
|
215
215
|
export type EditorReadOnly<T> = Modifier<"EditorReadOnly", T>;
|
|
216
216
|
/**
|
|
217
217
|
* DB / trigger maintained only: Studio treats as read-only + server-generated on insert.
|
|
218
|
-
* There is **no** live preview or “follow title until edited” UX
|
|
218
|
+
* There is **no** live preview or “follow title until edited” UX, declare dependencies with
|
|
219
219
|
* {@link ComputedFrom} instead if you want slug-like preview in Studio.
|
|
220
220
|
*/
|
|
221
221
|
export type Computed<T> = Modifier<"Computed", T>;
|
|
@@ -225,7 +225,7 @@ export type Computed<T> = Modifier<"Computed", T>;
|
|
|
225
225
|
*
|
|
226
226
|
* Use `Optional<ComputedFrom<…>>` when the field may be null.
|
|
227
227
|
*
|
|
228
|
-
* **Second type argument
|
|
228
|
+
* **Second type argument: three shapes:**
|
|
229
229
|
* - **One field** (concat preview): `ComputedFrom<string, "title">`
|
|
230
230
|
* - **Several fields** (join with spaces, then truncate): `ComputedFrom<string, readonly ["title", "subtitle"]>`
|
|
231
231
|
* - **Template string** (placeholders + optional `truncate`): a string literal containing `{fieldName}` and/or
|
|
@@ -254,7 +254,7 @@ export type Between<T, Min extends number, Max extends number> = Modifier<`Betwe
|
|
|
254
254
|
* Equivalent manual fields: naming columns `created_at` / `updated_at` plus `Timestamp` / `ServerDefault<DateTime>`
|
|
255
255
|
* wires the same defaults in the extractor; you don’t need this mixin unless you prefer the shorthand.
|
|
256
256
|
*
|
|
257
|
-
* Arbitrary timestamps use `ServerDefault<DateTime>` (or `@default`/`Expression` via engine fixtures)
|
|
257
|
+
* Arbitrary timestamps use `ServerDefault<DateTime>` (or `@default`/`Expression` via engine fixtures),
|
|
258
258
|
* those are configurable; only the **names** above get the convention treatment without extra wrappers.
|
|
259
259
|
*/
|
|
260
260
|
export type Timestamps = {
|
|
@@ -284,21 +284,21 @@ export type RelationOptions = {
|
|
|
284
284
|
required?: boolean;
|
|
285
285
|
onDelete?: OnDelete;
|
|
286
286
|
onUpdate?: OnUpdate;
|
|
287
|
-
/** `ManyToMany` only
|
|
287
|
+
/** `ManyToMany` only: the junction table's name, instead of one derived from the two models. */
|
|
288
288
|
through?: string;
|
|
289
289
|
};
|
|
290
290
|
/**
|
|
291
291
|
* The target model, held behind a property so that resolving a relation field does not resolve the
|
|
292
292
|
* model it points at.
|
|
293
293
|
*
|
|
294
|
-
* Two models that name each other
|
|
294
|
+
* Two models that name each other, a `HasOne` and its `RelatedTo`, or a `RelatedTo` both ways,
|
|
295
295
|
* used to fail with `TS2589: Type instantiation is excessively deep`. `Model<F>` spreads `F` through
|
|
296
296
|
* a mapped type that probes every field (`[V] extends [Modifier<"Optional", …>]`), and probing
|
|
297
297
|
* `RelatedTo<Post>` = `Post & …` meant expanding `Post`, which was still being defined. The
|
|
298
298
|
* collection relations escaped it: `Comment[]` is decidable without expanding `Comment`, so
|
|
299
299
|
* `HasMany` and `ManyToMany` are left as they were and only the one-ish relations defer here.
|
|
300
300
|
*
|
|
301
|
-
* Nothing needs a relation field's value type
|
|
301
|
+
* Nothing needs a relation field's value type, the target's *identity* carries the relation, the
|
|
302
302
|
* generated client types carry the row shapes, and the CLI reads these declarations as syntax
|
|
303
303
|
* rather than resolving them. So the target moves into a phantom property, where TypeScript leaves
|
|
304
304
|
* it alone until something asks.
|
|
@@ -380,7 +380,7 @@ export type Role<R extends string = string> = Access<"Role", {
|
|
|
380
380
|
* OR-composition: access is granted when **any** listed rule matches.
|
|
381
381
|
*
|
|
382
382
|
* Without this, rules are a closed set of single shapes and the commonest real
|
|
383
|
-
* requirement
|
|
383
|
+
* requirement: "an admin, or the owner", cannot be written at all. Every rule
|
|
384
384
|
* is combinable, including nested `Any`.
|
|
385
385
|
*
|
|
386
386
|
* ```typescript
|
|
@@ -415,7 +415,7 @@ export type AuthRole = Access<"AuthRole", {
|
|
|
415
415
|
/**
|
|
416
416
|
* A nested JWT claim, by dotted path: `Claim<"app_metadata.tier">`.
|
|
417
417
|
*
|
|
418
|
-
* This is the developer's own namespace
|
|
418
|
+
* This is the developer's own namespace, whatever your application puts in its
|
|
419
419
|
* tokens. A missing claim is SQL NULL, so comparing against one that is absent
|
|
420
420
|
* denies rather than erroring.
|
|
421
421
|
*/
|
|
@@ -432,12 +432,12 @@ export type Literal<TValue extends string | number | boolean> = Access<"Literal"
|
|
|
432
432
|
export type Now = Access<"Now", {
|
|
433
433
|
readonly kind: "Now";
|
|
434
434
|
}>;
|
|
435
|
-
/** Units for {@link Ago} / {@link FromNow}. Plural only
|
|
435
|
+
/** Units for {@link Ago} / {@link FromNow}. Plural only, Postgres accepts both. */
|
|
436
436
|
export type TimeUnit = "seconds" | "minutes" | "hours" | "days" | "weeks" | "months" | "years";
|
|
437
437
|
/** Granularity for {@link StartOf}. */
|
|
438
438
|
export type TruncUnit = "day" | "week" | "month" | "year";
|
|
439
439
|
/**
|
|
440
|
-
* The start of the current day, week, month or year
|
|
440
|
+
* The start of the current day, week, month or year, `date_trunc(unit, now())`.
|
|
441
441
|
*
|
|
442
442
|
* `Gte<"created_at", StartOf<"week">>` is "created since Monday".
|
|
443
443
|
*/
|
|
@@ -450,11 +450,11 @@ export type StartOf<TUnit extends TruncUnit> = Access<"StartOf", {
|
|
|
450
450
|
*
|
|
451
451
|
* Two arguments rather than one `"30 days"` string, for two reasons. A template
|
|
452
452
|
* literal `` `${number} ${TimeUnit}` `` accepts `"-5 days"`, `"0.5 days"` and
|
|
453
|
-
* `"1e3 days"
|
|
453
|
+
* `"1e3 days"`: the last is not valid interval syntax, so it type-checks and fails
|
|
454
454
|
* at push. And TypeScript cannot enumerate `${number}`, so a template literal offers
|
|
455
455
|
* **no autocomplete**; this form completes the unit properly.
|
|
456
456
|
*
|
|
457
|
-
* The amount must be a positive integer
|
|
457
|
+
* The amount must be a positive integer, for the other direction use
|
|
458
458
|
* {@link FromNow}, which reads correctly rather than relying on a double negative.
|
|
459
459
|
*/
|
|
460
460
|
export type Ago<TAmount extends number, TUnit extends TimeUnit> = Access<"Ago", {
|
|
@@ -474,7 +474,7 @@ type Comparison<TName extends string, TLeft, TRight> = Access<TName, {
|
|
|
474
474
|
readonly right: TRight;
|
|
475
475
|
}>;
|
|
476
476
|
/**
|
|
477
|
-
* `Eq<"author_id", AuthUid
|
|
477
|
+
* `Eq<"author_id", AuthUid>`: the row's `author_id` equals the caller.
|
|
478
478
|
*
|
|
479
479
|
* A bare string on either side is a column name; use `Literal<…>` for a constant,
|
|
480
480
|
* so `Eq<"status", Literal<"published">>` cannot be confused with a comparison
|
|
@@ -509,7 +509,7 @@ export type NotNull<TOperand> = Access<"NotNull", {
|
|
|
509
509
|
* ```
|
|
510
510
|
*
|
|
511
511
|
* The `Where` rule is evaluated against `user_sites`, not against the model the
|
|
512
|
-
* access rule is attached to
|
|
512
|
+
* access rule is attached to, it is what makes this *the caller's* sites rather
|
|
513
513
|
* than every row in the join table.
|
|
514
514
|
*
|
|
515
515
|
* Because the join column is named here, the engine emits the index for it. The
|
|
@@ -528,7 +528,7 @@ export type Values<TItems extends readonly (string | number | boolean)[]> = Acce
|
|
|
528
528
|
readonly values: TItems;
|
|
529
529
|
}>;
|
|
530
530
|
/**
|
|
531
|
-
* `In<"site_id", MySites
|
|
531
|
+
* `In<"site_id", MySites>`: the row's column appears in the source set.
|
|
532
532
|
*
|
|
533
533
|
* Compiles to a semi-join (`EXISTS`), not `IN (SELECT …)`, so the planner stops at
|
|
534
534
|
* the first match per row instead of materialising the set. Sources are `Rows<>`,
|
|
@@ -544,7 +544,7 @@ export type In<TColumn extends string, TSource> = Access<"In", {
|
|
|
544
544
|
*
|
|
545
545
|
* `In<>` asks "is this row's value in the set", which is a different question.
|
|
546
546
|
* Guarding on `Exists<>` is what makes "an editor *who has sites* may see their
|
|
547
|
-
* sites or unassigned rows" mean what it says
|
|
547
|
+
* sites or unassigned rows" mean what it says, without it, an editor with no sites
|
|
548
548
|
* still matches the unassigned branch:
|
|
549
549
|
*
|
|
550
550
|
* ```typescript
|
|
@@ -566,7 +566,7 @@ type BoundOwnerFromForFields<TFields extends Record<string, unknown>> = Access<"
|
|
|
566
566
|
readonly relation: RelationFieldKeys<TFields>;
|
|
567
567
|
}>;
|
|
568
568
|
/**
|
|
569
|
-
* The composable half of the DSL
|
|
569
|
+
* The composable half of the DSL, every shape that takes other rules or operands
|
|
570
570
|
* as arguments.
|
|
571
571
|
*
|
|
572
572
|
* Written with `unknown` arguments rather than a recursive constraint. TypeScript
|
|
@@ -596,7 +596,7 @@ type UpdateAccessFor<TFields extends Record<string, unknown>> = AccessRuleFor<TF
|
|
|
596
596
|
readonly check?: AccessRuleFor<TFields>;
|
|
597
597
|
};
|
|
598
598
|
/**
|
|
599
|
-
* Whether a field's key is optional on the row
|
|
599
|
+
* Whether a field's key is optional on the row, `Optional` anywhere in the stack, not just outermost.
|
|
600
600
|
*
|
|
601
601
|
* `Unique<Optional<string>>` is as nullable as `Optional<Unique<string>>`. The old structural check
|
|
602
602
|
* could only see the outer wrapper, so which one you wrote decided whether the key was optional.
|
|
@@ -615,8 +615,8 @@ type FileAssetLocalizedOption<V> = V extends FileAsset<infer _B, infer O> ? (O e
|
|
|
615
615
|
* Apply default localization to copy-like fields (used by {@link LocalizedModel}).
|
|
616
616
|
*
|
|
617
617
|
* Walks *through* any modifier and rebuilds it around the localized inner, so `Unique<string>` becomes
|
|
618
|
-
* `Unique<Localized<string>>`. It used to reach the `V extends string` branch for such a field
|
|
619
|
-
* modifier was structurally its own inner type
|
|
618
|
+
* `Unique<Localized<string>>`. It used to reach the `V extends string` branch for such a field, a
|
|
619
|
+
* modifier was structurally its own inner type, and return a bare `Localized<string>`, silently
|
|
620
620
|
* dropping the `Unique`.
|
|
621
621
|
*/
|
|
622
622
|
type ApplyAutoLocalizedField<V> = V extends {
|
|
@@ -632,13 +632,13 @@ type ApplyAutoLocalizedFields<TFields extends Record<string, unknown>> = {
|
|
|
632
632
|
/**
|
|
633
633
|
* The value a declared field reads as on the row: every modifier peeled off, whatever it is.
|
|
634
634
|
*
|
|
635
|
-
* Unbounded and still terminating, because each step removes one wrapper
|
|
635
|
+
* Unbounded and still terminating, because each step removes one wrapper, `__inner` is strictly
|
|
636
636
|
* smaller than the type it came from. The previous version needed a depth cap to escape a recursion
|
|
637
637
|
* that could not converge, and a cap that runs out returns a half-unwrapped type rather than an error.
|
|
638
638
|
*
|
|
639
639
|
* Every modifier, not the three that used to be special-cased: a declaration is no longer structurally
|
|
640
640
|
* its own inner type, so `Unique<Slug>` would otherwise surface on the row as the wrapper object rather
|
|
641
|
-
* than as a string. `Localized<T>` needs no case of its own
|
|
641
|
+
* than as a string. `Localized<T>` needs no case of its own, its inner already *is* the locale record.
|
|
642
642
|
*/
|
|
643
643
|
type UnwrapModelFieldType<V> = V extends {
|
|
644
644
|
readonly __modifier: string;
|
|
@@ -678,11 +678,11 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
678
678
|
*
|
|
679
679
|
* Enforced one of two ways, chosen from what the database can do: the
|
|
680
680
|
* `supatype_mask` extension rewrites every reference to the column in the planner,
|
|
681
|
-
* and where the extension cannot be loaded
|
|
681
|
+
* and where the extension cannot be loaded, most managed Postgres, the same
|
|
682
682
|
* expression is carried by generated views in an `api` schema instead.
|
|
683
683
|
*
|
|
684
684
|
* A `write` rule is compiled conjoined with the field's `read` rule, so write
|
|
685
|
-
* without read is unrepresentable
|
|
685
|
+
* without read is unrepresentable, otherwise a caller could round-trip away a
|
|
686
686
|
* value they were never shown.
|
|
687
687
|
*
|
|
688
688
|
* **`INSERT` cannot evaluate a row-dependent write rule**: there is no row
|
|
@@ -691,16 +691,16 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
691
691
|
* `Claim<>`) for a column that must be settable at creation time.
|
|
692
692
|
*
|
|
693
693
|
* Relations are named by their column (`author_id`), because that is what the
|
|
694
|
-
* restriction applies to
|
|
694
|
+
* restriction applies to: `author` is not a column at all.
|
|
695
695
|
*
|
|
696
696
|
* Neither tier half-enforces: a push never applies a schema whose restrictions do
|
|
697
|
-
* not exist. They differ in one place
|
|
697
|
+
* not exist. They differ in one place, under the view tier an aggregate over a
|
|
698
698
|
* masked column returns the sum of the rows the caller may read, where the
|
|
699
699
|
* extension raises an error. Unreachable through the API, since PostgREST ships
|
|
700
700
|
* with aggregates disabled.
|
|
701
701
|
*
|
|
702
702
|
* A column restricted from nearly everyone and queried often is still better off
|
|
703
|
-
* in its own table
|
|
703
|
+
* in its own table, masking costs a predicate call per row and cannot use the
|
|
704
704
|
* column's index.
|
|
705
705
|
*/
|
|
706
706
|
fields?: {
|
|
@@ -712,9 +712,9 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
712
712
|
};
|
|
713
713
|
tableName?: string;
|
|
714
714
|
searchable?: readonly string[];
|
|
715
|
-
/** Composite or single-column indexes
|
|
715
|
+
/** Composite or single-column indexes, emitted to Postgres via the schema engine. */
|
|
716
716
|
indexes?: readonly ModelIndex[];
|
|
717
|
-
/** Exactly one row
|
|
717
|
+
/** Exactly one row: Studio Globals, singleton partial unique index in Postgres. */
|
|
718
718
|
singleton?: true;
|
|
719
719
|
/** When omitted, the CLI infers from `WithTimestamps` or `created_at` / `updated_at` fields. */
|
|
720
720
|
timestamps?: boolean;
|
|
@@ -723,7 +723,7 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
723
723
|
/** When true, copy-like fields default to localized (same as {@link LocalizedModel}). */
|
|
724
724
|
autoLocalize?: true;
|
|
725
725
|
/**
|
|
726
|
-
* Lifecycle hooks
|
|
726
|
+
* Lifecycle hooks: an **edge function** run by the API at a write boundary.
|
|
727
727
|
*
|
|
728
728
|
* ```typescript
|
|
729
729
|
* hooks: {
|
|
@@ -733,13 +733,13 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
733
733
|
* ```
|
|
734
734
|
*
|
|
735
735
|
* The value names a function directory under your project's `functions/`, and the name is
|
|
736
|
-
* checked when you push
|
|
736
|
+
* checked when you push, a hook that silently never fires because of a typo is the failure
|
|
737
737
|
* this feature must not have. `supatype push` also generates a typed handler signature per
|
|
738
738
|
* hooked model, so `row` is the model's real column set rather than `unknown`.
|
|
739
739
|
*
|
|
740
740
|
* **A hook is not a security boundary.** It fires for writes through the API; direct SQL,
|
|
741
741
|
* seeds, migrations and anything holding `service_role` bypass it. Invariants belong in
|
|
742
|
-
* {@link ModelMeta.access}, a `CHECK`, or a generated column
|
|
742
|
+
* {@link ModelMeta.access}, a `CHECK`, or a generated column, all of which apply to every
|
|
743
743
|
* writer. A hook is for the work that is genuinely application logic: enrichment,
|
|
744
744
|
* notification, indexing, a validation the database cannot express.
|
|
745
745
|
*
|
|
@@ -762,7 +762,7 @@ export type ModelHookOptions = {
|
|
|
762
762
|
/** Milliseconds before the hook is abandoned. Default 2000. */
|
|
763
763
|
readonly timeout?: number;
|
|
764
764
|
/**
|
|
765
|
-
* What it means when the hook **does not answer
|
|
765
|
+
* What it means when the hook **does not answer**, a timeout, a connection failure, a `5xx`,
|
|
766
766
|
* or a body that cannot be parsed. A `4xx` is not this: that is the hook working correctly and
|
|
767
767
|
* saying no, and it reaches the caller as the status the hook chose.
|
|
768
768
|
*
|
|
@@ -771,7 +771,7 @@ export type ModelHookOptions = {
|
|
|
771
771
|
*/
|
|
772
772
|
readonly onUnavailable?: "reject" | "log";
|
|
773
773
|
};
|
|
774
|
-
/** Shorthand for singleton globals
|
|
774
|
+
/** Shorthand for singleton globals, `Model<Fields, GlobalMeta<Fields>>`. */
|
|
775
775
|
export type GlobalMeta<TFields extends Record<string, unknown>> = ModelMeta<TFields> & {
|
|
776
776
|
singleton: true;
|
|
777
777
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAEzD,OAAO,CAAC,MAAM,aAAa,EAAE,OAAO,MAAM,CAAA;AAC1C,OAAO,CAAC,MAAM,cAAc,EAAE,OAAO,MAAM,CAAA;AAE3C;;;;;;;;;;;;;;GAcG;AACH,KAAK,MAAM,CAAC,MAAM,EAAE,IAAI,SAAS,MAAM,IAAI,MAAM,GAAG;IAClD,QAAQ,CAAC,CAAC,aAAa,CAAC,CAAC,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAA;KAAE,CAAA;CAClD,CAAA;AAED,KAAK,SAAS,CAAC,KAAK,SAAS,MAAM,EAAE,MAAM,IAAI,MAA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BAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,IAC5C,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -10,8 +10,8 @@ declare const SUPATYPE_MODEL: unique symbol
|
|
|
10
10
|
* vocabulary in a package that also exports `Block`, `Blocks` and `Localized`.
|
|
11
11
|
*
|
|
12
12
|
* The phantom property is **optional**, which is what keeps values usable: `id.toUpperCase()` works and
|
|
13
|
-
* a plain string can be assigned to a `UUID`. It also means the label is not reliably *detectable
|
|
14
|
-
* type structurally satisfies a tag whose only property is optional
|
|
13
|
+
* a plain string can be assigned to a `UUID`. It also means the label is not reliably *detectable*, any
|
|
14
|
+
* type structurally satisfies a tag whose only property is optional, so this is for things that are
|
|
15
15
|
* values (`UUID`, an access rule, the model marker) and never for field declarations. Declarations use
|
|
16
16
|
* a required discriminator instead; see `Modifier`.
|
|
17
17
|
*
|
|
@@ -24,11 +24,11 @@ type Tagged<TShape, TTag extends string> = TShape & {
|
|
|
24
24
|
|
|
25
25
|
type Primitive<TName extends string, TShape> = Tagged<TShape, `primitive:${TName}`>
|
|
26
26
|
/**
|
|
27
|
-
* A field *declaration* wrapper
|
|
27
|
+
* A field *declaration* wrapper, `Optional<string>`, `Unique<Slug>`, `Localized<RichText>`.
|
|
28
28
|
*
|
|
29
29
|
* **Nominal, with a required discriminator**, unlike `Tagged`. Nobody ever holds a value of type
|
|
30
30
|
* `Optional<string>`: you declare a field with it and read the row shape `Model<>` derives, so this does
|
|
31
|
-
* not need to be assignable to its own inner type
|
|
31
|
+
* not need to be assignable to its own inner type, and making it so was the cause of three defects.
|
|
32
32
|
*
|
|
33
33
|
* As an intersection carrying an optional tag, every type satisfied `Modifier<Name, infer _>`: a plain
|
|
34
34
|
* `string` reported as `Optional`, so unwrapping never reached a fixed point (`TS2589` on reading any
|
|
@@ -85,14 +85,14 @@ export type GeoPoint = Primitive<"GeoPoint", { lat: number; lng: number }>
|
|
|
85
85
|
* `amount` is a **string**, like {@link Money} and {@link Decimal}, because the value crosses the
|
|
86
86
|
* wire as JSON: `bigint` cannot be serialised (`JSON.stringify(1n)` throws) and `number` loses
|
|
87
87
|
* integers past 2^53. Use {@link Money} or {@link Decimal} instead when you want a numeric column
|
|
88
|
-
* to sum and index
|
|
88
|
+
* to sum and index, this type keeps the currency with the amount, which a scalar column cannot.
|
|
89
89
|
*/
|
|
90
90
|
export type Currency<Code extends string = string> = Primitive<"Currency", { amount: string; code: Code }>
|
|
91
91
|
|
|
92
92
|
/** Link target for {@link Button}. */
|
|
93
93
|
export type ButtonTarget = "_self" | "_blank"
|
|
94
94
|
|
|
95
|
-
/** CMS button / CTA
|
|
95
|
+
/** CMS button / CTA, label, href, optional aria-label and target (stored as JSONB). */
|
|
96
96
|
export type ButtonValue = {
|
|
97
97
|
label: string
|
|
98
98
|
href: string
|
|
@@ -103,11 +103,11 @@ export type ButtonValue = {
|
|
|
103
103
|
export type Button = Primitive<"Button", ButtonValue>
|
|
104
104
|
/**
|
|
105
105
|
* Lexical JSON in DB/UI.
|
|
106
|
-
* **`string`** is allowed in TS for defaults, seeds, and incremental adoption (plain text or Lexical JSON string
|
|
106
|
+
* **`string`** is allowed in TS for defaults, seeds, and incremental adoption (plain text or Lexical JSON string, not HTML).
|
|
107
107
|
*
|
|
108
108
|
* Schema defaults:
|
|
109
|
-
* - `RichText<"Your sentence"
|
|
110
|
-
* - `Default<RichText, "Your sentence"
|
|
109
|
+
* - `RichText<"Your sentence">`: plain-text default (sugar)
|
|
110
|
+
* - `Default<RichText, "Your sentence">`: same, composes with modifiers
|
|
111
111
|
* - Lexical document: pass a JSON string literal or use `Default<RichText, '{"root":…}'>`
|
|
112
112
|
*/
|
|
113
113
|
export type RichText<D extends string = never> = Primitive<
|
|
@@ -157,7 +157,7 @@ export type BucketConfig<
|
|
|
157
157
|
* Names a logical storage bucket. Export `type AvatarBucket = Bucket<"avatars", { … }>` and pass
|
|
158
158
|
* {@link ImageAsset}<AvatarBucket> / {@link FileAsset}<AvatarBucket> on models.
|
|
159
159
|
*
|
|
160
|
-
* Config is erased at runtime
|
|
160
|
+
* Config is erased at runtime, only `@supatype/cli` reads it via the TypeScript type checker shape.
|
|
161
161
|
*/
|
|
162
162
|
export type Bucket<
|
|
163
163
|
TName extends string = string,
|
|
@@ -169,7 +169,7 @@ export type Asset<TBucket extends Bucket = Bucket> = Primitive<"Asset", {
|
|
|
169
169
|
mimeType?: string
|
|
170
170
|
size?: number
|
|
171
171
|
}>
|
|
172
|
-
/** Second generic on {@link ImageAsset} / {@link FileAsset}
|
|
172
|
+
/** Second generic on {@link ImageAsset} / {@link FileAsset}, parsed by CLI only. */
|
|
173
173
|
export type AssetFieldOptions = {
|
|
174
174
|
/** When true, stored as JSONB locale map of storage refs. Default false. */
|
|
175
175
|
localized?: boolean
|
|
@@ -193,7 +193,7 @@ export type LocaleConfig<
|
|
|
193
193
|
TDefault extends TLocales[number] = TLocales[number],
|
|
194
194
|
> = Primitive<"LocaleConfig", { locales: TLocales; defaultLocale: TDefault }>
|
|
195
195
|
/**
|
|
196
|
-
* Translatable field
|
|
196
|
+
* Translatable field: stored as JSONB with locale keys in Postgres,
|
|
197
197
|
* e.g. `{ "en": "Hello", "de": "Hallo" }`. Configure locales with {@link LocaleConfig}.
|
|
198
198
|
*
|
|
199
199
|
* Use `Optional<Localized<string>>` when the field may be null.
|
|
@@ -220,7 +220,7 @@ export type Searchable<T> = Modifier<"Searchable", T>
|
|
|
220
220
|
export type EditorReadOnly<T> = Modifier<"EditorReadOnly", T>
|
|
221
221
|
/**
|
|
222
222
|
* DB / trigger maintained only: Studio treats as read-only + server-generated on insert.
|
|
223
|
-
* There is **no** live preview or “follow title until edited” UX
|
|
223
|
+
* There is **no** live preview or “follow title until edited” UX, declare dependencies with
|
|
224
224
|
* {@link ComputedFrom} instead if you want slug-like preview in Studio.
|
|
225
225
|
*/
|
|
226
226
|
export type Computed<T> = Modifier<"Computed", T>
|
|
@@ -230,7 +230,7 @@ export type Computed<T> = Modifier<"Computed", T>
|
|
|
230
230
|
*
|
|
231
231
|
* Use `Optional<ComputedFrom<…>>` when the field may be null.
|
|
232
232
|
*
|
|
233
|
-
* **Second type argument
|
|
233
|
+
* **Second type argument: three shapes:**
|
|
234
234
|
* - **One field** (concat preview): `ComputedFrom<string, "title">`
|
|
235
235
|
* - **Several fields** (join with spaces, then truncate): `ComputedFrom<string, readonly ["title", "subtitle"]>`
|
|
236
236
|
* - **Template string** (placeholders + optional `truncate`): a string literal containing `{fieldName}` and/or
|
|
@@ -262,7 +262,7 @@ export type Between<T, Min extends number, Max extends number> = Modifier<`Betwe
|
|
|
262
262
|
* Equivalent manual fields: naming columns `created_at` / `updated_at` plus `Timestamp` / `ServerDefault<DateTime>`
|
|
263
263
|
* wires the same defaults in the extractor; you don’t need this mixin unless you prefer the shorthand.
|
|
264
264
|
*
|
|
265
|
-
* Arbitrary timestamps use `ServerDefault<DateTime>` (or `@default`/`Expression` via engine fixtures)
|
|
265
|
+
* Arbitrary timestamps use `ServerDefault<DateTime>` (or `@default`/`Expression` via engine fixtures),
|
|
266
266
|
* those are configurable; only the **names** above get the convention treatment without extra wrappers.
|
|
267
267
|
*/
|
|
268
268
|
export type Timestamps = {
|
|
@@ -293,21 +293,21 @@ export type RelationOptions = {
|
|
|
293
293
|
required?: boolean
|
|
294
294
|
onDelete?: OnDelete
|
|
295
295
|
onUpdate?: OnUpdate
|
|
296
|
-
/** `ManyToMany` only
|
|
296
|
+
/** `ManyToMany` only: the junction table's name, instead of one derived from the two models. */
|
|
297
297
|
through?: string
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
300
|
* The target model, held behind a property so that resolving a relation field does not resolve the
|
|
301
301
|
* model it points at.
|
|
302
302
|
*
|
|
303
|
-
* Two models that name each other
|
|
303
|
+
* Two models that name each other, a `HasOne` and its `RelatedTo`, or a `RelatedTo` both ways,
|
|
304
304
|
* used to fail with `TS2589: Type instantiation is excessively deep`. `Model<F>` spreads `F` through
|
|
305
305
|
* a mapped type that probes every field (`[V] extends [Modifier<"Optional", …>]`), and probing
|
|
306
306
|
* `RelatedTo<Post>` = `Post & …` meant expanding `Post`, which was still being defined. The
|
|
307
307
|
* collection relations escaped it: `Comment[]` is decidable without expanding `Comment`, so
|
|
308
308
|
* `HasMany` and `ManyToMany` are left as they were and only the one-ish relations defer here.
|
|
309
309
|
*
|
|
310
|
-
* Nothing needs a relation field's value type
|
|
310
|
+
* Nothing needs a relation field's value type, the target's *identity* carries the relation, the
|
|
311
311
|
* generated client types carry the row shapes, and the CLI reads these declarations as syntax
|
|
312
312
|
* rather than resolving them. So the target moves into a phantom property, where TypeScript leaves
|
|
313
313
|
* it alone until something asks.
|
|
@@ -419,7 +419,7 @@ export type Role<R extends string = string> = Access<"Role", { readonly kind: "R
|
|
|
419
419
|
* OR-composition: access is granted when **any** listed rule matches.
|
|
420
420
|
*
|
|
421
421
|
* Without this, rules are a closed set of single shapes and the commonest real
|
|
422
|
-
* requirement
|
|
422
|
+
* requirement: "an admin, or the owner", cannot be written at all. Every rule
|
|
423
423
|
* is combinable, including nested `Any`.
|
|
424
424
|
*
|
|
425
425
|
* ```typescript
|
|
@@ -457,7 +457,7 @@ export type AuthRole = Access<"AuthRole", { readonly kind: "AuthRole" }>
|
|
|
457
457
|
/**
|
|
458
458
|
* A nested JWT claim, by dotted path: `Claim<"app_metadata.tier">`.
|
|
459
459
|
*
|
|
460
|
-
* This is the developer's own namespace
|
|
460
|
+
* This is the developer's own namespace, whatever your application puts in its
|
|
461
461
|
* tokens. A missing claim is SQL NULL, so comparing against one that is absent
|
|
462
462
|
* denies rather than erroring.
|
|
463
463
|
*/
|
|
@@ -480,14 +480,14 @@ export type Literal<TValue extends string | number | boolean> = Access<"Literal"
|
|
|
480
480
|
// functions' STABLE declaration a lie.
|
|
481
481
|
//
|
|
482
482
|
// There is deliberately no literal-timestamp operand. "Publish at 09:00 next
|
|
483
|
-
// Tuesday" is *data
|
|
483
|
+
// Tuesday" is *data*: the row carries `published_at`, and the rule is the same for
|
|
484
484
|
// every row: `Lte<"published_at", Now>`. The policy re-evaluates per query, so the
|
|
485
485
|
// row starts matching at 09:00 with no cron and no publish worker.
|
|
486
486
|
|
|
487
487
|
/** Transaction start time (`now()`). */
|
|
488
488
|
export type Now = Access<"Now", { readonly kind: "Now" }>
|
|
489
489
|
|
|
490
|
-
/** Units for {@link Ago} / {@link FromNow}. Plural only
|
|
490
|
+
/** Units for {@link Ago} / {@link FromNow}. Plural only, Postgres accepts both. */
|
|
491
491
|
export type TimeUnit =
|
|
492
492
|
| "seconds"
|
|
493
493
|
| "minutes"
|
|
@@ -501,7 +501,7 @@ export type TimeUnit =
|
|
|
501
501
|
export type TruncUnit = "day" | "week" | "month" | "year"
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
|
-
* The start of the current day, week, month or year
|
|
504
|
+
* The start of the current day, week, month or year, `date_trunc(unit, now())`.
|
|
505
505
|
*
|
|
506
506
|
* `Gte<"created_at", StartOf<"week">>` is "created since Monday".
|
|
507
507
|
*/
|
|
@@ -515,11 +515,11 @@ export type StartOf<TUnit extends TruncUnit> = Access<"StartOf", {
|
|
|
515
515
|
*
|
|
516
516
|
* Two arguments rather than one `"30 days"` string, for two reasons. A template
|
|
517
517
|
* literal `` `${number} ${TimeUnit}` `` accepts `"-5 days"`, `"0.5 days"` and
|
|
518
|
-
* `"1e3 days"
|
|
518
|
+
* `"1e3 days"`: the last is not valid interval syntax, so it type-checks and fails
|
|
519
519
|
* at push. And TypeScript cannot enumerate `${number}`, so a template literal offers
|
|
520
520
|
* **no autocomplete**; this form completes the unit properly.
|
|
521
521
|
*
|
|
522
|
-
* The amount must be a positive integer
|
|
522
|
+
* The amount must be a positive integer, for the other direction use
|
|
523
523
|
* {@link FromNow}, which reads correctly rather than relying on a double negative.
|
|
524
524
|
*/
|
|
525
525
|
export type Ago<TAmount extends number, TUnit extends TimeUnit> = Access<"Ago", {
|
|
@@ -544,7 +544,7 @@ type Comparison<TName extends string, TLeft, TRight> = Access<TName, {
|
|
|
544
544
|
}>
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* `Eq<"author_id", AuthUid
|
|
547
|
+
* `Eq<"author_id", AuthUid>`: the row's `author_id` equals the caller.
|
|
548
548
|
*
|
|
549
549
|
* A bare string on either side is a column name; use `Literal<…>` for a constant,
|
|
550
550
|
* so `Eq<"status", Literal<"published">>` cannot be confused with a comparison
|
|
@@ -577,7 +577,7 @@ export type NotNull<TOperand> = Access<"NotNull", { readonly kind: "NotNull"; re
|
|
|
577
577
|
* ```
|
|
578
578
|
*
|
|
579
579
|
* The `Where` rule is evaluated against `user_sites`, not against the model the
|
|
580
|
-
* access rule is attached to
|
|
580
|
+
* access rule is attached to, it is what makes this *the caller's* sites rather
|
|
581
581
|
* than every row in the join table.
|
|
582
582
|
*
|
|
583
583
|
* Because the join column is named here, the engine emits the index for it. The
|
|
@@ -602,7 +602,7 @@ export type Values<TItems extends readonly (string | number | boolean)[]> = Acce
|
|
|
602
602
|
}>
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
|
-
* `In<"site_id", MySites
|
|
605
|
+
* `In<"site_id", MySites>`: the row's column appears in the source set.
|
|
606
606
|
*
|
|
607
607
|
* Compiles to a semi-join (`EXISTS`), not `IN (SELECT …)`, so the planner stops at
|
|
608
608
|
* the first match per row instead of materialising the set. Sources are `Rows<>`,
|
|
@@ -619,7 +619,7 @@ export type In<TColumn extends string, TSource> = Access<"In", {
|
|
|
619
619
|
*
|
|
620
620
|
* `In<>` asks "is this row's value in the set", which is a different question.
|
|
621
621
|
* Guarding on `Exists<>` is what makes "an editor *who has sites* may see their
|
|
622
|
-
* sites or unassigned rows" mean what it says
|
|
622
|
+
* sites or unassigned rows" mean what it says, without it, an editor with no sites
|
|
623
623
|
* still matches the unassigned branch:
|
|
624
624
|
*
|
|
625
625
|
* ```typescript
|
|
@@ -642,7 +642,7 @@ type BoundOwnerFromForFields<TFields extends Record<string, unknown>> = Access<"
|
|
|
642
642
|
}>
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
|
-
* The composable half of the DSL
|
|
645
|
+
* The composable half of the DSL, every shape that takes other rules or operands
|
|
646
646
|
* as arguments.
|
|
647
647
|
*
|
|
648
648
|
* Written with `unknown` arguments rather than a recursive constraint. TypeScript
|
|
@@ -718,7 +718,7 @@ type IsModifierNotLocalized<V> = IsModifier<V, "NotLocalized">
|
|
|
718
718
|
type InferNotLocalizedInner<V> = ModifierInnerOf<V>
|
|
719
719
|
|
|
720
720
|
/**
|
|
721
|
-
* Whether a field's key is optional on the row
|
|
721
|
+
* Whether a field's key is optional on the row, `Optional` anywhere in the stack, not just outermost.
|
|
722
722
|
*
|
|
723
723
|
* `Unique<Optional<string>>` is as nullable as `Optional<Unique<string>>`. The old structural check
|
|
724
724
|
* could only see the outer wrapper, so which one you wrote decided whether the key was optional.
|
|
@@ -742,8 +742,8 @@ type FileAssetLocalizedOption<V> =
|
|
|
742
742
|
* Apply default localization to copy-like fields (used by {@link LocalizedModel}).
|
|
743
743
|
*
|
|
744
744
|
* Walks *through* any modifier and rebuilds it around the localized inner, so `Unique<string>` becomes
|
|
745
|
-
* `Unique<Localized<string>>`. It used to reach the `V extends string` branch for such a field
|
|
746
|
-
* modifier was structurally its own inner type
|
|
745
|
+
* `Unique<Localized<string>>`. It used to reach the `V extends string` branch for such a field, a
|
|
746
|
+
* modifier was structurally its own inner type, and return a bare `Localized<string>`, silently
|
|
747
747
|
* dropping the `Unique`.
|
|
748
748
|
*/
|
|
749
749
|
type ApplyAutoLocalizedField<V> =
|
|
@@ -774,13 +774,13 @@ type ApplyAutoLocalizedFields<TFields extends Record<string, unknown>> = {
|
|
|
774
774
|
/**
|
|
775
775
|
* The value a declared field reads as on the row: every modifier peeled off, whatever it is.
|
|
776
776
|
*
|
|
777
|
-
* Unbounded and still terminating, because each step removes one wrapper
|
|
777
|
+
* Unbounded and still terminating, because each step removes one wrapper, `__inner` is strictly
|
|
778
778
|
* smaller than the type it came from. The previous version needed a depth cap to escape a recursion
|
|
779
779
|
* that could not converge, and a cap that runs out returns a half-unwrapped type rather than an error.
|
|
780
780
|
*
|
|
781
781
|
* Every modifier, not the three that used to be special-cased: a declaration is no longer structurally
|
|
782
782
|
* its own inner type, so `Unique<Slug>` would otherwise surface on the row as the wrapper object rather
|
|
783
|
-
* than as a string. `Localized<T>` needs no case of its own
|
|
783
|
+
* than as a string. `Localized<T>` needs no case of its own, its inner already *is* the locale record.
|
|
784
784
|
*/
|
|
785
785
|
type UnwrapModelFieldType<V> = V extends { readonly __modifier: string; readonly __inner: infer TInner }
|
|
786
786
|
? UnwrapModelFieldType<TInner>
|
|
@@ -831,11 +831,11 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
831
831
|
*
|
|
832
832
|
* Enforced one of two ways, chosen from what the database can do: the
|
|
833
833
|
* `supatype_mask` extension rewrites every reference to the column in the planner,
|
|
834
|
-
* and where the extension cannot be loaded
|
|
834
|
+
* and where the extension cannot be loaded, most managed Postgres, the same
|
|
835
835
|
* expression is carried by generated views in an `api` schema instead.
|
|
836
836
|
*
|
|
837
837
|
* A `write` rule is compiled conjoined with the field's `read` rule, so write
|
|
838
|
-
* without read is unrepresentable
|
|
838
|
+
* without read is unrepresentable, otherwise a caller could round-trip away a
|
|
839
839
|
* value they were never shown.
|
|
840
840
|
*
|
|
841
841
|
* **`INSERT` cannot evaluate a row-dependent write rule**: there is no row
|
|
@@ -844,21 +844,21 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
844
844
|
* `Claim<>`) for a column that must be settable at creation time.
|
|
845
845
|
*
|
|
846
846
|
* Relations are named by their column (`author_id`), because that is what the
|
|
847
|
-
* restriction applies to
|
|
847
|
+
* restriction applies to: `author` is not a column at all.
|
|
848
848
|
*
|
|
849
849
|
* Neither tier half-enforces: a push never applies a schema whose restrictions do
|
|
850
|
-
* not exist. They differ in one place
|
|
850
|
+
* not exist. They differ in one place, under the view tier an aggregate over a
|
|
851
851
|
* masked column returns the sum of the rows the caller may read, where the
|
|
852
852
|
* extension raises an error. Unreachable through the API, since PostgREST ships
|
|
853
853
|
* with aggregates disabled.
|
|
854
854
|
*
|
|
855
855
|
* A column restricted from nearly everyone and queried often is still better off
|
|
856
|
-
* in its own table
|
|
856
|
+
* in its own table, masking costs a predicate call per row and cannot use the
|
|
857
857
|
* column's index.
|
|
858
858
|
*/
|
|
859
859
|
fields?: {
|
|
860
860
|
// Relations are named by their column (`author_id`), because that is what a
|
|
861
|
-
// privilege is granted on
|
|
861
|
+
// privilege is granted on, `author` is not a column at all.
|
|
862
862
|
readonly [K in (keyof TFields & string) | RelationOwnerKeys<TFields>]?: {
|
|
863
863
|
readonly read?: AccessRuleFor<TFields>
|
|
864
864
|
readonly write?: AccessRuleFor<TFields>
|
|
@@ -867,9 +867,9 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
867
867
|
}
|
|
868
868
|
tableName?: string
|
|
869
869
|
searchable?: readonly string[]
|
|
870
|
-
/** Composite or single-column indexes
|
|
870
|
+
/** Composite or single-column indexes, emitted to Postgres via the schema engine. */
|
|
871
871
|
indexes?: readonly ModelIndex[]
|
|
872
|
-
/** Exactly one row
|
|
872
|
+
/** Exactly one row: Studio Globals, singleton partial unique index in Postgres. */
|
|
873
873
|
singleton?: true
|
|
874
874
|
/** When omitted, the CLI infers from `WithTimestamps` or `created_at` / `updated_at` fields. */
|
|
875
875
|
timestamps?: boolean
|
|
@@ -878,7 +878,7 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
878
878
|
/** When true, copy-like fields default to localized (same as {@link LocalizedModel}). */
|
|
879
879
|
autoLocalize?: true
|
|
880
880
|
/**
|
|
881
|
-
* Lifecycle hooks
|
|
881
|
+
* Lifecycle hooks: an **edge function** run by the API at a write boundary.
|
|
882
882
|
*
|
|
883
883
|
* ```typescript
|
|
884
884
|
* hooks: {
|
|
@@ -888,13 +888,13 @@ export type ModelMeta<TFields extends Record<string, unknown>> = {
|
|
|
888
888
|
* ```
|
|
889
889
|
*
|
|
890
890
|
* The value names a function directory under your project's `functions/`, and the name is
|
|
891
|
-
* checked when you push
|
|
891
|
+
* checked when you push, a hook that silently never fires because of a typo is the failure
|
|
892
892
|
* this feature must not have. `supatype push` also generates a typed handler signature per
|
|
893
893
|
* hooked model, so `row` is the model's real column set rather than `unknown`.
|
|
894
894
|
*
|
|
895
895
|
* **A hook is not a security boundary.** It fires for writes through the API; direct SQL,
|
|
896
896
|
* seeds, migrations and anything holding `service_role` bypass it. Invariants belong in
|
|
897
|
-
* {@link ModelMeta.access}, a `CHECK`, or a generated column
|
|
897
|
+
* {@link ModelMeta.access}, a `CHECK`, or a generated column, all of which apply to every
|
|
898
898
|
* writer. A hook is for the work that is genuinely application logic: enrichment,
|
|
899
899
|
* notification, indexing, a validation the database cannot express.
|
|
900
900
|
*
|
|
@@ -919,7 +919,7 @@ export type ModelHookOptions = {
|
|
|
919
919
|
/** Milliseconds before the hook is abandoned. Default 2000. */
|
|
920
920
|
readonly timeout?: number
|
|
921
921
|
/**
|
|
922
|
-
* What it means when the hook **does not answer
|
|
922
|
+
* What it means when the hook **does not answer**, a timeout, a connection failure, a `5xx`,
|
|
923
923
|
* or a body that cannot be parsed. A `4xx` is not this: that is the hook working correctly and
|
|
924
924
|
* saying no, and it reaches the caller as the status the hook chose.
|
|
925
925
|
*
|
|
@@ -929,7 +929,7 @@ export type ModelHookOptions = {
|
|
|
929
929
|
readonly onUnavailable?: "reject" | "log"
|
|
930
930
|
}
|
|
931
931
|
|
|
932
|
-
/** Shorthand for singleton globals
|
|
932
|
+
/** Shorthand for singleton globals, `Model<Fields, GlobalMeta<Fields>>`. */
|
|
933
933
|
export type GlobalMeta<TFields extends Record<string, unknown>> = ModelMeta<TFields> & {
|
|
934
934
|
singleton: true
|
|
935
935
|
}
|
|
@@ -5,12 +5,12 @@ import type { Localized, Model, Optional, UUID } from "../src/index.js"
|
|
|
5
5
|
* Reading a modifier-wrapped field off a row type.
|
|
6
6
|
*
|
|
7
7
|
* This was `TS2589: Type instantiation is excessively deep and possibly infinite` for *any* `Optional`
|
|
8
|
-
* field
|
|
8
|
+
* field: not an exotic case: `post.nick` on a model with one optional column. A brand is an
|
|
9
9
|
* intersection carrying an optional phantom property, so every type structurally satisfies
|
|
10
10
|
* `Modifier<Name, infer _>`; unwrapping one level produced the inner type, which still reported as a
|
|
11
11
|
* modifier, so the unwrap never reached a fixed point.
|
|
12
12
|
*
|
|
13
|
-
* These read as ordinary assertions about the row shape, which is the point
|
|
13
|
+
* These read as ordinary assertions about the row shape, which is the point, a type nobody can index
|
|
14
14
|
* into is not a type users have.
|
|
15
15
|
*/
|
|
16
16
|
type Post = Model<{
|
package/tests/primitives.test.ts
CHANGED
|
@@ -156,7 +156,7 @@ describe("@supatype/types primitives", () => {
|
|
|
156
156
|
type _Bad = Model<{ id: UUID; authUser: RelatedTo<SupatypeAuthUser> }, { access: { update: OwnerFrom<"auth_user_id"> } }>
|
|
157
157
|
})
|
|
158
158
|
|
|
159
|
-
// The three below used to assert that a modifier is transparent in a bare type literal
|
|
159
|
+
// The three below used to assert that a modifier is transparent in a bare type literal,
|
|
160
160
|
// `ServerDefault<string>` was structurally a string. That was the accident behind three defects, so a
|
|
161
161
|
// modifier is now a declaration wrapper: it is the *row* that reads as a string, which is what a
|
|
162
162
|
// caller actually holds. The intent is unchanged; the subject is the model rather than the literal.
|
|
@@ -5,7 +5,7 @@ import type { HasMany, HasOne, Model, ManyToMany, RelatedTo, UUID } from "../src
|
|
|
5
5
|
* Two models that name each other.
|
|
6
6
|
*
|
|
7
7
|
* These declarations are the test. `Model<F>` spreads `F` through a mapped type that probes every
|
|
8
|
-
* field, and probing a relation used to expand the model it pointed at
|
|
8
|
+
* field, and probing a relation used to expand the model it pointed at, so a `HasOne` facing its
|
|
9
9
|
* `RelatedTo`, or a `RelatedTo` both ways, failed with `TS2589: Type instantiation is excessively
|
|
10
10
|
* deep and possibly infinite`. A one-to-one relation was therefore inexpressible.
|
|
11
11
|
*
|
|
@@ -21,7 +21,7 @@ type Post = Model<{ id: UUID; title: string; settings: HasOne<Settings> }>
|
|
|
21
21
|
type Author = Model<{ id: UUID; featured: RelatedTo<Article> }>
|
|
22
22
|
type Article = Model<{ id: UUID; author: RelatedTo<Author> }>
|
|
23
23
|
|
|
24
|
-
// ── The collection cases, which always worked
|
|
24
|
+
// ── The collection cases, which always worked, kept so a fix cannot trade one for the other ──
|
|
25
25
|
type Comment = Model<{ id: UUID; body: string; post: RelatedTo<Blog> }>
|
|
26
26
|
type Tag = Model<{ id: UUID; name: string }>
|
|
27
27
|
type Blog = Model<{
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/lexical.ts","./src/index.ts"],"fileIdsList":[[58]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0f185b63f8385f309bb69dc680ff3d1e404c53163607f483b23a7e6c7ccb0e7","signature":"7b6457ac325af782f0f1e202c102ce4700da1f65b4fa92dda68ad6f96f632180","impliedFormat":99},{"version":"5fcb9a94c82358c798afdab4717828abbe870036abdf7445ae4a6e317425229c","signature":"74e36858c1ea8992eec6ea15a2d68520ede79aa8a5d63d5d0e00b19ae2e751cb","impliedFormat":99}],"root":[58,59],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[59,1]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/lexical.ts","./src/index.ts"],"fileIdsList":[[58]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0f185b63f8385f309bb69dc680ff3d1e404c53163607f483b23a7e6c7ccb0e7","signature":"7b6457ac325af782f0f1e202c102ce4700da1f65b4fa92dda68ad6f96f632180","impliedFormat":99},{"version":"0b1d5136e271e858d49087674979188a0a2813c79d881cd440d5ffeb02098150","signature":"3e003225e4990f3086a0743a25d179f5f6059b2edb1c1e0f378edbd0c6b51e3b","impliedFormat":99}],"root":[58,59],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[59,1]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|