@openclaw/slack 2026.5.30-beta.1 → 2026.5.31-beta.1
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.
- package/dist/{action-runtime-BQ5ny5AD.js → action-runtime-DEztkt37.js} +2 -2
- package/dist/action-runtime.runtime-uN2B3l57.js +2 -0
- package/dist/{actions-DMBUHKPy.js → actions-BA_6yvPC.js} +2 -2
- package/dist/{actions.runtime-BfyFeTsT.js → actions.runtime-BNL71SN3.js} +1 -1
- package/dist/api.js +7 -7
- package/dist/{approval-handler.runtime-DVLnnq25.js → approval-handler.runtime-D0rHmHTC.js} +1 -1
- package/dist/{channel-CvkLuaXk.js → channel-ClgouPGI.js} +14 -15
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-oGp4gSTP.js → channel.setup-DvU_3G7a.js} +2 -3
- package/dist/{client-DowBk5k0.js → client-qvqS9fQM.js} +20 -1
- package/dist/{config-schema-C0RewpJQ.js → config-schema-BjAjs8_6.js} +16 -0
- package/dist/contract-api.js +1 -1
- package/dist/{directory-live-BFB1pSax.js → directory-live-WZwhRYe2.js} +1 -1
- package/dist/{doctor-contract-DIMUXDHO.js → doctor-contract-DpGLNqS3.js} +2 -2
- package/dist/doctor-contract-api.js +1 -1
- package/dist/{monitor-BdzpEeNU.js → monitor-D5FVBchh.js} +2 -2
- package/dist/{outbound-adapter-BHZMgblN.js → outbound-adapter-BxKw6eWi.js} +1 -1
- package/dist/{pipeline.runtime-C52E8vGp.js → pipeline.runtime-Bo6reKXg.js} +37 -26
- package/dist/{probe-Djes9Fy6.js → probe-DczaQTdi.js} +1 -1
- package/dist/{provider-Ba13bui0.js → provider-DNfFBEzl.js} +6 -6
- package/dist/{replies-DkmWK7JW.js → replies-BmFpkBXm.js} +1 -1
- package/dist/{resolve-channels-zXt5f47h.js → resolve-channels-DIxJRl0F.js} +1 -1
- package/dist/{resolve-users-BLfGAz1v.js → resolve-users-B3vczJHE.js} +1 -1
- package/dist/{runtime-api-DvpUD2hw.js → runtime-api-BpGQDSTg.js} +1 -1
- package/dist/runtime-api.js +9 -9
- package/dist/{scopes-DiiHsqh1.js → scopes-Q1VjNpWb.js} +1 -1
- package/dist/{send-BURYyCXI.js → send-zvrcUvp2.js} +2 -3
- package/dist/send.runtime-iCVpfyB_.js +2 -0
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-DJTHAguz.js → setup-surface-95xI4u2U.js} +3 -3
- package/dist/{shared-D9WMYymo.js → shared-D5tOdKwQ.js} +3 -4
- package/dist/{slash-dispatch.runtime-lsyTm_q5.js → slash-dispatch.runtime-BKo3qtpZ.js} +1 -1
- package/node_modules/@slack/bolt/README.md +1 -1
- package/node_modules/@slack/bolt/dist/App.d.ts +3 -3
- package/node_modules/@slack/bolt/dist/App.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/App.js +8 -12
- package/node_modules/@slack/bolt/dist/App.js.map +1 -1
- package/node_modules/@slack/bolt/dist/Assistant.d.ts +1 -2
- package/node_modules/@slack/bolt/dist/Assistant.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/Assistant.js.map +1 -1
- package/node_modules/@slack/bolt/dist/context/index.d.ts +5 -5
- package/node_modules/@slack/bolt/dist/context/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/context/index.js +7 -7
- package/node_modules/@slack/bolt/dist/context/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/index.d.ts +19 -19
- package/node_modules/@slack/bolt/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/index.js +16 -16
- package/node_modules/@slack/bolt/dist/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js +2 -0
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.d.ts +2 -2
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js +8 -1
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.d.ts +2 -2
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js +4 -2
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +1 -1
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/verify-request.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/verify-request.js +3 -0
- package/node_modules/@slack/bolt/dist/receivers/verify-request.js.map +1 -1
- package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.d.ts +2 -0
- package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.d.ts.map +1 -0
- package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.js +12 -0
- package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.js.map +1 -0
- package/node_modules/@slack/bolt/dist/types/actions/index.d.ts +1 -1
- package/node_modules/@slack/bolt/dist/types/actions/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/actions/index.js +1 -1
- package/node_modules/@slack/bolt/dist/types/actions/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/types/events/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/index.d.ts +3 -3
- package/node_modules/@slack/bolt/dist/types/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/dist/types/index.js +3 -3
- package/node_modules/@slack/bolt/dist/types/index.js.map +1 -1
- package/node_modules/@slack/bolt/dist/types/options/index.d.ts.map +1 -1
- package/node_modules/@slack/bolt/package.json +4 -4
- package/node_modules/@types/retry/LICENSE +21 -21
- package/node_modules/@types/retry/README.md +4 -5
- package/node_modules/@types/retry/index.d.ts +13 -20
- package/node_modules/@types/retry/package.json +11 -9
- package/node_modules/es-object-atoms/CHANGELOG.md +21 -14
- package/node_modules/es-object-atoms/isObject.d.ts +1 -1
- package/node_modules/es-object-atoms/package.json +6 -7
- package/node_modules/es-object-atoms/tsconfig.json +1 -0
- package/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/typebox/build/type/script/mapping.d.mts +5 -2
- package/node_modules/typebox/build/type/script/mapping.mjs +15 -8
- package/node_modules/typebox/build/type/script/parser.d.mts +3 -1
- package/node_modules/typebox/build/type/script/parser.mjs +2 -1
- package/node_modules/typebox/package.json +29 -29
- package/npm-shrinkwrap.json +22 -101
- package/openclaw.plugin.json +76 -0
- package/package.json +6 -6
- package/dist/action-runtime.runtime-C-vhDKzY.js +0 -2
- package/dist/channel-api-DdLCPu8a.js +0 -20
- package/dist/send.runtime-CKaMG3s-.js +0 -2
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./block-action"), exports);
|
|
18
|
-
__exportStar(require("./interactive-message"), exports);
|
|
19
18
|
__exportStar(require("./dialog-action"), exports);
|
|
19
|
+
__exportStar(require("./interactive-message"), exports);
|
|
20
20
|
// TODO: remove workflow step stuff in bolt v5
|
|
21
21
|
__exportStar(require("./workflow-step-edit"), exports);
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAQA,iDAA+B;AAC/B,wDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAQA,iDAA+B;AAC/B,kDAAgC;AAChC,wDAAsC;AACtC,8CAA8C;AAC9C,uDAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,+BAA+B,GAAG;IAAE,eAAe,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3E;;;GAGG;AACH,KAAK,uBAAuB,GACxB;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GACnB;IAAE,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAC3B;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAC7B;IAAE,gBAAgB,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC;AAEjD;;;GAGG;AACH,KAAK,wBAAwB,GACzB;IAAE,SAAS,EAAE,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;CAClC;AAED,UAAU,aAAa;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;;;;GAKG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,IACxC,kBAAkB,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAClF,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './utilities';
|
|
2
|
-
export * from './middleware';
|
|
3
1
|
export * from './actions';
|
|
4
2
|
export * from './command';
|
|
5
3
|
export * from './events';
|
|
4
|
+
export * from './middleware';
|
|
6
5
|
export * from './options';
|
|
7
|
-
export * from './view';
|
|
8
6
|
export * from './receiver';
|
|
9
7
|
export * from './shortcuts';
|
|
8
|
+
export * from './utilities';
|
|
9
|
+
export * from './view';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
|
|
@@ -14,13 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./utilities"), exports);
|
|
18
|
-
__exportStar(require("./middleware"), exports);
|
|
19
17
|
__exportStar(require("./actions"), exports);
|
|
20
18
|
__exportStar(require("./command"), exports);
|
|
21
19
|
__exportStar(require("./events"), exports);
|
|
20
|
+
__exportStar(require("./middleware"), exports);
|
|
22
21
|
__exportStar(require("./options"), exports);
|
|
23
|
-
__exportStar(require("./view"), exports);
|
|
24
22
|
__exportStar(require("./receiver"), exports);
|
|
25
23
|
__exportStar(require("./shortcuts"), exports);
|
|
24
|
+
__exportStar(require("./utilities"), exports);
|
|
25
|
+
__exportStar(require("./view"), exports);
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AA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,EAAE,MAAM,CAAC;KACf,GAAG,OAAO,CAAC,EAAE,CAAC;CAChB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slack/bolt",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"description": "A framework for building Slack apps, fast.",
|
|
5
5
|
"author": "Slack Technologies, LLC",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@slack/logger": "^4.0.1",
|
|
51
51
|
"@slack/oauth": "^3.0.5",
|
|
52
52
|
"@slack/socket-mode": "^2.0.7",
|
|
53
|
-
"@slack/types": "^2.
|
|
54
|
-
"@slack/web-api": "^7.
|
|
53
|
+
"@slack/types": "^2.21.1",
|
|
54
|
+
"@slack/web-api": "^7.16.0",
|
|
55
55
|
"axios": "^1.12.0",
|
|
56
56
|
"express": "^5.0.0",
|
|
57
57
|
"path-to-regexp": "^8.1.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"tsscmp": "^1.0.6"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@biomejs/biome": "^
|
|
62
|
+
"@biomejs/biome": "^2.4.15",
|
|
63
63
|
"@changesets/cli": "^2.29.8",
|
|
64
64
|
"@tsconfig/node18": "^18.2.4",
|
|
65
65
|
"@types/chai": "^4.1.7",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
This package contains type definitions for retry (https://github.com/tim-kos/node-retry).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retry
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retry.
|
|
9
9
|
|
|
10
|
-
Additional Details
|
|
11
|
-
* Last updated:
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: none
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
|
-
These definitions were written by Stan Goldmann
|
|
15
|
+
These definitions were written by [Stan Goldmann](https://github.com/krenor), and [BendingBender](https://github.com/BendingBender).
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
// Type definitions for retry 0.12
|
|
2
|
-
// Project: https://github.com/tim-kos/node-retry
|
|
3
|
-
// Definitions by: Stan Goldmann <https://github.com/krenor>
|
|
4
|
-
// BendingBender <https://github.com/BendingBender>
|
|
5
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
6
|
-
// TypeScript Version: 2.3
|
|
7
|
-
|
|
8
1
|
export interface RetryOperation {
|
|
9
2
|
/**
|
|
10
3
|
* Returns an array of all errors that have been passed to `retryOperation.retry()` so far.
|
|
@@ -59,7 +52,7 @@ export interface AttemptTimeoutOptions {
|
|
|
59
52
|
/**
|
|
60
53
|
* A timeout in milliseconds.
|
|
61
54
|
*/
|
|
62
|
-
timeout?: number;
|
|
55
|
+
timeout?: number | undefined;
|
|
63
56
|
/**
|
|
64
57
|
* Callback to execute when the operation takes longer than the timeout.
|
|
65
58
|
*/
|
|
@@ -76,26 +69,27 @@ export interface AttemptTimeoutOptions {
|
|
|
76
69
|
* @param [options.randomize=false] Randomizes the timeouts by multiplying a factor between 1-2.
|
|
77
70
|
* @param [options.forever=false] Wether to retry forever.
|
|
78
71
|
* @param [options.unref=false] Wether to unref the setTimeout's.
|
|
79
|
-
*
|
|
80
72
|
*/
|
|
81
73
|
export function operation(options?: OperationOptions): RetryOperation;
|
|
82
74
|
|
|
83
|
-
export
|
|
75
|
+
export type OperationOptions = WrapOptions | number[];
|
|
76
|
+
|
|
77
|
+
export interface WrapOptions extends TimeoutsOptions {
|
|
84
78
|
/**
|
|
85
79
|
* Whether to retry forever.
|
|
86
80
|
* @default false
|
|
87
81
|
*/
|
|
88
|
-
forever?: boolean;
|
|
82
|
+
forever?: boolean | undefined;
|
|
89
83
|
/**
|
|
90
84
|
* Whether to [unref](https://nodejs.org/api/timers.html#timers_unref) the setTimeout's.
|
|
91
85
|
* @default false
|
|
92
86
|
*/
|
|
93
|
-
unref?: boolean;
|
|
87
|
+
unref?: boolean | undefined;
|
|
94
88
|
/**
|
|
95
89
|
* The maximum time (in milliseconds) that the retried operation is allowed to run.
|
|
96
90
|
* @default Infinity
|
|
97
91
|
*/
|
|
98
|
-
maxRetryTime?: number;
|
|
92
|
+
maxRetryTime?: number | undefined;
|
|
99
93
|
}
|
|
100
94
|
|
|
101
95
|
/** Get an array with timeouts and their return values in milliseconds. */
|
|
@@ -106,7 +100,7 @@ export interface TimeoutsOptions extends CreateTimeoutOptions {
|
|
|
106
100
|
* The maximum amount of times to retry the operation.
|
|
107
101
|
* @default 10
|
|
108
102
|
*/
|
|
109
|
-
retries?: number;
|
|
103
|
+
retries?: number | undefined;
|
|
110
104
|
}
|
|
111
105
|
|
|
112
106
|
/**
|
|
@@ -122,22 +116,22 @@ export interface CreateTimeoutOptions {
|
|
|
122
116
|
* The exponential factor to use.
|
|
123
117
|
* @default 2
|
|
124
118
|
*/
|
|
125
|
-
factor?: number;
|
|
119
|
+
factor?: number | undefined;
|
|
126
120
|
/**
|
|
127
121
|
* The number of milliseconds before starting the first retry.
|
|
128
122
|
* @default 1000
|
|
129
123
|
*/
|
|
130
|
-
minTimeout?: number;
|
|
124
|
+
minTimeout?: number | undefined;
|
|
131
125
|
/**
|
|
132
126
|
* The maximum number of milliseconds between two retries.
|
|
133
127
|
* @default Infinity
|
|
134
128
|
*/
|
|
135
|
-
maxTimeout?: number;
|
|
129
|
+
maxTimeout?: number | undefined;
|
|
136
130
|
/**
|
|
137
131
|
* Randomizes the timeouts by multiplying a factor between 1-2.
|
|
138
132
|
* @default false
|
|
139
133
|
*/
|
|
140
|
-
randomize?: boolean;
|
|
134
|
+
randomize?: boolean | undefined;
|
|
141
135
|
}
|
|
142
136
|
|
|
143
137
|
/**
|
|
@@ -145,7 +139,6 @@ export interface CreateTimeoutOptions {
|
|
|
145
139
|
*
|
|
146
140
|
* @param object The object to be wrapped
|
|
147
141
|
* @param methods Methods which need to be wrapped
|
|
148
|
-
*
|
|
149
142
|
*/
|
|
150
143
|
export function wrap(object: object, methods?: string[]): void;
|
|
151
|
-
export function wrap(object: object, options?:
|
|
144
|
+
export function wrap(object: object, options?: WrapOptions, methods?: string[]): void;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/retry",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5",
|
|
4
4
|
"description": "TypeScript definitions for retry",
|
|
5
|
+
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retry",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"contributors": [
|
|
7
8
|
{
|
|
8
9
|
"name": "Stan Goldmann",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
10
|
+
"githubUsername": "krenor",
|
|
11
|
+
"url": "https://github.com/krenor"
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
"name": "BendingBender",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
15
|
+
"githubUsername": "BendingBender",
|
|
16
|
+
"url": "https://github.com/BendingBender"
|
|
16
17
|
}
|
|
17
18
|
],
|
|
18
19
|
"main": "",
|
|
19
|
-
"types": "index",
|
|
20
|
+
"types": "index.d.ts",
|
|
20
21
|
"repository": {
|
|
21
22
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
23
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
24
|
+
"directory": "types/retry"
|
|
23
25
|
},
|
|
24
26
|
"scripts": {},
|
|
25
27
|
"dependencies": {},
|
|
26
|
-
"typesPublisherContentHash": "
|
|
27
|
-
"typeScriptVersion": "
|
|
28
|
+
"typesPublisherContentHash": "aa54558b4adab882512b32e89d71a59d1864fa79684a3ef317002d0e144cba11",
|
|
29
|
+
"typeScriptVersion": "4.5"
|
|
28
30
|
}
|
|
@@ -5,33 +5,40 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [v1.1.
|
|
8
|
+
## [v1.1.2](https://github.com/es-shims/es-object-atoms/compare/v1.1.1...v1.1.2) - 2026-05-22
|
|
9
9
|
|
|
10
10
|
### Commits
|
|
11
11
|
|
|
12
|
-
- [
|
|
12
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `auto-changelog`, `eslint`, `npmignore` [`41e3d94`](https://github.com/es-shims/es-object-atoms/commit/41e3d94f6b49237fa490ec598e068f170c8b161e)
|
|
13
|
+
- [types] improve `isObject` type [`758edc2`](https://github.com/es-shims/es-object-atoms/commit/758edc2280fa6993a294a55957a43cee5951bf51)
|
|
13
14
|
|
|
14
|
-
## [v1.1.
|
|
15
|
+
## [v1.1.1](https://github.com/es-shims/es-object-atoms/compare/v1.1.0...v1.1.1) - 2025-01-14
|
|
15
16
|
|
|
16
17
|
### Commits
|
|
17
18
|
|
|
18
|
-
- [
|
|
19
|
+
- [types] `ToObject`: improve types [`cfe8c8a`](https://github.com/es-shims/es-object-atoms/commit/cfe8c8a105c44820cb22e26f62d12ef0ad9715c8)
|
|
19
20
|
|
|
20
|
-
## [v1.0
|
|
21
|
+
## [v1.1.0](https://github.com/es-shims/es-object-atoms/compare/v1.0.1...v1.1.0) - 2025-01-14
|
|
21
22
|
|
|
22
23
|
### Commits
|
|
23
24
|
|
|
24
|
-
- [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
- [New] add `isObject` [`51e4042`](https://github.com/es-shims/es-object-atoms/commit/51e4042df722eb3165f40dc5f4bf33d0197ecb07)
|
|
26
|
+
|
|
27
|
+
## [v1.0.1](https://github.com/es-shims/es-object-atoms/compare/v1.0.0...v1.0.1) - 2025-01-13
|
|
28
|
+
|
|
29
|
+
### Commits
|
|
30
|
+
|
|
31
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `tape` [`38ab9eb`](https://github.com/es-shims/es-object-atoms/commit/38ab9eb00b62c2f4668644f5e513d9b414ebd595)
|
|
32
|
+
- [types] improve types [`7d1beb8`](https://github.com/es-shims/es-object-atoms/commit/7d1beb887958b78b6a728a210a1c8370ab7e2aa1)
|
|
33
|
+
- [Tests] replace `aud` with `npm audit` [`25863ba`](https://github.com/es-shims/es-object-atoms/commit/25863baf99178f1d1ad33d1120498db28631907e)
|
|
34
|
+
- [Dev Deps] add missing peer dep [`c012309`](https://github.com/es-shims/es-object-atoms/commit/c0123091287e6132d6f4240496340c427433df28)
|
|
28
35
|
|
|
29
36
|
## v1.0.0 - 2024-03-16
|
|
30
37
|
|
|
31
38
|
### Commits
|
|
32
39
|
|
|
33
|
-
- Initial implementation, tests, readme, types [`f1499db`](https://github.com/
|
|
34
|
-
- Initial commit [`99eedc7`](https://github.com/
|
|
35
|
-
- [meta] rename repo [`fc851fa`](https://github.com/
|
|
36
|
-
- npm init [`b909377`](https://github.com/
|
|
37
|
-
- Only apps should have lockfiles [`7249edd`](https://github.com/
|
|
40
|
+
- Initial implementation, tests, readme, types [`f1499db`](https://github.com/es-shims/es-object-atoms/commit/f1499db7d3e1741e64979c61d645ab3137705e82)
|
|
41
|
+
- Initial commit [`99eedc7`](https://github.com/es-shims/es-object-atoms/commit/99eedc7b5fde38a50a28d3c8b724706e3e4c5f6a)
|
|
42
|
+
- [meta] rename repo [`fc851fa`](https://github.com/es-shims/es-object-atoms/commit/fc851fa70616d2d182aaf0bd02c2ed7084dea8fa)
|
|
43
|
+
- npm init [`b909377`](https://github.com/es-shims/es-object-atoms/commit/b909377c50049bd0ec575562d20b0f9ebae8947f)
|
|
44
|
+
- Only apps should have lockfiles [`7249edd`](https://github.com/es-shims/es-object-atoms/commit/7249edd2178c1b9ddfc66ffcc6d07fdf0d28efc1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-object-atoms",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "ES Object-related atoms: Object, ToObject, RequireObjectCoercible",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -46,16 +46,15 @@
|
|
|
46
46
|
"es-errors": "^1.3.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@ljharb/eslint-config": "^
|
|
50
|
-
"@ljharb/tsconfig": "^0.2
|
|
49
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
50
|
+
"@ljharb/tsconfig": "^0.3.2",
|
|
51
51
|
"@types/tape": "^5.8.1",
|
|
52
|
-
"auto-changelog": "^2.5.
|
|
52
|
+
"auto-changelog": "^2.5.1",
|
|
53
53
|
"eclint": "^2.8.1",
|
|
54
|
-
"
|
|
55
|
-
"eslint": "^8.8.0",
|
|
54
|
+
"eslint": "^8.57.1",
|
|
56
55
|
"evalmd": "^0.0.19",
|
|
57
56
|
"in-publish": "^2.0.1",
|
|
58
|
-
"npmignore": "^0.3.
|
|
57
|
+
"npmignore": "^0.3.5",
|
|
59
58
|
"nyc": "^10.3.2",
|
|
60
59
|
"safe-publish-latest": "^2.0.0",
|
|
61
60
|
"tape": "^5.9.0",
|
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30)
|
|
14
|
+
|
|
8
15
|
## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17
|
|
9
16
|
|
|
10
17
|
### Commits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hasown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
55
|
-
"@ljharb/eslint-config": "^22.2.
|
|
55
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
56
56
|
"@ljharb/tsconfig": "^0.3.2",
|
|
57
57
|
"@types/function-bind": "^1.1.10",
|
|
58
58
|
"@types/tape": "^5.8.1",
|
|
59
|
-
"auto-changelog": "^2.5.
|
|
60
|
-
"
|
|
61
|
-
"eslint": "^10.2.0",
|
|
59
|
+
"auto-changelog": "^2.5.1",
|
|
60
|
+
"eslint": "^10.4.0",
|
|
62
61
|
"evalmd": "^0.0.19",
|
|
63
62
|
"in-publish": "^2.0.1",
|
|
64
63
|
"jiti": "^0.0.0",
|
|
@@ -164,10 +164,13 @@ export type TExtendsMapping<Input extends [unknown, unknown, unknown, unknown, u
|
|
|
164
164
|
export declare function ExtendsMapping(input: [unknown, unknown, unknown, unknown, unknown, unknown] | []): unknown;
|
|
165
165
|
export type TBaseMapping<Input extends [unknown, unknown, unknown] | unknown> = (Input extends ['(', infer Type extends T.TSchema, ')'] ? Type : Input extends infer Type extends T.TSchema ? Type : never);
|
|
166
166
|
export declare function BaseMapping(input: [unknown, unknown, unknown] | unknown): unknown;
|
|
167
|
+
export type TWithMapping<Input extends [unknown, unknown] | []> = (Input extends ['with', infer Options extends Record<PropertyKey, unknown>] ? Options : []);
|
|
168
|
+
export declare function WithMapping(input: [unknown, unknown] | []): unknown;
|
|
167
169
|
type TFactorIndexArray<Type extends T.TSchema, IndexArray extends unknown[]> = (IndexArray extends [infer Left extends T.TSchema[], ...infer Right extends unknown[]] ? (Left extends [infer Indexer extends T.TSchema] ? TFactorIndexArray<C.TIndexDeferred<Type, Indexer>, Right> : Left extends [] ? TFactorIndexArray<T.TArray<Type>, Right> : T.TNever) : Type);
|
|
168
170
|
type TFactorExtends<Type extends T.TSchema, Extends extends unknown[]> = (Extends extends [infer Right extends T.TSchema, infer True extends T.TSchema, infer False extends T.TSchema] ? C.TConditionalDeferred<Type, Right, True, False> : Type);
|
|
169
|
-
|
|
170
|
-
export
|
|
171
|
+
type TFactorWith<Type extends T.TSchema, With extends unknown> = (With extends Record<PropertyKey, unknown> ? C.TOptionsDeferred<Type, With> : Type);
|
|
172
|
+
export type TFactorMapping<Input extends [unknown, unknown, unknown, unknown, unknown]> = (Input extends [infer KeyOf extends boolean, infer Type extends T.TSchema, infer IndexArray extends unknown[], infer Extend extends unknown[], infer WithClause extends unknown] ? TFactorWith<KeyOf extends true ? TFactorExtends<C.TKeyOfDeferred<TFactorIndexArray<Type, IndexArray>>, Extend> : TFactorExtends<TFactorIndexArray<Type, IndexArray>, Extend>, WithClause> : never);
|
|
173
|
+
export declare function FactorMapping(input: [unknown, unknown, unknown, unknown, unknown]): unknown;
|
|
171
174
|
type TExprBinaryMapping<Left extends T.TSchema, Rest extends unknown[]> = (Rest extends [infer Operator extends unknown, infer Right extends T.TSchema, infer Next extends unknown[]] ? (TExprBinaryMapping<Right, Next> extends infer Schema extends T.TSchema ? (Operator extends '&' ? (Schema extends T.TIntersect<infer Types extends T.TSchema[]> ? T.TIntersect<[Left, ...Types]> : T.TIntersect<[Left, Schema]>) : Operator extends '|' ? (Schema extends T.TUnion<infer Types extends T.TSchema[]> ? T.TUnion<[Left, ...Types]> : T.TUnion<[Left, Schema]>) : never) : never) : Left);
|
|
172
175
|
export type TExprTermTailMapping<Input extends [unknown, unknown, unknown] | []> = (Input);
|
|
173
176
|
export declare function ExprTermTailMapping(input: [unknown, unknown, unknown] | []): unknown;
|
|
@@ -185,27 +185,34 @@ export function BaseMapping(input) {
|
|
|
185
185
|
? input[1]
|
|
186
186
|
: input;
|
|
187
187
|
}
|
|
188
|
+
export function WithMapping(input) {
|
|
189
|
+
return Guard.IsEqual(input.length, 2) ? input[1] : [];
|
|
190
|
+
}
|
|
188
191
|
// deno-coverage-ignore-start
|
|
189
|
-
|
|
190
|
-
const FactorIndexArray = (Type, indexArray) => {
|
|
192
|
+
function FactorIndexArray(Type, indexArray) {
|
|
191
193
|
return indexArray.reduce((result, left) => {
|
|
192
194
|
const _left = left;
|
|
193
195
|
return (Guard.IsEqual(_left.length, 1) ? C.IndexDeferred(result, _left[0]) :
|
|
194
196
|
Guard.IsEqual(_left.length, 0) ? T.Array(result) :
|
|
195
197
|
Unreachable());
|
|
196
198
|
}, Type);
|
|
197
|
-
}
|
|
199
|
+
}
|
|
198
200
|
// deno-coverage-ignore-stop
|
|
199
|
-
|
|
201
|
+
function FactorExtends(type, extend) {
|
|
200
202
|
return Guard.IsEqual(extend.length, 3)
|
|
201
203
|
? C.ConditionalDeferred(type, extend[0], extend[1], extend[2])
|
|
202
204
|
: type;
|
|
203
|
-
}
|
|
205
|
+
}
|
|
206
|
+
function FactorWith(type, withClause) {
|
|
207
|
+
return Guard.IsArray(withClause) && Guard.IsEqual(withClause.length, 0)
|
|
208
|
+
? type
|
|
209
|
+
: C.OptionsDeferred(type, withClause);
|
|
210
|
+
}
|
|
204
211
|
export function FactorMapping(input) {
|
|
205
|
-
const [keyOf, type, indexArray, extend] = input;
|
|
206
|
-
return keyOf
|
|
212
|
+
const [keyOf, type, indexArray, extend, withClause] = input;
|
|
213
|
+
return FactorWith(keyOf
|
|
207
214
|
? FactorExtends(C.KeyOfDeferred(FactorIndexArray(type, indexArray)), extend)
|
|
208
|
-
: FactorExtends(FactorIndexArray(type, indexArray), extend);
|
|
215
|
+
: FactorExtends(FactorIndexArray(type, indexArray), extend), withClause);
|
|
209
216
|
}
|
|
210
217
|
// deno-coverage-ignore-start
|
|
211
218
|
function ExprBinaryMapping(left, rest) {
|
|
@@ -43,7 +43,8 @@ export type TIndexArray_0<Input extends string, Result extends unknown[] = []> =
|
|
|
43
43
|
export type TIndexArray<Input extends string> = TIndexArray_0<Input> extends [infer _0 extends ([unknown, unknown, unknown] | [unknown, unknown])[], infer Input extends string] ? [S.TIndexArrayMapping<_0>, Input] : [];
|
|
44
44
|
export type TExtends<Input extends string> = ((Token.TConst<'extends', Input> extends [infer _0, infer Input extends string] ? (TType<Input> extends [infer _1, infer Input extends string] ? (Token.TConst<'?', Input> extends [infer _2, infer Input extends string] ? (TType<Input> extends [infer _3, infer Input extends string] ? (Token.TConst<':', Input> extends [infer _4, infer Input extends string] ? (TType<Input> extends [infer _5, infer Input extends string] ? [[_0, _1, _2, _3, _4, _5], Input] : []) : []) : []) : []) : []) : []) extends [infer _0, infer Input extends string] ? [_0, Input] : [[], Input] extends [infer _0, infer Input extends string] ? [_0, Input] : []) extends [infer _0 extends [unknown, unknown, unknown, unknown, unknown, unknown] | [], infer Input extends string] ? [S.TExtendsMapping<_0>, Input] : [];
|
|
45
45
|
export type TBase<Input extends string> = ((Token.TConst<'(', Input> extends [infer _0, infer Input extends string] ? (TType<Input> extends [infer _1, infer Input extends string] ? (Token.TConst<')', Input> extends [infer _2, infer Input extends string] ? [[_0, _1, _2], Input] : []) : []) : []) extends [infer _0, infer Input extends string] ? [_0, Input] : TKeyword<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : T_Object_<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TTuple<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TTemplateLiteral<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TLiteral<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TConstructor<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : T_Function_<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TMapped<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TOptions<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TGenericCall<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : TReference<Input> extends [infer _0, infer Input extends string] ? [_0, Input] : []) extends [infer _0 extends [unknown, unknown, unknown] | unknown, infer Input extends string] ? [S.TBaseMapping<_0>, Input] : [];
|
|
46
|
-
export type
|
|
46
|
+
export type TWith<Input extends string> = ((Token.TConst<'with', Input> extends [infer _0, infer Input extends string] ? (TJsonObject<Input> extends [infer _1, infer Input extends string] ? [[_0, _1], Input] : []) : []) extends [infer _0, infer Input extends string] ? [_0, Input] : [[], Input] extends [infer _0, infer Input extends string] ? [_0, Input] : []) extends [infer _0 extends [unknown, unknown] | [], infer Input extends string] ? [S.TWithMapping<_0>, Input] : [];
|
|
47
|
+
export type TFactor<Input extends string> = (TKeyOf<Input> extends [infer _0, infer Input extends string] ? (TBase<Input> extends [infer _1, infer Input extends string] ? (TIndexArray<Input> extends [infer _2, infer Input extends string] ? (TExtends<Input> extends [infer _3, infer Input extends string] ? (TWith<Input> extends [infer _4, infer Input extends string] ? [[_0, _1, _2, _3, _4], Input] : []) : []) : []) : []) : []) extends [infer _0 extends [unknown, unknown, unknown, unknown, unknown], infer Input extends string] ? [S.TFactorMapping<_0>, Input] : [];
|
|
47
48
|
export type TExprTermTail<Input extends string> = ((Token.TConst<'&', Input> extends [infer _0, infer Input extends string] ? (TFactor<Input> extends [infer _1, infer Input extends string] ? (TExprTermTail<Input> extends [infer _2, infer Input extends string] ? [[_0, _1, _2], Input] : []) : []) : []) extends [infer _0, infer Input extends string] ? [_0, Input] : [[], Input] extends [infer _0, infer Input extends string] ? [_0, Input] : []) extends [infer _0 extends [unknown, unknown, unknown] | [], infer Input extends string] ? [S.TExprTermTailMapping<_0>, Input] : [];
|
|
48
49
|
export type TExprTerm<Input extends string> = (TFactor<Input> extends [infer _0, infer Input extends string] ? (TExprTermTail<Input> extends [infer _1, infer Input extends string] ? [[_0, _1], Input] : []) : []) extends [infer _0 extends [unknown, unknown], infer Input extends string] ? [S.TExprTermMapping<_0>, Input] : [];
|
|
49
50
|
export type TExprTail<Input extends string> = ((Token.TConst<'|', Input> extends [infer _0, infer Input extends string] ? (TExprTerm<Input> extends [infer _1, infer Input extends string] ? (TExprTail<Input> extends [infer _2, infer Input extends string] ? [[_0, _1, _2], Input] : []) : []) : []) extends [infer _0, infer Input extends string] ? [_0, Input] : [[], Input] extends [infer _0, infer Input extends string] ? [_0, Input] : []) extends [infer _0 extends [unknown, unknown, unknown] | [], infer Input extends string] ? [S.TExprTailMapping<_0>, Input] : [];
|
|
@@ -172,6 +173,7 @@ export declare const IndexArray_0: (input: string, result?: unknown[]) => [unkno
|
|
|
172
173
|
export declare const IndexArray: (input: string) => [unknown, string] | [];
|
|
173
174
|
export declare const Extends: (input: string) => [unknown, string] | [];
|
|
174
175
|
export declare const Base: (input: string) => [unknown, string] | [];
|
|
176
|
+
export declare const With: (input: string) => [unknown, string] | [];
|
|
175
177
|
export declare const Factor: (input: string) => [unknown, string] | [];
|
|
176
178
|
export declare const ExprTermTail: (input: string) => [unknown, string] | [];
|
|
177
179
|
export declare const ExprTerm: (input: string) => [unknown, string] | [];
|
|
@@ -47,7 +47,8 @@ export const IndexArray_0 = (input, result = []) => If(If(If(Token.Const('[', in
|
|
|
47
47
|
export const IndexArray = (input) => If(IndexArray_0(input), ([_0, input]) => [S.IndexArrayMapping(_0), input]);
|
|
48
48
|
export const Extends = (input) => If(If(If(Token.Const('extends', input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Token.Const('?', input), ([_2, input]) => If(Type(input), ([_3, input]) => If(Token.Const(':', input), ([_4, input]) => If(Type(input), ([_5, input]) => [[_0, _1, _2, _3, _4, _5], input])))))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ExtendsMapping(_0), input]);
|
|
49
49
|
export const Base = (input) => If(If(If(Token.Const('(', input), ([_0, input]) => If(Type(input), ([_1, input]) => If(Token.Const(')', input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If(Keyword(input), ([_0, input]) => [_0, input], () => If(_Object_(input), ([_0, input]) => [_0, input], () => If(Tuple(input), ([_0, input]) => [_0, input], () => If(TemplateLiteral(input), ([_0, input]) => [_0, input], () => If(Literal(input), ([_0, input]) => [_0, input], () => If(Constructor(input), ([_0, input]) => [_0, input], () => If(_Function_(input), ([_0, input]) => [_0, input], () => If(Mapped(input), ([_0, input]) => [_0, input], () => If(Options(input), ([_0, input]) => [_0, input], () => If(GenericCall(input), ([_0, input]) => [_0, input], () => If(Reference(input), ([_0, input]) => [_0, input], () => [])))))))))))), ([_0, input]) => [S.BaseMapping(_0), input]);
|
|
50
|
-
export const
|
|
50
|
+
export const With = (input) => If(If(If(Token.Const('with', input), ([_0, input]) => If(JsonObject(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.WithMapping(_0), input]);
|
|
51
|
+
export const Factor = (input) => If(If(KeyOf(input), ([_0, input]) => If(Base(input), ([_1, input]) => If(IndexArray(input), ([_2, input]) => If(Extends(input), ([_3, input]) => If(With(input), ([_4, input]) => [[_0, _1, _2, _3, _4], input]))))), ([_0, input]) => [S.FactorMapping(_0), input]);
|
|
51
52
|
export const ExprTermTail = (input) => If(If(If(Token.Const('&', input), ([_0, input]) => If(Factor(input), ([_1, input]) => If(ExprTermTail(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ExprTermTailMapping(_0), input]);
|
|
52
53
|
export const ExprTerm = (input) => If(If(Factor(input), ([_0, input]) => If(ExprTermTail(input), ([_1, input]) => [[_0, _1], input])), ([_0, input]) => [S.ExprTermMapping(_0), input]);
|
|
53
54
|
export const ExprTail = (input) => If(If(If(Token.Const('|', input), ([_0, input]) => If(ExprTerm(input), ([_1, input]) => If(ExprTail(input), ([_2, input]) => [[_0, _1, _2], input]))), ([_0, input]) => [_0, input], () => If([[], input], ([_0, input]) => [_0, input], () => [])), ([_0, input]) => [S.ExprTailMapping(_0), input]);
|