narraleaf-studio 1.4.2 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/_api.d.ts +71 -33
  2. package/package.json +1 -1
package/dist/_api.d.ts CHANGED
@@ -2677,6 +2677,8 @@ declare const en: {
2677
2677
  readonly sceneSpeaker: "Scene";
2678
2678
  readonly endingsGroup: "Endings";
2679
2679
  readonly endingSpeaker: "Ending";
2680
+ readonly renamesGroup: "Renames";
2681
+ readonly renameSpeaker: "Rename";
2680
2682
  readonly addKey: "Add";
2681
2683
  readonly keyNamePlaceholder: "Key (menu.start\u2026)";
2682
2684
  readonly keySourcePlaceholder: "Source text";
@@ -4801,6 +4803,7 @@ declare const en: {
4801
4803
  readonly title: "Live Preview";
4802
4804
  readonly dock: "Dock in the scene editor";
4803
4805
  readonly pip: "Picture-in-picture";
4806
+ readonly skipTyping: "Skip typing animation";
4804
4807
  readonly selectRow: "Select a story row to preview its stage state.";
4805
4808
  readonly failed: "Preview failed";
4806
4809
  readonly settleTimeout: "The stage did not finish setting up in time.";
@@ -6799,6 +6802,34 @@ declare const en: {
6799
6802
  readonly language: "Language";
6800
6803
  readonly voiceLanguage: "Voice language";
6801
6804
  };
6805
+ readonly valueType: {
6806
+ readonly inline: "{id}";
6807
+ readonly string: "String";
6808
+ readonly integer: "Integer";
6809
+ readonly float: "Float";
6810
+ readonly number: "Number";
6811
+ readonly boolean: "Boolean";
6812
+ readonly json: "JSON";
6813
+ readonly array: "Array";
6814
+ readonly list: "List";
6815
+ readonly any: "Any";
6816
+ readonly text: "Text";
6817
+ readonly audioTrack: "Audio track";
6818
+ readonly image: "Image";
6819
+ readonly imageAsset: "ImageAsset";
6820
+ readonly imageAssetOrNull: "ImageAsset|null";
6821
+ readonly color: "Color";
6822
+ readonly rgbaColor: "RGBAColor";
6823
+ readonly vector2D: "Vector2D";
6824
+ readonly rect: "Rect";
6825
+ readonly timer: "Timer";
6826
+ readonly animationToken: "AnimationToken";
6827
+ readonly soundHandle: "SoundHandle";
6828
+ readonly responseBody: "ResponseBody";
6829
+ readonly saveSlot: "SaveSlot";
6830
+ readonly element: "Element";
6831
+ readonly elementOf: "{widget} element";
6832
+ };
6802
6833
  readonly diagnostics: {
6803
6834
  readonly empty: "No diagnostics.";
6804
6835
  readonly summary: "Messages \u00B7 {errors}E \u00B7 {warnings}W \u00B7 {infos}I";
@@ -7116,6 +7147,10 @@ declare const en: {
7116
7147
  readonly rawJson: "Raw JSON";
7117
7148
  readonly root: "Root";
7118
7149
  readonly edit: "Edit JSON";
7150
+ readonly itemCount: {
7151
+ readonly one: "{count} item";
7152
+ readonly other: "{count} items";
7153
+ };
7119
7154
  };
7120
7155
  readonly audio: {
7121
7156
  readonly select: "Select audio";
@@ -8656,9 +8691,6 @@ declare const en: {
8656
8691
  readonly namePlaceholder: "Name";
8657
8692
  readonly defaultPlaceholder: "Default";
8658
8693
  readonly type: "Type";
8659
- readonly typeString: "String";
8660
- readonly typeText: "Text";
8661
- readonly typeAudioTrack: "Audio track";
8662
8694
  readonly trackMissing: "Missing track";
8663
8695
  readonly trackNone: "No track";
8664
8696
  readonly bindLabel: "Parameter";
@@ -8679,12 +8711,6 @@ declare const en: {
8679
8711
  readonly namePlaceholder: "Name";
8680
8712
  readonly default: "Default";
8681
8713
  readonly type: "Type";
8682
- readonly typeString: "String";
8683
- readonly typeText: "Text";
8684
- readonly typeNumber: "Number";
8685
- readonly typeBoolean: "Boolean";
8686
- readonly typeList: "List";
8687
- readonly typeJson: "JSON";
8688
8714
  };
8689
8715
  readonly binding: {
8690
8716
  readonly notReady: "Blueprint not ready for this control.";
@@ -9066,14 +9092,6 @@ declare const en: {
9066
9092
  readonly saveSchema: {
9067
9093
  readonly title: "Save fields";
9068
9094
  readonly open: "Save fields";
9069
- readonly type: {
9070
- readonly string: "String";
9071
- readonly integer: "Integer";
9072
- readonly float: "Float";
9073
- readonly boolean: "Boolean";
9074
- readonly json: "JSON";
9075
- readonly array: "Array";
9076
- };
9077
9095
  readonly field: {
9078
9096
  readonly name: "Name";
9079
9097
  readonly type: "Type";
@@ -9085,14 +9103,6 @@ declare const en: {
9085
9103
  };
9086
9104
  };
9087
9105
  readonly struct: {
9088
- readonly type: {
9089
- readonly string: "String";
9090
- readonly number: "Number";
9091
- readonly boolean: "Boolean";
9092
- readonly image: "Image";
9093
- readonly color: "Color";
9094
- readonly json: "JSON";
9095
- };
9096
9106
  readonly field: {
9097
9107
  readonly name: "Name";
9098
9108
  readonly type: "Type";
@@ -9126,12 +9136,6 @@ declare const en: {
9126
9136
  };
9127
9137
  };
9128
9138
  readonly storyVars: {
9129
- readonly valueType: {
9130
- readonly boolean: "Boolean";
9131
- readonly number: "Number";
9132
- readonly string: "String";
9133
- readonly json: "JSON";
9134
- };
9135
9139
  readonly value: {
9136
9140
  readonly true: "True";
9137
9141
  readonly false: "False";
@@ -14332,15 +14336,27 @@ declare const en: {
14332
14336
  readonly checking: "Checking for updates\u2026";
14333
14337
  readonly available: "Version {version} is available.";
14334
14338
  readonly downloading: "Downloading version {version}\u2026";
14339
+ readonly preparing: "Preparing version {version}\u2026";
14335
14340
  readonly ready: "Version {version} is ready to install.";
14341
+ readonly readyFast: "Version {version} is ready.";
14336
14342
  readonly error: "Could not check for updates.";
14343
+ readonly failed: "Version {version} could not be downloaded.";
14337
14344
  readonly manual: "Version {version} is available to download.";
14338
14345
  };
14346
+ readonly errors: {
14347
+ readonly connection: "Could not reach the download server ({reason}).";
14348
+ };
14339
14349
  readonly versions: "Installed {current}";
14350
+ readonly readyHint: "Also applied when Studio quits.";
14351
+ readonly indicator: {
14352
+ readonly label: "Software update";
14353
+ };
14340
14354
  readonly actions: {
14341
14355
  readonly check: "Check for Updates";
14342
14356
  readonly download: "Download Update";
14343
14357
  readonly install: "Restart and Install";
14358
+ readonly restart: "Restart to Update";
14359
+ readonly cancel: "Cancel Update";
14344
14360
  readonly releaseNotes: "Release notes";
14345
14361
  readonly openDownloadPage: "Open download page";
14346
14362
  };
@@ -14351,17 +14367,33 @@ declare const en: {
14351
14367
  };
14352
14368
  readonly setting: {
14353
14369
  readonly checkOnLaunch: {
14354
- readonly label: "Check for updates at launch";
14355
- readonly description: "Asks GitHub once, shortly after Studio starts. Downloads never begin on their own.";
14370
+ readonly label: "Check for updates automatically";
14371
+ readonly description: "Asks for a newer version shortly after Studio starts, and every few hours while it runs.";
14372
+ };
14373
+ readonly autoDownload: {
14374
+ readonly label: "Download updates automatically";
14375
+ readonly description: "A new version is downloaded and prepared in the background. Restarting Studio applies it.";
14376
+ };
14377
+ readonly source: {
14378
+ readonly label: "Update download source";
14379
+ readonly description: "Where new versions are downloaded from. Automatic compares GitHub and GitCode and uses the faster one.";
14380
+ readonly options: {
14381
+ readonly auto: "Automatic";
14382
+ readonly gitcode: "GitCode (mainland China)";
14383
+ };
14356
14384
  };
14357
14385
  };
14358
14386
  readonly notification: {
14359
14387
  readonly message: "NarraLeaf Studio {version} is available";
14360
14388
  readonly detail: "You are running {current}.";
14361
14389
  readonly action: "View update";
14390
+ readonly readyMessage: "NarraLeaf Studio {version} is ready";
14391
+ readonly readyDetail: "Restart to finish updating.";
14362
14392
  };
14363
14393
  readonly launcher: {
14364
14394
  readonly available: "Update to {version}";
14395
+ readonly progress: "Updating to {version}\u2026";
14396
+ readonly ready: "Restart to update to {version}";
14365
14397
  };
14366
14398
  readonly quitPrompt: {
14367
14399
  readonly title: "Update in progress";
@@ -19041,6 +19073,12 @@ type BlueprintInspectorParamDef = {
19041
19073
  * dynamically provided options via `dynamicOptionsSource`.
19042
19074
  */
19043
19075
  options?: BlueprintInspectorParamSelectOption[];
19076
+ /**
19077
+ * For `kind: "select"`: the options' values are value types, so the card shows each by the type's
19078
+ * word (`formatBlueprintValueTypeLabel`) rather than by its `label`, which stays the English the
19079
+ * command line prints.
19080
+ */
19081
+ optionsAreValueTypes?: boolean;
19044
19082
  /**
19045
19083
  * For `kind: "select"` without static `options`: the flow projection
19046
19084
  * populates options from context data keyed by this source id.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narraleaf-studio",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "TypeScript declarations for the NarraLeaf Studio plugin API (narraleaf-studio/plugin and narraleaf-studio/runtime).",
5
5
  "license": "MPL-2.0",
6
6
  "type": "module",