@w6w/sdk 0.6.0 → 0.9.9
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/README.md +166 -16
- package/dist/mod.d.ts +7 -5
- package/dist/mod.d.ts.map +1 -1
- package/dist/mod.js +1 -0
- package/dist/mod.js.map +1 -1
- package/dist/src/client.d.ts +11 -2
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +12 -2
- package/dist/src/client.js.map +1 -1
- package/dist/src/config.d.ts +83 -6
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +40 -4
- package/dist/src/config.js.map +1 -1
- package/dist/src/connections.d.ts +3 -2
- package/dist/src/connections.d.ts.map +1 -1
- package/dist/src/connections.js +7 -2
- package/dist/src/connections.js.map +1 -1
- package/dist/src/console/api-calls.d.ts +4 -3
- package/dist/src/console/api-calls.d.ts.map +1 -1
- package/dist/src/console/api-calls.js +4 -3
- package/dist/src/console/api-calls.js.map +1 -1
- package/dist/src/console/apps.d.ts +181 -8
- package/dist/src/console/apps.d.ts.map +1 -1
- package/dist/src/console/apps.js +67 -12
- package/dist/src/console/apps.js.map +1 -1
- package/dist/src/console/auth.d.ts +43 -3
- package/dist/src/console/auth.d.ts.map +1 -1
- package/dist/src/console/auth.js +23 -4
- package/dist/src/console/auth.js.map +1 -1
- package/dist/src/console/commerce.d.ts +428 -0
- package/dist/src/console/commerce.d.ts.map +1 -0
- package/dist/src/console/commerce.js +220 -0
- package/dist/src/console/commerce.js.map +1 -0
- package/dist/src/console/dashboard.d.ts +8 -0
- package/dist/src/console/dashboard.d.ts.map +1 -1
- package/dist/src/console/dashboard.js.map +1 -1
- package/dist/src/console/endpoints.d.ts +57 -2
- package/dist/src/console/endpoints.d.ts.map +1 -1
- package/dist/src/console/endpoints.js.map +1 -1
- package/dist/src/console/functions.d.ts +35 -4
- package/dist/src/console/functions.d.ts.map +1 -1
- package/dist/src/console/functions.js +13 -0
- package/dist/src/console/functions.js.map +1 -1
- package/dist/src/console/mod.d.ts +22 -7
- package/dist/src/console/mod.d.ts.map +1 -1
- package/dist/src/console/mod.js +16 -1
- package/dist/src/console/mod.js.map +1 -1
- package/dist/src/console/otp.d.ts +127 -0
- package/dist/src/console/otp.d.ts.map +1 -0
- package/dist/src/console/otp.js +118 -0
- package/dist/src/console/otp.js.map +1 -0
- package/dist/src/console/reliability.d.ts +101 -6
- package/dist/src/console/reliability.d.ts.map +1 -1
- package/dist/src/console/reliability.js +16 -5
- package/dist/src/console/reliability.js.map +1 -1
- package/dist/src/console/step-tests.d.ts +7 -1
- package/dist/src/console/step-tests.d.ts.map +1 -1
- package/dist/src/console/step-tests.js +1 -1
- package/dist/src/console/step-tests.js.map +1 -1
- package/dist/src/console/subscriptions.d.ts +38 -16
- package/dist/src/console/subscriptions.d.ts.map +1 -1
- package/dist/src/console/subscriptions.js +7 -13
- package/dist/src/console/subscriptions.js.map +1 -1
- package/dist/src/console/tenant-login-flags.d.ts +106 -0
- package/dist/src/console/tenant-login-flags.d.ts.map +1 -0
- package/dist/src/console/tenant-login-flags.js +113 -0
- package/dist/src/console/tenant-login-flags.js.map +1 -0
- package/dist/src/console/tenant-oauth-apps.d.ts +75 -14
- package/dist/src/console/tenant-oauth-apps.d.ts.map +1 -1
- package/dist/src/console/tenant-oauth-apps.js +37 -11
- package/dist/src/console/tenant-oauth-apps.js.map +1 -1
- package/dist/src/console/tokens.d.ts +2 -0
- package/dist/src/console/tokens.d.ts.map +1 -1
- package/dist/src/console/tokens.js.map +1 -1
- package/dist/src/console/workflows.d.ts +14 -0
- package/dist/src/console/workflows.d.ts.map +1 -1
- package/dist/src/console/workflows.js +13 -0
- package/dist/src/console/workflows.js.map +1 -1
- package/dist/src/documents.d.ts +9 -5
- package/dist/src/documents.d.ts.map +1 -1
- package/dist/src/documents.js +6 -3
- package/dist/src/documents.js.map +1 -1
- package/dist/src/functions.d.ts +149 -1
- package/dist/src/functions.d.ts.map +1 -1
- package/dist/src/functions.js +145 -0
- package/dist/src/functions.js.map +1 -1
- package/dist/src/http.d.ts +58 -10
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +82 -11
- package/dist/src/http.js.map +1 -1
- package/dist/src/me.d.ts +3 -2
- package/dist/src/me.d.ts.map +1 -1
- package/dist/src/me.js +7 -2
- package/dist/src/me.js.map +1 -1
- package/dist/src/run.d.ts +11 -2
- package/dist/src/run.d.ts.map +1 -1
- package/dist/src/run.js +11 -2
- package/dist/src/run.js.map +1 -1
- package/dist/src/server/mod.d.ts +100 -0
- package/dist/src/server/mod.d.ts.map +1 -0
- package/dist/src/server/mod.js +121 -0
- package/dist/src/server/mod.js.map +1 -0
- package/dist/src/team.d.ts +204 -0
- package/dist/src/team.d.ts.map +1 -0
- package/dist/src/team.js +161 -0
- package/dist/src/team.js.map +1 -0
- package/dist/src/types.d.ts +143 -10
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +27 -0
- package/dist/src/types.js.map +1 -1
- package/dist/src/vars.d.ts +5 -3
- package/dist/src/vars.d.ts.map +1 -1
- package/dist/src/vars.js +14 -4
- package/dist/src/vars.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/workflows.d.ts +261 -9
- package/dist/src/workflows.d.ts.map +1 -1
- package/dist/src/workflows.js +246 -7
- package/dist/src/workflows.js.map +1 -1
- package/package.json +5 -1
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*
|
|
20
20
|
* @module
|
|
21
21
|
*/
|
|
22
|
-
import type { HttpResponse, RequestOptions } from "./http.ts";
|
|
22
|
+
import type { CallOptions, HttpResponse, RequestOptions } from "./http.ts";
|
|
23
23
|
import { type ConnectionSummary } from "./types.ts";
|
|
24
24
|
/**
|
|
25
25
|
* The slice of `W6WClient` this namespace needs: the transport, and nothing
|
|
@@ -50,9 +50,10 @@ export declare class ConnectionsApi {
|
|
|
50
50
|
/**
|
|
51
51
|
* List the caller's connections.
|
|
52
52
|
*
|
|
53
|
+
* @param options - Optional per-call transport options (`signal` to abort).
|
|
53
54
|
* @returns The connections, unwrapped from the `connections` envelope.
|
|
54
55
|
* @throws {ApiError} On any non-2xx.
|
|
55
56
|
*/
|
|
56
|
-
list(): Promise<ConnectionSummary[]>;
|
|
57
|
+
list(options?: CallOptions): Promise<ConnectionSummary[]>;
|
|
57
58
|
}
|
|
58
59
|
//# sourceMappingURL=connections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/connections.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/connections.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3E,OAAO,EAAE,KAAK,iBAAiB,EAAU,MAAM,YAAY,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/D;AAED;;;;;;;;;GASG;AACH,qBAAa,cAAc;;IAGzB;;OAEG;gBACS,IAAI,EAAE,eAAe;IAIjC;;;;;;OAMG;IACG,IAAI,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;CAQhE"}
|
package/dist/src/connections.js
CHANGED
|
@@ -41,11 +41,16 @@ export class ConnectionsApi {
|
|
|
41
41
|
/**
|
|
42
42
|
* List the caller's connections.
|
|
43
43
|
*
|
|
44
|
+
* @param options - Optional per-call transport options (`signal` to abort).
|
|
44
45
|
* @returns The connections, unwrapped from the `connections` envelope.
|
|
45
46
|
* @throws {ApiError} On any non-2xx.
|
|
46
47
|
*/
|
|
47
|
-
async list() {
|
|
48
|
-
const res = await this.#host.request({
|
|
48
|
+
async list(options) {
|
|
49
|
+
const res = await this.#host.request({
|
|
50
|
+
method: "GET",
|
|
51
|
+
path: "/connections",
|
|
52
|
+
signal: options?.signal,
|
|
53
|
+
});
|
|
49
54
|
return unwrap(res, "connections");
|
|
50
55
|
}
|
|
51
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/connections.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAA0B,MAAM,EAAE,MAAM,YAAY,CAAC;AAa5D;;;;;;;;;GASG;AACH,MAAM,OAAO,cAAc;IAChB,KAAK,CAAkB;IAEhC;;OAEG;IACH,YAAY,IAAqB;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../src/connections.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAA0B,MAAM,EAAE,MAAM,YAAY,CAAC;AAa5D;;;;;;;;;GASG;AACH,MAAM,OAAO,cAAc;IAChB,KAAK,CAAkB;IAEhC;;OAEG;IACH,YAAY,IAAqB;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,CAAC,OAAqB;QAC9B,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAU;YAC5C,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,cAAc;YACpB,MAAM,EAAE,OAAO,EAAE,MAAM;SACxB,CAAC,CAAC;QACH,OAAO,MAAM,CAAsB,GAAG,EAAE,aAAa,CAAC,CAAC;IACzD,CAAC;CACF"}
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
* result type) and `console/mod.ts` already re-exports it — this module
|
|
21
21
|
* imports it as a type and uses it verbatim as `list`'s return element type.
|
|
22
22
|
*
|
|
23
|
-
* `api-calls` is scoped to the caller
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* `api-calls` is scoped to the caller and can be narrowed to one project. The
|
|
24
|
+
* reliability detail page always supplies that project so its drill-down rows
|
|
25
|
+
* are the same rows that produced the reliability numbers.
|
|
26
26
|
*
|
|
27
27
|
* @module
|
|
28
28
|
*/
|
|
@@ -46,6 +46,7 @@ export interface ApiCallsHost {
|
|
|
46
46
|
* values.
|
|
47
47
|
*/
|
|
48
48
|
export interface ApiCallsFilter {
|
|
49
|
+
project?: string;
|
|
49
50
|
appId?: string;
|
|
50
51
|
actionKey?: string;
|
|
51
52
|
connectionId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-calls.d.ts","sourceRoot":"","sources":["../../../src/console/api-calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAK/C,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,2BAA2B;IAC3B,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/D;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,qBAAa,WAAW;;IAGtB;;OAEG;gBACS,IAAI,EAAE,YAAY;IAI9B;;;;;;;OAOG;IACG,IAAI,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"api-calls.d.ts","sourceRoot":"","sources":["../../../src/console/api-calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAK/C,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,2BAA2B;IAC3B,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CAC/D;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,qBAAa,WAAW;;IAGtB;;OAEG;gBACS,IAAI,EAAE,YAAY;IAI9B;;;;;;;OAOG;IACG,IAAI,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;CAe9D"}
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
* result type) and `console/mod.ts` already re-exports it — this module
|
|
21
21
|
* imports it as a type and uses it verbatim as `list`'s return element type.
|
|
22
22
|
*
|
|
23
|
-
* `api-calls` is scoped to the caller
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* `api-calls` is scoped to the caller and can be narrowed to one project. The
|
|
24
|
+
* reliability detail page always supplies that project so its drill-down rows
|
|
25
|
+
* are the same rows that produced the reliability numbers.
|
|
26
26
|
*
|
|
27
27
|
* @module
|
|
28
28
|
*/
|
|
@@ -57,6 +57,7 @@ export class ApiCallsApi {
|
|
|
57
57
|
path: "/api-calls",
|
|
58
58
|
query: {
|
|
59
59
|
appId: filter?.appId,
|
|
60
|
+
project: filter?.project,
|
|
60
61
|
actionKey: filter?.actionKey,
|
|
61
62
|
connectionId: filter?.connectionId,
|
|
62
63
|
sessionId: filter?.sessionId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-calls.js","sourceRoot":"","sources":["../../../src/console/api-calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"api-calls.js","sourceRoot":"","sources":["../../../src/console/api-calls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAmCrC;;;;;;;GAOG;AACH,MAAM,OAAO,WAAW;IACb,KAAK,CAAe;IAE7B;;OAEG;IACH,YAAY,IAAkB;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CAAC,MAAuB;QAChC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAU;YAC5C,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE;gBACL,KAAK,EAAE,MAAM,EAAE,KAAK;gBACpB,OAAO,EAAE,MAAM,EAAE,OAAO;gBACxB,SAAS,EAAE,MAAM,EAAE,SAAS;gBAC5B,YAAY,EAAE,MAAM,EAAE,YAAY;gBAClC,SAAS,EAAE,MAAM,EAAE,SAAS;gBAC5B,KAAK,EAAE,MAAM,EAAE,KAAK;aACrB;SACF,CAAC,CAAC;QACH,OAAO,MAAM,CAAkB,GAAG,EAAE,UAAU,CAAC,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
* this class holds no state of its own beyond the injected host, so two
|
|
13
13
|
* clients in one process never share a credential.
|
|
14
14
|
*
|
|
15
|
-
* **The largest single domain in this project** —
|
|
15
|
+
* **The largest single domain in this project** — 17 methods (`listPage` is
|
|
16
|
+
* new, additive to `list`, and reuses the same `AppsHost.request` call
|
|
17
|
+
* `list`'s cursor loop makes), relocated from
|
|
16
18
|
* `packages/studio/src/api/client.ts`'s single `// Apps` comment block
|
|
17
19
|
* (`client.ts:235-393` on the studio base tree). Method names below are
|
|
18
20
|
* SHORTENED (dropping the `App`/`Apps` prefix `client.ts`'s flat method names
|
|
@@ -75,6 +77,19 @@ export interface AppsHost {
|
|
|
75
77
|
* `packages/studio/src/api/types.ts:10-32` — this module does not redesign
|
|
76
78
|
* the shape, only gives it a second home.
|
|
77
79
|
*/
|
|
80
|
+
/**
|
|
81
|
+
* Execution metadata for one step: which app, version and action ran, and
|
|
82
|
+
* the connection it ran with (`null` when none). Declared locally as a
|
|
83
|
+
* structural copy of the engine's step metadata shape — this SDK has zero
|
|
84
|
+
* dependencies and imports no workflow package. All four keys are always
|
|
85
|
+
* present on a reported value; an absent value is simply absent.
|
|
86
|
+
*/
|
|
87
|
+
export interface StepMeta {
|
|
88
|
+
app: string;
|
|
89
|
+
version: string;
|
|
90
|
+
action: string;
|
|
91
|
+
connectionId: string | null;
|
|
92
|
+
}
|
|
78
93
|
/**
|
|
79
94
|
* The incoming state a single-step test is run against — what the upstream
|
|
80
95
|
* steps last produced. The server projects it onto the scope roots an
|
|
@@ -86,11 +101,32 @@ export interface AppsHost {
|
|
|
86
101
|
export interface InvokeStartState {
|
|
87
102
|
steps?: Record<string, {
|
|
88
103
|
output?: unknown;
|
|
104
|
+
meta?: StepMeta;
|
|
89
105
|
}>;
|
|
90
106
|
trigger?: {
|
|
91
107
|
event?: unknown;
|
|
92
108
|
};
|
|
93
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* A caller-supplied override merged into an app action's outbound request at
|
|
112
|
+
* the wire — the escape hatch for a vendor field the Action's own `params`
|
|
113
|
+
* don't declare (`.claude/docs/overrides.md`). Declared locally rather than
|
|
114
|
+
* imported from `@w6w/types`'s `RequestOverrides`: the SDK has zero runtime
|
|
115
|
+
* dependencies and declares its own types (see {@link InvokeStartState}
|
|
116
|
+
* above), so this mirrors that shape structurally instead.
|
|
117
|
+
*/
|
|
118
|
+
export interface RequestOverrides {
|
|
119
|
+
/** Merged over the request body — deep-merges objects, index-merges arrays. */
|
|
120
|
+
body?: Record<string, unknown>;
|
|
121
|
+
/** Merged into the URL's query string; `null` removes a key the action set. */
|
|
122
|
+
query?: Record<string, string | number | boolean | null>;
|
|
123
|
+
/** Added to the request headers; applied before the auth `sign` hook, so it can't hijack it. */
|
|
124
|
+
headers?: Record<string, string>;
|
|
125
|
+
/** Which outbound request receives the overrides. Defaults to `"first"`. */
|
|
126
|
+
target?: "first" | "first-write" | "all";
|
|
127
|
+
/** Restrict the merge to requests whose URL contains this substring. */
|
|
128
|
+
match?: string;
|
|
129
|
+
}
|
|
94
130
|
/** Options for {@link AppsNamespace.invoke}. */
|
|
95
131
|
export interface InvokeOptions {
|
|
96
132
|
/** Run the action with this connection; omitted, the server picks one. */
|
|
@@ -99,6 +135,8 @@ export interface InvokeOptions {
|
|
|
99
135
|
project?: string;
|
|
100
136
|
/** Upstream state to resolve `steps.<id>.output` / `trigger.event` against. */
|
|
101
137
|
state?: InvokeStartState;
|
|
138
|
+
/** Escape hatch for a vendor field the Action's declared params don't cover. */
|
|
139
|
+
overrides?: RequestOverrides;
|
|
102
140
|
}
|
|
103
141
|
export interface AppSummary {
|
|
104
142
|
id: string;
|
|
@@ -129,6 +167,14 @@ export interface AppSummary {
|
|
|
129
167
|
* `GET /apps/:id/auths` read just to know whether OAuth is on the table.
|
|
130
168
|
*/
|
|
131
169
|
supportsOAuth?: boolean;
|
|
170
|
+
/** How many triggers this app's latest version declares. 0 when it declares none. */
|
|
171
|
+
triggerCount?: number;
|
|
172
|
+
/**
|
|
173
|
+
* True when the CALLING tenant has zero-credential access flagged for this
|
|
174
|
+
* app — usable with no connection step at all (server-computed per caller,
|
|
175
|
+
* `packages/server/packages/api/wire-summary.ts`'s `WireAppSummary.zeroCredential`).
|
|
176
|
+
*/
|
|
177
|
+
zeroCredential?: boolean;
|
|
132
178
|
/**
|
|
133
179
|
* Ownership sentinels: neither set -> global · `tenant` set, `subject` empty
|
|
134
180
|
* -> tenant-owned · both -> user-owned. Projected server-side by `wireOwner`
|
|
@@ -206,6 +252,38 @@ export interface AuthField {
|
|
|
206
252
|
default?: unknown;
|
|
207
253
|
hint?: string;
|
|
208
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Per-app guidance for registering an OAuth client with the provider, as the
|
|
257
|
+
* manifest's `oauth2.setup` block declares it. **Display-only and untrusted**:
|
|
258
|
+
* render it as text, never interpret it as markup, a URL to fetch, or config.
|
|
259
|
+
*/
|
|
260
|
+
export interface OAuth2ClientSetup {
|
|
261
|
+
/** Where the provider's developer console lives. */
|
|
262
|
+
consoleUrl?: string;
|
|
263
|
+
/** Step-by-step instructions for creating the OAuth client. */
|
|
264
|
+
instructions?: string;
|
|
265
|
+
/** Hint for the client id field. */
|
|
266
|
+
clientIdHint?: string;
|
|
267
|
+
/** Hint for the client secret field. */
|
|
268
|
+
clientSecretHint?: string;
|
|
269
|
+
/** Hint for the redirect URI the provider asks for. */
|
|
270
|
+
redirectUriHint?: string;
|
|
271
|
+
/** Hint for the provider-specific `extra` field. */
|
|
272
|
+
extraHint?: string;
|
|
273
|
+
/** A starting `extra` object to pre-fill a new row with. */
|
|
274
|
+
extraTemplate?: Record<string, unknown>;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* The `oauth2` block of an {@link AuthDef}: the manifest's OAuth2 endpoints,
|
|
278
|
+
* passed through verbatim (hence the index signature), plus the typed
|
|
279
|
+
* {@link OAuth2ClientSetup} guidance. The callback URL is NOT in here; it is
|
|
280
|
+
* {@link AuthDef.callbackUrl}, a sibling of this block.
|
|
281
|
+
*/
|
|
282
|
+
export interface OAuth2AuthConfig {
|
|
283
|
+
/** Display-only client-registration guidance, when the manifest declares it. */
|
|
284
|
+
setup?: OAuth2ClientSetup;
|
|
285
|
+
[key: string]: unknown;
|
|
286
|
+
}
|
|
209
287
|
/**
|
|
210
288
|
* Auth method declaration as exposed by an app's manifest. Field-for-field
|
|
211
289
|
* per `packages/studio/src/api/types.ts:93-114`.
|
|
@@ -217,8 +295,14 @@ export interface AuthDef {
|
|
|
217
295
|
description?: string;
|
|
218
296
|
connectionLabel?: string;
|
|
219
297
|
fields?: AuthField[];
|
|
220
|
-
/** OAuth2 endpoints (only present when type === "oauth2"). */
|
|
221
|
-
oauth2?:
|
|
298
|
+
/** OAuth2 endpoints and setup guidance (only present when type === "oauth2"). */
|
|
299
|
+
oauth2?: OAuth2AuthConfig;
|
|
300
|
+
/**
|
|
301
|
+
* This app's OAuth callback URL, derived SERVER-SIDE (only present on an
|
|
302
|
+
* oauth2 entry). A sibling of `oauth2`, never inside it. Display it; never
|
|
303
|
+
* assemble it client-side.
|
|
304
|
+
*/
|
|
305
|
+
callbackUrl?: string;
|
|
222
306
|
/**
|
|
223
307
|
* Server-side availability flag. False when the method requires per-host
|
|
224
308
|
* configuration that hasn't been provided yet (e.g. an oauth2 method with
|
|
@@ -227,7 +311,7 @@ export interface AuthDef {
|
|
|
227
311
|
available?: boolean;
|
|
228
312
|
/**
|
|
229
313
|
* Names of host-side config keys this method needs. Present on `oauth2`
|
|
230
|
-
* (["clientId", "clientSecret"
|
|
314
|
+
* (["clientId", "clientSecret"]). Empty / undefined for
|
|
231
315
|
* types that source everything from end-user input.
|
|
232
316
|
*/
|
|
233
317
|
requiresHostConfig?: string[];
|
|
@@ -336,6 +420,8 @@ export interface OAuthConfigSummary {
|
|
|
336
420
|
authKey: string;
|
|
337
421
|
clientId: string;
|
|
338
422
|
redirectUri: string;
|
|
423
|
+
/** This row's OAuth callback URL, derived server-side. Absent from an older server. */
|
|
424
|
+
callbackUrl?: string;
|
|
339
425
|
hasClientSecret: true;
|
|
340
426
|
extra: Record<string, unknown>;
|
|
341
427
|
createdAt: string;
|
|
@@ -442,9 +528,58 @@ export interface TriggerDef {
|
|
|
442
528
|
export interface UpsertOAuthConfigInput {
|
|
443
529
|
clientId: string;
|
|
444
530
|
clientSecret: string;
|
|
445
|
-
redirectUri: string;
|
|
446
531
|
extra?: Record<string, unknown>;
|
|
447
532
|
}
|
|
533
|
+
/** One page of `GET /apps`, as {@link AppsApi.listPage} and `list`'s pagination loop both read it. */
|
|
534
|
+
export interface AppsPage {
|
|
535
|
+
apps: AppSummary[];
|
|
536
|
+
nextCursor?: string;
|
|
537
|
+
}
|
|
538
|
+
/** {@link ListAppsOptions.sort}'s allowed wire values. */
|
|
539
|
+
export type ListAppsSort = "name" | "-name" | "recent" | "-recent";
|
|
540
|
+
/**
|
|
541
|
+
* Options for {@link AppsApi.listPage}. Every member is optional and, when
|
|
542
|
+
* present, is forwarded to `GET /apps` under the SAME wire name — this is a
|
|
543
|
+
* thin pass-through, not a client-side re-shaping. An omitted member is never
|
|
544
|
+
* sent; an explicitly supplied `false` (`managed`/`compact`) IS sent, which is
|
|
545
|
+
* why `undefined` and `false` are kept distinct all the way to the query
|
|
546
|
+
* string (see {@link QueryParams} in `../http.ts`).
|
|
547
|
+
*/
|
|
548
|
+
export interface ListAppsOptions {
|
|
549
|
+
/** Full-text search. */
|
|
550
|
+
q?: string;
|
|
551
|
+
category?: string;
|
|
552
|
+
maturity?: string;
|
|
553
|
+
/** One visibility tier — not a CSV list. */
|
|
554
|
+
visibility?: string;
|
|
555
|
+
sort?: ListAppsSort;
|
|
556
|
+
/** Page size. The server clamps to its own bounds; this wrapper does not. */
|
|
557
|
+
limit?: number;
|
|
558
|
+
/** Opaque pagination cursor from a prior page's `nextCursor`. */
|
|
559
|
+
cursor?: string;
|
|
560
|
+
/** Restrict to the caller's account-managed apps (T3.1.2's distinct query). */
|
|
561
|
+
managed?: boolean;
|
|
562
|
+
/** Ask the server for a bounded picker-summary projection (T3.1.1 owns the projection itself). */
|
|
563
|
+
compact?: boolean;
|
|
564
|
+
/**
|
|
565
|
+
* An explicit, bounded set of app ids to resolve — the CSV wire format
|
|
566
|
+
* `GET /apps?ids=a,b,c` (mirrors `admin/reliability.ts`'s `parseAppIds`).
|
|
567
|
+
* `cursor`/`limit`/`sort` are ignored server-side whenever `ids` is present.
|
|
568
|
+
* This option is forwarded AS GIVEN, with no chunking in this method:
|
|
569
|
+
* `ids: []` still sends `ids=` (empty, never the unfiltered page); omitting
|
|
570
|
+
* the option sends no `ids` key at all. A caller passing more than the
|
|
571
|
+
* server's cap (100 ids) gets the server's own `400 too_many_ids` — chunking
|
|
572
|
+
* a larger set is the caller's job (`@w6w/react`'s `createW6WUiAdapter`
|
|
573
|
+
* `listAppsByIds` does exactly that).
|
|
574
|
+
*/
|
|
575
|
+
ids?: readonly string[];
|
|
576
|
+
/**
|
|
577
|
+
* Abort this request. Local request control only — reaches the injected
|
|
578
|
+
* `fetch` through `RequestOptions.signal` and is NEVER serialized into the
|
|
579
|
+
* URL or body.
|
|
580
|
+
*/
|
|
581
|
+
signal?: AbortSignal;
|
|
582
|
+
}
|
|
448
583
|
/**
|
|
449
584
|
* The `console.apps` namespace on a `W6WClient`.
|
|
450
585
|
*
|
|
@@ -469,12 +604,46 @@ export declare class AppsApi {
|
|
|
469
604
|
* returns the server's default page and would silently hide anything past
|
|
470
605
|
* it. Capped at 20 pages (~4000 apps at the 200-per-page size) as a runaway
|
|
471
606
|
* backstop, not an expected limit; relocated verbatim from
|
|
472
|
-
* `client.ts:244-256`.
|
|
607
|
+
* `client.ts:244-256`. Implemented on top of {@link listPage} (same
|
|
608
|
+
* `AppsHost.request` call, same cursor field) rather than a parallel fetch,
|
|
609
|
+
* so there is exactly one place that builds a `GET /apps` request.
|
|
610
|
+
*
|
|
611
|
+
* @deprecated Prefer {@linkcode listPage} with an explicit `ids` set —
|
|
612
|
+
* studio's `AppsProvider` is the current consumer and resolves exactly the
|
|
613
|
+
* ids it needs via `listPage({ ids })` instead of this eager full-catalog
|
|
614
|
+
* fetch. CLI and one-off scripts, which genuinely want the whole catalog,
|
|
615
|
+
* keep using `list()`.
|
|
473
616
|
*
|
|
474
617
|
* @returns Every app summary across all pages, in the order the server sent them.
|
|
475
618
|
* @throws {ApiError} On any non-2xx.
|
|
476
619
|
*/
|
|
477
620
|
list(): Promise<AppSummary[]>;
|
|
621
|
+
/**
|
|
622
|
+
* Fetch exactly ONE page of `GET /apps` — the bounded seam behind every
|
|
623
|
+
* picker/selector UI (Apps/AI/Triggers tabs, search, "load more"), and the
|
|
624
|
+
* one {@link list} itself now loops on. Every {@link ListAppsOptions} member
|
|
625
|
+
* that is present is forwarded to the server under its own wire name; an
|
|
626
|
+
* absent member is dropped from the query string entirely, while an
|
|
627
|
+
* explicitly supplied `false` (`managed`/`compact`) is sent as `false`, not
|
|
628
|
+
* dropped — `QueryParams` in `../http.ts` only drops `undefined`.
|
|
629
|
+
* `options.signal` reaches the injected `fetch` through
|
|
630
|
+
* `RequestOptions.signal` and is never part of the URL or body.
|
|
631
|
+
*
|
|
632
|
+
* `options.ids` is a thin pass-through, not chunked here: present (even
|
|
633
|
+
* `[]`) it is CSV-joined onto the wire as `ids=...` (an empty array still
|
|
634
|
+
* sends `ids=`, never an unfiltered page); absent, no `ids` key is sent at
|
|
635
|
+
* all. A caller with more ids than the server accepts in one request gets
|
|
636
|
+
* the server's own `400`; see {@link ListAppsOptions.ids}.
|
|
637
|
+
*
|
|
638
|
+
* @param options - See {@link ListAppsOptions}. Omitted entirely, this is
|
|
639
|
+
* one unfiltered, unsorted default-page-size request.
|
|
640
|
+
* @returns One page: `{apps, nextCursor}}`. `nextCursor` is absent on the
|
|
641
|
+
* last page.
|
|
642
|
+
* @throws {ApiError} On any non-2xx, and (distinguishably, `code:
|
|
643
|
+
* "cancelled"`) when `options.signal` was aborted before the response came
|
|
644
|
+
* back.
|
|
645
|
+
*/
|
|
646
|
+
listPage(options?: ListAppsOptions): Promise<AppsPage>;
|
|
478
647
|
/**
|
|
479
648
|
* Fetch one registered app's detail (latest manifest + actions + overlay).
|
|
480
649
|
*
|
|
@@ -659,14 +828,18 @@ export declare class AppsApi {
|
|
|
659
828
|
* @param params - The action's parameters, forwarded verbatim.
|
|
660
829
|
* @param opts - `connectionId` to run with (omitted, the server picks);
|
|
661
830
|
* `project` to scope vars/documents to; `state` to resolve upstream
|
|
662
|
-
* references against
|
|
663
|
-
*
|
|
831
|
+
* references against; `overrides` to reach a vendor field the action's
|
|
832
|
+
* own params don't declare — merged onto the invocation envelope, never
|
|
833
|
+
* into `params`.
|
|
834
|
+
* @returns The whole response body — no envelope key to peel. `meta` sits
|
|
835
|
+
* beside `value` and is present only when the host reported it.
|
|
664
836
|
* @throws {ApiError} On any non-2xx, including an action's own failure (`424`).
|
|
665
837
|
*/
|
|
666
838
|
invoke(appId: string, actionKey: string, params: Record<string, unknown>, opts?: InvokeOptions): Promise<{
|
|
667
839
|
value: unknown;
|
|
668
840
|
logs?: string[];
|
|
669
841
|
apiCalls?: ApiCallRecord[];
|
|
842
|
+
meta?: StepMeta;
|
|
670
843
|
}>;
|
|
671
844
|
/**
|
|
672
845
|
* Unregister an app (all versions by default).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../src/console/apps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,GAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAO,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAStF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,MAAM,CACV,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,GAAE,aAAkB,GACvB,OAAO,CAAC;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;QAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IAa5F;;;;;;;;;;;;;OAaG;IACG,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAO1D"}
|
package/dist/src/console/apps.js
CHANGED
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
* this class holds no state of its own beyond the injected host, so two
|
|
13
13
|
* clients in one process never share a credential.
|
|
14
14
|
*
|
|
15
|
-
* **The largest single domain in this project** —
|
|
15
|
+
* **The largest single domain in this project** — 17 methods (`listPage` is
|
|
16
|
+
* new, additive to `list`, and reuses the same `AppsHost.request` call
|
|
17
|
+
* `list`'s cursor loop makes), relocated from
|
|
16
18
|
* `packages/studio/src/api/client.ts`'s single `// Apps` comment block
|
|
17
19
|
* (`client.ts:235-393` on the studio base tree). Method names below are
|
|
18
20
|
* SHORTENED (dropping the `App`/`Apps` prefix `client.ts`'s flat method names
|
|
@@ -87,7 +89,15 @@ export class AppsApi {
|
|
|
87
89
|
* returns the server's default page and would silently hide anything past
|
|
88
90
|
* it. Capped at 20 pages (~4000 apps at the 200-per-page size) as a runaway
|
|
89
91
|
* backstop, not an expected limit; relocated verbatim from
|
|
90
|
-
* `client.ts:244-256`.
|
|
92
|
+
* `client.ts:244-256`. Implemented on top of {@link listPage} (same
|
|
93
|
+
* `AppsHost.request` call, same cursor field) rather than a parallel fetch,
|
|
94
|
+
* so there is exactly one place that builds a `GET /apps` request.
|
|
95
|
+
*
|
|
96
|
+
* @deprecated Prefer {@linkcode listPage} with an explicit `ids` set —
|
|
97
|
+
* studio's `AppsProvider` is the current consumer and resolves exactly the
|
|
98
|
+
* ids it needs via `listPage({ ids })` instead of this eager full-catalog
|
|
99
|
+
* fetch. CLI and one-off scripts, which genuinely want the whole catalog,
|
|
100
|
+
* keep using `list()`.
|
|
91
101
|
*
|
|
92
102
|
* @returns Every app summary across all pages, in the order the server sent them.
|
|
93
103
|
* @throws {ApiError} On any non-2xx.
|
|
@@ -96,18 +106,60 @@ export class AppsApi {
|
|
|
96
106
|
const apps = [];
|
|
97
107
|
let cursor;
|
|
98
108
|
for (let page = 0; page < 20; page++) {
|
|
99
|
-
const res = await this
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
query: { limit: 200, cursor },
|
|
103
|
-
});
|
|
104
|
-
apps.push(...res.body.apps);
|
|
105
|
-
if (!res.body.nextCursor)
|
|
109
|
+
const res = await this.listPage({ limit: 200, cursor });
|
|
110
|
+
apps.push(...res.apps);
|
|
111
|
+
if (!res.nextCursor)
|
|
106
112
|
break;
|
|
107
|
-
cursor = res.
|
|
113
|
+
cursor = res.nextCursor;
|
|
108
114
|
}
|
|
109
115
|
return apps;
|
|
110
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Fetch exactly ONE page of `GET /apps` — the bounded seam behind every
|
|
119
|
+
* picker/selector UI (Apps/AI/Triggers tabs, search, "load more"), and the
|
|
120
|
+
* one {@link list} itself now loops on. Every {@link ListAppsOptions} member
|
|
121
|
+
* that is present is forwarded to the server under its own wire name; an
|
|
122
|
+
* absent member is dropped from the query string entirely, while an
|
|
123
|
+
* explicitly supplied `false` (`managed`/`compact`) is sent as `false`, not
|
|
124
|
+
* dropped — `QueryParams` in `../http.ts` only drops `undefined`.
|
|
125
|
+
* `options.signal` reaches the injected `fetch` through
|
|
126
|
+
* `RequestOptions.signal` and is never part of the URL or body.
|
|
127
|
+
*
|
|
128
|
+
* `options.ids` is a thin pass-through, not chunked here: present (even
|
|
129
|
+
* `[]`) it is CSV-joined onto the wire as `ids=...` (an empty array still
|
|
130
|
+
* sends `ids=`, never an unfiltered page); absent, no `ids` key is sent at
|
|
131
|
+
* all. A caller with more ids than the server accepts in one request gets
|
|
132
|
+
* the server's own `400`; see {@link ListAppsOptions.ids}.
|
|
133
|
+
*
|
|
134
|
+
* @param options - See {@link ListAppsOptions}. Omitted entirely, this is
|
|
135
|
+
* one unfiltered, unsorted default-page-size request.
|
|
136
|
+
* @returns One page: `{apps, nextCursor}}`. `nextCursor` is absent on the
|
|
137
|
+
* last page.
|
|
138
|
+
* @throws {ApiError} On any non-2xx, and (distinguishably, `code:
|
|
139
|
+
* "cancelled"`) when `options.signal` was aborted before the response came
|
|
140
|
+
* back.
|
|
141
|
+
*/
|
|
142
|
+
async listPage(options = {}) {
|
|
143
|
+
const { signal, ...rest } = options;
|
|
144
|
+
const res = await this.#host.request({
|
|
145
|
+
method: "GET",
|
|
146
|
+
path: "/apps",
|
|
147
|
+
query: {
|
|
148
|
+
q: rest.q,
|
|
149
|
+
category: rest.category,
|
|
150
|
+
maturity: rest.maturity,
|
|
151
|
+
visibility: rest.visibility,
|
|
152
|
+
sort: rest.sort,
|
|
153
|
+
limit: rest.limit,
|
|
154
|
+
cursor: rest.cursor,
|
|
155
|
+
managed: rest.managed,
|
|
156
|
+
compact: rest.compact,
|
|
157
|
+
ids: rest.ids !== undefined ? rest.ids.join(",") : undefined,
|
|
158
|
+
},
|
|
159
|
+
signal,
|
|
160
|
+
});
|
|
161
|
+
return res.body;
|
|
162
|
+
}
|
|
111
163
|
/**
|
|
112
164
|
* Fetch one registered app's detail (latest manifest + actions + overlay).
|
|
113
165
|
*
|
|
@@ -365,8 +417,11 @@ export class AppsApi {
|
|
|
365
417
|
* @param params - The action's parameters, forwarded verbatim.
|
|
366
418
|
* @param opts - `connectionId` to run with (omitted, the server picks);
|
|
367
419
|
* `project` to scope vars/documents to; `state` to resolve upstream
|
|
368
|
-
* references against
|
|
369
|
-
*
|
|
420
|
+
* references against; `overrides` to reach a vendor field the action's
|
|
421
|
+
* own params don't declare — merged onto the invocation envelope, never
|
|
422
|
+
* into `params`.
|
|
423
|
+
* @returns The whole response body — no envelope key to peel. `meta` sits
|
|
424
|
+
* beside `value` and is present only when the host reported it.
|
|
370
425
|
* @throws {ApiError} On any non-2xx, including an action's own failure (`424`).
|
|
371
426
|
*/
|
|
372
427
|
async invoke(appId, actionKey, params, opts = {}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/console/apps.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/console/apps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AAEH,OAAO,EAAqB,IAAI,EAAuB,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAsgBrC;;;;;;;;;GASG;AACH,MAAM,OAAO,OAAO;IACT,KAAK,CAAW;IAEzB;;OAEG;IACH,YAAY,IAAc;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,GAAiB,EAAE,CAAC;QAC9B,IAAI,MAA0B,CAAC;QAC/B,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;YACrC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,E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