@picked/cli 0.0.1-dev.1789541668638 → 0.0.1-dev.1793756239746
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/LICENSE +1 -0
- package/README.md +29 -11
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/cli.js +7 -2
- package/dist/cjs/index.js +1 -1
- package/dist/esm/cli.js +76 -65
- package/dist/esm/index.js +1 -2
- package/dist/types/commands/docs.d.ts +65 -0
- package/dist/types/commands/docs.d.ts.map +1 -0
- package/dist/types/commands/login.d.ts +2 -1
- package/dist/types/commands/login.d.ts.map +1 -1
- package/dist/types/commands/pull.d.ts +19 -0
- package/dist/types/commands/pull.d.ts.map +1 -0
- package/dist/types/commands/whoami.d.ts +1 -0
- package/dist/types/commands/whoami.d.ts.map +1 -1
- package/dist/types/commands/workspace-export.d.ts +28 -0
- package/dist/types/commands/workspace-export.d.ts.map +1 -0
- package/dist/types/commands/workspace-import.d.ts +26 -0
- package/dist/types/commands/workspace-import.d.ts.map +1 -0
- package/dist/types/commands/workspace-list.d.ts +1 -1
- package/dist/types/commands/workspace-list.d.ts.map +1 -1
- package/dist/types/commands/workspace-use.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/admin-client.d.ts +22 -0
- package/dist/types/lib/admin-client.d.ts.map +1 -0
- package/dist/types/lib/bundle.d.ts +79 -0
- package/dist/types/lib/bundle.d.ts.map +1 -0
- package/dist/types/lib/docs.d.ts +94 -0
- package/dist/types/lib/docs.d.ts.map +1 -0
- package/dist/types/lib/workspace-transfer.d.ts +120 -0
- package/dist/types/lib/workspace-transfer.d.ts.map +1 -0
- package/dist/types/lib/workspaces.d.ts +8 -9
- package/dist/types/lib/workspaces.d.ts.map +1 -1
- package/dist/workspace-use-BlhQXU7t.js +1043 -0
- package/dist/workspace-use-CBVbT-DN.cjs +53 -0
- package/package.json +14 -7
- package/dist/workspace-use-CT6_jewh.cjs +0 -48
- package/dist/workspace-use-Cbz1Bxse.js +0 -521
package/dist/cjs/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const e=require("../workspace-use-
|
|
2
|
+
const e=require("../workspace-use-CBVbT-DN.cjs");let t=require("@picked/config"),n=require("node:util"),r=require("@picked/telemetry");var i=2e3,a=null,o=0;function s(e){if((0,t.isTelemetryForcedOffByEnvironment)())return;o=Date.now();let n=(0,t.detectHostEnvironment)();a={name:`picked.cli.${e}`,traceId:(0,r.createTraceId)(),spanId:(0,r.createSpanId)(),startTimeUnixNano:(0,r.toUnixNano)(o),endTimeUnixNano:(0,r.toUnixNano)(o),attributes:{"picked.cli.command":e,"picked.env.provider":n.provider,"picked.env.ci":n.ci},status:`unset`}}function c(e){a&&(a.endTimeUnixNano=(0,r.toUnixNano)(Date.now()),a.status=e===0?`ok`:`error`)}async function l(){let e=a;if(a=null,e)try{let n=await(0,t.loadResolvedPickedConfig)();if(!n||!(0,t.isTelemetryEnabled)(n))return;let a=(0,r.createTelemetryEmitter)({resource:{"service.name":`picked-cli`},headers:{"Picked-Telemetry":`cli`}});a.record(e),await Promise.race([a.flush(),new Promise(e=>{setTimeout(e,i).unref()})])}catch{}}var u=`Usage:
|
|
3
3
|
picked login
|
|
4
4
|
picked logout
|
|
5
5
|
picked whoami
|
|
@@ -7,4 +7,9 @@ const e=require("../workspace-use-CT6_jewh.cjs");let t=require("@picked/config")
|
|
|
7
7
|
picked workspace list [--json]
|
|
8
8
|
picked workspace use [--project <id>] [--workspace <id>] [--no-generate]
|
|
9
9
|
picked use [--project <id>] [--workspace <id>] [--no-generate]
|
|
10
|
-
picked
|
|
10
|
+
picked workspace export --project <id> (--workspace <id> | --live) --out <dir>
|
|
11
|
+
picked workspace import --project <id> --in <dir> [--name <name>] [--publish]
|
|
12
|
+
picked generate types [--check]
|
|
13
|
+
picked pull [--check] [--allow-preview]
|
|
14
|
+
picked docs list [words] [--type <type>] [--json]
|
|
15
|
+
picked docs read <path>`,d=new Map([[`login`,()=>e.l({})],[`logout`,()=>e.c()],[`whoami`,()=>e.a()],[`status`,()=>e.o({})],[`pull`,t=>e.s({check:t.check,allowPreview:t[`allow-preview`]})]]);async function f(){let{positionals:t,values:r}=(0,n.parseArgs)({allowPositionals:!0,options:{check:{type:`boolean`,default:!1},project:{type:`string`},workspace:{type:`string`},json:{type:`boolean`,default:!1},generate:{type:`boolean`,default:!0},"no-generate":{type:`boolean`,default:!1},live:{type:`boolean`,default:!1},out:{type:`string`},in:{type:`string`},name:{type:`string`},publish:{type:`boolean`,default:!1},type:{type:`string`},"allow-preview":{type:`boolean`,default:!1}}}),[i,a]=t,o=r.generate&&!r[`no-generate`],c=i===void 0?void 0:d.get(i);i!==void 0&&c?(s(i),process.exitCode=await c(r)):i===`workspace`&&(a===`list`||a===`ls`)?(s(`workspace list`),process.exitCode=await e.n({json:r.json})):i===`workspace`&&a===`use`||i===`use`?(s(`workspace use`),process.exitCode=await e.t({project:r.project,workspace:r.workspace,generate:o})):i===`workspace`&&a===`export`?(s(`workspace export`),process.exitCode=await e.i({project:r.project,workspace:r.workspace,live:r.live,out:r.out})):i===`workspace`&&a===`import`?(s(`workspace import`),process.exitCode=await e.r({project:r.project,in:r.in,name:r.name,publish:r.publish})):i===`docs`?(s(e.d(a)),process.exitCode=await e.f({args:t.slice(1),type:r.type,json:r.json})):i===`generate`&&a===`types`?(s(`generate types`),process.exitCode=await e.u({check:r.check})):(s(`unknown`),console.error(u),process.exitCode=1)}function p(e){let t=2,n=()=>{--t,t<=0&&process.exit(e)};setTimeout(()=>{process.exit(e)},2e3).unref(),process.stdout.write(``,n),process.stderr.write(``,n)}f().then(async()=>{let e=typeof process.exitCode==`number`?process.exitCode:0;c(e),await l(),p(e)}).catch(e=>{let t=e instanceof Error?e.message:String(e);console.error(t),c(1),l().finally(()=>{p(1)})});
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../workspace-use-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../workspace-use-CBVbT-DN.cjs");exports.runDocs=e.f,exports.runDocsList=e.p,exports.runDocsRead=e.m,exports.runGenerateTypes=e.u,exports.runLogin=e.l,exports.runLogout=e.c,exports.runPull=e.s,exports.runStatus=e.o,exports.runWhoami=e.a,exports.runWorkspaceExport=e.i,exports.runWorkspaceImport=e.r,exports.runWorkspaceList=e.n,exports.runWorkspaceUse=e.t;
|
package/dist/esm/cli.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as e,
|
|
3
|
-
import { detectHostEnvironment as
|
|
4
|
-
import { parseArgs as
|
|
5
|
-
import { createSpanId as
|
|
2
|
+
import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../workspace-use-BlhQXU7t.js";
|
|
3
|
+
import { detectHostEnvironment as f, isTelemetryEnabled as p, isTelemetryForcedOffByEnvironment as m, loadResolvedPickedConfig as h } from "@picked/config";
|
|
4
|
+
import { parseArgs as g } from "node:util";
|
|
5
|
+
import { createSpanId as _, createTelemetryEmitter as v, createTraceId as y, toUnixNano as b } from "@picked/telemetry";
|
|
6
6
|
//#region src/telemetry.ts
|
|
7
|
-
var
|
|
8
|
-
function
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
let t =
|
|
12
|
-
|
|
7
|
+
var x = 2e3, S = null, C = 0;
|
|
8
|
+
function w(e) {
|
|
9
|
+
if (m()) return;
|
|
10
|
+
C = Date.now();
|
|
11
|
+
let t = f();
|
|
12
|
+
S = {
|
|
13
13
|
name: `picked.cli.${e}`,
|
|
14
|
-
traceId:
|
|
15
|
-
spanId:
|
|
16
|
-
startTimeUnixNano:
|
|
17
|
-
endTimeUnixNano:
|
|
14
|
+
traceId: y(),
|
|
15
|
+
spanId: _(),
|
|
16
|
+
startTimeUnixNano: b(C),
|
|
17
|
+
endTimeUnixNano: b(C),
|
|
18
18
|
attributes: {
|
|
19
19
|
"picked.cli.command": e,
|
|
20
20
|
"picked.env.provider": t.provider,
|
|
@@ -23,28 +23,37 @@ function y(e) {
|
|
|
23
23
|
status: "unset"
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function T(e) {
|
|
27
|
+
S && (S.endTimeUnixNano = b(Date.now()), S.status = e === 0 ? "ok" : "error");
|
|
28
28
|
}
|
|
29
|
-
async function
|
|
30
|
-
let e =
|
|
31
|
-
if (
|
|
32
|
-
let t = await
|
|
33
|
-
if (!t || !
|
|
34
|
-
let n =
|
|
29
|
+
async function E() {
|
|
30
|
+
let e = S;
|
|
31
|
+
if (S = null, e) try {
|
|
32
|
+
let t = await h();
|
|
33
|
+
if (!t || !p(t)) return;
|
|
34
|
+
let n = v({
|
|
35
35
|
resource: { "service.name": "picked-cli" },
|
|
36
36
|
headers: { "Picked-Telemetry": "cli" }
|
|
37
37
|
});
|
|
38
38
|
n.record(e), await Promise.race([n.flush(), new Promise((e) => {
|
|
39
|
-
setTimeout(e,
|
|
39
|
+
setTimeout(e, x).unref();
|
|
40
40
|
})]);
|
|
41
41
|
} catch {}
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/cli.ts
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
var D = "Usage:\n picked login\n picked logout\n picked whoami\n picked status\n picked workspace list [--json]\n picked workspace use [--project <id>] [--workspace <id>] [--no-generate]\n picked use [--project <id>] [--workspace <id>] [--no-generate]\n picked workspace export --project <id> (--workspace <id> | --live) --out <dir>\n picked workspace import --project <id> --in <dir> [--name <name>] [--publish]\n picked generate types [--check]\n picked pull [--check] [--allow-preview]\n picked docs list [words] [--type <type>] [--json]\n picked docs read <path>", O = /* @__PURE__ */ new Map([
|
|
46
|
+
["login", () => a({})],
|
|
47
|
+
["logout", () => t()],
|
|
48
|
+
["whoami", () => e()],
|
|
49
|
+
["status", () => s({})],
|
|
50
|
+
["pull", (e) => l({
|
|
51
|
+
check: e.check,
|
|
52
|
+
allowPreview: e["allow-preview"]
|
|
53
|
+
})]
|
|
54
|
+
]);
|
|
55
|
+
async function k() {
|
|
56
|
+
let { positionals: e, values: t } = g({
|
|
48
57
|
allowPositionals: !0,
|
|
49
58
|
options: {
|
|
50
59
|
check: {
|
|
@@ -64,44 +73,46 @@ async function C() {
|
|
|
64
73
|
"no-generate": {
|
|
65
74
|
type: "boolean",
|
|
66
75
|
default: !1
|
|
76
|
+
},
|
|
77
|
+
live: {
|
|
78
|
+
type: "boolean",
|
|
79
|
+
default: !1
|
|
80
|
+
},
|
|
81
|
+
out: { type: "string" },
|
|
82
|
+
in: { type: "string" },
|
|
83
|
+
name: { type: "string" },
|
|
84
|
+
publish: {
|
|
85
|
+
type: "boolean",
|
|
86
|
+
default: !1
|
|
87
|
+
},
|
|
88
|
+
type: { type: "string" },
|
|
89
|
+
"allow-preview": {
|
|
90
|
+
type: "boolean",
|
|
91
|
+
default: !1
|
|
67
92
|
}
|
|
68
93
|
}
|
|
69
|
-
}), [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
if (l === "workspace" && u === "use" || l === "use") {
|
|
91
|
-
y("workspace use"), process.exitCode = await o({
|
|
92
|
-
project: c.project,
|
|
93
|
-
workspace: c.workspace,
|
|
94
|
-
generate: f
|
|
95
|
-
});
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
if (l === "generate" && u === "types") {
|
|
99
|
-
y("generate types"), process.exitCode = await a({ check: c.check });
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
y("unknown"), console.error(S), process.exitCode = 1;
|
|
94
|
+
}), [a, s] = e, l = t.generate && !t["no-generate"], f = a === void 0 ? void 0 : O.get(a);
|
|
95
|
+
a !== void 0 && f ? (w(a), process.exitCode = await f(t)) : a === "workspace" && (s === "list" || s === "ls") ? (w("workspace list"), process.exitCode = await o({ json: t.json })) : a === "workspace" && s === "use" || a === "use" ? (w("workspace use"), process.exitCode = await u({
|
|
96
|
+
project: t.project,
|
|
97
|
+
workspace: t.workspace,
|
|
98
|
+
generate: l
|
|
99
|
+
})) : a === "workspace" && s === "export" ? (w("workspace export"), process.exitCode = await i({
|
|
100
|
+
project: t.project,
|
|
101
|
+
workspace: t.workspace,
|
|
102
|
+
live: t.live,
|
|
103
|
+
out: t.out
|
|
104
|
+
})) : a === "workspace" && s === "import" ? (w("workspace import"), process.exitCode = await c({
|
|
105
|
+
project: t.project,
|
|
106
|
+
in: t.in,
|
|
107
|
+
name: t.name,
|
|
108
|
+
publish: t.publish
|
|
109
|
+
})) : a === "docs" ? (w(n(s)), process.exitCode = await r({
|
|
110
|
+
args: e.slice(1),
|
|
111
|
+
type: t.type,
|
|
112
|
+
json: t.json
|
|
113
|
+
})) : a === "generate" && s === "types" ? (w("generate types"), process.exitCode = await d({ check: t.check })) : (w("unknown"), console.error(D), process.exitCode = 1);
|
|
103
114
|
}
|
|
104
|
-
function
|
|
115
|
+
function A(e) {
|
|
105
116
|
let t = 2, n = () => {
|
|
106
117
|
--t, t <= 0 && process.exit(e);
|
|
107
118
|
};
|
|
@@ -109,13 +120,13 @@ function w(e) {
|
|
|
109
120
|
process.exit(e);
|
|
110
121
|
}, 2e3).unref(), process.stdout.write("", n), process.stderr.write("", n);
|
|
111
122
|
}
|
|
112
|
-
|
|
123
|
+
k().then(async () => {
|
|
113
124
|
let e = typeof process.exitCode == "number" ? process.exitCode : 0;
|
|
114
|
-
|
|
125
|
+
T(e), await E(), A(e);
|
|
115
126
|
}).catch((e) => {
|
|
116
127
|
let t = e instanceof Error ? e.message : String(e);
|
|
117
|
-
console.error(t),
|
|
118
|
-
|
|
128
|
+
console.error(t), T(1), E().finally(() => {
|
|
129
|
+
A(1);
|
|
119
130
|
});
|
|
120
131
|
});
|
|
121
132
|
//#endregion
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { a as runGenerateTypes, r as runLogin, e as runLogout, t as runStatus, i as runWhoami, n as runWorkspaceList, o as runWorkspaceUse };
|
|
1
|
+
export { f as runDocs, p as runDocsList, m as runDocsRead, u as runGenerateTypes, l as runLogin, c as runLogout, s as runPull, o as runStatus, a as runWhoami, i as runWorkspaceExport, r as runWorkspaceImport, n as runWorkspaceList, t as runWorkspaceUse } from "../workspace-use-BlhQXU7t.js";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/** @file `picked docs list` and `picked docs read` command implementations. */
|
|
2
|
+
import { type DocsSource } from '../lib/docs';
|
|
3
|
+
/**
|
|
4
|
+
* Runs `picked docs list`: prints the path and title of each documentation page, one per
|
|
5
|
+
* line, or every field as JSON.
|
|
6
|
+
*
|
|
7
|
+
* @param {object} options - Command options.
|
|
8
|
+
* @param {string} [options.query] - Words that each listed page must hold.
|
|
9
|
+
* @param {string} [options.type] - Content type to keep: `tutorial`, `how-to`, `reference` or `explanation`.
|
|
10
|
+
* @param {boolean} [options.json] - Print the pages as a JSON array.
|
|
11
|
+
* @param {DocsSource} [options.source] - Where to read pages; defaults to the installed `picked` docs.
|
|
12
|
+
* @returns {Promise<number>} Process exit code: 1 when no page matches.
|
|
13
|
+
* @example
|
|
14
|
+
* await runDocsList({ query: 'feature flag' })
|
|
15
|
+
*/
|
|
16
|
+
export declare function runDocsList(options: {
|
|
17
|
+
query?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
json?: boolean;
|
|
20
|
+
source?: DocsSource;
|
|
21
|
+
}): Promise<number>;
|
|
22
|
+
/**
|
|
23
|
+
* Runs `picked docs read <page>`: prints one page as Markdown, under a comment that names its
|
|
24
|
+
* URL. The page can be a site path, a docs URL, or a bundled file path.
|
|
25
|
+
*
|
|
26
|
+
* @param {object} options - Command options.
|
|
27
|
+
* @param {string | undefined} options.page - The page to read.
|
|
28
|
+
* @param {DocsSource} [options.source] - Where to read pages; defaults to the installed `picked` docs.
|
|
29
|
+
* @returns {Promise<number>} Process exit code: 1 when the page does not exist.
|
|
30
|
+
* @example
|
|
31
|
+
* await runDocsRead({ page: '/how-to/install-the-sdk' })
|
|
32
|
+
*/
|
|
33
|
+
export declare function runDocsRead(options: {
|
|
34
|
+
page: string | undefined;
|
|
35
|
+
source?: DocsSource;
|
|
36
|
+
}): Promise<number>;
|
|
37
|
+
/**
|
|
38
|
+
* Names a `picked docs` invocation for telemetry.
|
|
39
|
+
*
|
|
40
|
+
* @param {string | undefined} subcommand - The word after `picked docs`.
|
|
41
|
+
* @returns {string} `docs list` or `docs read`.
|
|
42
|
+
* @example
|
|
43
|
+
* docsCommandName('read') // 'docs read'
|
|
44
|
+
*/
|
|
45
|
+
export declare function docsCommandName(subcommand: string | undefined): string;
|
|
46
|
+
/**
|
|
47
|
+
* Runs `picked docs`. `picked docs`, `picked docs list [words]` and `picked docs ls` list pages;
|
|
48
|
+
* `picked docs read <path>` and `picked docs <path>` read one.
|
|
49
|
+
*
|
|
50
|
+
* @param {object} options - Command options.
|
|
51
|
+
* @param {string[]} options.args - The words after `picked docs`.
|
|
52
|
+
* @param {string} [options.type] - Content type to keep when listing.
|
|
53
|
+
* @param {boolean} [options.json] - Print a listing as JSON.
|
|
54
|
+
* @param {DocsSource} [options.source] - Where to read pages; defaults to the installed `picked` docs.
|
|
55
|
+
* @returns {Promise<number>} Process exit code.
|
|
56
|
+
* @example
|
|
57
|
+
* await runDocs({ args: ['read', '/how-to/install-the-sdk'] })
|
|
58
|
+
*/
|
|
59
|
+
export declare function runDocs(options: {
|
|
60
|
+
args: string[];
|
|
61
|
+
type?: string;
|
|
62
|
+
json?: boolean;
|
|
63
|
+
source?: DocsSource;
|
|
64
|
+
}): Promise<number>;
|
|
65
|
+
//# sourceMappingURL=docs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../src/commands/docs.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,aAAa,CAAA;AAIpB;;;;;;;;;;;;GAYG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB,GAAG,OAAO,CAAC,MAAM,CAAC,CA8BlB;AA6BD;;;;;;;;;;GAUG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB,GAAG,OAAO,CAAC,MAAM,CAAC,CA8BlB;AAcD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAEtE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,OAAO,CAAC,OAAO,EAAE;IACrC,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,UAAU,CAAA;CACpB,GAAG,OAAO,CAAC,MAAM,CAAC,CAYlB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Runs `picked login`: runs the browser + loopback PKCE OAuth flow and persists the
|
|
3
|
-
* resulting session to the current directory's API origin auth config.
|
|
3
|
+
* resulting session to the current directory's API origin auth config. Fails without
|
|
4
|
+
* signing in while `PICKED_API_KEY` is set.
|
|
4
5
|
*
|
|
5
6
|
* @param {object} [options] - Command options.
|
|
6
7
|
* @param {string} [options.cwd] - Working directory used to resolve the API origin.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/commands/login.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/commands/login.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AACH,wBAAsB,QAAQ,CAAC,OAAO,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAwB1E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs `picked pull`: fetches the workspace schema, project config and CMS content of the
|
|
3
|
+
* project in force and writes them to `picked.snapshot.json`, which `data: 'snapshot'` builds
|
|
4
|
+
* from. With `check`, compares instead and writes nothing.
|
|
5
|
+
*
|
|
6
|
+
* @param {object} [options] - Command options.
|
|
7
|
+
* @param {boolean} [options.check] - Compare with the committed snapshot instead of writing.
|
|
8
|
+
* @param {boolean} [options.allowPreview] - Pull a preview source, which holds unpublished content.
|
|
9
|
+
* @param {string} [options.cwd] - Working directory containing `picked.config`.
|
|
10
|
+
* @returns {Promise<number>} Process exit code.
|
|
11
|
+
* @example
|
|
12
|
+
* await runPull({ check: true })
|
|
13
|
+
*/
|
|
14
|
+
export declare function runPull(options?: {
|
|
15
|
+
check?: boolean;
|
|
16
|
+
allowPreview?: boolean;
|
|
17
|
+
cwd?: string;
|
|
18
|
+
}): Promise<number>;
|
|
19
|
+
//# sourceMappingURL=pull.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pull.d.ts","sourceRoot":"","sources":["../../../src/commands/pull.ts"],"names":[],"mappings":"AA4EA;;;;;;;;;;;;GAYG;AACH,wBAAsB,OAAO,CAAC,OAAO,CAAC,EAAE;IACtC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,MAAM,CAAC,CAiDlB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Runs `picked whoami`: prints the identity signed in to the current directory's API origin.
|
|
3
|
+
* Fails without reading a session while `PICKED_API_KEY` is set.
|
|
3
4
|
*
|
|
4
5
|
* @param {object} [options] - Command options.
|
|
5
6
|
* @param {string} [options.cwd] - Working directory used to resolve the API origin.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whoami.d.ts","sourceRoot":"","sources":["../../../src/commands/whoami.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"whoami.d.ts","sourceRoot":"","sources":["../../../src/commands/whoami.ts"],"names":[],"mappings":"AAKA;;;;;;;;;GASG;AACH,wBAAsB,SAAS,CAAC,OAAO,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB3E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** Options for {@link runWorkspaceExport}. */
|
|
2
|
+
interface RunWorkspaceExportOptions {
|
|
3
|
+
cwd?: string;
|
|
4
|
+
/** The project the exported workspace belongs to. */
|
|
5
|
+
project?: string;
|
|
6
|
+
/** The workspace to export. */
|
|
7
|
+
workspace?: string;
|
|
8
|
+
/** Export the snapshot workspace of the project's live version. */
|
|
9
|
+
live?: boolean;
|
|
10
|
+
/** The bundle directory to write, inside `cwd`. */
|
|
11
|
+
out?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Runs `picked workspace export`: exports a workspace, or with `--live` the snapshot
|
|
15
|
+
* workspace of the project's live version, into a bundle directory. Every manifest asset is
|
|
16
|
+
* downloaded, checked against the manifest's size and SHA-256, and written to
|
|
17
|
+
* `assets/<sha256>`; a manifest item with no SHA-256 gets the hash of the downloaded bytes.
|
|
18
|
+
* `bundle.json` is written last, into a temporary sibling directory that becomes `--out` only
|
|
19
|
+
* once complete, so a failed run leaves `--out` as it was.
|
|
20
|
+
*
|
|
21
|
+
* @param {RunWorkspaceExportOptions} options - Command options.
|
|
22
|
+
* @returns {Promise<number>} Process exit code.
|
|
23
|
+
* @example
|
|
24
|
+
* await runWorkspaceExport({ project: 'proj-1', live: true, out: 'bundle' })
|
|
25
|
+
*/
|
|
26
|
+
export declare function runWorkspaceExport(options: RunWorkspaceExportOptions): Promise<number>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=workspace-export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-export.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-export.ts"],"names":[],"mappings":"AAqBA,8CAA8C;AAC9C,UAAU,yBAAyB;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mEAAmE;IACnE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mDAAmD;IACnD,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAsKD;;;;;;;;;;;;GAYG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB5F"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** Options for {@link runWorkspaceImport}. */
|
|
2
|
+
interface RunWorkspaceImportOptions {
|
|
3
|
+
cwd?: string;
|
|
4
|
+
/** The project to import into. */
|
|
5
|
+
project?: string;
|
|
6
|
+
/** The bundle directory to read, inside `cwd`. */
|
|
7
|
+
in?: string;
|
|
8
|
+
/** The new workspace's name; the bundle's workspace name when omitted. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** Publish the new workspace after importing it. */
|
|
11
|
+
publish?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Runs `picked workspace import`: stores the bundle's assets in the project, reusing the
|
|
15
|
+
* project's existing versions of identical bytes, imports the bundle as a new draft
|
|
16
|
+
* workspace, and with `--publish` publishes it. Prints the new workspace id. When storing
|
|
17
|
+
* fails or the API refuses the import, the assets this run uploaded are deleted.
|
|
18
|
+
*
|
|
19
|
+
* @param {RunWorkspaceImportOptions} options - Command options.
|
|
20
|
+
* @returns {Promise<number>} Process exit code.
|
|
21
|
+
* @example
|
|
22
|
+
* await runWorkspaceImport({ project: 'proj-1', in: 'bundle', publish: true })
|
|
23
|
+
*/
|
|
24
|
+
export declare function runWorkspaceImport(options: RunWorkspaceImportOptions): Promise<number>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=workspace-import.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-import.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-import.ts"],"names":[],"mappings":"AAyBA,8CAA8C;AAC9C,UAAU,yBAAyB;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kDAAkD;IAClD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAmPD;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,CAwC5F"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* @param {object} [options] - Command options.
|
|
6
6
|
* @param {string} [options.cwd] - Working directory used to resolve the API URL.
|
|
7
|
-
* @param {boolean} [options.json] - Print machine-readable JSON to stdout
|
|
7
|
+
* @param {boolean} [options.json] - Print machine-readable JSON to stdout; the default is an indented list.
|
|
8
8
|
* @returns {Promise<number>} Process exit code.
|
|
9
9
|
* @example
|
|
10
10
|
* await runWorkspaceList({ json: false })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-list.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-list.ts"],"names":[],"mappings":"AAiCA;;;;;;;;;;GAUG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,CAAC,EAAE;IAC/C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"workspace-list.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-list.ts"],"names":[],"mappings":"AAiCA;;;;;;;;;;GAUG;AACH,wBAAsB,gBAAgB,CAAC,OAAO,CAAC,EAAE;IAC/C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,MAAM,CAAC,CAmBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-use.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-use.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workspace-use.d.ts","sourceRoot":"","sources":["../../../src/commands/workspace-use.ts"],"names":[],"mappings":"AAeA,2CAA2C;AAC3C,UAAU,sBAAsB;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AA+HD;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBvF"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/** @file Public exports for `\@picked/cli`. */
|
|
2
|
+
export { runDocs, runDocsList, runDocsRead } from './commands/docs';
|
|
2
3
|
export { runGenerateTypes } from './commands/generate-types';
|
|
3
4
|
export { runLogin } from './commands/login';
|
|
4
5
|
export { runLogout } from './commands/logout';
|
|
6
|
+
export { runPull } from './commands/pull';
|
|
5
7
|
export { runStatus } from './commands/status';
|
|
6
8
|
export { runWhoami } from './commands/whoami';
|
|
9
|
+
export { runWorkspaceExport } from './commands/workspace-export';
|
|
10
|
+
export { runWorkspaceImport } from './commands/workspace-import';
|
|
7
11
|
export { runWorkspaceList } from './commands/workspace-list';
|
|
8
12
|
export { runWorkspaceUse } from './commands/workspace-use';
|
|
9
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AdminApiClient } from '@picked/admin-api-client';
|
|
2
|
+
/**
|
|
3
|
+
* Reads the API key for non-interactive runs from `PICKED_API_KEY`.
|
|
4
|
+
*
|
|
5
|
+
* @returns {string | undefined} The trimmed key, or undefined when the variable is unset or blank.
|
|
6
|
+
* @example
|
|
7
|
+
* if (readApiKey()) console.error('Using PICKED_API_KEY')
|
|
8
|
+
*/
|
|
9
|
+
export declare function readApiKey(): string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Creates an admin API client for an API origin. With `PICKED_API_KEY` set, every request
|
|
12
|
+
* carries it as `X-API-Key` and the stored OAuth session is never read. Otherwise requests
|
|
13
|
+
* carry that origin's OAuth access token, refreshed as it nears expiry.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} apiUrl - The API origin.
|
|
16
|
+
* @returns {Promise<AdminApiClient>} The client.
|
|
17
|
+
* @throws {Error} When there is no API key and no session for `apiUrl`.
|
|
18
|
+
* @example
|
|
19
|
+
* const client = await createCliAdminClient(await resolveApiUrl())
|
|
20
|
+
*/
|
|
21
|
+
export declare function createCliAdminClient(apiUrl: string): Promise<AdminApiClient>;
|
|
22
|
+
//# sourceMappingURL=admin-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-client.d.ts","sourceRoot":"","sources":["../../../src/lib/admin-client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D;;;;;;GAMG;AACH,wBAAgB,UAAU,IAAI,MAAM,GAAG,SAAS,CAG/C;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAMlF"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/** File name of the bundle document inside a bundle directory. */
|
|
2
|
+
export declare const BUNDLE_FILE = "bundle.json";
|
|
3
|
+
/** Directory inside a bundle directory that holds the asset files. */
|
|
4
|
+
export declare const ASSETS_DIR = "assets";
|
|
5
|
+
/**
|
|
6
|
+
* Resolves the bundle directory a flag names against the current directory.
|
|
7
|
+
*
|
|
8
|
+
* @param {string} cwd - The current directory.
|
|
9
|
+
* @param {string} value - The flag's value.
|
|
10
|
+
* @param {string} flag - The flag, for the error message.
|
|
11
|
+
* @returns {string} The absolute bundle directory, strictly inside `cwd`.
|
|
12
|
+
* @throws {Error} When the directory is `cwd` itself or lies outside it.
|
|
13
|
+
* @example
|
|
14
|
+
* resolveBundleDir('/work', 'bundle', '--out') // '/work/bundle'
|
|
15
|
+
*/
|
|
16
|
+
export declare function resolveBundleDir(cwd: string, value: string, flag: string): string;
|
|
17
|
+
/** One asset version of a bundle's `assets` manifest, as the CLI reads it. */
|
|
18
|
+
export interface BundleAsset {
|
|
19
|
+
/** The asset version id in the source project. */
|
|
20
|
+
versionId: string;
|
|
21
|
+
fileName: string;
|
|
22
|
+
mimeType: string;
|
|
23
|
+
sizeBytes: number;
|
|
24
|
+
/** Lower-case hex SHA-256 of the bytes, or null when the source never recorded one. */
|
|
25
|
+
sha256: string | null;
|
|
26
|
+
downloadUrl: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Narrows a value to a plain JSON object.
|
|
30
|
+
*
|
|
31
|
+
* @param {unknown} value - The value.
|
|
32
|
+
* @returns {boolean} True for a non-null, non-array object.
|
|
33
|
+
* @example
|
|
34
|
+
* isRecord(JSON.parse(text))
|
|
35
|
+
*/
|
|
36
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the path of an asset file inside a bundle directory.
|
|
39
|
+
*
|
|
40
|
+
* @param {string} bundleDir - The bundle directory.
|
|
41
|
+
* @param {string} sha256 - The lower-case hex SHA-256 of the file's bytes.
|
|
42
|
+
* @returns {string} `<bundleDir>/assets/<sha256>`.
|
|
43
|
+
* @example
|
|
44
|
+
* assetPath('./bundle', asset.sha256)
|
|
45
|
+
*/
|
|
46
|
+
export declare function assetPath(bundleDir: string, sha256: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Reads the `assets` manifest of a bundle.
|
|
49
|
+
*
|
|
50
|
+
* @param {Record<string, unknown>} bundle - The bundle document.
|
|
51
|
+
* @returns {BundleAsset[]} Its items, in manifest order.
|
|
52
|
+
* @throws {Error} When `assets` is not an array of well-formed items.
|
|
53
|
+
* @example
|
|
54
|
+
* const assets = readAssetManifest(bundle)
|
|
55
|
+
*/
|
|
56
|
+
export declare function readAssetManifest(bundle: Record<string, unknown>): BundleAsset[];
|
|
57
|
+
/**
|
|
58
|
+
* Checks bytes against the size and, when it has one, the SHA-256 of a manifest item.
|
|
59
|
+
*
|
|
60
|
+
* @param {BundleAsset} asset - The manifest item.
|
|
61
|
+
* @param {Uint8Array} bytes - The bytes.
|
|
62
|
+
* @param {string} source - Where the bytes came from, for the error message.
|
|
63
|
+
* @returns {string} The lower-case hex SHA-256 of `bytes`.
|
|
64
|
+
* @throws {Error} When the size or the SHA-256 differs from the manifest.
|
|
65
|
+
* @example
|
|
66
|
+
* const sha256 = verifyAssetBytes(asset, bytes, asset.downloadUrl)
|
|
67
|
+
*/
|
|
68
|
+
export declare function verifyAssetBytes(asset: BundleAsset, bytes: Uint8Array, source: string): string;
|
|
69
|
+
/**
|
|
70
|
+
* Returns a copy of a bundle whose manifest items carry the given SHA-256 digests.
|
|
71
|
+
*
|
|
72
|
+
* @param {Record<string, unknown>} bundle - The bundle document.
|
|
73
|
+
* @param {string[]} hashes - The digest of each manifest item, in manifest order.
|
|
74
|
+
* @returns {Record<string, unknown>} The bundle with every item's `sha256` set.
|
|
75
|
+
* @example
|
|
76
|
+
* const written = withAssetHashes(bundle, [sha256])
|
|
77
|
+
*/
|
|
78
|
+
export declare function withAssetHashes(bundle: Record<string, unknown>, hashes: string[]): Record<string, unknown>;
|
|
79
|
+
//# sourceMappingURL=bundle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../../src/lib/bundle.ts"],"names":[],"mappings":"AAOA,kEAAkE;AAClE,eAAO,MAAM,WAAW,gBAAgB,CAAA;AAExC,sEAAsE;AACtE,eAAO,MAAM,UAAU,WAAW,CAAA;AAIlC;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CASjF;AAED,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC1B,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,uFAAuF;IACvF,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzE;AAcD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnE;AAuCD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,EAAE,CAIhF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAe9F;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,MAAM,EAAE,MAAM,EAAE,GACf,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAQzB"}
|