narrat 3.8.0 → 3.8.2

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.
@@ -271,6 +271,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
271
271
  description: string;
272
272
  }> | undefined;
273
273
  } | undefined;
274
+ macros?: {
275
+ macros: {
276
+ options?: {
277
+ optional?: boolean | undefined;
278
+ type: string;
279
+ name: string;
280
+ }[] | undefined;
281
+ label: string;
282
+ keyword: string;
283
+ }[];
284
+ } | {
285
+ code: any;
286
+ fileName: string;
287
+ id: string;
288
+ type: "yaml";
289
+ } | undefined;
274
290
  scripts?: string | string[] | {
275
291
  code: any;
276
292
  fileName: string;
@@ -301,6 +317,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
301
317
  soundPerLetter?: {
302
318
  prefix?: string | undefined;
303
319
  suffix?: string | undefined;
320
+ volume?: number | undefined;
304
321
  } | undefined;
305
322
  } | undefined;
306
323
  characterAudio?: Record<string, {
@@ -308,6 +325,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
308
325
  soundPerLetter?: {
309
326
  prefix?: string | undefined;
310
327
  suffix?: string | undefined;
328
+ volume?: number | undefined;
311
329
  } | undefined;
312
330
  }> | undefined;
313
331
  } | undefined;
@@ -901,6 +919,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
901
919
  description: string;
902
920
  }> | undefined;
903
921
  } | undefined;
922
+ macros?: {
923
+ macros: {
924
+ options?: {
925
+ optional?: boolean | undefined;
926
+ type: string;
927
+ name: string;
928
+ }[] | undefined;
929
+ label: string;
930
+ keyword: string;
931
+ }[];
932
+ } | {
933
+ code: any;
934
+ fileName: string;
935
+ id: string;
936
+ type: "yaml";
937
+ } | undefined;
904
938
  scripts?: string | string[] | {
905
939
  code: any;
906
940
  fileName: string;
@@ -931,6 +965,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
931
965
  soundPerLetter?: {
932
966
  prefix?: string | undefined;
933
967
  suffix?: string | undefined;
968
+ volume?: number | undefined;
934
969
  } | undefined;
935
970
  } | undefined;
936
971
  characterAudio?: Record<string, {
@@ -938,6 +973,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
938
973
  soundPerLetter?: {
939
974
  prefix?: string | undefined;
940
975
  suffix?: string | undefined;
976
+ volume?: number | undefined;
941
977
  } | undefined;
942
978
  }> | undefined;
943
979
  } | undefined;
@@ -1531,6 +1567,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1531
1567
  description: string;
1532
1568
  }> | undefined;
1533
1569
  } | undefined;
1570
+ macros?: {
1571
+ macros: {
1572
+ options?: {
1573
+ optional?: boolean | undefined;
1574
+ type: string;
1575
+ name: string;
1576
+ }[] | undefined;
1577
+ label: string;
1578
+ keyword: string;
1579
+ }[];
1580
+ } | {
1581
+ code: any;
1582
+ fileName: string;
1583
+ id: string;
1584
+ type: "yaml";
1585
+ } | undefined;
1534
1586
  scripts?: string | string[] | {
1535
1587
  code: any;
1536
1588
  fileName: string;
@@ -1561,6 +1613,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1561
1613
  soundPerLetter?: {
1562
1614
  prefix?: string | undefined;
1563
1615
  suffix?: string | undefined;
1616
+ volume?: number | undefined;
1564
1617
  } | undefined;
1565
1618
  } | undefined;
1566
1619
  characterAudio?: Record<string, {
@@ -1568,6 +1621,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1568
1621
  soundPerLetter?: {
1569
1622
  prefix?: string | undefined;
1570
1623
  suffix?: string | undefined;
1624
+ volume?: number | undefined;
1571
1625
  } | undefined;
1572
1626
  }> | undefined;
1573
1627
  } | undefined;
@@ -2161,6 +2215,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2161
2215
  description: string;
2162
2216
  }> | undefined;
2163
2217
  } | undefined;
2218
+ macros?: {
2219
+ macros: {
2220
+ options?: {
2221
+ optional?: boolean | undefined;
2222
+ type: string;
2223
+ name: string;
2224
+ }[] | undefined;
2225
+ label: string;
2226
+ keyword: string;
2227
+ }[];
2228
+ } | {
2229
+ code: any;
2230
+ fileName: string;
2231
+ id: string;
2232
+ type: "yaml";
2233
+ } | undefined;
2164
2234
  scripts?: string | string[] | {
2165
2235
  code: any;
2166
2236
  fileName: string;
@@ -2191,6 +2261,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2191
2261
  soundPerLetter?: {
2192
2262
  prefix?: string | undefined;
2193
2263
  suffix?: string | undefined;
2264
+ volume?: number | undefined;
2194
2265
  } | undefined;
2195
2266
  } | undefined;
2196
2267
  characterAudio?: Record<string, {
@@ -2198,6 +2269,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2198
2269
  soundPerLetter?: {
2199
2270
  prefix?: string | undefined;
2200
2271
  suffix?: string | undefined;
2272
+ volume?: number | undefined;
2201
2273
  } | undefined;
2202
2274
  }> | undefined;
2203
2275
  } | undefined;
@@ -232,6 +232,22 @@ export declare function getModifiableDataPinia(): {
232
232
  description: string;
233
233
  }> | undefined;
234
234
  } | undefined;
235
+ macros?: {
236
+ macros: {
237
+ options?: {
238
+ optional?: boolean | undefined;
239
+ type: string;
240
+ name: string;
241
+ }[] | undefined;
242
+ label: string;
243
+ keyword: string;
244
+ }[];
245
+ } | {
246
+ code: any;
247
+ fileName: string;
248
+ id: string;
249
+ type: "yaml";
250
+ } | undefined;
235
251
  scripts?: string | string[] | {
236
252
  code: any;
237
253
  fileName: string;
@@ -262,6 +278,7 @@ export declare function getModifiableDataPinia(): {
262
278
  soundPerLetter?: {
263
279
  prefix?: string | undefined;
264
280
  suffix?: string | undefined;
281
+ volume?: number | undefined;
265
282
  } | undefined;
266
283
  } | undefined;
267
284
  characterAudio?: Record<string, {
@@ -269,6 +286,7 @@ export declare function getModifiableDataPinia(): {
269
286
  soundPerLetter?: {
270
287
  prefix?: string | undefined;
271
288
  suffix?: string | undefined;
289
+ volume?: number | undefined;
272
290
  } | undefined;
273
291
  }> | undefined;
274
292
  } | undefined;
@@ -0,0 +1,3 @@
1
+ import { ArgTypes, CommandPlugin } from './commands/command-plugin';
2
+ export declare function createMacro(name: string, argTypes: ArgTypes, label: string): void;
3
+ export declare const createMacroCommand: CommandPlugin<any, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "3.8.0",
3
+ "version": "3.8.2",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",