@distilled.cloud/slack 1.0.0-rc.14 → 1.0.0-rc.16
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/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +39 -34
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +31 -31
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +41 -41
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +9 -9
- package/lib/pagination.d.ts +2 -2
- package/lib/pagination.js +28 -28
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +61 -59
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +34 -33
- package/lib/retry.js.map +1 -1
- package/lib/services/admin.d.ts +123 -575
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +304 -2878
- package/lib/services/agents.d.ts +13 -55
- package/lib/services/agents.d.ts.map +1 -1
- package/lib/services/agents.js +48 -309
- package/lib/services/api.d.ts +0 -4
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +16 -18
- package/lib/services/apps.d.ts +25 -106
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +84 -509
- package/lib/services/assistant.d.ts +6 -40
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +33 -204
- package/lib/services/auth.d.ts +4 -15
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +22 -90
- package/lib/services/blocks.d.ts +1 -7
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +16 -21
- package/lib/services/bookmarks.d.ts +4 -15
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +27 -76
- package/lib/services/bots.d.ts +1 -9
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +17 -54
- package/lib/services/calls.d.ts +6 -22
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -110
- package/lib/services/canvases.d.ts +7 -35
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +39 -135
- package/lib/services/chat.d.ts +14 -83
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +59 -381
- package/lib/services/conversations.d.ts +31 -116
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +94 -690
- package/lib/services/dialog.d.ts +1 -4
- package/lib/services/dialog.d.ts.map +1 -1
- package/lib/services/dialog.js +13 -17
- package/lib/services/dnd.d.ts +5 -17
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +26 -91
- package/lib/services/emoji.d.ts +1 -8
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +18 -29
- package/lib/services/entity.d.ts +4 -16
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +29 -71
- package/lib/services/files.d.ts +16 -80
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +75 -433
- package/lib/services/functions.d.ts +8 -49
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +45 -203
- package/lib/services/lists.d.ts +13 -55
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +53 -248
- package/lib/services/migration.d.ts +1 -7
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +18 -27
- package/lib/services/oauth.d.ts +7 -43
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +34 -289
- package/lib/services/openid.d.ts +3 -10
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +19 -79
- package/lib/services/pins.d.ts +3 -13
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +27 -61
- package/lib/services/reactions.d.ts +5 -17
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +30 -96
- package/lib/services/reminders.d.ts +5 -17
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +33 -83
- package/lib/services/rtm.d.ts +2 -11
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +22 -56
- package/lib/services/search.d.ts +4 -35
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +28 -167
- package/lib/services/stars.d.ts +4 -26
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +28 -128
- package/lib/services/team.d.ts +11 -63
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +45 -289
- package/lib/services/tooling.d.ts +2 -5
- package/lib/services/tooling.d.ts.map +1 -1
- package/lib/services/tooling.js +15 -28
- package/lib/services/usergroups.d.ts +7 -31
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +40 -146
- package/lib/services/users.d.ts +14 -48
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +54 -249
- package/lib/services/views.d.ts +4 -14
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +28 -73
- package/lib/services/workflows.d.ts +8 -51
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +37 -188
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +8 -8
- package/package.json +14 -10
- package/src/credentials.ts +20 -21
- package/src/errors.ts +31 -27
- package/src/index.ts +1 -1
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +30 -29
- package/src/retry.ts +6 -6
- package/src/services/admin.ts +2717 -3451
- package/src/services/agents.ts +380 -370
- package/src/services/api.ts +31 -21
- package/src/services/apps.ts +569 -621
- package/src/services/assistant.ts +235 -270
- package/src/services/auth.ts +118 -100
- package/src/services/blocks.ts +33 -29
- package/src/services/bookmarks.ts +101 -83
- package/src/services/bots.ts +74 -67
- package/src/services/calls.ts +118 -124
- package/src/services/canvases.ts +171 -178
- package/src/services/chat.ts +428 -496
- package/src/services/conversations.ts +675 -761
- package/src/services/dialog.ts +30 -17
- package/src/services/dnd.ts +125 -99
- package/src/services/emoji.ts +46 -42
- package/src/services/entity.ts +94 -92
- package/src/services/files.ts +536 -531
- package/src/services/functions.ts +209 -274
- package/src/services/lists.ts +289 -304
- package/src/services/migration.ts +39 -37
- package/src/services/oauth.ts +345 -361
- package/src/services/openid.ts +137 -122
- package/src/services/pins.ts +83 -70
- package/src/services/reactions.ts +119 -103
- package/src/services/reminders.ts +112 -90
- package/src/services/rtm.ts +73 -65
- package/src/services/search.ts +193 -244
- package/src/services/stars.ts +101 -160
- package/src/services/team.ts +333 -369
- package/src/services/tooling.ts +43 -30
- package/src/services/usergroups.ts +175 -179
- package/src/services/users.ts +301 -268
- package/src/services/views.ts +85 -80
- package/src/services/workflows.ts +184 -269
- package/src/traits.ts +1 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -288
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/admin.js.map +0 -1
- package/lib/services/agents.js.map +0 -1
- package/lib/services/api.js.map +0 -1
- package/lib/services/apps.js.map +0 -1
- package/lib/services/assistant.js.map +0 -1
- package/lib/services/auth.js.map +0 -1
- package/lib/services/blocks.js.map +0 -1
- package/lib/services/bookmarks.js.map +0 -1
- package/lib/services/bots.js.map +0 -1
- package/lib/services/calls.js.map +0 -1
- package/lib/services/canvases.js.map +0 -1
- package/lib/services/chat.js.map +0 -1
- package/lib/services/conversations.js.map +0 -1
- package/lib/services/dialog.js.map +0 -1
- package/lib/services/dnd.js.map +0 -1
- package/lib/services/emoji.js.map +0 -1
- package/lib/services/entity.js.map +0 -1
- package/lib/services/files.js.map +0 -1
- package/lib/services/functions.js.map +0 -1
- package/lib/services/lists.js.map +0 -1
- package/lib/services/migration.js.map +0 -1
- package/lib/services/oauth.js.map +0 -1
- package/lib/services/openid.js.map +0 -1
- package/lib/services/pins.js.map +0 -1
- package/lib/services/reactions.js.map +0 -1
- package/lib/services/reminders.js.map +0 -1
- package/lib/services/rtm.js.map +0 -1
- package/lib/services/search.js.map +0 -1
- package/lib/services/stars.js.map +0 -1
- package/lib/services/team.js.map +0 -1
- package/lib/services/tooling.js.map +0 -1
- package/lib/services/usergroups.js.map +0 -1
- package/lib/services/users.js.map +0 -1
- package/lib/services/views.js.map +0 -1
- package/lib/services/workflows.js.map +0 -1
- package/src/protocol.test.ts +0 -372
package/src/services/rtm.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
2
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
|
|
3
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
4
5
|
import { SlackError, SlackRateLimited } from "../errors.ts";
|
|
5
6
|
import { SlackProtocol, type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
6
7
|
import * as Retry from "../retry.ts";
|
|
7
8
|
import * as T from "../traits.ts";
|
|
9
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
10
|
+
const __s: any[] = [];
|
|
8
11
|
|
|
9
12
|
export type { SlackOpError, SlackOpContext };
|
|
10
13
|
|
|
@@ -14,24 +17,10 @@ export interface ConnectRtmRequest {
|
|
|
14
17
|
/** Only deliver presence events when requested by subscription. See [presence subscriptions](/apis/web-api/user-presence-and-status#subscriptions). */
|
|
15
18
|
presence_sub?: boolean;
|
|
16
19
|
}
|
|
17
|
-
export const ConnectRtmRequest = /*@__PURE__*/ S.suspend(() =>
|
|
18
|
-
S.Struct({
|
|
19
|
-
batch_presence_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
20
|
-
presence_sub: S.optional(S.Boolean.pipe(T.Query())),
|
|
21
|
-
}).pipe(T.Http({ method: "GET", uri: "/rtm.connect", code: 200 })),
|
|
22
|
-
).annotate({ identifier: "ConnectRtmRequest" }) as any as S.Schema<ConnectRtmRequest>;
|
|
23
|
-
|
|
24
20
|
export interface ConnectRtmResponseSelf {
|
|
25
21
|
id: string;
|
|
26
22
|
name: string;
|
|
27
23
|
}
|
|
28
|
-
export const ConnectRtmResponseSelf = /*@__PURE__*/ S.suspend(() =>
|
|
29
|
-
S.Struct({
|
|
30
|
-
id: S.String,
|
|
31
|
-
name: S.String,
|
|
32
|
-
}),
|
|
33
|
-
).annotate({ identifier: "ConnectRtmResponseSelf" }) as any as S.Schema<ConnectRtmResponseSelf>;
|
|
34
|
-
|
|
35
24
|
export interface ConnectRtmResponseTeam {
|
|
36
25
|
domain: string;
|
|
37
26
|
id: string;
|
|
@@ -39,16 +28,6 @@ export interface ConnectRtmResponseTeam {
|
|
|
39
28
|
enterprise_id?: string;
|
|
40
29
|
enterprise_name?: string;
|
|
41
30
|
}
|
|
42
|
-
export const ConnectRtmResponseTeam = /*@__PURE__*/ S.suspend(() =>
|
|
43
|
-
S.Struct({
|
|
44
|
-
domain: S.String,
|
|
45
|
-
id: S.String,
|
|
46
|
-
name: S.String,
|
|
47
|
-
enterprise_id: S.optional(S.String),
|
|
48
|
-
enterprise_name: S.optional(S.String),
|
|
49
|
-
}),
|
|
50
|
-
).annotate({ identifier: "ConnectRtmResponseTeam" }) as any as S.Schema<ConnectRtmResponseTeam>;
|
|
51
|
-
|
|
52
31
|
export interface ConnectRtmResponse {
|
|
53
32
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
54
33
|
ok: boolean;
|
|
@@ -56,15 +35,6 @@ export interface ConnectRtmResponse {
|
|
|
56
35
|
self: ConnectRtmResponseSelf;
|
|
57
36
|
team: ConnectRtmResponseTeam;
|
|
58
37
|
}
|
|
59
|
-
export const ConnectRtmResponse = /*@__PURE__*/ S.suspend(() =>
|
|
60
|
-
S.Struct({
|
|
61
|
-
ok: S.Boolean,
|
|
62
|
-
url: S.String,
|
|
63
|
-
self: ConnectRtmResponseSelf,
|
|
64
|
-
team: ConnectRtmResponseTeam,
|
|
65
|
-
}),
|
|
66
|
-
).annotate({ identifier: "ConnectRtmResponse" }) as any as S.Schema<ConnectRtmResponse>;
|
|
67
|
-
|
|
68
38
|
export interface StartRtmRequest {
|
|
69
39
|
/** Return timestamp only for latest message object of each channel (improves performance). */
|
|
70
40
|
simple_latest?: boolean;
|
|
@@ -81,24 +51,8 @@ export interface StartRtmRequest {
|
|
|
81
51
|
/** Set this to `true` to receive the locale for users and channels. Defaults to `false` */
|
|
82
52
|
include_locale?: boolean;
|
|
83
53
|
}
|
|
84
|
-
export const StartRtmRequest = /*@__PURE__*/ S.suspend(() =>
|
|
85
|
-
S.Struct({
|
|
86
|
-
simple_latest: S.optional(S.Boolean.pipe(T.Query())),
|
|
87
|
-
no_unreads: S.optional(S.Boolean.pipe(T.Query())),
|
|
88
|
-
mpim_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
89
|
-
presence_sub: S.optional(S.Boolean.pipe(T.Query())),
|
|
90
|
-
batch_presence_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
91
|
-
no_latest: S.optional(S.Boolean.pipe(T.Query())),
|
|
92
|
-
include_locale: S.optional(S.Boolean.pipe(T.Query())),
|
|
93
|
-
}).pipe(T.Http({ method: "GET", uri: "/rtm.start", code: 200 })),
|
|
94
|
-
).annotate({ identifier: "StartRtmRequest" }) as any as S.Schema<StartRtmRequest>;
|
|
95
|
-
|
|
96
54
|
export type StartRtmResponseSelf = ConnectRtmResponseSelf;
|
|
97
|
-
export const StartRtmResponseSelf = ConnectRtmResponseSelf;
|
|
98
|
-
|
|
99
55
|
export type StartRtmResponseTeam = ConnectRtmResponseTeam;
|
|
100
|
-
export const StartRtmResponseTeam = ConnectRtmResponseTeam;
|
|
101
|
-
|
|
102
56
|
export interface StartRtmResponse {
|
|
103
57
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
104
58
|
ok: boolean;
|
|
@@ -106,41 +60,95 @@ export interface StartRtmResponse {
|
|
|
106
60
|
self: ConnectRtmResponseSelf;
|
|
107
61
|
team: ConnectRtmResponseTeam;
|
|
108
62
|
}
|
|
109
|
-
export const StartRtmResponse = /*@__PURE__*/ S.suspend(() =>
|
|
110
|
-
S.Struct({
|
|
111
|
-
ok: S.Boolean,
|
|
112
|
-
url: S.String,
|
|
113
|
-
self: ConnectRtmResponseSelf,
|
|
114
|
-
team: ConnectRtmResponseTeam,
|
|
115
|
-
}),
|
|
116
|
-
).annotate({ identifier: "StartRtmResponse" }) as any as S.Schema<StartRtmResponse>;
|
|
117
|
-
|
|
118
63
|
export type ConnectRtmError = SlackOpError;
|
|
119
|
-
/** Starts a Real Time Messaging session. Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `migration_in_progress`
|
|
64
|
+
/** Starts a Real Time Messaging session. Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `migration_in_progress` -- Team is being migrated between servers. See [the `team_migration_started` event documentation](/reference/events/team_migration_started) for details. See https://docs.slack.dev/reference/methods/rtm.connect */
|
|
120
65
|
export const connectRtm: API.OperationMethod<
|
|
121
66
|
ConnectRtmRequest,
|
|
122
67
|
ConnectRtmResponse,
|
|
123
68
|
ConnectRtmError,
|
|
124
69
|
SlackOpContext
|
|
125
70
|
> = /*@__PURE__*/ API.make(() => ({
|
|
126
|
-
input: ConnectRtmRequest
|
|
127
|
-
output: ConnectRtmResponse
|
|
71
|
+
input: __S(0, __c0, 0) as any as S.Schema<ConnectRtmRequest>,
|
|
72
|
+
output: __S(6, __c1, 2) as any as S.Schema<ConnectRtmResponse>,
|
|
128
73
|
errors: [SlackError, SlackRateLimited],
|
|
129
74
|
protocol: SlackProtocol,
|
|
130
75
|
retry: Retry.Retry,
|
|
131
76
|
}));
|
|
132
77
|
|
|
133
78
|
export type StartRtmError = SlackOpError;
|
|
134
|
-
/** Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead. Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `method_deprecated`
|
|
79
|
+
/** Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead. Rate limit tier: 1 Method-specific errors (the `error` slug on the SlackError): - `method_deprecated` -- `rtm.start` is deprecated. Please use `rtm.connect` instead of `rtm.start`. Read https://docs.slack.dev/changelog/2021-10-rtm-start-to-stop for more info. - `migration_in_progress` -- Workspace is being migrated between servers. See [the `team_migration_started` event documentation](/reference/events/team_migration_started) for details. - `rtm_connect_required` -- `rtm.start` is deprecated. Please use `rtm.connect` instead of `rtm.start`. Read https://docs.slack.dev/changelog/2021-10-rtm-start-to-stop for more info. See https://docs.slack.dev/reference/methods/rtm.start */
|
|
135
80
|
export const startRtm: API.OperationMethod<
|
|
136
81
|
StartRtmRequest,
|
|
137
82
|
StartRtmResponse,
|
|
138
83
|
StartRtmError,
|
|
139
84
|
SlackOpContext
|
|
140
85
|
> = /*@__PURE__*/ API.make(() => ({
|
|
141
|
-
input: StartRtmRequest
|
|
142
|
-
output: StartRtmResponse
|
|
86
|
+
input: __S(8, __c2, 0) as any as S.Schema<StartRtmRequest>,
|
|
87
|
+
output: __S(6, __c1, 2) as any as S.Schema<StartRtmResponse>,
|
|
143
88
|
errors: [SlackError, SlackRateLimited],
|
|
144
89
|
protocol: SlackProtocol,
|
|
145
90
|
retry: Retry.Retry,
|
|
146
91
|
}));
|
|
92
|
+
|
|
93
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
94
|
+
function __c0(j: number): any {
|
|
95
|
+
switch (j) {
|
|
96
|
+
case 0:
|
|
97
|
+
return S.suspend(() =>
|
|
98
|
+
S.Struct({
|
|
99
|
+
batch_presence_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
100
|
+
presence_sub: S.optional(S.Boolean.pipe(T.Query())),
|
|
101
|
+
}).pipe(T.Http({ method: "GET", uri: "/rtm.connect", code: 200 })),
|
|
102
|
+
).annotate({ identifier: "ConnectRtmRequest" });
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function __c1(j: number): any {
|
|
106
|
+
switch (j) {
|
|
107
|
+
case 0:
|
|
108
|
+
return S.suspend(() =>
|
|
109
|
+
S.Struct({
|
|
110
|
+
id: S.String,
|
|
111
|
+
name: S.String,
|
|
112
|
+
}),
|
|
113
|
+
).annotate({ identifier: "ConnectRtmResponseSelf" });
|
|
114
|
+
case 1:
|
|
115
|
+
return S.suspend(() =>
|
|
116
|
+
S.Struct({
|
|
117
|
+
domain: S.String,
|
|
118
|
+
id: S.String,
|
|
119
|
+
name: S.String,
|
|
120
|
+
enterprise_id: S.optional(S.String),
|
|
121
|
+
enterprise_name: S.optional(S.String),
|
|
122
|
+
}),
|
|
123
|
+
).annotate({ identifier: "ConnectRtmResponseTeam" });
|
|
124
|
+
case 2:
|
|
125
|
+
return S.suspend(() =>
|
|
126
|
+
S.Struct({
|
|
127
|
+
ok: S.Boolean,
|
|
128
|
+
url: S.String,
|
|
129
|
+
self: __S(4, __c1, 0),
|
|
130
|
+
team: __S(5, __c1, 1),
|
|
131
|
+
}),
|
|
132
|
+
).annotate({ identifier: "ConnectRtmResponse" });
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function __c2(j: number): any {
|
|
136
|
+
switch (j) {
|
|
137
|
+
case 0:
|
|
138
|
+
return S.suspend(() =>
|
|
139
|
+
S.Struct({
|
|
140
|
+
simple_latest: S.optional(S.Boolean.pipe(T.Query())),
|
|
141
|
+
no_unreads: S.optional(S.Boolean.pipe(T.Query())),
|
|
142
|
+
mpim_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
143
|
+
presence_sub: S.optional(S.Boolean.pipe(T.Query())),
|
|
144
|
+
batch_presence_aware: S.optional(S.Boolean.pipe(T.Query())),
|
|
145
|
+
no_latest: S.optional(S.Boolean.pipe(T.Query())),
|
|
146
|
+
include_locale: S.optional(S.Boolean.pipe(T.Query())),
|
|
147
|
+
}).pipe(T.Http({ method: "GET", uri: "/rtm.start", code: 200 })),
|
|
148
|
+
).annotate({ identifier: "StartRtmRequest" });
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
152
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
153
|
+
return (__s[i] ??= __L.at(f, j));
|
|
154
|
+
}
|