@powerhousedao/shared 6.0.2-staging.2 → 6.0.2-staging.3
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 +1 -1
- package/dist/actions-CAH-hbfc.d.ts +2444 -0
- package/dist/actions-CAH-hbfc.d.ts.map +1 -0
- package/dist/analytics/index.d.ts +42 -4
- package/dist/analytics/index.d.ts.map +1 -1
- package/dist/analytics/index.js +307 -4
- package/dist/analytics/index.js.map +1 -1
- package/dist/clis/index.d.mts +12039 -0
- package/dist/clis/index.d.mts.map +1 -0
- package/dist/clis/index.mjs +7274 -0
- package/dist/clis/index.mjs.map +1 -0
- package/dist/connect/index.d.ts +377 -1
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +253 -1
- package/dist/connect/index.js.map +1 -1
- package/dist/constants-xNwF0jSl.d.ts +8 -0
- package/dist/constants-xNwF0jSl.d.ts.map +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +40 -0
- package/dist/constants.js.map +1 -0
- package/dist/document-drive/index.d.ts +157 -0
- package/dist/document-drive/index.d.ts.map +1 -0
- package/dist/document-drive/index.js +963 -0
- package/dist/document-drive/index.js.map +1 -0
- package/dist/document-model/index.d.ts +5 -5
- package/dist/document-model/index.js +3386 -2
- package/dist/document-model/index.js.map +1 -1
- package/dist/document-model/mock.d.ts +2 -0
- package/dist/document-model/mock.js +9 -0
- package/dist/document-model/mock.js.map +1 -0
- package/dist/document-model/utils.d.ts +3 -0
- package/dist/document-model/utils.js +3 -0
- package/dist/index-D0E78WnU.d.ts +1 -0
- package/dist/index-DPTdhtLL.d.ts +307 -0
- package/dist/index-DPTdhtLL.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -0
- package/dist/mock-Cgn-VBF_.d.ts +7 -0
- package/dist/mock-Cgn-VBF_.d.ts.map +1 -0
- package/dist/processors/index.d.ts +2 -5
- package/dist/processors/index.js +116 -3
- package/dist/processors/index.js.map +1 -1
- package/dist/registry/index.d.ts +60 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +116 -0
- package/dist/registry/index.js.map +1 -0
- package/dist/types-1E8sqdB9.d.ts +410 -0
- package/dist/types-1E8sqdB9.d.ts.map +1 -0
- package/dist/types-BFDlQkXZ.d.ts +158 -0
- package/dist/types-BFDlQkXZ.d.ts.map +1 -0
- package/dist/utils-CJF4w5Bp.d.ts +9 -0
- package/dist/utils-CJF4w5Bp.d.ts.map +1 -0
- package/dist/utils-bCWnsmtD.js +70 -0
- package/dist/utils-bCWnsmtD.js.map +1 -0
- package/package.json +62 -12
- package/dist/analytics/analytics-path.d.ts +0 -36
- package/dist/analytics/analytics-path.d.ts.map +0 -1
- package/dist/analytics/analytics-path.js +0 -170
- package/dist/analytics/analytics-path.js.map +0 -1
- package/dist/analytics/analytics-period.d.ts +0 -40
- package/dist/analytics/analytics-period.d.ts.map +0 -1
- package/dist/analytics/analytics-period.js +0 -204
- package/dist/analytics/analytics-period.js.map +0 -1
- package/dist/analytics/constants.d.ts +0 -35
- package/dist/analytics/constants.d.ts.map +0 -1
- package/dist/analytics/constants.js +0 -40
- package/dist/analytics/constants.js.map +0 -1
- package/dist/analytics/types.d.ts +0 -85
- package/dist/analytics/types.d.ts.map +0 -1
- package/dist/analytics/types.js +0 -2
- package/dist/analytics/types.js.map +0 -1
- package/dist/connect/env-config.d.ts +0 -862
- package/dist/connect/env-config.d.ts.map +0 -1
- package/dist/connect/env-config.js +0 -525
- package/dist/connect/env-config.js.map +0 -1
- package/dist/document-model/core/actions.d.ts +0 -62
- package/dist/document-model/core/actions.d.ts.map +0 -1
- package/dist/document-model/core/actions.js +0 -2
- package/dist/document-model/core/actions.js.map +0 -1
- package/dist/document-model/core/constants.d.ts +0 -6
- package/dist/document-model/core/constants.d.ts.map +0 -1
- package/dist/document-model/core/constants.js +0 -8
- package/dist/document-model/core/constants.js.map +0 -1
- package/dist/document-model/core/documents.d.ts +0 -102
- package/dist/document-model/core/documents.d.ts.map +0 -1
- package/dist/document-model/core/documents.js +0 -2
- package/dist/document-model/core/documents.js.map +0 -1
- package/dist/document-model/core/operations.d.ts +0 -74
- package/dist/document-model/core/operations.d.ts.map +0 -1
- package/dist/document-model/core/operations.js +0 -2
- package/dist/document-model/core/operations.js.map +0 -1
- package/dist/document-model/core/ph-types.d.ts +0 -7
- package/dist/document-model/core/ph-types.d.ts.map +0 -1
- package/dist/document-model/core/ph-types.js +0 -2
- package/dist/document-model/core/ph-types.js.map +0 -1
- package/dist/document-model/core/signatures.d.ts +0 -52
- package/dist/document-model/core/signatures.d.ts.map +0 -1
- package/dist/document-model/core/signatures.js +0 -2
- package/dist/document-model/core/signatures.js.map +0 -1
- package/dist/document-model/core/state.d.ts +0 -38
- package/dist/document-model/core/state.d.ts.map +0 -1
- package/dist/document-model/core/state.js +0 -2
- package/dist/document-model/core/state.js.map +0 -1
- package/dist/document-model/core/types.d.ts +0 -533
- package/dist/document-model/core/types.d.ts.map +0 -1
- package/dist/document-model/core/types.js +0 -2
- package/dist/document-model/core/types.js.map +0 -1
- package/dist/document-model/core/upgrades.d.ts +0 -24
- package/dist/document-model/core/upgrades.d.ts.map +0 -1
- package/dist/document-model/core/upgrades.js +0 -2
- package/dist/document-model/core/upgrades.js.map +0 -1
- package/dist/document-model/index.d.ts.map +0 -1
- package/dist/document-model/types.d.ts +0 -97
- package/dist/document-model/types.d.ts.map +0 -1
- package/dist/document-model/types.js +0 -2
- package/dist/document-model/types.js.map +0 -1
- package/dist/processors/constants.d.ts +0 -4
- package/dist/processors/constants.d.ts.map +0 -1
- package/dist/processors/constants.js +0 -4
- package/dist/processors/constants.js.map +0 -1
- package/dist/processors/drive-analytics/document-processor.d.ts +0 -10
- package/dist/processors/drive-analytics/document-processor.d.ts.map +0 -1
- package/dist/processors/drive-analytics/document-processor.js +0 -43
- package/dist/processors/drive-analytics/document-processor.js.map +0 -1
- package/dist/processors/drive-analytics/drive-processor.d.ts +0 -10
- package/dist/processors/drive-analytics/drive-processor.d.ts.map +0 -1
- package/dist/processors/drive-analytics/drive-processor.js +0 -85
- package/dist/processors/drive-analytics/drive-processor.js.map +0 -1
- package/dist/processors/drive-analytics/index.d.ts +0 -10
- package/dist/processors/drive-analytics/index.d.ts.map +0 -1
- package/dist/processors/drive-analytics/index.js +0 -28
- package/dist/processors/drive-analytics/index.js.map +0 -1
- package/dist/processors/drive-analytics/types.d.ts +0 -3
- package/dist/processors/drive-analytics/types.d.ts.map +0 -1
- package/dist/processors/drive-analytics/types.js +0 -2
- package/dist/processors/drive-analytics/types.js.map +0 -1
- package/dist/processors/index.d.ts.map +0 -1
- package/dist/processors/relational/types.d.ts +0 -72
- package/dist/processors/relational/types.d.ts.map +0 -1
- package/dist/processors/relational/types.js +0 -45
- package/dist/processors/relational/types.js.map +0 -1
- package/dist/processors/relational/utils.d.ts +0 -29
- package/dist/processors/relational/utils.d.ts.map +0 -1
- package/dist/processors/relational/utils.js +0 -67
- package/dist/processors/relational/utils.js.map +0 -1
- package/dist/processors/types.d.ts +0 -90
- package/dist/processors/types.d.ts.map +0 -1
- package/dist/processors/types.js +0 -2
- package/dist/processors/types.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { join } from "node:path";
|
|
2
|
+
import { homedir } from "node:os";
|
|
3
|
+
import { readFileSync } from "node:fs";
|
|
4
|
+
import { spawn } from "node:child_process";
|
|
5
|
+
const DEFAULT_REGISTRY_URL = "https://registry.dev.vetra.io";
|
|
6
|
+
const POWERHOUSE_CONFIG_FILE = "powerhouse.config.json";
|
|
7
|
+
join(homedir(), ".ph");
|
|
8
|
+
const DEFAULT_CONFIG = {
|
|
9
|
+
documentModelsDir: "./document-models",
|
|
10
|
+
editorsDir: "./editors",
|
|
11
|
+
processorsDir: "./processors",
|
|
12
|
+
subgraphsDir: "./subgraphs",
|
|
13
|
+
importScriptsDir: "./scripts",
|
|
14
|
+
skipFormat: false,
|
|
15
|
+
logLevel: "info",
|
|
16
|
+
auth: {
|
|
17
|
+
enabled: false,
|
|
18
|
+
admins: []
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region clis/file-system/get-config.ts
|
|
23
|
+
function getConfig(path = "./powerhouse.config.json") {
|
|
24
|
+
let config = { ...DEFAULT_CONFIG };
|
|
25
|
+
try {
|
|
26
|
+
const configStr = readFileSync(path, "utf-8");
|
|
27
|
+
const userConfig = JSON.parse(configStr);
|
|
28
|
+
config = {
|
|
29
|
+
...config,
|
|
30
|
+
...userConfig
|
|
31
|
+
};
|
|
32
|
+
} catch {}
|
|
33
|
+
return config;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region clis/file-system/spawn-async.ts
|
|
37
|
+
function spawnAsync(command, args, options = {}) {
|
|
38
|
+
return new Promise((resolve, reject) => {
|
|
39
|
+
const child = spawn(process.platform === "win32" && command === "npm" ? "npm.cmd" : command, args, {
|
|
40
|
+
cwd: options.cwd,
|
|
41
|
+
env: options.env,
|
|
42
|
+
stdio: [
|
|
43
|
+
"ignore",
|
|
44
|
+
"pipe",
|
|
45
|
+
"pipe"
|
|
46
|
+
]
|
|
47
|
+
});
|
|
48
|
+
let stdout = "";
|
|
49
|
+
let stderr = "";
|
|
50
|
+
child.stdout.on("data", (d) => {
|
|
51
|
+
stdout += d.toString();
|
|
52
|
+
});
|
|
53
|
+
child.stderr.on("data", (d) => {
|
|
54
|
+
stderr += d.toString();
|
|
55
|
+
});
|
|
56
|
+
child.on("error", reject);
|
|
57
|
+
child.on("close", (code) => {
|
|
58
|
+
if (code === 0) resolve(stdout.trim());
|
|
59
|
+
else reject(new Error(stderr.trim() || `${command} exited with code ${code}`));
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region registry/registry.ts
|
|
65
|
+
/**
|
|
66
|
+
* Resolve the registry URL with priority: flag > env > config > default.
|
|
67
|
+
*/
|
|
68
|
+
function resolveRegistryUrl(options) {
|
|
69
|
+
const { registry, projectPath, env = process.env } = options;
|
|
70
|
+
const config = getConfig(join(projectPath, POWERHOUSE_CONFIG_FILE));
|
|
71
|
+
return registry ?? env.PH_REGISTRY_URL ?? config.packageRegistryUrl ?? "https://registry.dev.vetra.io";
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if the user is authenticated with the given npm registry.
|
|
75
|
+
* Returns the username on success, throws on failure.
|
|
76
|
+
*/
|
|
77
|
+
async function checkNpmAuth(registryUrl) {
|
|
78
|
+
return spawnAsync("npm", [
|
|
79
|
+
"whoami",
|
|
80
|
+
"--registry",
|
|
81
|
+
registryUrl
|
|
82
|
+
]);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Run `npm publish` against the given registry.
|
|
86
|
+
* Uses spawn with args array to avoid shell injection.
|
|
87
|
+
*/
|
|
88
|
+
async function npmPublish(options) {
|
|
89
|
+
const { registryUrl, cwd, args = [] } = options;
|
|
90
|
+
return { stdout: await spawnAsync("npm", [
|
|
91
|
+
"publish",
|
|
92
|
+
"--registry",
|
|
93
|
+
registryUrl,
|
|
94
|
+
...args
|
|
95
|
+
], { cwd }) };
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Run `npm unpublish` against the given registry.
|
|
99
|
+
* Always passes `--force` because npm otherwise refuses to unpublish packages
|
|
100
|
+
* older than 72h (a public-npmjs safeguard that doesn't apply to private registries).
|
|
101
|
+
*/
|
|
102
|
+
async function npmUnpublish(options) {
|
|
103
|
+
const { registryUrl, cwd, spec, args = [] } = options;
|
|
104
|
+
return { stdout: await spawnAsync("npm", [
|
|
105
|
+
"unpublish",
|
|
106
|
+
spec,
|
|
107
|
+
"--registry",
|
|
108
|
+
registryUrl,
|
|
109
|
+
"--force",
|
|
110
|
+
...args
|
|
111
|
+
], { cwd }) };
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
export { DEFAULT_REGISTRY_URL, checkNpmAuth, npmPublish, npmUnpublish, resolveRegistryUrl };
|
|
115
|
+
|
|
116
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.dev.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\nexport const VERSIONED_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/design-system\",\n \"@powerhousedao/reactor-api\",\n \"@powerhousedao/reactor-browser\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/analytics-engine-core\",\n];\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n];\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import { spawn } from \"node:child_process\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const cmd =\n process.platform === \"win32\" && command === \"npm\" ? \"npm.cmd\" : command;\n\n const child = spawn(cmd, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [] } = options;\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n\nexport interface NpmUnpublishOptions {\n /** Registry URL to unpublish from. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Package spec: `<name>` (whole package) or `<name>@<version>` (single version). */\n spec: string;\n /** Additional arguments forwarded to npm unpublish. */\n args?: string[];\n}\n\nexport interface NpmUnpublishResult {\n /** stdout from npm unpublish. */\n stdout: string;\n}\n\n/**\n * Run `npm unpublish` against the given registry.\n * Always passes `--force` because npm otherwise refuses to unpublish packages\n * older than 72h (a public-npmjs safeguard that doesn't apply to private registries).\n */\nexport async function npmUnpublish(\n options: NpmUnpublishOptions,\n): Promise<NpmUnpublishResult> {\n const { registryUrl, cwd, spec, args = [] } = options;\n const npmArgs = [\n \"unpublish\",\n spec,\n \"--registry\",\n registryUrl,\n \"--force\",\n ...args,\n ];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":";;;;AAyCA,MAAa,uBAAuB;AAQpC,MAAa,yBAAyB;AAOD,KAFb,SAAS,EAES,MAA6B;AAyBvE,MAAa,iBAAmC;CAC9C,mBATkC;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c;EAAY,CAAC;;;;;;AAqBjE,eAAsB,WACpB,SAC2B;CAC3B,MAAM,EAAE,aAAa,KAAK,OAAO,EAAE,KAAK;AAGxC,QAAO,EAAE,QADM,MAAM,WAAW,OADhB;EAAC;EAAW;EAAc;EAAa,GAAG;EAAK,EACf,EAAE,KAAK,CAAC,EACvC;;;;;;;AAwBnB,eAAsB,aACpB,SAC6B;CAC7B,MAAM,EAAE,aAAa,KAAK,MAAM,OAAO,EAAE,KAAK;AAU9C,QAAO,EAAE,QADM,MAAM,WAAW,OARhB;EACd;EACA;EACA;EACA;EACA;EACA,GAAG;EACJ,EAC+C,EAAE,KAAK,CAAC,EACvC"}
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import { Ei as Maybe, Nr as DocumentModelModule, fi as InputMaybe, os as SignalDispatch, pn as PHBaseState, so as Scalars, t as Action, vt as PHDocument, wi as Manifest } from "./actions-CAH-hbfc.js";
|
|
2
|
+
import * as cmd_ts_dist_cjs_argparser_js0 from "cmd-ts/dist/cjs/argparser.js";
|
|
3
|
+
import { ArgParser } from "cmd-ts/dist/cjs/argparser.js";
|
|
4
|
+
import * as cmd_ts_dist_cjs_helpdoc_js0 from "cmd-ts/dist/cjs/helpdoc.js";
|
|
5
|
+
import * as package_manager_detector0 from "package-manager-detector";
|
|
6
|
+
import * as cmd_ts_dist_cjs_runner_js0 from "cmd-ts/dist/cjs/runner.js";
|
|
7
|
+
import { DocumentDriveLocalState, Node } from "@powerhousedao/shared/document-drive";
|
|
8
|
+
|
|
9
|
+
//#region clis/args/common.d.ts
|
|
10
|
+
declare const getPackageManagerCommand: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
11
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<{
|
|
12
|
+
packageManager: package_manager_detector0.Agent | undefined;
|
|
13
|
+
npm: boolean | undefined;
|
|
14
|
+
pnpm: boolean | undefined;
|
|
15
|
+
yarn: boolean | undefined;
|
|
16
|
+
bun: boolean | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.PrintHelp & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_helpdoc_js0.Named & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned> & cmd_ts_dist_cjs_argparser_js0.Register & cmd_ts_dist_cjs_runner_js0.Handling<{
|
|
19
|
+
packageManager: package_manager_detector0.Agent | undefined;
|
|
20
|
+
npm: boolean | undefined;
|
|
21
|
+
pnpm: boolean | undefined;
|
|
22
|
+
yarn: boolean | undefined;
|
|
23
|
+
bun: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
packageManager: package_manager_detector0.Agent | undefined;
|
|
26
|
+
npm: boolean | undefined;
|
|
27
|
+
pnpm: boolean | undefined;
|
|
28
|
+
yarn: boolean | undefined;
|
|
29
|
+
bun: boolean | undefined;
|
|
30
|
+
}> & {
|
|
31
|
+
run(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<{
|
|
32
|
+
packageManager: package_manager_detector0.Agent | undefined;
|
|
33
|
+
npm: boolean | undefined;
|
|
34
|
+
pnpm: boolean | undefined;
|
|
35
|
+
yarn: boolean | undefined;
|
|
36
|
+
bun: boolean | undefined;
|
|
37
|
+
}>>;
|
|
38
|
+
} & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned & cmd_ts_dist_cjs_helpdoc_js0.Descriptive & cmd_ts_dist_cjs_helpdoc_js0.Aliased>;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region clis/constants.d.ts
|
|
41
|
+
declare const SERVICE_ACTIONS: readonly ["start", "stop", "status", "setup", "restart"];
|
|
42
|
+
declare const DRIVES_PRESERVE_STRATEGIES: readonly ["preserve-all", "preserve-by-url-and-detach"];
|
|
43
|
+
declare const LOG_LEVELS: readonly ["debug", "info", "warn", "error", "verbose"];
|
|
44
|
+
declare const DEFAULT_REGISTRY_URL: "https://registry.dev.vetra.io";
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region clis/types.d.ts
|
|
47
|
+
type ServiceActions = typeof SERVICE_ACTIONS;
|
|
48
|
+
type ServiceAction = ServiceActions[number];
|
|
49
|
+
type DrivePreserveStrategies = typeof DRIVES_PRESERVE_STRATEGIES;
|
|
50
|
+
type DrivePreserveStrategy = DrivePreserveStrategies[number];
|
|
51
|
+
type LogLevels = typeof LOG_LEVELS;
|
|
52
|
+
type LogLevel = LogLevels[number];
|
|
53
|
+
type ParsedCmdResult<P> = P extends ArgParser<infer Out> ? Out : never;
|
|
54
|
+
type PackageManagerArgs = ParsedCmdResult<typeof getPackageManagerCommand>;
|
|
55
|
+
type PHPackageProvider = "npm" | "github" | "local" | "registry";
|
|
56
|
+
type PathValidation = (dir: string) => boolean;
|
|
57
|
+
type PowerhousePackage = {
|
|
58
|
+
packageName: string;
|
|
59
|
+
version?: string;
|
|
60
|
+
provider?: PHPackageProvider;
|
|
61
|
+
url?: string;
|
|
62
|
+
};
|
|
63
|
+
type PowerhouseConfig = {
|
|
64
|
+
logLevel: LogLevel;
|
|
65
|
+
documentModelsDir: string;
|
|
66
|
+
editorsDir: string;
|
|
67
|
+
processorsDir: string;
|
|
68
|
+
subgraphsDir: string;
|
|
69
|
+
importScriptsDir: string;
|
|
70
|
+
skipFormat: boolean;
|
|
71
|
+
interactive?: boolean;
|
|
72
|
+
watch?: boolean;
|
|
73
|
+
reactor?: {
|
|
74
|
+
port?: number;
|
|
75
|
+
https?: undefined | boolean | {
|
|
76
|
+
keyPath: string;
|
|
77
|
+
certPath: string;
|
|
78
|
+
};
|
|
79
|
+
storage?: {
|
|
80
|
+
type: "filesystem" | "memory" | "postgres" | "browser";
|
|
81
|
+
filesystemPath?: string;
|
|
82
|
+
postgresUrl?: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
auth?: {
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
admins: string[];
|
|
88
|
+
defaultProtection?: boolean;
|
|
89
|
+
};
|
|
90
|
+
switchboard?: {
|
|
91
|
+
database?: {
|
|
92
|
+
url?: string;
|
|
93
|
+
};
|
|
94
|
+
port?: number;
|
|
95
|
+
};
|
|
96
|
+
studio?: {
|
|
97
|
+
port?: number;
|
|
98
|
+
host?: string;
|
|
99
|
+
https: boolean;
|
|
100
|
+
openBrowser?: boolean;
|
|
101
|
+
};
|
|
102
|
+
packages?: PowerhousePackage[];
|
|
103
|
+
vetra?: {
|
|
104
|
+
driveId: string;
|
|
105
|
+
driveUrl: string;
|
|
106
|
+
};
|
|
107
|
+
packageRegistryUrl?: string;
|
|
108
|
+
};
|
|
109
|
+
//#endregion
|
|
110
|
+
//#region document-drive/gen/drive/actions.d.ts
|
|
111
|
+
type SetDriveNameAction = Action & {
|
|
112
|
+
type: "SET_DRIVE_NAME";
|
|
113
|
+
input: SetDriveNameInput;
|
|
114
|
+
};
|
|
115
|
+
type SetDriveIconAction = Action & {
|
|
116
|
+
type: "SET_DRIVE_ICON";
|
|
117
|
+
input: SetDriveIconInput;
|
|
118
|
+
};
|
|
119
|
+
type SetSharingTypeAction = Action & {
|
|
120
|
+
type: "SET_SHARING_TYPE";
|
|
121
|
+
input: SetSharingTypeInput;
|
|
122
|
+
};
|
|
123
|
+
type SetAvailableOfflineAction = Action & {
|
|
124
|
+
type: "SET_AVAILABLE_OFFLINE";
|
|
125
|
+
input: SetAvailableOfflineInput;
|
|
126
|
+
};
|
|
127
|
+
type AddListenerAction = Action & {
|
|
128
|
+
type: "ADD_LISTENER";
|
|
129
|
+
input: AddListenerInput;
|
|
130
|
+
};
|
|
131
|
+
type RemoveListenerAction = Action & {
|
|
132
|
+
type: "REMOVE_LISTENER";
|
|
133
|
+
input: RemoveListenerInput;
|
|
134
|
+
};
|
|
135
|
+
type AddTriggerAction = Action & {
|
|
136
|
+
type: "ADD_TRIGGER";
|
|
137
|
+
input: AddTriggerInput;
|
|
138
|
+
};
|
|
139
|
+
type RemoveTriggerAction = Action & {
|
|
140
|
+
type: "REMOVE_TRIGGER";
|
|
141
|
+
input: RemoveTriggerInput;
|
|
142
|
+
};
|
|
143
|
+
type DocumentDriveDriveAction = SetDriveNameAction | SetDriveIconAction | SetSharingTypeAction | SetAvailableOfflineAction | AddListenerAction | RemoveListenerAction | AddTriggerAction | RemoveTriggerAction;
|
|
144
|
+
interface DocumentDriveDriveOperations {
|
|
145
|
+
setDriveNameOperation: (state: DocumentDriveGlobalState, action: SetDriveNameAction, dispatch?: SignalDispatch) => void;
|
|
146
|
+
setDriveIconOperation: (state: DocumentDriveGlobalState, action: SetDriveIconAction, dispatch?: SignalDispatch) => void;
|
|
147
|
+
setSharingTypeOperation: (state: DocumentDriveLocalState$1, action: SetSharingTypeAction, dispatch?: SignalDispatch) => void;
|
|
148
|
+
setAvailableOfflineOperation: (state: DocumentDriveLocalState$1, action: SetAvailableOfflineAction, dispatch?: SignalDispatch) => void;
|
|
149
|
+
addListenerOperation: (state: DocumentDriveLocalState$1, action: AddListenerAction, dispatch?: SignalDispatch) => void;
|
|
150
|
+
removeListenerOperation: (state: DocumentDriveLocalState$1, action: RemoveListenerAction, dispatch?: SignalDispatch) => void;
|
|
151
|
+
addTriggerOperation: (state: DocumentDriveLocalState$1, action: AddTriggerAction, dispatch?: SignalDispatch) => void;
|
|
152
|
+
removeTriggerOperation: (state: DocumentDriveLocalState$1, action: RemoveTriggerAction, dispatch?: SignalDispatch) => void;
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region document-drive/gen/node/actions.d.ts
|
|
156
|
+
type AddFileAction = Action & {
|
|
157
|
+
type: "ADD_FILE";
|
|
158
|
+
input: AddFileInput;
|
|
159
|
+
};
|
|
160
|
+
type AddFolderAction = Action & {
|
|
161
|
+
type: "ADD_FOLDER";
|
|
162
|
+
input: AddFolderInput;
|
|
163
|
+
};
|
|
164
|
+
type DeleteNodeAction = Action & {
|
|
165
|
+
type: "DELETE_NODE";
|
|
166
|
+
input: DeleteNodeInput;
|
|
167
|
+
};
|
|
168
|
+
type UpdateFileAction = Action & {
|
|
169
|
+
type: "UPDATE_FILE";
|
|
170
|
+
input: UpdateFileInput;
|
|
171
|
+
};
|
|
172
|
+
type UpdateNodeAction = Action & {
|
|
173
|
+
type: "UPDATE_NODE";
|
|
174
|
+
input: UpdateNodeInput;
|
|
175
|
+
};
|
|
176
|
+
type CopyNodeAction = Action & {
|
|
177
|
+
type: "COPY_NODE";
|
|
178
|
+
input: CopyNodeInput;
|
|
179
|
+
};
|
|
180
|
+
type MoveNodeAction = Action & {
|
|
181
|
+
type: "MOVE_NODE";
|
|
182
|
+
input: MoveNodeInput;
|
|
183
|
+
};
|
|
184
|
+
type DocumentDriveNodeAction = AddFileAction | AddFolderAction | DeleteNodeAction | UpdateFileAction | UpdateNodeAction | CopyNodeAction | MoveNodeAction;
|
|
185
|
+
interface DocumentDriveNodeOperations {
|
|
186
|
+
addFileOperation: (state: DocumentDriveGlobalState, action: AddFileAction, dispatch?: SignalDispatch) => void;
|
|
187
|
+
addFolderOperation: (state: DocumentDriveGlobalState, action: AddFolderAction, dispatch?: SignalDispatch) => void;
|
|
188
|
+
deleteNodeOperation: (state: DocumentDriveGlobalState, action: DeleteNodeAction, dispatch?: SignalDispatch) => void;
|
|
189
|
+
updateFileOperation: (state: DocumentDriveGlobalState, action: UpdateFileAction, dispatch?: SignalDispatch) => void;
|
|
190
|
+
updateNodeOperation: (state: DocumentDriveGlobalState, action: UpdateNodeAction, dispatch?: SignalDispatch) => void;
|
|
191
|
+
copyNodeOperation: (state: DocumentDriveGlobalState, action: CopyNodeAction, dispatch?: SignalDispatch) => void;
|
|
192
|
+
moveNodeOperation: (state: DocumentDriveGlobalState, action: MoveNodeAction, dispatch?: SignalDispatch) => void;
|
|
193
|
+
}
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region document-drive/gen/types.d.ts
|
|
196
|
+
type DocumentDriveAction = DocumentDriveNodeAction | DocumentDriveDriveAction;
|
|
197
|
+
type DocumentDriveDocument = PHDocument<DocumentDrivePHState$1>;
|
|
198
|
+
type LegacySynchronizationUnit = {
|
|
199
|
+
branch: Scalars["String"]["output"];
|
|
200
|
+
scope: Scalars["String"]["output"];
|
|
201
|
+
syncId: Scalars["ID"]["output"];
|
|
202
|
+
};
|
|
203
|
+
type LegacyAddFileInput = AddFileInput & {
|
|
204
|
+
document?: InputMaybe<PHDocument>;
|
|
205
|
+
synchronizationUnits: Array<LegacySynchronizationUnit>;
|
|
206
|
+
};
|
|
207
|
+
type LegacyAddFileAction = Action & {
|
|
208
|
+
type: "ADD_FILE";
|
|
209
|
+
input: LegacyAddFileInput;
|
|
210
|
+
};
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region document-drive/src/types.d.ts
|
|
213
|
+
type GenerateNodesCopySrc = {
|
|
214
|
+
srcId: Node["id"];
|
|
215
|
+
targetName?: Node["name"];
|
|
216
|
+
targetParentFolder?: Node["parentFolder"];
|
|
217
|
+
};
|
|
218
|
+
type GenerateNodesCopyIdGenerator = (nodeToCopy: Node) => Node["id"];
|
|
219
|
+
type DriveInput = {
|
|
220
|
+
global: {
|
|
221
|
+
name: string;
|
|
222
|
+
icon?: string | null;
|
|
223
|
+
};
|
|
224
|
+
id?: string;
|
|
225
|
+
slug?: string;
|
|
226
|
+
preferredEditor?: string;
|
|
227
|
+
local?: Partial<DocumentDriveLocalState>;
|
|
228
|
+
};
|
|
229
|
+
type SharingType = "LOCAL" | "CLOUD" | "PUBLIC";
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region document-drive/types.d.ts
|
|
232
|
+
type DocumentDrivePHState$1 = PHBaseState & {
|
|
233
|
+
global: DocumentDriveGlobalState;
|
|
234
|
+
local: DocumentDriveLocalState$1;
|
|
235
|
+
};
|
|
236
|
+
type DriveDocumentModelModule = DocumentModelModule<DocumentDrivePHState$1>;
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region registry/types.d.ts
|
|
239
|
+
interface PackageInfo {
|
|
240
|
+
name: string;
|
|
241
|
+
path: string;
|
|
242
|
+
manifest: Manifest | null;
|
|
243
|
+
documentTypes: string[];
|
|
244
|
+
version?: string;
|
|
245
|
+
/** Mapping of dist-tag → version (e.g. {latest: "1.0.0", dev: "1.1.0-dev.3"}). */
|
|
246
|
+
distTags?: Record<string, string>;
|
|
247
|
+
/** All published versions of the package, sorted ascending by semver. */
|
|
248
|
+
versions?: string[];
|
|
249
|
+
}
|
|
250
|
+
type RegistryPackageStatus = "available" | "local-install" | "registry-install" | "dismissed";
|
|
251
|
+
type RegistryPackageSource = "available" | "local-install" | "registry-install" | "common" | "project";
|
|
252
|
+
type RegistryPackage = PackageInfo & {
|
|
253
|
+
status: RegistryPackageStatus;
|
|
254
|
+
};
|
|
255
|
+
type RegistryPackageMap = Record<string, RegistryPackage | undefined>;
|
|
256
|
+
type RegistryPackageList = RegistryPackage[];
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region document-drive/gen/schema/types.d.ts
|
|
259
|
+
type AddFileInput = {
|
|
260
|
+
documentType: Scalars["String"]["input"];
|
|
261
|
+
id: Scalars["ID"]["input"];
|
|
262
|
+
name: Scalars["String"]["input"];
|
|
263
|
+
parentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
264
|
+
};
|
|
265
|
+
type AddFolderInput = {
|
|
266
|
+
id: Scalars["ID"]["input"];
|
|
267
|
+
name: Scalars["String"]["input"];
|
|
268
|
+
parentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
269
|
+
};
|
|
270
|
+
type AddListenerInput = {
|
|
271
|
+
listener: ListenerInput;
|
|
272
|
+
};
|
|
273
|
+
type AddTriggerInput = {
|
|
274
|
+
trigger: TriggerInput;
|
|
275
|
+
};
|
|
276
|
+
type CopyNodeInput = {
|
|
277
|
+
srcId: Scalars["ID"]["input"];
|
|
278
|
+
targetId: Scalars["ID"]["input"];
|
|
279
|
+
targetName?: InputMaybe<Scalars["String"]["input"]>;
|
|
280
|
+
targetParentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
281
|
+
};
|
|
282
|
+
type DeleteNodeInput = {
|
|
283
|
+
id: Scalars["ID"]["input"];
|
|
284
|
+
};
|
|
285
|
+
type DocumentDriveLocalState$1 = {
|
|
286
|
+
availableOffline: Scalars["Boolean"]["output"];
|
|
287
|
+
listeners: Array<Listener>;
|
|
288
|
+
sharingType: Maybe<Scalars["String"]["output"]>;
|
|
289
|
+
triggers: Array<Trigger>;
|
|
290
|
+
};
|
|
291
|
+
type DocumentDriveGlobalState = {
|
|
292
|
+
icon: Maybe<Scalars["String"]["output"]>;
|
|
293
|
+
name: Scalars["String"]["output"];
|
|
294
|
+
nodes: Array<Node$1>;
|
|
295
|
+
};
|
|
296
|
+
type DocumentDrivePHState = PHBaseState & {
|
|
297
|
+
global: DocumentDriveGlobalState;
|
|
298
|
+
local: DocumentDriveLocalState$1;
|
|
299
|
+
};
|
|
300
|
+
type FileNode = {
|
|
301
|
+
documentType: Scalars["String"]["output"];
|
|
302
|
+
id: Scalars["String"]["output"];
|
|
303
|
+
kind: Scalars["String"]["output"];
|
|
304
|
+
name: Scalars["String"]["output"];
|
|
305
|
+
parentFolder: Maybe<Scalars["String"]["output"]>;
|
|
306
|
+
};
|
|
307
|
+
type FolderNode = {
|
|
308
|
+
id: Scalars["String"]["output"];
|
|
309
|
+
kind: Scalars["String"]["output"];
|
|
310
|
+
name: Scalars["String"]["output"];
|
|
311
|
+
parentFolder: Maybe<Scalars["String"]["output"]>;
|
|
312
|
+
};
|
|
313
|
+
type Listener = {
|
|
314
|
+
block: Scalars["Boolean"]["output"];
|
|
315
|
+
callInfo: Maybe<ListenerCallInfo>;
|
|
316
|
+
filter: ListenerFilter;
|
|
317
|
+
label: Maybe<Scalars["String"]["output"]>;
|
|
318
|
+
listenerId: Scalars["ID"]["output"];
|
|
319
|
+
system: Scalars["Boolean"]["output"];
|
|
320
|
+
};
|
|
321
|
+
type ListenerInput = {
|
|
322
|
+
block: Scalars["Boolean"]["input"];
|
|
323
|
+
callInfo?: InputMaybe<ListenerCallInfoInput>;
|
|
324
|
+
filter: ListenerFilterInput;
|
|
325
|
+
label?: InputMaybe<Scalars["String"]["input"]>;
|
|
326
|
+
listenerId: Scalars["ID"]["input"];
|
|
327
|
+
system: Scalars["Boolean"]["input"];
|
|
328
|
+
};
|
|
329
|
+
type ListenerCallInfo = {
|
|
330
|
+
data: Maybe<Scalars["String"]["output"]>;
|
|
331
|
+
name: Maybe<Scalars["String"]["output"]>;
|
|
332
|
+
transmitterType: Maybe<TransmitterType>;
|
|
333
|
+
};
|
|
334
|
+
type ListenerCallInfoInput = {
|
|
335
|
+
data?: InputMaybe<Scalars["String"]["input"]>;
|
|
336
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
337
|
+
transmitterType?: InputMaybe<TransmitterType>;
|
|
338
|
+
};
|
|
339
|
+
type ListenerFilter = {
|
|
340
|
+
branch: Maybe<Array<Scalars["String"]["output"]>>;
|
|
341
|
+
documentId: Maybe<Array<Scalars["ID"]["output"]>>;
|
|
342
|
+
documentType: Maybe<Array<Scalars["String"]["output"]>>;
|
|
343
|
+
scope: Maybe<Array<Scalars["String"]["output"]>>;
|
|
344
|
+
};
|
|
345
|
+
type ListenerFilterInput = {
|
|
346
|
+
branch?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
347
|
+
documentId?: InputMaybe<Array<Scalars["ID"]["input"]>>;
|
|
348
|
+
documentType?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
349
|
+
scope?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
350
|
+
};
|
|
351
|
+
type MoveNodeInput = {
|
|
352
|
+
srcFolder: Scalars["ID"]["input"];
|
|
353
|
+
targetParentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
354
|
+
};
|
|
355
|
+
type Node$1 = FileNode | FolderNode;
|
|
356
|
+
type PullResponderTriggerData = {
|
|
357
|
+
interval: Scalars["String"]["output"];
|
|
358
|
+
listenerId: Scalars["ID"]["output"];
|
|
359
|
+
url: Scalars["String"]["output"];
|
|
360
|
+
};
|
|
361
|
+
type PullResponderTriggerDataInput = {
|
|
362
|
+
interval: Scalars["String"]["input"];
|
|
363
|
+
listenerId: Scalars["ID"]["input"];
|
|
364
|
+
url: Scalars["String"]["input"];
|
|
365
|
+
};
|
|
366
|
+
type RemoveListenerInput = {
|
|
367
|
+
listenerId: Scalars["String"]["input"];
|
|
368
|
+
};
|
|
369
|
+
type RemoveTriggerInput = {
|
|
370
|
+
triggerId: Scalars["String"]["input"];
|
|
371
|
+
};
|
|
372
|
+
type SetAvailableOfflineInput = {
|
|
373
|
+
availableOffline: Scalars["Boolean"]["input"];
|
|
374
|
+
};
|
|
375
|
+
type SetDriveIconInput = {
|
|
376
|
+
icon: Scalars["String"]["input"];
|
|
377
|
+
};
|
|
378
|
+
type SetDriveNameInput = {
|
|
379
|
+
name: Scalars["String"]["input"];
|
|
380
|
+
};
|
|
381
|
+
type SetSharingTypeInput = {
|
|
382
|
+
type: Scalars["String"]["input"];
|
|
383
|
+
};
|
|
384
|
+
type TransmitterType = "Internal" | "MatrixConnect" | "PullResponder" | "RESTWebhook" | "SecureConnect" | "SwitchboardPush";
|
|
385
|
+
type Trigger = {
|
|
386
|
+
data: Maybe<TriggerData>;
|
|
387
|
+
id: Scalars["ID"]["output"];
|
|
388
|
+
type: TriggerType;
|
|
389
|
+
};
|
|
390
|
+
type TriggerInput = {
|
|
391
|
+
data?: InputMaybe<PullResponderTriggerDataInput>;
|
|
392
|
+
id: Scalars["ID"]["input"];
|
|
393
|
+
type: TriggerType;
|
|
394
|
+
};
|
|
395
|
+
type TriggerData = PullResponderTriggerData;
|
|
396
|
+
type TriggerType = "PullResponder";
|
|
397
|
+
type UpdateFileInput = {
|
|
398
|
+
documentType?: InputMaybe<Scalars["String"]["input"]>;
|
|
399
|
+
id: Scalars["ID"]["input"];
|
|
400
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
401
|
+
parentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
402
|
+
};
|
|
403
|
+
type UpdateNodeInput = {
|
|
404
|
+
id: Scalars["ID"]["input"];
|
|
405
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
406
|
+
parentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
407
|
+
};
|
|
408
|
+
//#endregion
|
|
409
|
+
export { AddFolderAction as $, TriggerData as A, RegistryPackageStatus as B, RemoveTriggerInput as C, ParsedCmdResult as Ct, SetSharingTypeInput as D, ServiceAction as Dt, SetDriveNameInput as E, PowerhousePackage as Et, PackageInfo as F, GenerateNodesCopySrc as G, DriveDocumentModelModule as H, RegistryPackage as I, DocumentDriveDocument as J, SharingType as K, RegistryPackageList as L, TriggerType as M, UpdateFileInput as N, TransmitterType as O, ServiceActions as Ot, UpdateNodeInput as P, AddFileAction as Q, RegistryPackageMap as R, RemoveListenerInput as S, PackageManagerArgs as St, SetDriveIconInput as T, PowerhouseConfig as Tt, DriveInput as U, DocumentDrivePHState$1 as V, GenerateNodesCopyIdGenerator as W, LegacyAddFileInput as X, LegacyAddFileAction as Y, LegacySynchronizationUnit as Z, ListenerInput as _, DrivePreserveStrategies as _t, CopyNodeInput as a, UpdateFileAction as at, PullResponderTriggerData as b, LogLevels as bt, DocumentDriveLocalState$1 as c, AddTriggerAction as ct, FolderNode as d, RemoveListenerAction as dt, CopyNodeAction as et, Listener as f, RemoveTriggerAction as ft, ListenerFilterInput as g, SetSharingTypeAction as gt, ListenerFilter as h, SetDriveNameAction as ht, AddTriggerInput as i, MoveNodeAction as it, TriggerInput as j, Trigger as k, DEFAULT_REGISTRY_URL as kt, DocumentDrivePHState as l, DocumentDriveDriveAction as lt, ListenerCallInfoInput as m, SetDriveIconAction as mt, AddFolderInput as n, DocumentDriveNodeAction as nt, DeleteNodeInput as o, UpdateNodeAction as ot, ListenerCallInfo as p, SetAvailableOfflineAction as pt, DocumentDriveAction as q, AddListenerInput as r, DocumentDriveNodeOperations as rt, DocumentDriveGlobalState as s, AddListenerAction as st, AddFileInput as t, DeleteNodeAction as tt, FileNode as u, DocumentDriveDriveOperations as ut, MoveNodeInput as v, DrivePreserveStrategy as vt, SetAvailableOfflineInput as w, PathValidation as wt, PullResponderTriggerDataInput as x, PHPackageProvider as xt, Node$1 as y, LogLevel as yt, RegistryPackageSource as z };
|
|
410
|
+
//# sourceMappingURL=types-1E8sqdB9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-1E8sqdB9.d.ts","names":[],"sources":["../clis/args/common.ts","../clis/constants.ts","../clis/types.ts","../document-drive/gen/drive/actions.ts","../document-drive/gen/node/actions.ts","../document-drive/gen/types.ts","../document-drive/src/types.ts","../document-drive/types.ts","../registry/types.ts","../document-drive/gen/schema/types.ts"],"mappings":";;;;;;;;;cAoEa,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cChExB,eAAA;AAAA,cAYA,0BAAA;AAAA,cAKA,UAAA;AAAA,cAoBA,oBAAA;;;KCjCD,cAAA,UAAwB,eAAA;AAAA,KACxB,aAAA,GAAgB,cAAA;AAAA,KAChB,uBAAA,UAAiC,0BAAA;AAAA,KACjC,qBAAA,GAAwB,uBAAA;AAAA,KACxB,SAAA,UAAmB,UAAA;AAAA,KACnB,QAAA,GAAW,SAAA;AAAA,KAEX,eAAA,MAAqB,CAAA,SAAU,SAAA,cAAuB,GAAA;AAAA,KACtD,kBAAA,GAAqB,eAAA,QACxB,wBAAA;AAAA,KAGG,iBAAA;AAAA,KAEA,cAAA,IAAkB,GAAA;AAAA,KAClB,iBAAA;EACV,WAAA;EACA,OAAA;EACA,QAAA,GAAW,iBAAA;EACX,GAAA;AAAA;AAAA,KAEU,gBAAA;EAEV,QAAA,EAAU,QAAA;EACV,iBAAA;EACA,UAAA;EACA,aAAA;EACA,YAAA;EACA,gBAAA;EACA,UAA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