gs2-studio-dsl 2026.11.17 → 2026.11.18
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/LLM.md +21 -2
- package/README.md +2 -2
- package/REFERENCE.md +54 -7
- package/index.d.ts +142 -141
- package/package.json +1 -1
package/LLM.md
CHANGED
|
@@ -21,7 +21,7 @@ Instructions for an agent that writes or edits a GS2 Studio package DSL. Follow
|
|
|
21
21
|
<project>/ GS2 Studio project (project.json, packages/)
|
|
22
22
|
<dsl>/
|
|
23
23
|
index.ts the entry: exports exactly one definePackage({...}) or .build() result
|
|
24
|
-
id-ledger.json ids of the package; created by dsl build --write-ledger;
|
|
24
|
+
id-ledger.json ids of the package; created by dsl build --write-ledger; keep it with index.ts
|
|
25
25
|
dependency-surface.json written by dsl build: what this package publishes to packages that depend on it
|
|
26
26
|
surfaces/<packageId>.json written by dsl surfaces: what each package of the project publishes
|
|
27
27
|
tsconfig.json the tsconfig from the README
|
|
@@ -64,7 +64,8 @@ commands below with the executable's path; the first build writes the ledger. It
|
|
|
64
64
|
[Building with dsl build](REFERENCE.md#building-with-dsl-build)). The build's last line counts the errors and
|
|
65
65
|
warnings, such as `project check (without Unity code generation): 0 error(s), 2 warning(s)`, and is
|
|
66
66
|
`project check (without Unity code generation): no errors or warnings` when there is none.
|
|
67
|
-
8. Keep `id-ledger.json` and `dependency-surface.json` with `index.ts`; commit them together.
|
|
67
|
+
8. Keep `id-ledger.json` and `dependency-surface.json` with `index.ts`; under version control, commit them together.
|
|
68
|
+
Whether to use version control is the user's choice: do not create a repository unless the user asks.
|
|
68
69
|
|
|
69
70
|
A build that fails a check writes nothing. On failure, read every listed problem, fix the DSL, and rerun.
|
|
70
71
|
|
|
@@ -238,6 +239,7 @@ Names and ids:
|
|
|
238
239
|
| Choose a binding hint | `.assetDelivery()` (the client shows it), none (only a transform argument), `.masterData()` (a resource binds it) | [Property modifiers](REFERENCE.md#property-modifiers) |
|
|
239
240
|
| Text shown in the player's language (a display name) | One `displayName: PT.localizedString().assetDelivery()`, rows `{ ja: "...", en: "..." }`, a `UiItem.label` on it; not one property per language | [Localized text](REFERENCE.md#localized-text) |
|
|
240
241
|
| Localized text in a template or a condition | `templateLabel` placeholder and `UiCond.truthy` / `eq` / `neq` read the player's locale's translation; never `gt`/`lt`, never against a number | [Localized text](REFERENCE.md#localized-text) |
|
|
242
|
+
| Fixed text and template words in the player's language (a heading, a button caption, `"{count} left"`) | `UiItem.templateLabel(className, { ja: "...", en: "..." }, sources)` with any BCP 47 locales (`zh-Hant`, `ko`, ...), every locale using the same placeholders; no placeholders and `{}` sources for fixed text. Not a hand-written localization script | [Localized templates](REFERENCE.md#localized-templates) |
|
|
241
243
|
| Conditional requirement | `.requiredWhen(Cond.eq("limited", true))` | [Conditions](REFERENCE.md#conditions) |
|
|
242
244
|
| Identity and order | `singleEntry: true`, `compositeKey: [...]`, `sort: { key, direction? }` | [Keys and identity](REFERENCE.md#keys-and-identity) |
|
|
243
245
|
| Author rows | `instance(definition, id, values)` in `instances: [...]` | [Instances](REFERENCE.md#instances) |
|
|
@@ -281,6 +283,8 @@ Names and ids:
|
|
|
281
283
|
| `{"kind":"uiComponentUnknownDelegatedAction",...}` | `UiItem.buttonAction` names a method the target lacks. | Register the delegated action on that type. |
|
|
282
284
|
| `{"kind":"duplicateUiComponentClassName",...}` | Two items of the same type share a class name. | Make class names unique per type. |
|
|
283
285
|
| `{"kind":"uiComponentTemplateLabelKeyMismatch",...}` | `{key}` placeholders and `sources` keys differ. | Make them match one to one. |
|
|
286
|
+
| `{"kind":"uiComponentTemplateLabelLocaleInvalid",...,"issue":{...}}` | A template per locale with no locale, a tag that is no BCP 47 locale, one locale twice, or empty text (`issue.kind`). | Fix that locale or text. |
|
|
287
|
+
| `{"kind":"uiComponentTemplateLabelLocalePlaceholderMissing",...,"locale":"en","key":"count"}` | `locale`'s template leaves out `{key}`, which another locale's template uses. | Write `{key}` in that locale's template too. |
|
|
284
288
|
| `{"kind":"singleEntryInstanceIdMismatch",...,"expectedId":"..."}` | Wrong row id on a single-entry type. | Use `expectedId`. |
|
|
285
289
|
| `{"kind":"uiComponentForeignRowSingleEntryIdMismatch",...,"expectedId":"..."}` | A `UiSource.rowProp` names another row of a single-entry type than its one row, which is the only row its Handler holds. | Use `expectedId` (`types.<Type>.singleEntryRowId` of the surface). |
|
|
286
290
|
| `{"kind":"invalidCompositeKey","reason":"unsupportedMemberBindingHint",...}` | A key member without `masterData` / `assetDelivery`. | Add the hint. |
|
|
@@ -492,3 +496,18 @@ The game signs in to GS2 with a client ID and a client secret. Take them from th
|
|
|
492
496
|
`"<GS2 Studio>" login` in their own terminal (your shell cannot answer its password prompt: ask the user to run it);
|
|
493
497
|
only the two output values go into the game. `deploy outputs --stack Default` prints them; do not run it where the
|
|
494
498
|
terminal is recorded or shared.
|
|
499
|
+
|
|
500
|
+
## 9. Master data after a deploy
|
|
501
|
+
|
|
502
|
+
- A deploy that changes master data (rows, rewards, costs, schedules) does not reach every player at once: GS2 caches
|
|
503
|
+
master data for up to 5 minutes. A request served by a node without the cache gets the new data right away, so a
|
|
504
|
+
player can see the new and the old values alternate for a few minutes.
|
|
505
|
+
- When you check a change in the game, wait about 5 minutes before deciding it did not apply. Do not deploy again or
|
|
506
|
+
change the DSL because a new value has not shown up yet.
|
|
507
|
+
- For a live game that must switch master data at a set moment for every player, GS2-Distributor fixes the master
|
|
508
|
+
data each request reads to the content at a given time: the developer's server signs that time with
|
|
509
|
+
`SignFreezeMasterDataTimestamp`, and the game passes the signed time to `FreezeMasterDataBySignedTimestamp`, which
|
|
510
|
+
returns a `Gs2Domain` that attaches the fixed version to every request it sends. Suggest it when the user needs
|
|
511
|
+
updates to take effect at a precise time; it needs a server that holds the signing key, so do not add it on your own.
|
|
512
|
+
See https://docs.gs2.io/ja/api_reference/distributor/sdk/#signfreezemasterdatatimestamp and
|
|
513
|
+
https://docs.gs2.io/ja/api_reference/distributor/game_engine/#freezemasterdatabysignedtimestamp.
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@ type-check; use these declarations in your editor and with `tsc --noEmit`.
|
|
|
9
9
|
- For LLM coding agents: [LLM.md](LLM.md)
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npm install --save-dev gs2-studio-dsl@2026.11.
|
|
12
|
+
npm install --save-dev gs2-studio-dsl@2026.11.18
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
The version is the GS2 Studio version whose DSL these declarations describe: a DSL written
|
|
16
|
-
against gs2-studio-dsl 2026.11.
|
|
16
|
+
against gs2-studio-dsl 2026.11.18 builds with GS2 Studio 2026.11.18 and later. Install the version that
|
|
17
17
|
matches the oldest GS2 Studio you build with.
|
|
18
18
|
|
|
19
19
|
```ts
|
package/REFERENCE.md
CHANGED
|
@@ -406,10 +406,11 @@ UiItem.label("NameLabel", UiSource.prop("displayName")),
|
|
|
406
406
|
- Only `.assetDelivery()` is accepted: no GS2 resource field holds text per locale, so it is neither a binding nor an
|
|
407
407
|
action transform argument. It cannot be a list element, a key or sort member, a transform parameter, or a property of
|
|
408
408
|
an inline element.
|
|
409
|
-
- Unity: generated code reads it as `Gs2Bind.Localization.Gs2LocalizedText`, which `io.gs2.bind` 2026.11.
|
|
410
|
-
provide, so code generation raises the Unity project's `io.gs2.bind` to that release
|
|
411
|
-
`io.gs2.
|
|
412
|
-
|
|
409
|
+
- Unity: generated code reads it as `Gs2Bind.Localization.Gs2LocalizedText`, which `io.gs2.bind` 2026.11.3 and later
|
|
410
|
+
provide, so code generation raises the Unity project's `io.gs2.bind` to that release (it never lowers a pin).
|
|
411
|
+
`io.gs2.unity.sdk` comes with it as its dependency; a project that pins `io.gs2.unity.sdk` / `io.gs2.csharp.sdk`
|
|
412
|
+
itself has the pin raised to 2026.11.12 / 2026.11.10, the SDKs it compiles against. A project without localized
|
|
413
|
+
properties or [localized templates](#localized-templates) needs no newer `io.gs2.bind`.
|
|
413
414
|
A `label` shows the translation for `Gs2Locale.Current`: the exact locale, then the same language, then `en`, then
|
|
414
415
|
`ja`, then the first one. The locale starts from the device language; with `com.unity.localization` installed it
|
|
415
416
|
follows Unity Localization's selected locale with nothing to set up, and without it the game calls
|
|
@@ -437,6 +438,40 @@ UiItem.activeToggle("NameToggle", UiCond.truthy(UiSource.prop("displayName"))),
|
|
|
437
438
|
- Like a `label`, a `templateLabel`, `activeToggle` or `interactable` that reads localized text applies itself again
|
|
438
439
|
when `Gs2Locale.Changed` fires while it is enabled.
|
|
439
440
|
|
|
441
|
+
#### Localized templates
|
|
442
|
+
|
|
443
|
+
The template of a `templateLabel` can be text per locale too, for the words around values and for fixed text such as a
|
|
444
|
+
heading or a button caption. Fixed text is a template without placeholders, with no sources:
|
|
445
|
+
|
|
446
|
+
```ts
|
|
447
|
+
UiItem.templateLabel(
|
|
448
|
+
"CountLabel",
|
|
449
|
+
{ ja: "残り {count} 個", en: "{count} left" },
|
|
450
|
+
{ count: UiSource.prop("count") }
|
|
451
|
+
),
|
|
452
|
+
UiItem.templateLabel(
|
|
453
|
+
"HeadingLabel",
|
|
454
|
+
{ ja: "ギフトショップ", en: "Gift shop", "zh-Hant": "禮品店" },
|
|
455
|
+
{}
|
|
456
|
+
),
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
- Its locales follow the rules of a `PT.localizedString` row: any set of BCP 47 tags (`en`, `ja`, `zh-Hant`, `ko`),
|
|
460
|
+
each once, every text non-empty, and at least one (`uiComponentTemplateLabelLocaleInvalid` names the problem). It is stored under canonical tags (`ja-jp` becomes
|
|
461
|
+
`ja-JP`).
|
|
462
|
+
- Every locale's template uses the same placeholders, in its own order (`"残り {count} 個"`, `"{count} left"`). A
|
|
463
|
+
locale that leaves out a placeholder another locale uses fails with `uiComponentTemplateLabelLocalePlaceholderMissing`
|
|
464
|
+
(`locale`, `key`), so no language drops a value; `sources` match the placeholders as for one template.
|
|
465
|
+
- Unity: the component sends the template for `Gs2Locale.Current`, chosen as a `label` chooses a translation (the exact
|
|
466
|
+
locale, then the same language, then `en`, then `ja`, then the first one), and sends it again when
|
|
467
|
+
`Gs2Locale.Changed` fires while it is enabled. It needs no localized property: code generation raises `io.gs2.bind`
|
|
468
|
+
to 2026.11.3 as localized properties do.
|
|
469
|
+
- Fixed text reads no row, so it is sent as soon as the component is enabled, before its handler holds a row, and
|
|
470
|
+
`fallbackText` is not used. Like every item, it still needs the type's handler above it. A template with placeholders
|
|
471
|
+
sends `fallbackText` while no row is loaded, as one template does.
|
|
472
|
+
- A package that has one needs GS2 Studio 2026.11.18 or later, which its `package.json` states for older releases to
|
|
473
|
+
refuse it. A template given as one string reads the same in every locale.
|
|
474
|
+
|
|
440
475
|
### Conditions
|
|
441
476
|
|
|
442
477
|
`Cond` builds the conditions of `requiredWhen` and `optionalWhen`. `propertyName` names another property of the same
|
|
@@ -1138,10 +1173,10 @@ row again when it is shown. `interactable` changes only `interactable`, so it ca
|
|
|
1138
1173
|
| --- | --- | --- |
|
|
1139
1174
|
| `UiItem.label(className, source, options?)` | `source`: `UiSource.prop(...)` or `UiSource.lit(...)`. `options.fallbackText`: the text sent while the property has no value. | Sends the value as text through `OnUpdate` (`UnityEvent<string>`). A `timestamp` is written `yyyy-MM-dd HH:mm`; other values are converted with `Convert.ToString`, so a list or inline element property does not show its contents. A `PT.localizedString` source sends the translation for the player's locale and sends again when the locale changes ([Localized text](#localized-text)); of the other items only `templateLabel` and the `UiCond` of `activeToggle` and `interactable` accept that source. |
|
|
1140
1175
|
| `UiItem.value(className, propertySource, options?)` | `propertySource`: `UiSource.prop(...)` of a property of a primitive type, a `ref`, or `"id"`. No literal. | Sends the value in its own C# type through `OnUpdate`: `UnityEvent<int>` for `int32`, `long` for `int64`, `float`, `double`, `bool`, `string`, `DateTime` for `timestamp`, and `string` for a `ref` or `"id"`. A missing value is sent as the type's default (`0`, `""`). `Select(value)` raises `OnSelect` with a value the game passes. Any other property type (`enum`, a list, an inline element) leaves the item out with a warning. |
|
|
1141
|
-
| `UiItem.countdown(className, propertySource, options?)` | `propertySource`: `UiSource.prop(...)` of a `timestamp` property. No literal. `options.fallbackText`: the text sent while the property holds no time. | Counts down to the time on GS2's clock for the player's session (UTC shifted by the access token's time offset) with GS2-Bind's `Gs2Countdown`, so code generation raises the Unity project's `io.gs2.bind` to 2026.11.3 or later,
|
|
1142
|
-
| `UiItem.templateLabel(className, template, sources, options?)` | `template` with `{key}` placeholders; `sources` maps each key to a source. Every placeholder needs exactly one source and every source a placeholder. `options.fallbackText`: the text sent while no row is loaded. | Sends `template` with each `{key}` replaced by its value through `OnUpdate` (`UnityEvent<string>`). A `PT.localizedString` source is replaced by the translation for the player's locale, and the text is sent again when the locale changes ([Localized text](#localized-text)). |
|
|
1176
|
+
| `UiItem.countdown(className, propertySource, options?)` | `propertySource`: `UiSource.prop(...)` of a `timestamp` property. No literal. `options.fallbackText`: the text sent while the property holds no time. | Counts down to the time on GS2's clock for the player's session (UTC shifted by the access token's time offset) with GS2-Bind's `Gs2Countdown`, so code generation raises the Unity project's `io.gs2.bind` to 2026.11.3 or later, and a pin of `io.gs2.unity.sdk` / `io.gs2.csharp.sdk` the project has itself to 2026.11.12 / 2026.11.10 or later. Once a second, reading the clock each time, and again whenever the row changes, it sends the time left as text through `OnUpdate` (`UnityEvent<string>`: `m:ss`, `h:mm:ss` from an hour on) and in whole seconds through `OnRemaining` (`UnityEvent<TimeSpan>`), ending at `0:00`; `OnCounting` (`UnityEvent<bool>`) sends `true` when it starts. A time of 0 or before, or no value, is no time (GS2's next recovery of a full stamina): it sends the fallback text through `OnUpdate` and `false` through `OnCounting`, and nothing through `OnRemaining`. It reads the session from the scene's `Gs2HolderRuntimeContextProvider` (or the provider given to its `SetRuntimeProvider`) and warns once when there is none, counting on UTC alone. Any other property type leaves the item out with a warning. |
|
|
1177
|
+
| `UiItem.templateLabel(className, template, sources, options?)` | `template` with `{key}` placeholders, or text per locale such as `{ ja: "残り {count} 個", en: "{count} left" }` ([Localized templates](#localized-templates)); `sources` maps each key to a source. Every placeholder needs exactly one source and every source a placeholder. `options.fallbackText`: the text sent while no row is loaded. | Sends `template` with each `{key}` replaced by its value through `OnUpdate` (`UnityEvent<string>`). A `PT.localizedString` source is replaced by the translation for the player's locale, and the text is sent again when the locale changes ([Localized text](#localized-text)). A template per locale is the one for the player's locale; without placeholders it is fixed text, such as a heading or a button caption, sent without waiting for a row. |
|
|
1143
1178
|
| `UiItem.image(className, source, imageMode, options?)` | `imageMode`: `"spriteResourcePath"`, `"addressableKey"`, `"url"` or `"assetReference"`. `options.fallback`: the reference used while the property has no value. | Calls `partial void ApplyImage(Image target, string reference)`, which the game implements in its own part of the class to load the image; `ImageMode` names the mode. The generated code loads nothing. |
|
|
1144
|
-
| `UiItem.gauge(className, current, max, options?)` | Numeric sources. `options.min` accepts the same sources as `max` and defaults to 0; `options.clamp` (default `true`) keeps the fill between 0 and 1. | Sets `fillAmount` of its target `Image` to `(current - min) / (max - min)`, or 0 when that range is not positive. A non-numeric source leaves the item out with a warning. |
|
|
1179
|
+
| `UiItem.gauge(className, current, max, options?)` | Numeric sources. `options.min` accepts the same sources as `max` and defaults to 0; `options.clamp` (default `true`) keeps the fill between 0 and 1. | Sets `fillAmount` of its target `Image` to `(current - min) / (max - min)`, or 0 when that range is not positive, and warns once when that `Image` is not of Image Type Filled or has no sprite, which show no fill. A non-numeric source leaves the item out with a warning. |
|
|
1145
1180
|
| `UiItem.buttonAction(className, methodName, args?, options?)` | `methodName`: a delegated action of the target. `args` binds by name the parameters the action's generated method takes from its caller (for a dependency's action, its surface's `parameters`; see [Dependencies](#dependencies)); the sources are read when the button is clicked. | Calls the method for the row when its `Button` is clicked and ignores clicks while a call runs; then raises `OnCompleted`, or `OnFailed` on a GS2 error. It never disables the button: add an `interactable` item for that. |
|
|
1146
1181
|
| `UiItem.activeToggle(className, condition, options?)` | A `UiCond` condition. | Activates the GameObjects in `_activeWhenTrue` and deactivates those in `_activeWhenFalse` while the condition holds, and the reverse while it does not. List siblings or children, never the component's own GameObject or an ancestor of it (see above). |
|
|
1147
1182
|
| `UiItem.interactable(className, condition, options?)` | A `UiCond` condition. | Sets `interactable` of the `Selectable`s (such as a `Button`) in `_interactableWhenTrue` to the condition and of those in `_interactableWhenFalse` to its negation. |
|
|
@@ -1178,6 +1213,16 @@ defineUiComponent(Item, {
|
|
|
1178
1213
|
message: UiSource.prop("giftMessage"),
|
|
1179
1214
|
}),
|
|
1180
1215
|
UiItem.activeToggle("NameToggle", UiCond.truthy(UiSource.prop("displayName"))),
|
|
1216
|
+
UiItem.templateLabel(
|
|
1217
|
+
"CountLabel",
|
|
1218
|
+
{ ja: "残り {count} 個", en: "{count} left" },
|
|
1219
|
+
{ count: UiSource.prop("count") }
|
|
1220
|
+
),
|
|
1221
|
+
UiItem.templateLabel(
|
|
1222
|
+
"HeadingLabel",
|
|
1223
|
+
{ ja: "ギフトショップ", en: "Gift shop", "zh-Hant": "禮品店" },
|
|
1224
|
+
{}
|
|
1225
|
+
),
|
|
1181
1226
|
UiItem.value("GiftCountValue", UiSource.prop("count")),
|
|
1182
1227
|
],
|
|
1183
1228
|
}),
|
|
@@ -1796,6 +1841,8 @@ that resolves to nothing (`unresolvedPropertySlot`, `uiComponentUnknownProperty`
|
|
|
1796
1841
|
| `uiComponentForeignRowSourceTypeUnknown`, `uiComponentForeignRowPropertyUnknown`, `uiComponentForeignRowIdInvalid`, `uiComponentForeignRowSingleEntryIdMismatch` | A `UiSource.rowProp` on an unknown type or property, with a row id that is not letters, digits, `_`, `.` and `-`, or, on a single-entry type, with another row id than `expectedId`. |
|
|
1797
1842
|
| `uiComponentConditionTooDeep` | A UI condition nested deeper than `maxDepth`. |
|
|
1798
1843
|
| `uiComponentTemplateLabelKeyMismatch` | A `templateLabel` placeholder without a source, a source without a placeholder, or a key given twice (`direction`). |
|
|
1844
|
+
| `uiComponentTemplateLabelLocaleInvalid` | A template per locale with no locale, a tag that is no BCP 47 locale, one locale twice, or empty text (`issue.kind`). |
|
|
1845
|
+
| `uiComponentTemplateLabelLocalePlaceholderMissing` | `locale`'s template leaves out `{key}`, which another locale's template uses. |
|
|
1799
1846
|
| `unsafeCodeTemplateOutputFileName` | A code template output name that cannot be written as a file. |
|
|
1800
1847
|
|
|
1801
1848
|
## Exported types
|
package/index.d.ts
CHANGED
|
@@ -460,7 +460,147 @@ type InlineListNames<T> = T extends {
|
|
|
460
460
|
undefined
|
|
461
461
|
] ? never : keyof NonNullable<L> & string : never;
|
|
462
462
|
export declare function dependencyPackage<S extends DependencySurface>(surface: S): DependencyPackage<S>;
|
|
463
|
+
declare const PRIMITIVE_TYPES: {
|
|
464
|
+
readonly kinds: readonly ("string" | "int32" | "int64" | "float32" | "float64" | "bool" | "timestamp")[];
|
|
465
|
+
has(value: unknown): value is "string" | "int32" | "int64" | "float32" | "float64" | "bool" | "timestamp";
|
|
466
|
+
};
|
|
467
|
+
type PrimitiveTypeKind = (typeof PRIMITIVE_TYPES.kinds)[number];
|
|
468
|
+
declare const COMPARISON_OPS: {
|
|
469
|
+
readonly kinds: readonly ("eq" | "neq" | "gt" | "gte" | "lt" | "lte")[];
|
|
470
|
+
has(value: unknown): value is "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
471
|
+
};
|
|
472
|
+
type ComparisonOp = (typeof COMPARISON_OPS.kinds)[number];
|
|
473
|
+
type EqualityComparisonOp = Extract<ComparisonOp, "eq" | "neq">;
|
|
474
|
+
type OrderingComparisonOp = Exclude<ComparisonOp, EqualityComparisonOp>;
|
|
475
|
+
interface AndCondition<TCondition> {
|
|
476
|
+
readonly kind: "and";
|
|
477
|
+
readonly children: readonly TCondition[];
|
|
478
|
+
}
|
|
479
|
+
interface OrCondition<TCondition> {
|
|
480
|
+
readonly kind: "or";
|
|
481
|
+
readonly children: readonly TCondition[];
|
|
482
|
+
}
|
|
483
|
+
interface NotCondition<TCondition> {
|
|
484
|
+
readonly kind: "not";
|
|
485
|
+
readonly child: TCondition;
|
|
486
|
+
}
|
|
487
|
+
type ConditionPropertyName = string;
|
|
488
|
+
type RequirementCondition = {
|
|
489
|
+
readonly kind: EqualityComparisonOp;
|
|
490
|
+
readonly propertyName: ConditionPropertyName;
|
|
491
|
+
readonly value: string | number | boolean;
|
|
492
|
+
} | {
|
|
493
|
+
readonly kind: OrderingComparisonOp;
|
|
494
|
+
readonly propertyName: ConditionPropertyName;
|
|
495
|
+
readonly value: number;
|
|
496
|
+
} | {
|
|
497
|
+
readonly kind: "isSet" | "isNotSet";
|
|
498
|
+
readonly propertyName: ConditionPropertyName;
|
|
499
|
+
} | AndCondition<RequirementCondition> | OrCondition<RequirementCondition> | NotCondition<RequirementCondition>;
|
|
500
|
+
declare const BINDING_HINT_KINDS: {
|
|
501
|
+
readonly kinds: readonly ("none" | "masterData" | "userData" | "assetDelivery")[];
|
|
502
|
+
has(value: unknown): value is "none" | "masterData" | "userData" | "assetDelivery";
|
|
503
|
+
};
|
|
504
|
+
type BindingHintKind = (typeof BINDING_HINT_KINDS.kinds)[number];
|
|
505
|
+
/** An instance value of `PT.localizedString`: non-empty text per locale, such as `{ ja: "森の巡回", en: "Forest Patrol" }`. */
|
|
506
|
+
export type LocalizedStringValue = {
|
|
507
|
+
readonly [locale: string]: string;
|
|
508
|
+
};
|
|
509
|
+
type PrimitivePropertyTypeNode = {
|
|
510
|
+
readonly kind: "primitive";
|
|
511
|
+
readonly primitiveType: PrimitiveTypeKind;
|
|
512
|
+
};
|
|
513
|
+
type LocalizedStringPropertyTypeNode = {
|
|
514
|
+
readonly kind: "localizedString";
|
|
515
|
+
};
|
|
516
|
+
type EnumPropertyTypeNode = {
|
|
517
|
+
readonly kind: "enum";
|
|
518
|
+
readonly values: readonly string[];
|
|
519
|
+
};
|
|
520
|
+
type RefPropertyTypeNode = {
|
|
521
|
+
readonly kind: "ref";
|
|
522
|
+
readonly target: LazyDomainTypeTarget;
|
|
523
|
+
};
|
|
524
|
+
type InlinePropertyTypeNode = {
|
|
525
|
+
readonly kind: "inline";
|
|
526
|
+
readonly target: LazyDomainTypeTarget;
|
|
527
|
+
};
|
|
528
|
+
type InlineElementTypeNode = {
|
|
529
|
+
readonly kind: "inlineElement";
|
|
530
|
+
readonly schema: InlineElementDef;
|
|
531
|
+
};
|
|
532
|
+
type VerifyActionPropertyTypeNode = {
|
|
533
|
+
readonly kind: "verifyAction";
|
|
534
|
+
};
|
|
535
|
+
type ConsumeActionPropertyTypeNode = {
|
|
536
|
+
readonly kind: "consumeAction";
|
|
537
|
+
};
|
|
538
|
+
type AcquireActionPropertyTypeNode = {
|
|
539
|
+
readonly kind: "acquireAction";
|
|
540
|
+
};
|
|
541
|
+
type PropertyElementTypeNode = PrimitivePropertyTypeNode | EnumPropertyTypeNode | RefPropertyTypeNode | InlinePropertyTypeNode | VerifyActionPropertyTypeNode | ConsumeActionPropertyTypeNode | AcquireActionPropertyTypeNode;
|
|
542
|
+
type ListPropertyTypeNode<TElement extends PropertyElementTypeNode | InlineElementTypeNode = PropertyElementTypeNode | InlineElementTypeNode> = {
|
|
543
|
+
readonly kind: "list";
|
|
544
|
+
readonly elementType: TElement;
|
|
545
|
+
};
|
|
546
|
+
type PropertyTypeNode = PropertyElementTypeNode | LocalizedStringPropertyTypeNode | ListPropertyTypeNode;
|
|
547
|
+
type PropertyValueOf<T> = T extends PropertySpec<infer TValue, boolean, PropertyTypeNode> ? TValue : FileDomainPropertyValueDto;
|
|
548
|
+
type IsRequiredProperty<T> = T extends PropertySpec<FileDomainPropertyValueDto, true, PropertyTypeNode, true> ? false : T extends PropertySpec<FileDomainPropertyValueDto, true, PropertyTypeNode> ? true : false;
|
|
549
|
+
interface PropertySpec<TValue extends FileDomainPropertyValueDto = FileDomainPropertyValueDto, TRequired extends boolean = boolean, TNode extends PropertyTypeNode = PropertyTypeNode, TUserData extends boolean = boolean> {
|
|
550
|
+
readonly __brand: "PropertySpec";
|
|
551
|
+
readonly __value?: TValue;
|
|
552
|
+
readonly __required?: TRequired;
|
|
553
|
+
readonly __userData?: TUserData;
|
|
554
|
+
readonly type: TNode;
|
|
555
|
+
readonly requirement: FileRequirementDto;
|
|
556
|
+
readonly bindingHint?: BindingHintKind;
|
|
557
|
+
readonly localizedDisplay?: LocalizedDisplaySnapshotDto;
|
|
558
|
+
localizedDisplayOf(display: LocalizedDisplaySnapshotDto): PropertySpec<TValue, TRequired, TNode, TUserData>;
|
|
559
|
+
display(display: LocalizedDisplaySnapshotDto): PropertySpec<TValue, TRequired, TNode, TUserData>;
|
|
560
|
+
required(): PropertySpec<TValue, true, TNode, TUserData>;
|
|
561
|
+
requiredWhen(condition: RequirementCondition, requiredWhenMet?: boolean): PropertySpec<TValue, false, TNode, TUserData>;
|
|
562
|
+
optionalWhen(condition: RequirementCondition): PropertySpec<TValue, false, TNode, TUserData>;
|
|
563
|
+
masterData(): PropertySpec<TValue, TRequired, TNode, false>;
|
|
564
|
+
userData(): PropertySpec<TValue, TRequired, TNode, true>;
|
|
565
|
+
assetDelivery(): PropertySpec<TValue, TRequired, TNode, false>;
|
|
566
|
+
}
|
|
567
|
+
type InlineElementSpec = InlineElementTypeNode;
|
|
568
|
+
export declare const PT: {
|
|
569
|
+
readonly string: () => PropertySpec<string, false, PrimitivePropertyTypeNode, false>;
|
|
570
|
+
readonly int32: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
571
|
+
readonly int64: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
572
|
+
readonly float32: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
573
|
+
readonly float64: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
574
|
+
readonly bool: () => PropertySpec<boolean, false, PrimitivePropertyTypeNode, false>;
|
|
575
|
+
readonly timestamp: () => PropertySpec<string, false, PrimitivePropertyTypeNode, false>;
|
|
576
|
+
/** Text per locale, delivered to the client as an asset: only `.assetDelivery()` is accepted. */
|
|
577
|
+
readonly localizedString: () => PropertySpec<LocalizedStringValue, false, LocalizedStringPropertyTypeNode, false>;
|
|
578
|
+
readonly enum: <T extends string>(...values: readonly T[]) => PropertySpec<T, false, EnumPropertyTypeNode, false>;
|
|
579
|
+
readonly ref: (target: LazyDomainTypeTarget) => PropertySpec<string, false, RefPropertyTypeNode, false>;
|
|
580
|
+
readonly inline: (target: LazyDomainTypeTarget) => PropertySpec<FileDomainPropertyValueDto, false, InlinePropertyTypeNode, false>;
|
|
581
|
+
readonly inlineElement: (schema: InlineElementDef) => InlineElementSpec;
|
|
582
|
+
readonly listOf: <TElement extends PropertySpec<FileDomainPropertyValueDto, boolean, PropertyElementTypeNode> | InlineElementSpec>(element: TElement) => PropertySpec<FileDomainPropertyValueDto, false, ListPropertyTypeNode, false>;
|
|
583
|
+
readonly verifyAction: () => PropertySpec<FileDomainPropertyValueDto, false, VerifyActionPropertyTypeNode, false>;
|
|
584
|
+
readonly consumeAction: () => PropertySpec<FileDomainPropertyValueDto, false, ConsumeActionPropertyTypeNode, false>;
|
|
585
|
+
readonly acquireAction: () => PropertySpec<FileDomainPropertyValueDto, false, AcquireActionPropertyTypeNode, false>;
|
|
586
|
+
};
|
|
587
|
+
type ConditionScalar = string | number | boolean;
|
|
588
|
+
/** The signatures refuse the shapes the stored-condition parser rejects: a non-scalar comparison value and an empty junction. */
|
|
589
|
+
export declare const Cond: {
|
|
590
|
+
readonly eq: (propertyName: string, value: ConditionScalar) => RequirementCondition;
|
|
591
|
+
readonly neq: (propertyName: string, value: ConditionScalar) => RequirementCondition;
|
|
592
|
+
readonly isSet: (propertyName: string) => RequirementCondition;
|
|
593
|
+
readonly isNotSet: (propertyName: string) => RequirementCondition;
|
|
594
|
+
readonly not: (condition: RequirementCondition) => RequirementCondition;
|
|
595
|
+
readonly and: (conditions_0: RequirementCondition, ...conditions: RequirementCondition[]) => RequirementCondition;
|
|
596
|
+
readonly or: (conditions_0: RequirementCondition, ...conditions: RequirementCondition[]) => RequirementCondition;
|
|
597
|
+
readonly gt: (propertyName: string, value: number) => RequirementCondition;
|
|
598
|
+
readonly lt: (propertyName: string, value: number) => RequirementCondition;
|
|
599
|
+
readonly gte: (propertyName: string, value: number) => RequirementCondition;
|
|
600
|
+
readonly lte: (propertyName: string, value: number) => RequirementCondition;
|
|
601
|
+
};
|
|
463
602
|
type UiLiteralValue = string | number | boolean | null;
|
|
603
|
+
type UiTemplateText = string | LocalizedStringValue;
|
|
464
604
|
type UiImageMode = UiImageModeSnapshotDto;
|
|
465
605
|
type UiTableBandEdge = "lower" | "upper";
|
|
466
606
|
/**
|
|
@@ -573,7 +713,7 @@ export type UiItemSpec<TName extends string = string> = ({
|
|
|
573
713
|
} & UiItemOptions) | ({
|
|
574
714
|
readonly kind: "templateLabel";
|
|
575
715
|
readonly componentClassName: string;
|
|
576
|
-
readonly template:
|
|
716
|
+
readonly template: UiTemplateText;
|
|
577
717
|
readonly sources: Readonly<Record<string, UiValueSourceSpec<TName>>>;
|
|
578
718
|
readonly fallbackText?: string;
|
|
579
719
|
} & UiItemOptions);
|
|
@@ -623,7 +763,7 @@ export declare const UiItem: {
|
|
|
623
763
|
readonly buttonAction: <TName extends string = never>(componentClassName: string, methodName: string, args?: NoInfer<Readonly<Record<string, UiValueSourceSpec<TName>>>>, options?: UiItemOptions) => UiItemSpec<TName>;
|
|
624
764
|
readonly activeToggle: <TName extends string = never>(componentClassName: string, condition: NoInfer<UiConditionSpec<TName>>, options?: UiItemOptions) => UiItemSpec<TName>;
|
|
625
765
|
readonly interactable: <TName extends string = never>(componentClassName: string, condition: NoInfer<UiConditionSpec<TName>>, options?: UiItemOptions) => UiItemSpec<TName>;
|
|
626
|
-
readonly templateLabel: <TName extends string = never>(componentClassName: string, template:
|
|
766
|
+
readonly templateLabel: <TName extends string = never>(componentClassName: string, template: UiTemplateText, sources: NoInfer<Readonly<Record<string, UiValueSourceSpec<TName>>>>, options?: UiItemOptions & {
|
|
627
767
|
readonly fallbackText?: string;
|
|
628
768
|
}) => UiItemSpec<TName>;
|
|
629
769
|
};
|
|
@@ -5715,145 +5855,6 @@ interface ModelRef<S extends Gs2ServiceName = Gs2ServiceName, M extends ModelNam
|
|
|
5715
5855
|
readonly service: S;
|
|
5716
5856
|
readonly modelName: M;
|
|
5717
5857
|
}
|
|
5718
|
-
declare const PRIMITIVE_TYPES: {
|
|
5719
|
-
readonly kinds: readonly ("string" | "int32" | "int64" | "float32" | "float64" | "bool" | "timestamp")[];
|
|
5720
|
-
has(value: unknown): value is "string" | "int32" | "int64" | "float32" | "float64" | "bool" | "timestamp";
|
|
5721
|
-
};
|
|
5722
|
-
type PrimitiveTypeKind = (typeof PRIMITIVE_TYPES.kinds)[number];
|
|
5723
|
-
declare const COMPARISON_OPS: {
|
|
5724
|
-
readonly kinds: readonly ("eq" | "neq" | "gt" | "gte" | "lt" | "lte")[];
|
|
5725
|
-
has(value: unknown): value is "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
5726
|
-
};
|
|
5727
|
-
type ComparisonOp = (typeof COMPARISON_OPS.kinds)[number];
|
|
5728
|
-
type EqualityComparisonOp = Extract<ComparisonOp, "eq" | "neq">;
|
|
5729
|
-
type OrderingComparisonOp = Exclude<ComparisonOp, EqualityComparisonOp>;
|
|
5730
|
-
interface AndCondition<TCondition> {
|
|
5731
|
-
readonly kind: "and";
|
|
5732
|
-
readonly children: readonly TCondition[];
|
|
5733
|
-
}
|
|
5734
|
-
interface OrCondition<TCondition> {
|
|
5735
|
-
readonly kind: "or";
|
|
5736
|
-
readonly children: readonly TCondition[];
|
|
5737
|
-
}
|
|
5738
|
-
interface NotCondition<TCondition> {
|
|
5739
|
-
readonly kind: "not";
|
|
5740
|
-
readonly child: TCondition;
|
|
5741
|
-
}
|
|
5742
|
-
type ConditionPropertyName = string;
|
|
5743
|
-
type RequirementCondition = {
|
|
5744
|
-
readonly kind: EqualityComparisonOp;
|
|
5745
|
-
readonly propertyName: ConditionPropertyName;
|
|
5746
|
-
readonly value: string | number | boolean;
|
|
5747
|
-
} | {
|
|
5748
|
-
readonly kind: OrderingComparisonOp;
|
|
5749
|
-
readonly propertyName: ConditionPropertyName;
|
|
5750
|
-
readonly value: number;
|
|
5751
|
-
} | {
|
|
5752
|
-
readonly kind: "isSet" | "isNotSet";
|
|
5753
|
-
readonly propertyName: ConditionPropertyName;
|
|
5754
|
-
} | AndCondition<RequirementCondition> | OrCondition<RequirementCondition> | NotCondition<RequirementCondition>;
|
|
5755
|
-
declare const BINDING_HINT_KINDS: {
|
|
5756
|
-
readonly kinds: readonly ("none" | "masterData" | "userData" | "assetDelivery")[];
|
|
5757
|
-
has(value: unknown): value is "none" | "masterData" | "userData" | "assetDelivery";
|
|
5758
|
-
};
|
|
5759
|
-
type BindingHintKind = (typeof BINDING_HINT_KINDS.kinds)[number];
|
|
5760
|
-
/** An instance value of `PT.localizedString`: non-empty text per locale, such as `{ ja: "森の巡回", en: "Forest Patrol" }`. */
|
|
5761
|
-
export type LocalizedStringValue = {
|
|
5762
|
-
readonly [locale: string]: string;
|
|
5763
|
-
};
|
|
5764
|
-
type PrimitivePropertyTypeNode = {
|
|
5765
|
-
readonly kind: "primitive";
|
|
5766
|
-
readonly primitiveType: PrimitiveTypeKind;
|
|
5767
|
-
};
|
|
5768
|
-
type LocalizedStringPropertyTypeNode = {
|
|
5769
|
-
readonly kind: "localizedString";
|
|
5770
|
-
};
|
|
5771
|
-
type EnumPropertyTypeNode = {
|
|
5772
|
-
readonly kind: "enum";
|
|
5773
|
-
readonly values: readonly string[];
|
|
5774
|
-
};
|
|
5775
|
-
type RefPropertyTypeNode = {
|
|
5776
|
-
readonly kind: "ref";
|
|
5777
|
-
readonly target: LazyDomainTypeTarget;
|
|
5778
|
-
};
|
|
5779
|
-
type InlinePropertyTypeNode = {
|
|
5780
|
-
readonly kind: "inline";
|
|
5781
|
-
readonly target: LazyDomainTypeTarget;
|
|
5782
|
-
};
|
|
5783
|
-
type InlineElementTypeNode = {
|
|
5784
|
-
readonly kind: "inlineElement";
|
|
5785
|
-
readonly schema: InlineElementDef;
|
|
5786
|
-
};
|
|
5787
|
-
type VerifyActionPropertyTypeNode = {
|
|
5788
|
-
readonly kind: "verifyAction";
|
|
5789
|
-
};
|
|
5790
|
-
type ConsumeActionPropertyTypeNode = {
|
|
5791
|
-
readonly kind: "consumeAction";
|
|
5792
|
-
};
|
|
5793
|
-
type AcquireActionPropertyTypeNode = {
|
|
5794
|
-
readonly kind: "acquireAction";
|
|
5795
|
-
};
|
|
5796
|
-
type PropertyElementTypeNode = PrimitivePropertyTypeNode | EnumPropertyTypeNode | RefPropertyTypeNode | InlinePropertyTypeNode | VerifyActionPropertyTypeNode | ConsumeActionPropertyTypeNode | AcquireActionPropertyTypeNode;
|
|
5797
|
-
type ListPropertyTypeNode<TElement extends PropertyElementTypeNode | InlineElementTypeNode = PropertyElementTypeNode | InlineElementTypeNode> = {
|
|
5798
|
-
readonly kind: "list";
|
|
5799
|
-
readonly elementType: TElement;
|
|
5800
|
-
};
|
|
5801
|
-
type PropertyTypeNode = PropertyElementTypeNode | LocalizedStringPropertyTypeNode | ListPropertyTypeNode;
|
|
5802
|
-
type PropertyValueOf<T> = T extends PropertySpec<infer TValue, boolean, PropertyTypeNode> ? TValue : FileDomainPropertyValueDto;
|
|
5803
|
-
type IsRequiredProperty<T> = T extends PropertySpec<FileDomainPropertyValueDto, true, PropertyTypeNode, true> ? false : T extends PropertySpec<FileDomainPropertyValueDto, true, PropertyTypeNode> ? true : false;
|
|
5804
|
-
interface PropertySpec<TValue extends FileDomainPropertyValueDto = FileDomainPropertyValueDto, TRequired extends boolean = boolean, TNode extends PropertyTypeNode = PropertyTypeNode, TUserData extends boolean = boolean> {
|
|
5805
|
-
readonly __brand: "PropertySpec";
|
|
5806
|
-
readonly __value?: TValue;
|
|
5807
|
-
readonly __required?: TRequired;
|
|
5808
|
-
readonly __userData?: TUserData;
|
|
5809
|
-
readonly type: TNode;
|
|
5810
|
-
readonly requirement: FileRequirementDto;
|
|
5811
|
-
readonly bindingHint?: BindingHintKind;
|
|
5812
|
-
readonly localizedDisplay?: LocalizedDisplaySnapshotDto;
|
|
5813
|
-
localizedDisplayOf(display: LocalizedDisplaySnapshotDto): PropertySpec<TValue, TRequired, TNode, TUserData>;
|
|
5814
|
-
display(display: LocalizedDisplaySnapshotDto): PropertySpec<TValue, TRequired, TNode, TUserData>;
|
|
5815
|
-
required(): PropertySpec<TValue, true, TNode, TUserData>;
|
|
5816
|
-
requiredWhen(condition: RequirementCondition, requiredWhenMet?: boolean): PropertySpec<TValue, false, TNode, TUserData>;
|
|
5817
|
-
optionalWhen(condition: RequirementCondition): PropertySpec<TValue, false, TNode, TUserData>;
|
|
5818
|
-
masterData(): PropertySpec<TValue, TRequired, TNode, false>;
|
|
5819
|
-
userData(): PropertySpec<TValue, TRequired, TNode, true>;
|
|
5820
|
-
assetDelivery(): PropertySpec<TValue, TRequired, TNode, false>;
|
|
5821
|
-
}
|
|
5822
|
-
type InlineElementSpec = InlineElementTypeNode;
|
|
5823
|
-
export declare const PT: {
|
|
5824
|
-
readonly string: () => PropertySpec<string, false, PrimitivePropertyTypeNode, false>;
|
|
5825
|
-
readonly int32: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
5826
|
-
readonly int64: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
5827
|
-
readonly float32: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
5828
|
-
readonly float64: () => PropertySpec<number, false, PrimitivePropertyTypeNode, false>;
|
|
5829
|
-
readonly bool: () => PropertySpec<boolean, false, PrimitivePropertyTypeNode, false>;
|
|
5830
|
-
readonly timestamp: () => PropertySpec<string, false, PrimitivePropertyTypeNode, false>;
|
|
5831
|
-
/** Text per locale, delivered to the client as an asset: only `.assetDelivery()` is accepted. */
|
|
5832
|
-
readonly localizedString: () => PropertySpec<LocalizedStringValue, false, LocalizedStringPropertyTypeNode, false>;
|
|
5833
|
-
readonly enum: <T extends string>(...values: readonly T[]) => PropertySpec<T, false, EnumPropertyTypeNode, false>;
|
|
5834
|
-
readonly ref: (target: LazyDomainTypeTarget) => PropertySpec<string, false, RefPropertyTypeNode, false>;
|
|
5835
|
-
readonly inline: (target: LazyDomainTypeTarget) => PropertySpec<FileDomainPropertyValueDto, false, InlinePropertyTypeNode, false>;
|
|
5836
|
-
readonly inlineElement: (schema: InlineElementDef) => InlineElementSpec;
|
|
5837
|
-
readonly listOf: <TElement extends PropertySpec<FileDomainPropertyValueDto, boolean, PropertyElementTypeNode> | InlineElementSpec>(element: TElement) => PropertySpec<FileDomainPropertyValueDto, false, ListPropertyTypeNode, false>;
|
|
5838
|
-
readonly verifyAction: () => PropertySpec<FileDomainPropertyValueDto, false, VerifyActionPropertyTypeNode, false>;
|
|
5839
|
-
readonly consumeAction: () => PropertySpec<FileDomainPropertyValueDto, false, ConsumeActionPropertyTypeNode, false>;
|
|
5840
|
-
readonly acquireAction: () => PropertySpec<FileDomainPropertyValueDto, false, AcquireActionPropertyTypeNode, false>;
|
|
5841
|
-
};
|
|
5842
|
-
type ConditionScalar = string | number | boolean;
|
|
5843
|
-
/** The signatures refuse the shapes the stored-condition parser rejects: a non-scalar comparison value and an empty junction. */
|
|
5844
|
-
export declare const Cond: {
|
|
5845
|
-
readonly eq: (propertyName: string, value: ConditionScalar) => RequirementCondition;
|
|
5846
|
-
readonly neq: (propertyName: string, value: ConditionScalar) => RequirementCondition;
|
|
5847
|
-
readonly isSet: (propertyName: string) => RequirementCondition;
|
|
5848
|
-
readonly isNotSet: (propertyName: string) => RequirementCondition;
|
|
5849
|
-
readonly not: (condition: RequirementCondition) => RequirementCondition;
|
|
5850
|
-
readonly and: (conditions_0: RequirementCondition, ...conditions: RequirementCondition[]) => RequirementCondition;
|
|
5851
|
-
readonly or: (conditions_0: RequirementCondition, ...conditions: RequirementCondition[]) => RequirementCondition;
|
|
5852
|
-
readonly gt: (propertyName: string, value: number) => RequirementCondition;
|
|
5853
|
-
readonly lt: (propertyName: string, value: number) => RequirementCondition;
|
|
5854
|
-
readonly gte: (propertyName: string, value: number) => RequirementCondition;
|
|
5855
|
-
readonly lte: (propertyName: string, value: number) => RequirementCondition;
|
|
5856
|
-
};
|
|
5857
5858
|
interface CodeTemplateSnapshotDto {
|
|
5858
5859
|
readonly outputFileName: string;
|
|
5859
5860
|
readonly templateSource: string;
|