n8n-workflow 0.136.1 → 0.137.0

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 (34) hide show
  1. package/dist/Expression.js +12 -2
  2. package/dist/Expression.js.map +1 -1
  3. package/dist/Extensions/ArrayExtensions.js +57 -79
  4. package/dist/Extensions/ArrayExtensions.js.map +1 -1
  5. package/dist/Extensions/DateExtensions.js +13 -8
  6. package/dist/Extensions/DateExtensions.js.map +1 -1
  7. package/dist/Extensions/Extensions.d.ts +14 -1
  8. package/dist/Extensions/NumberExtensions.js +7 -0
  9. package/dist/Extensions/NumberExtensions.js.map +1 -1
  10. package/dist/Extensions/ObjectExtensions.d.ts +0 -7
  11. package/dist/Extensions/ObjectExtensions.js +6 -25
  12. package/dist/Extensions/ObjectExtensions.js.map +1 -1
  13. package/dist/Extensions/StringExtensions.js +4 -1
  14. package/dist/Extensions/StringExtensions.js.map +1 -1
  15. package/dist/Extensions/utils.d.ts +2 -0
  16. package/dist/Extensions/utils.js +22 -0
  17. package/dist/Extensions/utils.js.map +1 -0
  18. package/dist/NativeMethods/Array.methods.d.ts +2 -0
  19. package/dist/NativeMethods/Array.methods.js +181 -0
  20. package/dist/NativeMethods/Array.methods.js.map +1 -0
  21. package/dist/NativeMethods/Number.methods.d.ts +2 -0
  22. package/dist/NativeMethods/Number.methods.js +27 -0
  23. package/dist/NativeMethods/Number.methods.js.map +1 -0
  24. package/dist/NativeMethods/Object.Methods.d.ts +2 -0
  25. package/dist/NativeMethods/Object.Methods.js +25 -0
  26. package/dist/NativeMethods/Object.Methods.js.map +1 -0
  27. package/dist/NativeMethods/String.methods.d.ts +2 -4
  28. package/dist/NativeMethods/String.methods.js +195 -1
  29. package/dist/NativeMethods/String.methods.js.map +1 -1
  30. package/dist/NativeMethods/index.d.ts +2 -4
  31. package/dist/NativeMethods/index.js +4 -1
  32. package/dist/NativeMethods/index.js.map +1 -1
  33. package/dist/build.tsbuildinfo +1 -1
  34. package/package.json +3 -1
@@ -1 +1 @@
1
- {"version":3,"file":"StringExtensions.js","sourceRoot":"","sources":["../../src/Extensions/StringExtensions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAuC;AACvC,oEAAsD;AAEtD,0DAAiC;AACjC,yCAAmC;AACnC,qDAAgD;AAEhD,MAAM,aAAa,GAAwC;IAC1D,GAAG,EAAE,mBAAQ,CAAC,GAAG;IACjB,IAAI,EAAE,mBAAQ,CAAC,IAAI;IACnB,MAAM,EAAE,mBAAQ,CAAC,MAAM;IACvB,MAAM,EAAE,mBAAQ,CAAC,MAAM;IACvB,MAAM,EAAE,mBAAQ,CAAC,MAAM;IACvB,MAAM,EAAE,mBAAQ,CAAC,MAAM;IACvB,IAAI,EAAE,mBAAQ,CAAC,IAAI;IACnB,SAAS,EAAE,mBAAQ,CAAC,SAAS;CAC7B,CAAC;AAGF,MAAM,eAAe,GACpB,8pBAA8pB,CAAC;AAChqB,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAItF,MAAM,YAAY,GACjB,+JAA+J,CAAC;AAGjK,MAAM,UAAU,GACf,0GAA0G,CAAC;AAE5G,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,gBAAgB,GAAG,OAAO,CAAC;AAEjC,SAAS,IAAI,CAAC,KAAa,EAAE,SAAmB;IAC/C,MAAM,CAAC,SAAS,GAAG,KAAK,CAAC,GAAG,SAAqB,CAAC;IAClD,IAAI,SAAS,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;QAGzC,OAAO,IAAA,kBAAM,EAAC,KAAK,CAAC,CAAC;KACrB;IACD,MAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAC;IAC5D,IAAI,CAAC,YAAY,EAAE;QAClB,MAAM,IAAI,eAAe,CAAC,wBAAwB,CACjD,qBAAqB,SAAS,+BAA+B,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;aACrF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EAAE,SAAS;CACrB,CAAC;AAEF,YAAY,CAAC,GAAG,GAAG;IAClB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,sEAAsE;IACnF,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,aAAa,CAAC,GAAG,GAAG;IACnB,IAAI,EAAE,eAAe;IACrB,WAAW,EACV,6FAA6F;IAC9F,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,UAAU,CAAC,GAAG,GAAG;IAChB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,mEAAmE;IAChF,UAAU,EAAE,QAAQ;CACpB,CAAC;AAIF,IAAI,CAAC,GAAG,GAAG;IACV,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,SAAS,CAAC,GAAG,GAAG;IACf,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,KAAK,CAAC,GAAG,GAAG;IACX,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEW,QAAA,gBAAgB,GAAiB;IAC7C,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE;QACV,IAAI;QACJ,cAAc;QACd,UAAU;QACV,MAAM;QACN,eAAe,EAAE,OAAO;QACxB,OAAO;QACP,KAAK;QACL,aAAa,EAAE,KAAK;QACpB,cAAc;QACd,WAAW;QACX,WAAW;QACX,SAAS;QACT,SAAS;QACT,KAAK;QACL,mBAAmB;QACnB,MAAM;QACN,QAAQ;QACR,OAAO;QACP,SAAS;QACT,KAAK;QACL,OAAO;QACP,UAAU;QACV,YAAY;QACZ,aAAa;QACb,UAAU;KACV;CACD,CAAC"}
1
+ {"version":3,"file":"StringExtensions.js","sourceRoot":"","sources":["../../src/Extensions/StringExtensions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAuC;AACvC,oEAAsD;AAEtD,0DAAiC;AACjC,yCAAmC;AACnC,qDAAgD;A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AAE,cAAc;IACpB,WAAW,EAAE,sEAAsE;IACnF,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,aAAa,CAAC,GAAG,GAAG;IACnB,IAAI,EAAE,eAAe;IACrB,WAAW,EACV,6FAA6F;IAC9F,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,UAAU,CAAC,GAAG,GAAG;IAChB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,mEAAmE;IAChF,UAAU,EAAE,QAAQ;CACpB,CAAC;AAIF,IAAI,CAAC,GAAG,GAAG;IACV,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,SAAS,CAAC,GAAG,GAAG;IACf,IAAI,EAAE,WAAW;IACjB,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEF,KAAK,CAAC,GAAG,GAAG;IACX,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,QAAQ;CACpB,CAAC;AAEW,QAAA,gBAAgB,GAAiB;IAC7C,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE;QACV,IAAI;QACJ,cAAc;QACd,UAAU;QACV,MAAM;QACN,eAAe,EAAE,OAAO;QACxB,OAAO;QACP,KAAK;QACL,aAAa,EAAE,KAAK;QACpB,cAAc;QACd,WAAW;QACX,WAAW;QACX,SAAS;QACT,SAAS;QACT,KAAK;QACL,mBAAmB;QACnB,MAAM;QACN,QAAQ;QACR,OAAO;QACP,SAAS;QACT,KAAK;QACL,OAAO;QACP,UAAU;QACV,YAAY;QACZ,aAAa;QACb,UAAU;KACV;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { DateTime } from 'luxon';
2
+ export declare const convertToDateTime: (value: string | Date | DateTime) => DateTime | undefined;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.convertToDateTime = void 0;
4
+ const luxon_1 = require("luxon");
5
+ const convertToDateTime = (value) => {
6
+ let converted;
7
+ if (typeof value === 'string') {
8
+ converted = luxon_1.DateTime.fromJSDate(new Date(value));
9
+ if (converted.invalidReason !== null) {
10
+ return;
11
+ }
12
+ }
13
+ else if (value instanceof Date) {
14
+ converted = luxon_1.DateTime.fromJSDate(value);
15
+ }
16
+ else if (luxon_1.DateTime.isDateTime(value)) {
17
+ converted = value;
18
+ }
19
+ return converted;
20
+ };
21
+ exports.convertToDateTime = convertToDateTime;
22
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/Extensions/utils.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAI1B,MAAM,iBAAiB,GAAG,CAAC,KAA+B,EAAwB,EAAE;IAC1F,IAAI,SAA+B,CAAC;IAEpC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC9B,SAAS,GAAG,gBAAQ,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACjD,IAAI,SAAS,CAAC,aAAa,KAAK,IAAI,EAAE;YACrC,OAAO;SACP;KACD;SAAM,IAAI,KAAK,YAAY,IAAI,EAAE;QACjC,SAAS,GAAG,gBAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;KACvC;SAAM,IAAI,gBAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;QACtC,SAAS,GAAG,KAAK,CAAC;KAClB;IACD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC;AAdW,QAAA,iBAAiB,qBAc5B"}
@@ -0,0 +1,2 @@
1
+ import type { NativeDoc } from '@/Extensions/Extensions';
2
+ export declare const arrayMethods: NativeDoc;
@@ -0,0 +1,181 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.arrayMethods = void 0;
4
+ exports.arrayMethods = {
5
+ typeName: 'Array',
6
+ properties: {
7
+ length: {
8
+ doc: {
9
+ name: 'length',
10
+ description: 'Returns the number of elements in the Array.',
11
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length',
12
+ returnType: 'number',
13
+ },
14
+ },
15
+ },
16
+ functions: {
17
+ concat: {
18
+ doc: {
19
+ name: 'concat',
20
+ description: 'Merges two or more arrays into one array.',
21
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat',
22
+ returnType: 'Array',
23
+ args: [
24
+ { name: 'arr1', type: 'Array' },
25
+ { name: 'arr2', type: 'Array' },
26
+ { name: '...' },
27
+ { name: 'arrN', type: 'Array' },
28
+ ],
29
+ },
30
+ },
31
+ filter: {
32
+ doc: {
33
+ name: 'filter',
34
+ description: 'Returns an array only containing the elements that pass the test `fn`.',
35
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter',
36
+ returnType: 'Array',
37
+ args: [{ name: 'fn', type: 'Function' }],
38
+ },
39
+ },
40
+ find: {
41
+ doc: {
42
+ name: 'find',
43
+ description: 'Returns the first element in the provided array that passes the test `fn`. If no values satisfy the testing function, `undefined` is returned.',
44
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find',
45
+ returnType: 'Array|undefined',
46
+ args: [{ name: 'fn', type: 'Function' }],
47
+ },
48
+ },
49
+ findIndex: {
50
+ doc: {
51
+ name: 'findIndex',
52
+ description: 'Returns the index of the first element in an array that passes the test `fn`. If none are found, -1 is returned.',
53
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex',
54
+ returnType: 'number',
55
+ args: [{ name: 'fn', type: 'Function' }],
56
+ },
57
+ },
58
+ findLast: {
59
+ doc: {
60
+ name: 'findLast',
61
+ description: 'Returns the value of the last element that passes the test `fn`.',
62
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findLast',
63
+ returnType: 'Element|undefined',
64
+ args: [{ name: 'fn', type: 'Function' }],
65
+ },
66
+ },
67
+ findLastIndex: {
68
+ doc: {
69
+ name: 'findLastIndex',
70
+ description: 'Returns the index of the last element that satisfies the provided testing function. If none are found, -1 is returned.',
71
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findLastIndex',
72
+ returnType: 'number',
73
+ args: [{ name: 'fn', type: 'Function' }],
74
+ },
75
+ },
76
+ indexOf: {
77
+ doc: {
78
+ name: 'indexOf',
79
+ description: 'Returns the first index at which a given element can be found in the array, or -1 if it is not present.',
80
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf',
81
+ returnType: 'number',
82
+ args: [
83
+ { name: 'searchElement', type: 'string|number' },
84
+ { name: 'fromIndex?', type: 'number' },
85
+ ],
86
+ },
87
+ },
88
+ includes: {
89
+ doc: {
90
+ name: 'includes',
91
+ description: 'Checks if an array includes a certain value among its entries.',
92
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes',
93
+ returnType: 'boolean',
94
+ args: [
95
+ { name: 'searchElement', type: 'Element' },
96
+ { name: 'fromIndex?', type: 'number' },
97
+ ],
98
+ },
99
+ },
100
+ join: {
101
+ doc: {
102
+ name: 'join',
103
+ description: 'Returns a string that concatenates all of the elements in an array, separated by `separator`, which defaults to comma.',
104
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join',
105
+ returnType: 'Array',
106
+ args: [{ name: 'separator?', type: 'string' }],
107
+ },
108
+ },
109
+ map: {
110
+ doc: {
111
+ name: 'map',
112
+ description: 'Returns an array containing the results of calling `fn` on every element.',
113
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map',
114
+ returnType: 'Array',
115
+ args: [{ name: 'fn', type: 'Function' }],
116
+ },
117
+ },
118
+ reverse: {
119
+ doc: {
120
+ name: 'reverse',
121
+ description: 'Reverses an array and returns it. The first array element now becomes the last, and the last array element becomes the first.',
122
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse',
123
+ returnType: 'Array',
124
+ },
125
+ },
126
+ reduce: {
127
+ doc: {
128
+ name: 'reduce',
129
+ description: 'Executes a "reducer" function `fn` on each element of the array. Passing in the return value from the calculation on the preceding element. The final result of running the reducer across all elements of the array is a single value.',
130
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce',
131
+ returnType: 'any',
132
+ args: [{ name: 'fn', type: 'Function' }],
133
+ },
134
+ },
135
+ slice: {
136
+ doc: {
137
+ name: 'slice',
138
+ description: 'Returns a section of an Array. `end` defaults to the length of the Array if not given.',
139
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice',
140
+ returnType: 'Array',
141
+ args: [
142
+ { name: 'start', type: 'number' },
143
+ { name: 'end?', type: 'number' },
144
+ ],
145
+ },
146
+ },
147
+ sort: {
148
+ doc: {
149
+ name: 'sort',
150
+ description: 'Returns a sorted array. The default sort order is ascending, built upon converting the elements into strings.',
151
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort',
152
+ returnType: 'Array',
153
+ args: [{ name: 'fn?', type: 'Function' }],
154
+ },
155
+ },
156
+ splice: {
157
+ doc: {
158
+ name: 'splice',
159
+ description: 'Changes the contents of an array by removing or replacing existing elements.',
160
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice',
161
+ returnType: 'Array',
162
+ args: [
163
+ { name: 'start', type: 'number' },
164
+ { name: 'deleteCount?', type: 'number' },
165
+ { name: 'item1?', type: 'Element' },
166
+ { name: '...' },
167
+ { name: 'itemN?', type: 'Element' },
168
+ ],
169
+ },
170
+ },
171
+ toString: {
172
+ doc: {
173
+ name: 'toString',
174
+ description: 'Returns a string representing the specified array and its elements.',
175
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString',
176
+ returnType: 'string',
177
+ },
178
+ },
179
+ },
180
+ };
181
+ //# sourceMappingURL=Array.methods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Array.methods.js","sourceRoot":"","sources":["../../src/NativeMethods/Array.methods.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAc;IACtC,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE;QACX,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8CAA8C;gBAC3D,MAAM,EACL,+FAA+F;gBAChG,UAAU,EAAE,QAAQ;aACpB;SACD;KACD;IACD,SAAS,EAAE;QACV,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;gBACxD,MAAM,EACL,+FAA+F;gBAChG,UAAU,EAAE,OAAO;gBACnB,IAAI,EAAE;oBACL,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;oBAC/B,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;oBAC/B,EAAE,IAAI,EAAE,KAAK,EAAE;oBACf,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;iBAC/B;aACD;SACD;QACD,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wEAAwE;gBACrF,MAAM,EACL,+FAA+F;gBAChG,UAAU,EAAE,OAAO;gBACnB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;aACxC;SACD;QACD,IAAI,EAAE;YACL,GAAG,EAAE;gBACJ,IAAI,EAAE,MAAM;gBACZ,WAAW,EACV,gJAAgJ;gBACjJ,MAAM,EACL,6FAA6F;gBAC9F,UAAU,EAAE,iBAAiB;gBA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Q,EAAE;oBACjC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAChC;aACD;SACD;QACD,IAAI,EAAE;YACL,GAAG,EAAE;gBACJ,IAAI,EAAE,MAAM;gBACZ,WAAW,EACV,+GAA+G;gBAChH,MAAM,EACL,6FAA6F;gBAC9F,UAAU,EAAE,OAAO;gBACnB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;aACzC;SACD;QACD,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8EAA8E;gBAC3F,MAAM,EACL,+FAA+F;gBAChG,UAAU,EAAE,OAAO;gBACnB,IAAI,EAAE;oBACL,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACjC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;oBACnC,EAAE,IAAI,EAAE,KAAK,EAAE;oBACf,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;iBACnC;aACD;SACD;QACD,QAAQ,EAAE;YACT,GAAG,EAAE;gBACJ,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,qEAAqE;gBAClF,MAAM,EACL,iGAAiG;gBAClG,UAAU,EAAE,QAAQ;aACpB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { NativeDoc } from '@/Extensions/Extensions';
2
+ export declare const numberMethods: NativeDoc;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.numberMethods = void 0;
4
+ exports.numberMethods = {
5
+ typeName: 'Number',
6
+ functions: {
7
+ toFixed: {
8
+ doc: {
9
+ name: 'toFixed',
10
+ description: 'Formats a number using fixed-point notation. `digits` defaults to null if not given.',
11
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed',
12
+ returnType: 'string',
13
+ args: [{ name: 'digits?', type: 'number' }],
14
+ },
15
+ },
16
+ toPrecision: {
17
+ doc: {
18
+ name: 'toPrecision',
19
+ description: 'Returns a string representing the number to the specified precision.',
20
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision',
21
+ returnType: 'string',
22
+ args: [{ name: 'precision?', type: 'number' }],
23
+ },
24
+ },
25
+ },
26
+ };
27
+ //# sourceMappingURL=Number.methods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Number.methods.js","sourceRoot":"","sources":["../../src/NativeMethods/Number.methods.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAc;IACvC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE;QACV,OAAO,EAAE;YACR,GAAG,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EACV,sFAAsF;gBACvF,MAAM,EACL,iGAAiG;gBAClG,UAAU,EAAE,QAAQ;gBACpB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;aAC3C;SACD;QACD,WAAW,EAAE;YACZ,GAAG,EAAE;gBACJ,IAAI,EAAE,aAAa;gBACnB,WAAW,EAAE,sEAAsE;gBACnF,MAAM,EACL,qGAAqG;gBACtG,UAAU,EAAE,QAAQ;gBACpB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;aAC9C;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { NativeDoc } from '@/Extensions/Extensions';
2
+ export declare const objectMethods: NativeDoc;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.objectMethods = void 0;
4
+ exports.objectMethods = {
5
+ typeName: 'Object',
6
+ functions: {
7
+ keys: {
8
+ doc: {
9
+ name: 'keys',
10
+ description: "Returns an array of a given object's own enumerable string-keyed property names.",
11
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys',
12
+ returnType: 'Array',
13
+ },
14
+ },
15
+ values: {
16
+ doc: {
17
+ name: 'values',
18
+ description: "Returns an array of a given object's own enumerable string-keyed property values.",
19
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values',
20
+ returnType: 'Array',
21
+ },
22
+ },
23
+ },
24
+ };
25
+ //# sourceMappingURL=Object.Methods.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Object.Methods.js","sourceRoot":"","sources":["../../src/NativeMethods/Object.Methods.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAc;IACvC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE;QACV,IAAI,EAAE;YACL,GAAG,EAAE;gBACJ,IAAI,EAAE,MAAM;gBACZ,WAAW,EACV,kFAAkF;gBACnF,MAAM,EACL,8FAA8F;gBAC/F,UAAU,EAAE,OAAO;aACnB;SACD;QACD,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACV,mFAAmF;gBACpF,MAAM,EACL,gGAAgG;gBACjG,UAAU,EAAE,OAAO;aACnB;SACD;KACD;CACD,CAAC"}
@@ -1,4 +1,2 @@
1
- export declare const stringMethods: {
2
- typeName: string;
3
- functions: {};
4
- };
1
+ import type { NativeDoc } from '@/Extensions/Extensions';
2
+ export declare const stringMethods: NativeDoc;
@@ -3,6 +3,200 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.stringMethods = void 0;
4
4
  exports.stringMethods = {
5
5
  typeName: 'String',
6
- functions: {},
6
+ properties: {
7
+ length: {
8
+ doc: {
9
+ name: 'length',
10
+ description: 'Returns the number of characters in the string.',
11
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length',
12
+ returnType: 'number',
13
+ },
14
+ },
15
+ },
16
+ functions: {
17
+ concat: {
18
+ doc: {
19
+ name: 'concat',
20
+ description: 'Concatenates the string arguments to the calling string.',
21
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/concat',
22
+ returnType: 'string',
23
+ },
24
+ },
25
+ endsWith: {
26
+ doc: {
27
+ name: 'endsWith',
28
+ description: 'Checks if a string ends with `searchString`.',
29
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith',
30
+ returnType: 'boolean',
31
+ args: [{ name: 'searchString', type: 'string' }],
32
+ },
33
+ },
34
+ indexOf: {
35
+ doc: {
36
+ name: 'indexOf',
37
+ description: 'Returns the index of the first occurrence of `searchString`',
38
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf',
39
+ returnType: 'number',
40
+ args: [
41
+ { name: 'searchString', type: 'string' },
42
+ { name: 'position?', type: 'number' },
43
+ ],
44
+ },
45
+ },
46
+ lastIndexOf: {
47
+ doc: {
48
+ name: 'lastIndexOf',
49
+ description: 'Returns the index of the last occurrence of `searchString`',
50
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf',
51
+ returnType: 'number',
52
+ args: [
53
+ { name: 'searchString', type: 'string' },
54
+ { name: 'position?', type: 'number' },
55
+ ],
56
+ },
57
+ },
58
+ match: {
59
+ doc: {
60
+ name: 'match',
61
+ description: 'Retrieves the result of matching a string against a regular expression.',
62
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match',
63
+ returnType: 'Array',
64
+ args: [{ name: 'regexp', type: 'string|RegExp' }],
65
+ },
66
+ },
67
+ includes: {
68
+ doc: {
69
+ name: 'includes',
70
+ description: 'Checks if `searchString` may be found within the calling string.',
71
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes',
72
+ returnType: 'boolean',
73
+ args: [
74
+ { name: 'searchString', type: 'string' },
75
+ { name: 'position?', type: 'number' },
76
+ ],
77
+ },
78
+ },
79
+ replace: {
80
+ doc: {
81
+ name: 'replace',
82
+ description: 'Returns a string with matches of a `pattern` replaced by a `replacement`. If `pattern` is a string, only the first occurrence will be replaced.',
83
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace',
84
+ returnType: 'string',
85
+ args: [
86
+ { name: 'pattern', type: 'string|RegExp' },
87
+ { name: 'replacement', type: 'string' },
88
+ ],
89
+ },
90
+ },
91
+ replaceAll: {
92
+ doc: {
93
+ name: 'replaceAll',
94
+ description: 'Returns a string with matches of a `pattern` replaced by a `replacement`.',
95
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll',
96
+ returnType: 'string',
97
+ args: [
98
+ { name: 'pattern', type: 'string|RegExp' },
99
+ { name: 'replacement', type: 'string' },
100
+ ],
101
+ },
102
+ },
103
+ search: {
104
+ doc: {
105
+ name: 'search',
106
+ description: 'Returns a string that matches `pattern` within the given string.',
107
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/search',
108
+ returnType: 'string',
109
+ args: [{ name: 'pattern', type: 'string|RegExp' }],
110
+ },
111
+ },
112
+ slice: {
113
+ doc: {
114
+ name: 'slice',
115
+ description: 'Returns a section of a string. `indexEnd` defaults to the length of the string if not given.',
116
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice',
117
+ returnType: 'string',
118
+ args: [
119
+ { name: 'indexStart', type: 'number' },
120
+ { name: 'indexEnd?', type: 'number' },
121
+ ],
122
+ },
123
+ },
124
+ split: {
125
+ doc: {
126
+ name: 'split',
127
+ description: 'Returns the substrings that result from dividing the given string with `separator`.',
128
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split',
129
+ returnType: 'Array',
130
+ args: [
131
+ { name: 'separator', type: 'string|RegExp' },
132
+ { name: 'limit?', type: 'number' },
133
+ ],
134
+ },
135
+ },
136
+ startsWith: {
137
+ doc: {
138
+ name: 'startsWith',
139
+ description: 'Checks if the string begins with `searchString`.',
140
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith',
141
+ returnType: 'boolean',
142
+ args: [
143
+ { name: 'searchString', type: 'string' },
144
+ { name: 'position?', type: 'number' },
145
+ ],
146
+ },
147
+ },
148
+ substring: {
149
+ doc: {
150
+ name: 'substring',
151
+ description: 'Returns the part of the string from the start index up to and excluding the end index, or to the end of the string if no end index is supplied.',
152
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring',
153
+ returnType: 'string',
154
+ args: [
155
+ { name: 'indexStart', type: 'number' },
156
+ { name: 'indexEnd?', type: 'number' },
157
+ ],
158
+ },
159
+ },
160
+ toLowerCase: {
161
+ doc: {
162
+ name: 'toLowerCase',
163
+ description: 'Formats a string to lowercase. Example: "this is lowercase”.',
164
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase',
165
+ returnType: 'string',
166
+ },
167
+ },
168
+ toUpperCase: {
169
+ doc: {
170
+ name: 'toUpperCase',
171
+ description: 'Formats a string to lowercase. Example: "THIS IS UPPERCASE”.',
172
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase',
173
+ returnType: 'string',
174
+ },
175
+ },
176
+ trim: {
177
+ doc: {
178
+ name: 'trim',
179
+ description: 'Removes whitespace from both ends of a string and returns a new string.',
180
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim',
181
+ returnType: 'string',
182
+ },
183
+ },
184
+ trimEnd: {
185
+ doc: {
186
+ name: 'trimEnd',
187
+ description: 'Removes whitespace from the end of a string and returns a new string.',
188
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimEnd',
189
+ returnType: 'string',
190
+ },
191
+ },
192
+ trimStart: {
193
+ doc: {
194
+ name: 'trimStart',
195
+ description: 'Removes whitespace from the beginning of a string and returns a new string.',
196
+ docURL: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimStart',
197
+ returnType: 'string',
198
+ },
199
+ },
200
+ },
7
201
  };
8
202
  //# sourceMappingURL=String.methods.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"String.methods.js","sourceRoot":"","sources":["../../src/NativeMethods/String.methods.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC5B,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,EASV;CACD,CAAC"}
1
+ {"version":3,"file":"String.methods.js","sourceRoot":"","sources":["../../src/NativeMethods/String.methods.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAc;IACvC,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE;QACX,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iDAAiD;gBAC9D,MAAM,EACL,gGAAgG;gBACjG,UAAU,EAAE,QAAQ;aACpB;SACD;KACD;IACD,SAAS,EAAE;QACV,MAAM,EAAE;YACP,GAAG,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0DAA0D;gBACvE,MAAM,EACL,gGAAgG;gBACjG,UAAU,EAAE,QAAQ;aACpB;SACD;QACD,QAAQ,EAAE;YACT,GAAG,EAAE;gBACJ,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,8CAA8C;gBAC3D,MAAM,EACL,kGAAkG;gBACnG,UAAU,EAAE,SAAS;gBACrB,IAAI,EAAE,CAAC,EA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ACD,OAAO,EAAE;YACR,GAAG,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;gBACpF,MAAM,EACL,iGAAiG;gBAClG,UAAU,EAAE,QAAQ;aACpB;SACD;QACD,SAAS,EAAE;YACV,GAAG,EAAE;gBACJ,IAAI,EAAE,WAAW;gBACjB,WAAW,EAAE,6EAA6E;gBAC1F,MAAM,EACL,mGAAmG;gBACpG,UAAU,EAAE,QAAQ;aACpB;SACD;KACD;CACD,CAAC"}
@@ -1,5 +1,3 @@
1
- declare const NATIVE_METHODS: {
2
- typeName: string;
3
- functions: {};
4
- }[];
1
+ import type { NativeDoc } from '@/Extensions/Extensions';
2
+ declare const NATIVE_METHODS: NativeDoc[];
5
3
  export { NATIVE_METHODS as NativeMethods };
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NativeMethods = void 0;
4
4
  const String_methods_1 = require("./String.methods");
5
- const NATIVE_METHODS = [String_methods_1.stringMethods];
5
+ const Array_methods_1 = require("./Array.methods");
6
+ const Number_methods_1 = require("./Number.methods");
7
+ const Object_Methods_1 = require("./Object.Methods");
8
+ const NATIVE_METHODS = [String_methods_1.stringMethods, Array_methods_1.arrayMethods, Number_methods_1.numberMethods, Object_Methods_1.objectMethods];
6
9
  exports.NativeMethods = NATIVE_METHODS;
7
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/NativeMethods/index.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAEjD,MAAM,cAAc,GAAG,CAAC,8BAAa,CAAC,CAAC;AAEZ,uCAAa"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/NativeMethods/index.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AACjD,mDAA+C;AAC/C,qDAAiD;AACjD,qDAAiD;AAGjD,MAAM,cAAc,GAAgB,CAAC,8BAAa,EAAE,4BAAY,EAAE,8BAAa,EAAE,8BAAa,CAAC,CAAC;AAErE,uCAAa"}