narrat 3.2.10 → 3.2.12

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.
@@ -12,6 +12,10 @@ export declare const popCommand: CommandPlugin<{
12
12
  export declare const shiftCommand: CommandPlugin<{
13
13
  array: any[];
14
14
  }, {}>;
15
+ export declare const unshiftCommand: CommandPlugin<{
16
+ array: any[];
17
+ value: any;
18
+ }, {}>;
15
19
  export declare const joinCommand: CommandPlugin<{
16
20
  array: any[];
17
21
  separator?: string | undefined;
@@ -40,3 +44,31 @@ export declare const arrayFindIndexCommand: CommandPlugin<{
40
44
  array: any[];
41
45
  predicateLabel: string;
42
46
  }, {}>;
47
+ export declare const arrayFindCommand: CommandPlugin<{
48
+ array: any[];
49
+ predicateLabel: string;
50
+ }, {}>;
51
+ export declare const arrayFilterCommand: CommandPlugin<{
52
+ array: any[];
53
+ predicateLabel: string;
54
+ }, {}>;
55
+ export declare const arrayMapCommand: CommandPlugin<{
56
+ array: any[];
57
+ mapperLabel: string;
58
+ }, {}>;
59
+ export declare const arrayReduceCommand: CommandPlugin<{
60
+ array: any[];
61
+ reducerLabel: string;
62
+ initValue: any;
63
+ }, {}>;
64
+ export declare const arraySomeCommand: CommandPlugin<{
65
+ array: any[];
66
+ predicateLabel: string;
67
+ }, {}>;
68
+ export declare const arrayEveryCommand: CommandPlugin<{
69
+ array: any[];
70
+ predicateLabel: string;
71
+ }, {}>;
72
+ export declare const arrayEntriesCommand: CommandPlugin<{
73
+ array: any[];
74
+ }, {}>;
@@ -0,0 +1,22 @@
1
+ import { CommandPlugin } from './command-plugin';
2
+ export declare const objectEntriesCommand: CommandPlugin<{
3
+ obj: any;
4
+ }, {}>;
5
+ export declare const objectKeysCommand: CommandPlugin<{
6
+ obj: any;
7
+ }, {}>;
8
+ export declare const objectValuesCommand: CommandPlugin<{
9
+ obj: any;
10
+ }, {}>;
11
+ export declare const objectHasCommand: CommandPlugin<{
12
+ obj: any;
13
+ key: string;
14
+ }, {}>;
15
+ export declare const forOfCommand: CommandPlugin<{
16
+ target: any;
17
+ predicateLabel: string;
18
+ }, {}>;
19
+ export declare const forInCommand: CommandPlugin<{
20
+ target: any;
21
+ predicateLabel: string;
22
+ }, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "3.2.10",
3
+ "version": "3.2.12",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",