narrat 3.8.1 → 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;
@@ -903,6 +919,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
903
919
  description: string;
904
920
  }> | undefined;
905
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;
906
938
  scripts?: string | string[] | {
907
939
  code: any;
908
940
  fileName: string;
@@ -1535,6 +1567,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1535
1567
  description: string;
1536
1568
  }> | undefined;
1537
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;
1538
1586
  scripts?: string | string[] | {
1539
1587
  code: any;
1540
1588
  fileName: string;
@@ -2167,6 +2215,22 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2167
2215
  description: string;
2168
2216
  }> | undefined;
2169
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;
2170
2234
  scripts?: string | string[] | {
2171
2235
  code: any;
2172
2236
  fileName: string;
@@ -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;
@@ -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.2",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",