narrat 3.8.1 → 3.8.3

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;
@@ -492,6 +508,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
492
508
  } | undefined;
493
509
  saves?: {
494
510
  runOnReload?: string | undefined;
511
+ disabled?: boolean | undefined;
495
512
  slots: number;
496
513
  mode: string;
497
514
  } | undefined;
@@ -903,6 +920,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
903
920
  description: string;
904
921
  }> | undefined;
905
922
  } | undefined;
923
+ macros?: {
924
+ macros: {
925
+ options?: {
926
+ optional?: boolean | undefined;
927
+ type: string;
928
+ name: string;
929
+ }[] | undefined;
930
+ label: string;
931
+ keyword: string;
932
+ }[];
933
+ } | {
934
+ code: any;
935
+ fileName: string;
936
+ id: string;
937
+ type: "yaml";
938
+ } | undefined;
906
939
  scripts?: string | string[] | {
907
940
  code: any;
908
941
  fileName: string;
@@ -1124,6 +1157,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1124
1157
  } | undefined;
1125
1158
  saves?: {
1126
1159
  runOnReload?: string | undefined;
1160
+ disabled?: boolean | undefined;
1127
1161
  slots: number;
1128
1162
  mode: string;
1129
1163
  } | undefined;
@@ -1535,6 +1569,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1535
1569
  description: string;
1536
1570
  }> | undefined;
1537
1571
  } | undefined;
1572
+ macros?: {
1573
+ macros: {
1574
+ options?: {
1575
+ optional?: boolean | undefined;
1576
+ type: string;
1577
+ name: string;
1578
+ }[] | undefined;
1579
+ label: string;
1580
+ keyword: string;
1581
+ }[];
1582
+ } | {
1583
+ code: any;
1584
+ fileName: string;
1585
+ id: string;
1586
+ type: "yaml";
1587
+ } | undefined;
1538
1588
  scripts?: string | string[] | {
1539
1589
  code: any;
1540
1590
  fileName: string;
@@ -1756,6 +1806,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1756
1806
  } | undefined;
1757
1807
  saves?: {
1758
1808
  runOnReload?: string | undefined;
1809
+ disabled?: boolean | undefined;
1759
1810
  slots: number;
1760
1811
  mode: string;
1761
1812
  } | undefined;
@@ -2167,6 +2218,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2167
2218
  description: string;
2168
2219
  }> | undefined;
2169
2220
  } | undefined;
2221
+ macros?: {
2222
+ macros: {
2223
+ options?: {
2224
+ optional?: boolean | undefined;
2225
+ type: string;
2226
+ name: string;
2227
+ }[] | undefined;
2228
+ label: string;
2229
+ keyword: string;
2230
+ }[];
2231
+ } | {
2232
+ code: any;
2233
+ fileName: string;
2234
+ id: string;
2235
+ type: "yaml";
2236
+ } | undefined;
2170
2237
  scripts?: string | string[] | {
2171
2238
  code: any;
2172
2239
  fileName: string;
@@ -2388,6 +2455,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2388
2455
  } | undefined;
2389
2456
  saves?: {
2390
2457
  runOnReload?: string | undefined;
2458
+ disabled?: boolean | undefined;
2391
2459
  slots: number;
2392
2460
  mode: string;
2393
2461
  } | 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;
@@ -453,6 +469,7 @@ export declare function getModifiableDataPinia(): {
453
469
  } | undefined;
454
470
  saves?: {
455
471
  runOnReload?: string | undefined;
472
+ disabled?: boolean | undefined;
456
473
  slots: number;
457
474
  mode: string;
458
475
  } | 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.1",
3
+ "version": "3.8.3",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",