@prisma/orm-framework 8.0.0-rc.20-dev.14 → 8.0.0-rc.21
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/dist/{authoring-C9wgJCNs.d.mts → authoring-C2UAuRfN.d.mts} +4 -14
- package/dist/{authoring-C9wgJCNs.d.mts.map → authoring-C2UAuRfN.d.mts.map} +1 -1
- package/dist/{authoring-BNzxszPO.mjs → authoring-CuGQP7_1.mjs} +4 -26
- package/dist/authoring-CuGQP7_1.mjs.map +1 -0
- package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts → binder-BszqDG1t-icu83_4f.d.mts} +16 -12
- package/dist/{binder-DJRPMfsD-D7PEvJOJ.d.mts.map → binder-BszqDG1t-icu83_4f.d.mts.map} +1 -1
- package/dist/{components-Cl5lB_Iw.d.mts → components-BenCVFk4.d.mts} +3 -3
- package/dist/{components-Cl5lB_Iw.d.mts.map → components-BenCVFk4.d.mts.map} +1 -1
- package/dist/components.d.mts +10 -10
- package/dist/components.mjs +4 -4
- package/dist/components__authoring.d.mts +4 -4
- package/dist/components__authoring.mjs +3 -3
- package/dist/components__components.d.mts +3 -3
- package/dist/components__control.d.mts +3 -3
- package/dist/components__control.mjs +2 -2
- package/dist/components__execution.d.mts +1 -1
- package/dist/components__psl-ast.d.mts +3 -3
- package/dist/{config-types-j3Elycru.d.mts → config-types-BJ79TZCl.d.mts} +5 -5
- package/dist/{config-types-j3Elycru.d.mts.map → config-types-BJ79TZCl.d.mts.map} +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config__config-types.d.mts +1 -1
- package/dist/contract-authoring.d.mts +19 -54
- package/dist/contract-authoring.d.mts.map +1 -1
- package/dist/contract-authoring.mjs +15 -28
- package/dist/contract-authoring.mjs.map +1 -1
- package/dist/control-B3OS8JEw.d.mts +1 -0
- package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts → control-BeXOxtXA-BU8y-LiK.d.mts} +2 -2
- package/dist/{control-BeXOxtXA-DRX60Yu3.d.mts.map → control-BeXOxtXA-BU8y-LiK.d.mts.map} +1 -1
- package/dist/{control-Df-HE5e4.d.mts → control-CS1uqJj_.d.mts} +8 -9
- package/dist/{control-Df-HE5e4.d.mts.map → control-CS1uqJj_.d.mts.map} +1 -1
- package/dist/{control-DKOWXGUq.mjs → control-Dn1CMH6R.mjs} +8 -16
- package/dist/control-Dn1CMH6R.mjs.map +1 -0
- package/dist/{control-MllEQmML-tXi_WAy3.mjs → control-MllEQmML-BdhmgQVr.mjs} +2 -2
- package/dist/{control-MllEQmML-tXi_WAy3.mjs.map → control-MllEQmML-BdhmgQVr.mjs.map} +1 -1
- package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs → declarations-BgUAq1RG-DPNkVezv.mjs} +2 -2
- package/dist/{declarations-BgUAq1RG-Dz_-EI1Q.mjs.map → declarations-BgUAq1RG-DPNkVezv.mjs.map} +1 -1
- package/dist/errors.d.mts +4 -4
- package/dist/errors.mjs +3 -3
- package/dist/errors__control.d.mts +2 -2
- package/dist/errors__control.mjs +1 -1
- package/dist/errors__execution.d.mts +1 -1
- package/dist/errors__execution.mjs +1 -1
- package/dist/errors__migration.d.mts +1 -1
- package/dist/errors__migration.mjs +1 -1
- package/dist/{execution-D5tvAHf4.d.mts → execution-BPJbNttJ.d.mts} +2 -2
- package/dist/{execution-D5tvAHf4.d.mts.map → execution-BPJbNttJ.d.mts.map} +1 -1
- package/dist/{execution-CgR7dFMU.d.mts → execution-BWR_z8XI.d.mts} +2 -2
- package/dist/{execution-CgR7dFMU.d.mts.map → execution-BWR_z8XI.d.mts.map} +1 -1
- package/dist/{execution-DMsDYKSr.mjs → execution-GInmnTZ9.mjs} +2 -2
- package/dist/{execution-DMsDYKSr.mjs.map → execution-GInmnTZ9.mjs.map} +1 -1
- package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs → expressions-CMQzbnHk-FYhlr1aG.mjs} +2 -2
- package/dist/{expressions-CMQzbnHk-BL2zN0Iv.mjs.map → expressions-CMQzbnHk-FYhlr1aG.mjs.map} +1 -1
- package/dist/{framework-authoring-DSqNuI8w-BMQDwpgF.d.mts → framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts} +17 -97
- package/dist/framework-authoring-ebqZ8M_M-DIDpVcUB.d.mts.map +1 -0
- package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts → framework-components-BqHA1V92-D9j8uXa-.d.mts} +3 -3
- package/dist/{framework-components-BhbsOiJc-BpDfGsqn.d.mts.map → framework-components-BqHA1V92-D9j8uXa-.d.mts.map} +1 -1
- package/dist/ids.d.mts +3 -98
- package/dist/ids.d.mts.map +1 -1
- package/dist/ids.mjs +12 -52
- package/dist/ids.mjs.map +1 -1
- package/dist/{migration-DpdvEAEC.mjs → migration-D57w8Uxv.mjs} +2 -2
- package/dist/{migration-DpdvEAEC.mjs.map → migration-D57w8Uxv.mjs.map} +1 -1
- package/dist/{migration-Ox7HWa_t.d.mts → migration-Dk1sYIvs.d.mts} +2 -2
- package/dist/{migration-Ox7HWa_t.d.mts.map → migration-Dk1sYIvs.d.mts.map} +1 -1
- package/dist/{parse-bZgfjovA-BNgYhylT.mjs → parse-bZgfjovA-gD3hVy3X.mjs} +3 -3
- package/dist/{parse-bZgfjovA-BNgYhylT.mjs.map → parse-bZgfjovA-gD3hVy3X.mjs.map} +1 -1
- package/dist/{parse-djL5wker-sY18Mt5K.d.mts → parse-djL5wker-DnMlKOii.d.mts} +6 -6
- package/dist/{parse-djL5wker-sY18Mt5K.d.mts.map → parse-djL5wker-DnMlKOii.d.mts.map} +1 -1
- package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts → psl-ast-0oMzInxd-Nx9cHmcc.d.mts} +3 -3
- package/dist/{psl-ast-C8W7AM1f-DYtFq1nP.d.mts.map → psl-ast-0oMzInxd-Nx9cHmcc.d.mts.map} +1 -1
- package/dist/psl-ast-CFQfCJeM.d.mts +2 -0
- package/dist/psl-parser.d.mts +12 -12
- package/dist/psl-parser.mjs +17 -55
- package/dist/psl-parser.mjs.map +1 -1
- package/dist/psl-parser__format.d.mts +1 -1
- package/dist/psl-parser__format.mjs +3 -3
- package/dist/psl-parser__interpret.d.mts +30 -30
- package/dist/psl-parser__interpret.d.mts.map +1 -1
- package/dist/psl-parser__interpret.mjs +110 -298
- package/dist/psl-parser__interpret.mjs.map +1 -1
- package/dist/psl-parser__syntax.d.mts +1 -1
- package/dist/psl-parser__syntax.mjs +3 -3
- package/dist/psl-printer.d.mts +4 -4
- package/dist/psl-printer.mjs +1 -1
- package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts +133 -0
- package/dist/temporal-type-aliases-BIiamFSH-BrpK13hf.d.mts.map +1 -0
- package/dist/{temporal-presets-5TK1pTYJ-DmhrnMP1.mjs → temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs} +29 -281
- package/dist/temporal-type-aliases-D98ei6Fj-DEtfAQYL.mjs.map +1 -0
- package/dist/{type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs → type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs} +52 -7
- package/dist/type-constructor-calls-CNd1Xlw2-DjyX5mKn.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/authoring-BNzxszPO.mjs.map +0 -1
- package/dist/control-CV9doMHb.d.mts +0 -1
- package/dist/control-DKOWXGUq.mjs.map +0 -1
- package/dist/framework-authoring-DSqNuI8w-BMQDwpgF.d.mts.map +0 -1
- package/dist/psl-ast-sZ1tAYRc.d.mts +0 -2
- package/dist/temporal-presets-5TK1pTYJ-DmhrnMP1.mjs.map +0 -1
- package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts +0 -258
- package/dist/temporal-presets-De4oKG36-DlGYQgF1.d.mts.map +0 -1
- package/dist/type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs.map +0 -1
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import { _ as DataType, v as DataTypeId } from "./codec-types-B4wPvO-K-BqcGrCE-.mjs";
|
|
2
|
-
import { G as DataTypeAuthoringEntry, K as DataTypeSupport, M as AuthoringTypeConstructorDescriptor, O as AuthoringStorageTypeTemplate, St as ScalarTypeConstructorOutput, g as AuthoringFieldPresetDescriptor, k as AuthoringTemplateValue, s as AuthoringContributions, st as MutationDefaultGeneratorDescriptor } from "./framework-authoring-DSqNuI8w-BMQDwpgF.mjs";
|
|
3
|
-
//#region ../../../1-framework/1-core/framework-components/dist/temporal-presets-De4oKG36.d.mts
|
|
4
|
-
//#region src/shared/data-type-support.d.ts
|
|
5
|
-
/** A component as data type assembly reads it: the data types it registers, their authoring entries, the codecs that name them, and the type constructors and field presets whose value arguments name them. */
|
|
6
|
-
interface DataTypeComponent {
|
|
7
|
-
readonly id?: string;
|
|
8
|
-
readonly dataTypes?: ReadonlyArray<DataType>;
|
|
9
|
-
readonly authoring?: Pick<AuthoringContributions, 'dataTypes' | 'type' | 'field' | 'textDataTypes'>;
|
|
10
|
-
readonly types?: {
|
|
11
|
-
readonly [slot: string]: unknown;
|
|
12
|
-
readonly codecTypes?: {
|
|
13
|
-
readonly codecDescriptors?: ReadonlyArray<{
|
|
14
|
-
readonly codecId: string;
|
|
15
|
-
readonly dataType: DataTypeId;
|
|
16
|
-
}>;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
/** A type constructor or field preset, the helpers that take arguments, with the path it is registered under and who registered it. */
|
|
21
|
-
interface ContributedHelper {
|
|
22
|
-
readonly path: string;
|
|
23
|
-
readonly descriptor: AuthoringTypeConstructorDescriptor | AuthoringFieldPresetDescriptor;
|
|
24
|
-
readonly contributedBy: string;
|
|
25
|
-
}
|
|
26
|
-
interface AssembledDataTypeSupport {
|
|
27
|
-
readonly support: DataTypeSupport;
|
|
28
|
-
/** Every data type the components register, with the id of the component that registered it. */
|
|
29
|
-
readonly declared: ReadonlyArray<{
|
|
30
|
-
readonly type: DataType;
|
|
31
|
-
readonly contributedBy: string;
|
|
32
|
-
}>;
|
|
33
|
-
}
|
|
34
|
-
/** Merge every component's PSL support for its data types, refusing two claims on one key. */
|
|
35
|
-
declare function assembleAuthoringDataTypes(components: ReadonlyArray<Pick<DataTypeComponent, 'id' | 'authoring'>>): Readonly<Record<string, DataTypeAuthoringEntry>>;
|
|
36
|
-
/**
|
|
37
|
-
* The data types the components register, with their authoring entries, as every contract source reads values with. Refuses two registrations of one data type or one entry key, every case {@link enforceDataTypeAssemblyInvariants} lists, a value argument of a type constructor or field preset whose data type is unregistered or that no contract source can write, and a type-constructor argument that is not a value. ADR 254.
|
|
38
|
-
*/
|
|
39
|
-
declare function assembleDataTypeSupport(components: ReadonlyArray<DataTypeComponent>, dataTypeOfCodec: (codecId: string) => DataTypeId | undefined): AssembledDataTypeSupport;
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/shared/tagged-literal.d.ts
|
|
42
|
-
/**
|
|
43
|
-
* `text` is the canonical value of the literal. Every failure `offset` is an
|
|
44
|
-
* index into the resolved body the function was given, including `too-large`,
|
|
45
|
-
* whose limit is measured on the canonical text.
|
|
46
|
-
*/
|
|
47
|
-
type TaggedLiteralCanonicalization = {
|
|
48
|
-
readonly ok: true;
|
|
49
|
-
readonly text: string;
|
|
50
|
-
} | {
|
|
51
|
-
readonly ok: false;
|
|
52
|
-
readonly reason: 'nul' | 'too-large';
|
|
53
|
-
readonly offset: number;
|
|
54
|
-
};
|
|
55
|
-
declare const TAGGED_LITERAL_MAX_BYTES = 65536;
|
|
56
|
-
/** The message a tagged literal's canonicalization failure is reported with, in PSL and in TypeScript. */
|
|
57
|
-
declare function describeTaggedLiteralFailure(reason: 'nul' | 'too-large'): string;
|
|
58
|
-
/** The escapes a PSL backtick string resolves: `` \` `` and `\\`. PSL has no interpolation, so `${` is ordinary text. */
|
|
59
|
-
declare function resolvePslBacktickEscapes(raw: string): string;
|
|
60
|
-
/** The escapes a TypeScript template tag resolves: the PSL two plus `\$`, the only way to write `${` in a template literal. */
|
|
61
|
-
declare function resolveTemplateTagEscapes(raw: string): string;
|
|
62
|
-
/**
|
|
63
|
-
* Turns the escape-resolved body of a tagged literal into its canonical text:
|
|
64
|
-
* newlines become `\n`, every blank line before the first non-blank line and
|
|
65
|
-
* after the last one is dropped, common leading whitespace is removed, internal
|
|
66
|
-
* blank lines become empty, and no trailing newline is added. The result is its
|
|
67
|
-
* own canonical text. Fails on a NUL character or when the result is larger
|
|
68
|
-
* than 65536 UTF-8 bytes.
|
|
69
|
-
*/
|
|
70
|
-
declare function canonicalizeTaggedLiteralBody(resolved: string): TaggedLiteralCanonicalization;
|
|
71
|
-
/**
|
|
72
|
-
* The PSL text of a tagged literal holding `text`: the backtick form, or the double-quote form when the text holds a
|
|
73
|
-
* backtick, which reads better than escaping each backtick. A multi-line text starts on the line after the opening
|
|
74
|
-
* backtick, so indentation a printer adds to an enclosing block is common to every line and the canonicalization
|
|
75
|
-
* removes it. The literal's canonical text is `text` again only when {@link printedTaggedLiteralReadsBack} holds; text
|
|
76
|
-
* with leading indentation or a carriage return, for example, does not read back. ADR 129.
|
|
77
|
-
*/
|
|
78
|
-
declare function printTaggedLiteral(tag: string, text: string): string;
|
|
79
|
-
/** Whether the literal {@link printTaggedLiteral} prints for `text` has `text` as its canonical text. */
|
|
80
|
-
declare function printedTaggedLiteralReadsBack(text: string): boolean;
|
|
81
|
-
/**
|
|
82
|
-
* TypeScript source for `text` in generated code: a template literal with `tag`, or `tsQuotedTextSource(text)`. It
|
|
83
|
-
* writes a template only when the tag's TypeScript function canonicalizes its text as `canonicalizeTaggedLiteralBody`
|
|
84
|
-
* does and that leaves `text` unchanged, which holds for `sql`. It also falls back when a line ends in a space or a
|
|
85
|
-
* tab, which editors strip on save, and when `text` holds a character a template would carry unescaped and invisible.
|
|
86
|
-
* A multi-line template's lines sit one level deeper than the line it opens on.
|
|
87
|
-
*/
|
|
88
|
-
declare function tsTaggedTemplateSource(tag: string, text: string): {
|
|
89
|
-
readonly source: string;
|
|
90
|
-
readonly usesTag: boolean;
|
|
91
|
-
};
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region src/shared/temporal-presets.d.ts
|
|
94
|
-
/**
|
|
95
|
-
* A codec's storage template with every member a preset needs to resolve.
|
|
96
|
-
*/
|
|
97
|
-
type PresetStorageTemplate = ScalarTypeConstructorOutput & AuthoringStorageTypeTemplate;
|
|
98
|
-
/**
|
|
99
|
-
* Canonical id for the wall-clock-now mutation default generator. It flows to the control-plane descriptor and the temporal field presets below, to each family's runtime generator, and to the authoring surfaces (PSL `temporal.updatedAt()`, TS `field.temporal.updatedAt()`) through the descriptor.
|
|
100
|
-
*/
|
|
101
|
-
declare const TIMESTAMP_NOW_GENERATOR_ID: "timestampNow";
|
|
102
|
-
/** Builds the control-plane descriptor for the wall-clock-now mutation default generator. */
|
|
103
|
-
declare function timestampNowControlDescriptor(): MutationDefaultGeneratorDescriptor;
|
|
104
|
-
/**
|
|
105
|
-
* Builds the `temporal.{createdAt,updatedAt}` field-preset pair. `createdAt` lowers to an execution generator on `onCreate`; `updatedAt` lowers to the same generator on both `onCreate` and `onUpdate`. The target supplies the storage template of its timestamp codec, which the presets carry through unchanged; everything else is shared, so PSL and TS authoring lower to byte-identical contracts across targets.
|
|
106
|
-
*/
|
|
107
|
-
declare function temporalAuthoringPresets<const Storage extends PresetStorageTemplate, const GeneratorId extends string = typeof TIMESTAMP_NOW_GENERATOR_ID>(input: Storage & {
|
|
108
|
-
readonly generatorId?: GeneratorId;
|
|
109
|
-
}): {
|
|
110
|
-
readonly createdAt: {
|
|
111
|
-
readonly kind: "fieldPreset";
|
|
112
|
-
readonly output: Omit<Storage & {
|
|
113
|
-
readonly generatorId?: GeneratorId;
|
|
114
|
-
}, "generatorId"> & {
|
|
115
|
-
readonly executionDefaults: {
|
|
116
|
-
readonly onCreate: {
|
|
117
|
-
readonly kind: "generator";
|
|
118
|
-
readonly id: "timestampNow" | GeneratorId;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
readonly updatedAt: {
|
|
124
|
-
readonly kind: "fieldPreset";
|
|
125
|
-
readonly output: Omit<Storage & {
|
|
126
|
-
readonly generatorId?: GeneratorId;
|
|
127
|
-
}, "generatorId"> & {
|
|
128
|
-
readonly executionDefaults: {
|
|
129
|
-
readonly onCreate: {
|
|
130
|
-
readonly kind: "generator";
|
|
131
|
-
readonly id: "timestampNow" | GeneratorId;
|
|
132
|
-
};
|
|
133
|
-
readonly onUpdate: {
|
|
134
|
-
readonly kind: "generator";
|
|
135
|
-
readonly id: "timestampNow" | GeneratorId;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* Builds the `temporal.{CreatedAt,UpdatedAt}` type alias pair for a target's timestamp column type. `CreatedAt` calls `now()` on create; `UpdatedAt` calls it on create and on update. The target's `now()` binding for the codec picks the generator, so each alias stores what the matching `temporal.createdAt()` and `temporal.updatedAt()` presets store. `value` names the value the codec gives in TypeScript, such as `a JavaScript Date`, and ends each alias's documentation.
|
|
143
|
-
*/
|
|
144
|
-
declare function temporalTypeAliases<const Type extends AuthoringStorageTypeTemplate>(type: Type, value: string): {
|
|
145
|
-
readonly CreatedAt: {
|
|
146
|
-
readonly kind: "typeAlias";
|
|
147
|
-
readonly documentation: `A timestamp the client sets to now when a row is created. Its value is ${string}.`;
|
|
148
|
-
readonly output: {
|
|
149
|
-
readonly type: Type;
|
|
150
|
-
readonly onCreate: {
|
|
151
|
-
readonly name: "now";
|
|
152
|
-
readonly args: {};
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
readonly UpdatedAt: {
|
|
157
|
-
readonly kind: "typeAlias";
|
|
158
|
-
readonly documentation: `A timestamp the client sets to now when a row is created and every time it is updated. Its value is ${string}.`;
|
|
159
|
-
readonly output: {
|
|
160
|
-
readonly type: Type;
|
|
161
|
-
readonly onCreate: {
|
|
162
|
-
readonly name: "now";
|
|
163
|
-
readonly args: {};
|
|
164
|
-
};
|
|
165
|
-
readonly onUpdate: {
|
|
166
|
-
readonly name: "now";
|
|
167
|
-
readonly args: {};
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
declare const TEMPORAL_ON_CREATE_ARG: {
|
|
173
|
-
readonly name: "onCreate";
|
|
174
|
-
readonly kind: "option";
|
|
175
|
-
readonly values: readonly ["now"];
|
|
176
|
-
readonly optional: true;
|
|
177
|
-
};
|
|
178
|
-
declare const TEMPORAL_ON_UPDATE_ARG: {
|
|
179
|
-
readonly name: "onUpdate";
|
|
180
|
-
readonly kind: "option";
|
|
181
|
-
readonly values: readonly ["now"];
|
|
182
|
-
readonly optional: true;
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* Selects a generator descriptor for the preset's `now` token. The token is preset vocabulary; the generator id never appears in a user's spelling (ADR 169 — these generators are preset-only).
|
|
186
|
-
*/
|
|
187
|
-
declare function temporalPhaseTemplate<const Index extends number, const GeneratorId extends string>(index: Index, generatorId: GeneratorId): {
|
|
188
|
-
readonly kind: "select";
|
|
189
|
-
readonly index: Index;
|
|
190
|
-
readonly cases: {
|
|
191
|
-
readonly now: {
|
|
192
|
-
readonly kind: "generator";
|
|
193
|
-
readonly id: GeneratorId;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
/**
|
|
198
|
-
* {@link temporalPhaseTemplate} for a generator that takes params. `params` is the template of the generator's params, resolved against the preset's arguments.
|
|
199
|
-
*/
|
|
200
|
-
declare function temporalPhaseTemplateWithParams<const Index extends number, const GeneratorId extends string, const Params extends Record<string, AuthoringTemplateValue>>(index: Index, generatorId: GeneratorId, params: Params): {
|
|
201
|
-
readonly kind: "select";
|
|
202
|
-
readonly index: Index;
|
|
203
|
-
readonly cases: {
|
|
204
|
-
readonly now: {
|
|
205
|
-
readonly kind: "generator";
|
|
206
|
-
readonly id: GeneratorId;
|
|
207
|
-
readonly params: Params;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Builds a `temporal.<codec>` field preset for a codec with no type parameters, carrying the codec's storage template through unchanged. Both phase arguments are optional, and omitting one omits that phase. `generatorId` names the generator a `now` argument selects, `timestampNow` when omitted.
|
|
213
|
-
*/
|
|
214
|
-
declare function temporalCodecPreset<const Storage extends PresetStorageTemplate, const GeneratorId extends string = typeof TIMESTAMP_NOW_GENERATOR_ID>(input: Storage & {
|
|
215
|
-
readonly generatorId?: GeneratorId;
|
|
216
|
-
}): {
|
|
217
|
-
readonly kind: "fieldPreset";
|
|
218
|
-
readonly args: readonly [{
|
|
219
|
-
readonly name: "onCreate";
|
|
220
|
-
readonly kind: "option";
|
|
221
|
-
readonly values: readonly ["now"];
|
|
222
|
-
readonly optional: true;
|
|
223
|
-
}, {
|
|
224
|
-
readonly name: "onUpdate";
|
|
225
|
-
readonly kind: "option";
|
|
226
|
-
readonly values: readonly ["now"];
|
|
227
|
-
readonly optional: true;
|
|
228
|
-
}];
|
|
229
|
-
readonly output: Omit<Storage & {
|
|
230
|
-
readonly generatorId?: GeneratorId;
|
|
231
|
-
}, "generatorId"> & {
|
|
232
|
-
readonly executionDefaults: {
|
|
233
|
-
readonly onCreate: {
|
|
234
|
-
readonly kind: "select";
|
|
235
|
-
readonly index: 0;
|
|
236
|
-
readonly cases: {
|
|
237
|
-
readonly now: {
|
|
238
|
-
readonly kind: "generator";
|
|
239
|
-
readonly id: "timestampNow" | GeneratorId;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
readonly onUpdate: {
|
|
244
|
-
readonly kind: "select";
|
|
245
|
-
readonly index: 1;
|
|
246
|
-
readonly cases: {
|
|
247
|
-
readonly now: {
|
|
248
|
-
readonly kind: "generator";
|
|
249
|
-
readonly id: "timestampNow" | GeneratorId;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
//#endregion
|
|
257
|
-
export { timestampNowControlDescriptor as C, temporalTypeAliases as S, resolveTemplateTagEscapes as _, TAGGED_LITERAL_MAX_BYTES as a, temporalPhaseTemplate as b, TIMESTAMP_NOW_GENERATOR_ID as c, assembleDataTypeSupport as d, canonicalizeTaggedLiteralBody as f, resolvePslBacktickEscapes as g, printedTaggedLiteralReadsBack as h, PresetStorageTemplate as i, TaggedLiteralCanonicalization as l, printTaggedLiteral as m, ContributedHelper as n, TEMPORAL_ON_CREATE_ARG as o, describeTaggedLiteralFailure as p, DataTypeComponent as r, TEMPORAL_ON_UPDATE_ARG as s, AssembledDataTypeSupport as t, assembleAuthoringDataTypes as u, temporalAuthoringPresets as v, tsTaggedTemplateSource as w, temporalPhaseTemplateWithParams as x, temporalCodecPreset as y };
|
|
258
|
-
//# sourceMappingURL=temporal-presets-De4oKG36-DlGYQgF1.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"temporal-presets-De4oKG36-DlGYQgF1.d.mts","names":[],"sources":["../../../../1-framework/1-core/framework-components/dist/temporal-presets-De4oKG36.d.mts"],"mappings":";;;;;UAIU;WACC;WACA,YAAY,cAAc;WAC1B,YAAY,KAAK;WACjB;cACG;aACD;eACE,mBAAmB;iBACjB;iBACA,UAAU;;;;;;UAMjB;WACC;WACA,YAAY,qCAAqC;WACjD;;UAED;WACC,SAAS;;WAET,UAAU;aACR,MAAM;aACN;;;;iBAII,2BAA2B,YAAY,cAAc,KAAK,0CAA0C,SAAS,eAAe;;;;iBAI5H,wBAAwB,YAAY,cAAc,oBAAoB,kBAAkB,oBAAoB,yBAAyB;;;;;;;;KAQjJ;WACM;WACA;;WAEA;WACA;WACA;;cAEG;;iBAEG,6BAA6B;;iBAE7B,0BAA0B;;iBAE1B,0BAA0B;;;;;;;;;iBAS1B,8BAA8B,mBAAmB;;;;;;;;iBAQjD,mBAAmB,aAAa;;iBAEhC,8BAA8B;;;;;;;;iBAQ9B,uBAAuB,aAAa;WAC1C;WACA;;;;;;;KAON,wBAAwB,8BAA8B;;;;cAI7C;;iBAEG,iCAAiC;;;;iBAIjC,+BAA+B,gBAAgB,6BAA6B,oCAAoC,4BAA4B,OAAO;WACzJ,cAAc;;WAEd;aACE;aACA,QAAQ,KAAK;eACX,cAAc;;eAEd;iBACE;mBACE;mBACA,qBAAqB;;;;;WAK7B;aACE;aACA,QAAQ,KAAK;eACX,cAAc;;eAEd;iBACE;mBACE;mBACA,qBAAqB;;iBAEvB;mBACE;mBACA,qBAAqB;;;;;;;;;iBASvB,0BAA0B,aAAa,8BAA8B,MAAM,MAAM;WACvF;aACE;aACA;aACA;eACE,MAAM;eACN;iBACE;iBACA;;;;WAIN;aACE;aACA;aACA;eACE,MAAM;eACN;iBACE;iBACA;;eAEF;iBACE;iBACA;;;;;cAKH;WACH;WACA;WACA;WACA;;cAEG;WACH;WACA;WACA;WACA;;;;;iBAKM,4BAA4B,4BAA4B,4BAA4B,OAAO,OAAO,aAAa;WACrH;WACA,OAAO;WACP;aACE;eACE;eACA,IAAI;;;;;;;iBAOF,sCAAsC,4BAA4B,kCAAkC,eAAe,eAAe,yBAAyB,OAAO,OAAO,aAAa,aAAa,QAAQ;WACjN;WACA,OAAO;WACP;aACE;eACE;eACA,IAAI;eACJ,QAAQ;;;;;;;iBAON,0BAA0B,gBAAgB,6BAA6B,oCAAoC,4BAA4B,OAAO;WACpJ,cAAc;;WAEd;WACA;aACE;aACA;aACA;aACA;;aAEA;aACA;aACA;aACA;;WAEF,QAAQ,KAAK;aACX,cAAc;;aAEd;eACE;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA,qBAAqB;;;;eAI3B;iBACE;iBACA;iBACA;mBACE;qBACE;qBACA,qBAAqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-constructor-calls-BLf-HsFy-CHiXyVEH.mjs","names":[],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/written-scalar-DYAM5coP.mjs","../../../../1-framework/2-authoring/psl-parser/dist/type-constructor-calls-BLf-HsFy.mjs"],"sourcesContent":["import { a as NumberLiteralExprAst, i as FunctionCallAst, l as StringLiteralExprAst, m as IdentifierAst, r as BooleanLiteralExprAst, s as ObjectLiteralExprAst, t as ArrayLiteralAst, u as TaggedLiteralExprAst, y as printSyntax } from \"./expressions-CMQzbnHk.mjs\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/diagnostic.ts\nfunction diagnosticSource(sources, node) {\n\treturn {\n\t\tsources,\n\t\tnode,\n\t\tat(span) {\n\t\t\tconst sourceFile = sources.sourceFileFor(node);\n\t\t\tconst range = span === void 0 ? {\n\t\t\t\tstart: sourceFile.positionAt(node.offset),\n\t\t\t\tend: sourceFile.positionAt(node.endOffset)\n\t\t\t} : sourceFile.pslSpanToRange(span);\n\t\t\treturn {\n\t\t\t\tfilename: sourceFile.filename,\n\t\t\t\trange\n\t\t\t};\n\t\t}\n\t};\n}\nfunction diagnosticFromSpan(diagnostic, source) {\n\tif (diagnostic.span === void 0) throw new InternalError(\"Owned PSL diagnostic has no span\");\n\treturn {\n\t\tcode: diagnostic.code,\n\t\tmessage: diagnostic.message,\n\t\t...source.at(diagnostic.span),\n\t\t...diagnostic.data === void 0 ? {} : { data: diagnostic.data }\n\t};\n}\nfunction mapPslDiagnostics(diagnostics, sources) {\n\treturn diagnostics.map(({ filename, code, message, range, data }) => ({\n\t\tcode,\n\t\tmessage,\n\t\tsourceId: filename,\n\t\tspan: sources.sourceFileNamed(filename).rangeToPslSpan(range),\n\t\t...data === void 0 ? {} : { data }\n\t}));\n}\nfunction createPslDiagnosticCollector(sources) {\n\tconst entries = [];\n\treturn {\n\t\tget length() {\n\t\t\treturn entries.length;\n\t\t},\n\t\tpush(...diagnostics) {\n\t\t\tfor (const diagnostic of diagnostics) entries.push({\n\t\t\t\tkind: \"psl\",\n\t\t\t\tdiagnostic\n\t\t\t});\n\t\t},\n\t\tpushUnlocated(...diagnostics) {\n\t\t\tfor (const diagnostic of diagnostics) entries.push({\n\t\t\t\tkind: \"psl\",\n\t\t\t\tdiagnostic,\n\t\t\t\tomitSpan: true\n\t\t\t});\n\t\t},\n\t\tpushExternal(...diagnostics) {\n\t\t\tfor (const diagnostic of diagnostics) entries.push({\n\t\t\t\tkind: \"external\",\n\t\t\t\tdiagnostic\n\t\t\t});\n\t\t},\n\t\ttoExternal() {\n\t\t\treturn entries.flatMap((entry) => {\n\t\t\t\tif (entry.kind === \"external\") return [entry.diagnostic];\n\t\t\t\tif (entry.omitSpan) {\n\t\t\t\t\tconst { code, message, filename, data } = entry.diagnostic;\n\t\t\t\t\treturn [{\n\t\t\t\t\t\tcode,\n\t\t\t\t\t\tmessage,\n\t\t\t\t\t\tsourceId: filename,\n\t\t\t\t\t\t...data === void 0 ? {} : { data }\n\t\t\t\t\t}];\n\t\t\t\t}\n\t\t\t\treturn mapPslDiagnostics([entry.diagnostic], sources);\n\t\t\t});\n\t\t}\n\t};\n}\n//#endregion\n//#region src/resolve.ts\nfunction readResolvedAttribute(attribute, sources) {\n\treturn {\n\t\tname: attributeName(attribute.name()),\n\t\targs: readResolvedArgList(attribute.argList(), sources),\n\t\tspan: nodePslSpan(attribute.syntax, sources),\n\t\tnode: attribute\n\t};\n}\nfunction readResolvedAttributes(attributes, sources) {\n\treturn Array.from(attributes, (attribute) => readResolvedAttribute(attribute, sources));\n}\nfunction readResolvedConstructorCall(annotation, sources) {\n\tconst argList = annotation?.argList();\n\tif (annotation === void 0 || argList === void 0) return void 0;\n\treturn {\n\t\tpath: annotation.name()?.path() ?? [],\n\t\targs: readResolvedArgList(argList, sources),\n\t\tspan: nodePslSpan(annotation.syntax, sources)\n\t};\n}\nfunction readResolvedArgList(argList, sources) {\n\tif (argList === void 0) return [];\n\tconst args = [];\n\tfor (const arg of argList.args()) {\n\t\tconst name = arg.name()?.name();\n\t\tconst expression = arg.value();\n\t\targs.push({\n\t\t\tkind: name !== void 0 ? \"named\" : \"positional\",\n\t\t\t...name !== void 0 ? { name } : {},\n\t\t\tvalue: renderExpression(expression),\n\t\t\t...expression !== void 0 ? { expression } : {},\n\t\t\tspan: nodePslSpan(arg.syntax, sources),\n\t\t\tnode: arg\n\t\t});\n\t}\n\treturn args;\n}\nfunction attributeName(name) {\n\treturn name?.path().join(\".\") ?? \"\";\n}\nfunction renderExpression(expression) {\n\tif (expression === void 0) return \"\";\n\treturn printSyntax(expression.syntax).trim();\n}\nfunction nodePslSpan(node, sources) {\n\tconst sourceFile = sources.sourceFileFor(node);\n\tconst start = node.offset;\n\tconst end = start + node.green.textLength;\n\treturn {\n\t\tstart: sourceFile.offsetToPslPosition(start),\n\t\tend: sourceFile.offsetToPslPosition(end)\n\t};\n}\n/** Unsupported-top-level-block diagnostics are anchored to the keyword token. */\nfunction keywordPslSpan(node, keyword, sources) {\n\tconst sourceFile = sources.sourceFileFor(node);\n\tconst start = node.offset;\n\tconst end = start + keyword.length;\n\treturn {\n\t\tstart: sourceFile.offsetToPslPosition(start),\n\t\tend: sourceFile.offsetToPslPosition(end)\n\t};\n}\n//#endregion\n//#region src/written-scalar.ts\nconst AN_EXPRESSION = {\n\tok: false,\n\treason: \"not-a-literal\",\n\tfound: \"an expression\"\n};\nfunction written(value) {\n\treturn {\n\t\tok: true,\n\t\twritten: value\n\t};\n}\n/** Reads a PSL literal expression as a `WrittenScalar`, for a position that takes a value of a data type. ADR 254. */\nfunction readWrittenScalar(expression) {\n\tconst syntax = expression.syntax;\n\tconst string = StringLiteralExprAst.cast(syntax)?.value();\n\tif (string !== void 0) return written({\n\t\tkind: \"string\",\n\t\ttext: string\n\t});\n\tconst number = NumberLiteralExprAst.cast(syntax);\n\tif (number !== void 0) {\n\t\tconst text = number.token()?.text;\n\t\treturn text === void 0 ? AN_EXPRESSION : written({\n\t\t\tkind: \"number\",\n\t\t\ttext\n\t\t});\n\t}\n\tconst boolean = BooleanLiteralExprAst.cast(syntax)?.value();\n\tif (boolean !== void 0) return written({\n\t\tkind: \"boolean\",\n\t\tvalue: boolean\n\t});\n\tconst tagged = TaggedLiteralExprAst.cast(syntax);\n\tif (tagged !== void 0) {\n\t\tconst canonicalization = tagged.canonicalization();\n\t\treturn canonicalization.ok ? written({\n\t\t\tkind: \"tag\",\n\t\t\ttag: tagged.tagName(),\n\t\t\ttext: canonicalization.text\n\t\t}) : {\n\t\t\tok: false,\n\t\t\treason: canonicalization.reason\n\t\t};\n\t}\n\tif (IdentifierAst.cast(syntax) !== void 0) return {\n\t\tok: false,\n\t\treason: \"not-a-literal\",\n\t\tfound: \"an identifier\"\n\t};\n\tif (FunctionCallAst.cast(syntax) !== void 0) return {\n\t\tok: false,\n\t\treason: \"not-a-literal\",\n\t\tfound: \"a function call\"\n\t};\n\tif (ArrayLiteralAst.cast(syntax) !== void 0) return {\n\t\tok: false,\n\t\treason: \"not-a-literal\",\n\t\tfound: \"a list\"\n\t};\n\tif (ObjectLiteralExprAst.cast(syntax) !== void 0) return {\n\t\tok: false,\n\t\treason: \"not-a-literal\",\n\t\tfound: \"an object\"\n\t};\n\treturn AN_EXPRESSION;\n}\n//#endregion\nexport { readResolvedAttributes as a, diagnosticFromSpan as c, readResolvedAttribute as i, diagnosticSource as l, keywordPslSpan as n, readResolvedConstructorCall as o, nodePslSpan as r, createPslDiagnosticCollector as s, readWrittenScalar as t, mapPslDiagnostics as u };\n\n//# sourceMappingURL=written-scalar-DYAM5coP.mjs.map","import { t as readWrittenScalar } from \"./written-scalar-DYAM5coP.mjs\";\nimport { admittedForms, describeExpected, readWrittenValueAs } from \"@internal/framework-components/authoring\";\nimport { InternalError } from \"@internal/utils/internal-error\";\nimport { notOk } from \"@internal/utils/result\";\nimport { describeTaggedLiteralFailure } from \"@internal/framework-components/control\";\n//#region src/read-expression-as.ts\nconst TAGGED_LITERAL_FAILURE_CODES = {\n\tnul: \"PSL_TAGGED_LITERAL_NUL\",\n\t\"too-large\": \"PSL_TAGGED_LITERAL_TOO_LARGE\"\n};\n/**\n* Reads `expression` as a value of `dataType`: the literal is read through the authoring entry for its syntax, then taken into `dataType` directly or through a cast it declares. The read every argument typed by a data type takes, in an attribute or a type constructor. ADR 254.\n*/\nfunction readExpressionAs(support, dataType, expression) {\n\tif (!support.lookup.has(dataType)) throw new InternalError(`An argument receives data type \"${dataType}\", which this stack does not register.`);\n\tconst forms = admittedForms(support, [dataType]);\n\tif (forms.length === 0) throw new InternalError(`An argument receives data type \"${dataType}\", which nothing in this stack writes.`);\n\tconst literal = readWrittenScalar(expression);\n\tif (!literal.ok) return literal.reason === \"not-a-literal\" ? notOk({\n\t\tcode: \"PSL_INVALID_ATTRIBUTE_SYNTAX\",\n\t\tmessage: `${describeExpected(forms)}; got ${literal.found}`\n\t}) : notOk({\n\t\tcode: TAGGED_LITERAL_FAILURE_CODES[literal.reason],\n\t\tmessage: describeTaggedLiteralFailure(literal.reason)\n\t});\n\treturn readWrittenValueAs(support, dataType, literal.written);\n}\n//#endregion\n//#region src/type-constructor-calls.ts\nfunction isBareTypeConstructor(descriptor) {\n\treturn descriptor.entityRefArg === void 0 && (descriptor.args ?? []).every((arg) => arg.optional === true);\n}\nfunction argumentSpelling(descriptor) {\n\tconst args = descriptor.args ?? [];\n\tconst reference = descriptor.entityRefArg;\n\tconst count = Math.max(args.length, (reference?.index ?? -1) + 1);\n\tconst names = [];\n\tfor (let index = 0; index < count; index++) {\n\t\tconst arg = args[index];\n\t\tif (index === reference?.index) names.push(reference.entityKind);\n\t\telse if (arg !== void 0 && arg.optional !== true) names.push(arg.name ?? `argument${index + 1}`);\n\t}\n\treturn names.join(\", \");\n}\nfunction reportTypeConstructorNotCalled(input) {\n\tinput.diagnostics.push({\n\t\tcode: \"PSL_TYPE_CONSTRUCTOR_NOT_CALLED\",\n\t\tmessage: `${input.entityLabel} uses type constructor \"${input.path}\" without arguments. Write ${input.path}(${argumentSpelling(input.descriptor)}).`,\n\t\t...input.source.at(input.span)\n\t});\n}\n//#endregion\nexport { reportTypeConstructorNotCalled as n, readExpressionAs as r, isBareT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