farseer-cli 1.19.0 → 1.20.0
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 +31 -8
- package/dist/commands/app.js +42 -3
- package/dist/commands/app.js.map +1 -1
- package/dist/commands/cells.js +120 -85
- package/dist/commands/cells.js.map +1 -1
- package/dist/commands/dashboards.js +246 -12
- package/dist/commands/dashboards.js.map +1 -1
- package/dist/commands/dimensions.js +52 -27
- package/dist/commands/dimensions.js.map +1 -1
- package/dist/commands/docs.js +82 -0
- package/dist/commands/docs.js.map +6 -0
- package/dist/commands/files.js +49 -0
- package/dist/commands/files.js.map +2 -2
- package/dist/commands/folders.js +76 -0
- package/dist/commands/folders.js.map +6 -0
- package/dist/commands/formula.js +38 -30
- package/dist/commands/formula.js.map +1 -1
- package/dist/commands/install.js +32 -30
- package/dist/commands/install.js.map +2 -2
- package/dist/commands/model.js +30 -5
- package/dist/commands/model.js.map +2 -2
- package/dist/commands/push.js +5 -3
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/sheets.js +289 -52
- package/dist/commands/sheets.js.map +1 -1
- package/dist/commands/skills.js +157 -0
- package/dist/commands/skills.js.map +6 -0
- package/dist/commands/variables.js +246 -82
- package/dist/commands/variables.js.map +1 -1
- package/dist/index.js +93 -13
- package/dist/index.js.map +1 -1
- package/dist/mcp/resources/documentation.js +19 -12
- package/dist/mcp/resources/documentation.js.map +1 -1
- package/dist/mcp/tools/appTools.js +1 -7
- package/dist/mcp/tools/appTools.js.map +1 -1
- package/dist/mcp/tools/cellTools.js +6 -19
- package/dist/mcp/tools/cellTools.js.map +1 -1
- package/dist/mcp/tools/dashboardTools.js +30 -412
- package/dist/mcp/tools/dashboardTools.js.map +2 -2
- package/dist/mcp/tools/dataTools.js +15 -146
- package/dist/mcp/tools/dataTools.js.map +1 -1
- package/dist/mcp/tools/folderTools.js +12 -78
- package/dist/mcp/tools/folderTools.js.map +1 -1
- package/dist/mcp/tools/modelTools.js +23 -372
- package/dist/mcp/tools/modelTools.js.map +1 -1
- package/dist/mcp/tools/pipelineContract.js +5 -1
- package/dist/mcp/tools/pipelineContract.js.map +1 -1
- package/dist/mcp/tools/runTools.js +8 -69
- package/dist/mcp/tools/runTools.js.map +1 -1
- package/dist/mcp/tools/sheetTools.js +14 -264
- package/dist/mcp/tools/sheetTools.js.map +1 -1
- package/dist/mcp/tools/syncTools.js +5 -1
- package/dist/mcp/tools/syncTools.js.map +1 -1
- package/dist/mcp/utils/operationResponse.js +41 -0
- package/dist/mcp/utils/operationResponse.js.map +6 -0
- package/dist/operations/cells.js +444 -0
- package/dist/operations/cells.js.map +6 -0
- package/dist/operations/dashboards.js +357 -0
- package/dist/operations/dashboards.js.map +6 -0
- package/dist/operations/data.js +206 -0
- package/dist/operations/data.js.map +6 -0
- package/dist/operations/errors.js +64 -0
- package/dist/operations/errors.js.map +6 -0
- package/dist/operations/exportModel.js +59 -0
- package/dist/operations/exportModel.js.map +6 -0
- package/dist/operations/folderPath.js +128 -0
- package/dist/operations/folderPath.js.map +6 -0
- package/dist/operations/folders.js +80 -0
- package/dist/operations/folders.js.map +6 -0
- package/dist/operations/install.js +109 -0
- package/dist/operations/install.js.map +6 -0
- package/dist/operations/model.js +271 -0
- package/dist/operations/model.js.map +6 -0
- package/dist/operations/sheets.js +428 -0
- package/dist/operations/sheets.js.map +6 -0
- package/dist/pipeline/failStep.js +43 -0
- package/dist/pipeline/failStep.js.map +6 -0
- package/dist/pipeline/generated-reference.json +10 -10
- package/dist/pipeline/queryWorker.js +3 -1
- package/dist/pipeline/queryWorker.js.map +1 -1
- package/dist/pipeline/requests.js +3 -32
- package/dist/pipeline/requests.js.map +1 -1
- package/dist/pipeline/service.js +46 -2
- package/dist/pipeline/service.js.map +1 -1
- package/dist/services/appSyncService.js +59 -9
- package/dist/services/appSyncService.js.map +1 -1
- package/dist/services/apps.js +10 -0
- package/dist/services/apps.js.map +1 -1
- package/dist/services/farseerService.js +28 -6
- package/dist/services/farseerService.js.map +1 -1
- package/dist/skills/bundled.js +106 -0
- package/dist/skills/bundled.js.map +6 -0
- package/dist/skills/install.js +257 -0
- package/dist/skills/install.js.map +6 -0
- package/dist/skills/pipeline.js +10 -18
- package/dist/skills/pipeline.js.map +1 -1
- package/dist/utils/agentSandbox.js +1 -1
- package/dist/utils/entityResolver.js +72 -25
- package/dist/utils/entityResolver.js.map +1 -1
- package/dist/utils/errorFormatter.js +13 -0
- package/dist/utils/errorFormatter.js.map +1 -1
- package/dist/utils/formulaFilters.js +11 -2
- package/dist/utils/formulaFilters.js.map +1 -1
- package/dist/utils/operationCli.js +102 -0
- package/dist/utils/operationCli.js.map +6 -0
- package/docs/cli-guide.md +181 -1
- package/docs/pipeline-reference.md +13 -7
- package/docs/troubleshooting.md +18 -0
- package/package.json +1 -1
- package/skills/farseer-app-dev/SKILL.md +131 -0
- package/skills/farseer-app-dev/assignments.md +185 -0
- package/skills/farseer-app-dev/farseer-client-api-guide.md +907 -0
- package/skills/farseer-app-dev/farseer-client-release-notes.md +212 -0
- package/skills/farseer-app-dev/working-patterns.md +876 -0
- package/skills/farseer-authenticate-to-tenant/SKILL.md +60 -0
- package/skills/farseer-authenticate-to-tenant/app-authentication.md +91 -0
- package/skills/farseer-author-import-job/SKILL.md +114 -0
- package/skills/farseer-author-import-job/cell-writes.md +530 -0
- package/skills/farseer-author-import-job/deploying-a-farseer-app.md +383 -0
- package/skills/farseer-author-import-job/import-job-pattern.md +232 -0
- package/skills/farseer-build-model/SKILL.md +122 -0
- package/skills/farseer-build-model/formula-grain-alignment.md +612 -0
- package/skills/farseer-build-model/naming-conventions.md +435 -0
- package/skills/farseer-build-model/sparse-formulas-pattern.md +330 -0
- package/skills/farseer-build-pipeline/SKILL.md +190 -0
- package/skills/farseer-build-pipeline/erp-sales/README.md +108 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_invoice_lines.yaml +23 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_invoice_lines_raw.yaml +23 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_item_product_map.yaml +17 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/bronze/erp_sales_item_product_map_raw.yaml +11 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/gold/erp_sales_cells.yaml +40 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_lines.yaml +35 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_recon.yaml +43 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/Models/silver/erp_sales_unmapped_items.yaml +28 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-etl/main.py +49 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/in/erp_sales_cells.yaml +17 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/in/erp_sales_cells_raw.yaml +14 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/Models/load/erp_sales_to_model.yaml +47 -0
- package/skills/farseer-build-pipeline/erp-sales/erp-sales-load/main.py +44 -0
- package/skills/farseer-build-pipeline/erp-sales/item_to_product.csv +5 -0
- package/skills/farseer-build-pipeline/pipeline-app-failure-report-pattern.md +103 -0
- package/skills/farseer-build-pipeline/pipeline-source-encoding.md +68 -0
- package/skills/farseer-dashboards/SKILL.md +1 -1
- package/skills/farseer-help-center/SKILL.md +66 -0
- package/skills/farseer-modify-model/SKILL.md +158 -0
- package/skills/farseer-modify-model/model-validation-pattern.md +251 -0
- package/skills/farseer-optimize-model/SKILL.md +314 -0
- package/skills/farseer-optimize-model/stats-dump.ts +139 -0
- package/skills/farseer-pnl/SKILL.md +220 -0
- package/skills/farseer-review-model/SKILL.md +172 -0
- package/skills/farseer-run-apps/SKILL.md +102 -0
- package/skills/pipeline-authoring/SKILL.md +4 -4
- package/skills/pipeline-authoring/practices.md +15 -3
- package/dist/services/agentApprovalFetch.js +0 -90
- package/dist/services/agentApprovalFetch.js.map +0 -6
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var exportModel_exports = {};
|
|
20
|
+
__export(exportModel_exports, {
|
|
21
|
+
exportModel: () => exportModel,
|
|
22
|
+
summarizeModel: () => summarizeModel
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(exportModel_exports);
|
|
25
|
+
function exportModel(client, options = {}) {
|
|
26
|
+
const types = options.tablesOnly ? ["DTAB"] : ["DTAB", "VAR"];
|
|
27
|
+
if (options.includeMembers) types.splice(1, 0, "DMEM");
|
|
28
|
+
return client.exportModel({ types });
|
|
29
|
+
}
|
|
30
|
+
function summarizeModel(model) {
|
|
31
|
+
const tables = model.tables.map((t) => ({
|
|
32
|
+
name: t.name,
|
|
33
|
+
memberCount: t.rows?.length || 0,
|
|
34
|
+
columns: t.columns.map((c) => ({
|
|
35
|
+
type: c.type,
|
|
36
|
+
name: c.name,
|
|
37
|
+
foreignKeyTable: c.foreignKeyTableName
|
|
38
|
+
})),
|
|
39
|
+
foreignKeys: t.columns.filter((c) => c.type === "FOREIGN_KEY").map((c) => c.foreignKeyTableName),
|
|
40
|
+
folderPath: t.folderPath
|
|
41
|
+
}));
|
|
42
|
+
const variables = model.variables.map((v) => ({
|
|
43
|
+
name: v.name,
|
|
44
|
+
dimensions: v.tables || [],
|
|
45
|
+
formula: v.formula || void 0,
|
|
46
|
+
rollupType: v.rollupType,
|
|
47
|
+
numberFormat: v.numberFormat,
|
|
48
|
+
readonly: v.readonly,
|
|
49
|
+
calculateOnDemand: v.calculateOnDemand,
|
|
50
|
+
folderPath: v.folderPath
|
|
51
|
+
}));
|
|
52
|
+
return { summary: { tableCount: tables.length, variableCount: variables.length }, tables, variables };
|
|
53
|
+
}
|
|
54
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
55
|
+
0 && (module.exports = {
|
|
56
|
+
exportModel,
|
|
57
|
+
summarizeModel
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=exportModel.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/operations/exportModel.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQO,SAAS,YACZ,QACA,UAA8D,CAAC,GAC3C;AACpB,QAAM,QAAwC,QAAQ,aAAa,CAAC,MAAM,IAAI,CAAC,QAAQ,KAAK;AAC5F,MAAI,QAAQ,eAAgB,OAAM,OAAO,GAAG,GAAG,MAAM;AACrD,SAAO,OAAO,YAAY,EAAE,MAAM,CAAC;AACvC;AAGO,SAAS,eAAe,OAAoB;AAC/C,QAAM,SAAS,MAAM,OAAO,IAAI,CAAC,OAAO;AAAA,IACpC,MAAM,EAAE;AAAA,IACR,aAAa,EAAE,MAAM,UAAU;AAAA,IAC/B,SAAS,EAAE,QAAQ,IAAI,CAAC,OAAO;AAAA,MAC3B,MAAM,EAAE;AAAA,MACR,MAAM,EAAE;AAAA,MACR,iBAAiB,EAAE;AAAA,IACvB,EAAE;AAAA,IACF,aAAa,EAAE,QAAQ,OAAO,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,mBAAoB;AAAA,IAChG,YAAY,EAAE;AAAA,EAClB,EAAE;AACF,QAAM,YAAY,MAAM,UAAU,IAAI,CAAC,OAAO;AAAA,IAC1C,MAAM,EAAE;AAAA,IACR,YAAY,EAAE,UAAU,CAAC;AAAA,IACzB,SAAS,EAAE,WAAW;AAAA,IACtB,YAAY,EAAE;AAAA,IACd,cAAc,EAAE;AAAA,IAChB,UAAU,EAAE;AAAA,IACZ,mBAAmB,EAAE;AAAA,IACrB,YAAY,EAAE;AAAA,EAClB,EAAE;AACF,SAAO,EAAE,SAAS,EAAE,YAAY,OAAO,QAAQ,eAAe,UAAU,OAAO,GAAG,QAAQ,UAAU;AACxG;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var folderPath_exports = {};
|
|
30
|
+
__export(folderPath_exports, {
|
|
31
|
+
folderById: () => folderById,
|
|
32
|
+
requireFolderTakes: () => requireFolderTakes,
|
|
33
|
+
resolveFolderPath: () => resolveFolderPath
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(folderPath_exports);
|
|
36
|
+
var farseer = __toESM(require("farseer-client"));
|
|
37
|
+
var import_folderMatch = require("../utils/folderMatch");
|
|
38
|
+
var import_errors = require("./errors");
|
|
39
|
+
class SharedWithMeApi extends farseer.BaseAPI {
|
|
40
|
+
async roots() {
|
|
41
|
+
const response = await this.request({ path: "/folders/sharedWithMe", method: "GET", headers: {}, query: {} });
|
|
42
|
+
return await response.json();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
async function rootFolders(client) {
|
|
46
|
+
const [listing] = await client.folders.listItemsBatch([{ id: null }]);
|
|
47
|
+
const top = listing?.items ?? [];
|
|
48
|
+
let shared = [];
|
|
49
|
+
try {
|
|
50
|
+
const { configuration } = client.folders;
|
|
51
|
+
shared = await new SharedWithMeApi(configuration).roots();
|
|
52
|
+
} catch (error) {
|
|
53
|
+
const status = error?.status;
|
|
54
|
+
if (status !== 404 && status !== 403) throw error;
|
|
55
|
+
}
|
|
56
|
+
const seen = new Set(top.map((item) => item.id));
|
|
57
|
+
return [...top, ...shared.filter((item) => !seen.has(item.id))].filter(
|
|
58
|
+
(item) => item.type === farseer.FolderItemType.Folder
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
async function resolveFolderPath(client, path) {
|
|
62
|
+
if (path.length === 0) {
|
|
63
|
+
throw new import_errors.OperationError("Folder path is empty", "VALIDATION_ERROR");
|
|
64
|
+
}
|
|
65
|
+
let folder = null;
|
|
66
|
+
for (const [depth, segment] of path.entries()) {
|
|
67
|
+
const where = depth === 0 ? "at the top level" : `in "${path.slice(0, depth).join("/")}"`;
|
|
68
|
+
let folders;
|
|
69
|
+
if (folder) {
|
|
70
|
+
const [listing] = await client.folders.listItemsBatch([{ id: folder.id }]);
|
|
71
|
+
folders = (listing?.items ?? []).filter((item) => item.type === farseer.FolderItemType.Folder);
|
|
72
|
+
} else {
|
|
73
|
+
folders = await rootFolders(client);
|
|
74
|
+
}
|
|
75
|
+
const exact = folders.filter((item) => item.name === segment);
|
|
76
|
+
if (exact.length > 1) {
|
|
77
|
+
throw new import_errors.OperationError(
|
|
78
|
+
`Folder name "${segment}" ${where} matches ${exact.length} folders (ids ${exact.map((item) => item.id).join(", ")}), counting folders shared with you. Pass the folder id instead.`,
|
|
79
|
+
"VALIDATION_ERROR"
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
let match;
|
|
83
|
+
try {
|
|
84
|
+
match = (0, import_folderMatch.matchFolderSegment)(folders, segment);
|
|
85
|
+
} catch (error) {
|
|
86
|
+
if (error instanceof import_folderMatch.AmbiguousFolderError) throw new import_errors.OperationError(error.message, "VALIDATION_ERROR");
|
|
87
|
+
throw error;
|
|
88
|
+
}
|
|
89
|
+
if (!match) {
|
|
90
|
+
throw new import_errors.OperationError(
|
|
91
|
+
`Folder "${path.join("/")}" not found: no folder "${segment}" ${where}. Create it first with \`farseer folders create\` (MCP: farseer_create_folder).`,
|
|
92
|
+
"NOT_FOUND"
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
folder = match;
|
|
96
|
+
}
|
|
97
|
+
return folder;
|
|
98
|
+
}
|
|
99
|
+
async function folderById(client, id) {
|
|
100
|
+
const [listing] = await client.folders.listItemsBatch([{ id }]);
|
|
101
|
+
const folder = listing?.folder;
|
|
102
|
+
if (!folder || folder.id !== id) {
|
|
103
|
+
throw new import_errors.OperationError(`Folder ${id} not found`, "NOT_FOUND");
|
|
104
|
+
}
|
|
105
|
+
if (folder.type !== farseer.FolderItemType.Folder) {
|
|
106
|
+
throw new import_errors.OperationError(
|
|
107
|
+
`Folder item ${id} is a ${folder.type} ("${folder.name}"), not a folder`,
|
|
108
|
+
"VALIDATION_ERROR"
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
return folder;
|
|
112
|
+
}
|
|
113
|
+
function requireFolderTakes(folder, type) {
|
|
114
|
+
if (folder.allowedTypes && !folder.allowedTypes.includes(type)) {
|
|
115
|
+
throw new import_errors.OperationError(
|
|
116
|
+
`Folder "${folder.name}" (${folder.id}) does not take ${type} items. It takes: ${folder.allowedTypes.join(", ") || "nothing"}`,
|
|
117
|
+
"VALIDATION_ERROR"
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
return folder;
|
|
121
|
+
}
|
|
122
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
123
|
+
0 && (module.exports = {
|
|
124
|
+
folderById,
|
|
125
|
+
requireFolderTakes,
|
|
126
|
+
resolveFolderPath
|
|
127
|
+
});
|
|
128
|
+
//# sourceMappingURL=folderPath.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/operations/folderPath.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA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;AAAA,IACJ;AAAA,EACJ;AACA,SAAO;AACX;AAMO,SAAS,mBACZ,QACA,MACgC;AAEhC,MAAI,OAAO,gBAAgB,CAAC,OAAO,aAAa,SAAS,IAAI,GAAG;AAC5D,UAAM,IAAI;AAAA,MACN,WAAW,OAAO,IAAI,MAAM,OAAO,EAAE,mBAAmB,IAAI,qBAC3C,OAAO,aAAa,KAAK,IAAI,KAAK,SAAS;AAAA,MAC5D;AAAA,IACJ;AAAA,EACJ;AACA,SAAO;AACX;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var folders_exports = {};
|
|
30
|
+
__export(folders_exports, {
|
|
31
|
+
createFolder: () => createFolder,
|
|
32
|
+
folderByIdOrPath: () => folderByIdOrPath,
|
|
33
|
+
moveItems: () => moveItems
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(folders_exports);
|
|
36
|
+
var farseer = __toESM(require("farseer-client"));
|
|
37
|
+
var import_errors = require("./errors");
|
|
38
|
+
var import_folderPath = require("./folderPath");
|
|
39
|
+
async function folderByIdOrPath(client, id, path) {
|
|
40
|
+
const byPath = path !== void 0 && path.length > 0;
|
|
41
|
+
if (id !== void 0 && byPath) {
|
|
42
|
+
throw new import_errors.OperationError("Pass a folder id or a folder path, not both", "VALIDATION_ERROR");
|
|
43
|
+
}
|
|
44
|
+
if (id !== void 0) return (0, import_folderPath.folderById)(client, id);
|
|
45
|
+
if (byPath) return (0, import_folderPath.resolveFolderPath)(client, path);
|
|
46
|
+
return void 0;
|
|
47
|
+
}
|
|
48
|
+
async function createFolder(client, params) {
|
|
49
|
+
const parent = await folderByIdOrPath(client, params.parentId, params.parentPath);
|
|
50
|
+
if (!parent) {
|
|
51
|
+
throw new import_errors.OperationError(
|
|
52
|
+
"A folder needs a parent: the API cannot create top-level folders. Pass parentId or parentPath.",
|
|
53
|
+
"VALIDATION_ERROR"
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
const parentId = (0, import_folderPath.requireFolderTakes)(parent, farseer.FolderItemType.Folder).id;
|
|
57
|
+
const result = await client.folders.create({ parentId, name: params.name, allowedTypes: null });
|
|
58
|
+
return {
|
|
59
|
+
action: "created",
|
|
60
|
+
folder: { id: result.id, name: params.name, parentId },
|
|
61
|
+
message: `Folder "${params.name}" created`
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
async function moveItems(client, params) {
|
|
65
|
+
const moveRequests = params.itemIds.map((id, index) => ({ id, parentId: params.targetFolderId, order: index }));
|
|
66
|
+
await client.folders.moveItemsBatch(moveRequests);
|
|
67
|
+
return {
|
|
68
|
+
action: "moved",
|
|
69
|
+
itemCount: params.itemIds.length,
|
|
70
|
+
targetFolderId: params.targetFolderId,
|
|
71
|
+
message: `Moved ${params.itemIds.length} item(s) to folder ${params.targetFolderId}`
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
75
|
+
0 && (module.exports = {
|
|
76
|
+
createFolder,
|
|
77
|
+
folderByIdOrPath,
|
|
78
|
+
moveItems
|
|
79
|
+
});
|
|
80
|
+
//# sourceMappingURL=folders.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/operations/folders.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,cAAyB;AACzB,oBAA+B;AAC/B,wBAAkE;AAMlE,eAAsB,iBAClB,QACA,IACA,MACqD;AACrD,QAAM,SAAS,SAAS,UAAa,KAAK,SAAS;AACnD,MAAI,OAAO,UAAa,QAAQ;AAC5B,UAAM,IAAI,6BAAe,+CAA+C,kBAAkB;AAAA,EAC9F;AACA,MAAI,OAAO,OAAW,YAAO,8BAAW,QAAQ,EAAE;AAClD,MAAI,OAAQ,YAAO,qCAAkB,QAAQ,IAAI;AACjD,SAAO;AACX;AAEA,eAAsB,aAClB,QACA,QACF;AACE,QAAM,SAAS,MAAM,iBAAiB,QAAQ,OAAO,UAAU,OAAO,UAAU;AAChF,MAAI,CAAC,QAAQ;AACT,UAAM,IAAI;AAAA,MACN;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AACA,QAAM,eAAW,sCAAmB,QAAQ,QAAQ,eAAe,MAAM,EAAE;AAE3E,QAAM,SAAS,MAAM,OAAO,QAAQ,OAAO,EAAE,UAAU,MAAM,OAAO,MAAM,cAAc,KAAK,CAAQ;AACrG,SAAO;AAAA,IACH,QAAQ;AAAA,IACR,QAAQ,EAAE,IAAK,OAAe,IAAI,MAAM,OAAO,MAAM,SAAS;AAAA,IAC9D,SAAS,WAAW,OAAO,IAAI;AAAA,EACnC;AACJ;AAEA,eAAsB,UAAU,QAA+B,QAAuD;AAClH,QAAM,eAAe,OAAO,QAAQ,IAAI,CAAC,IAAI,WAAW,EAAE,IAAI,UAAU,OAAO,gBAAgB,OAAO,MAAM,EAAE;AAC9G,QAAM,OAAO,QAAQ,eAAe,YAAmB;AACvD,SAAO;AAAA,IACH,QAAQ;AAAA,IACR,WAAW,OAAO,QAAQ;AAAA,IAC1B,gBAAgB,OAAO;AAAA,IACvB,SAAS,SAAS,OAAO,QAAQ,MAAM,sBAAsB,OAAO,cAAc;AAAA,EACtF;AACJ;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var install_exports = {};
|
|
30
|
+
__export(install_exports, {
|
|
31
|
+
installDependencies: () => installDependencies
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(install_exports);
|
|
34
|
+
var import_child_process = require("child_process");
|
|
35
|
+
var fs = __toESM(require("fs"));
|
|
36
|
+
var path = __toESM(require("path"));
|
|
37
|
+
var import_helpers = require("../utils/helpers");
|
|
38
|
+
var import_packageManager = require("../utils/packageManager");
|
|
39
|
+
var import_errors = require("./errors");
|
|
40
|
+
async function installDependencies(tenant, options = {}) {
|
|
41
|
+
const tenantDir = (0, import_helpers.getTenantDir)(tenant);
|
|
42
|
+
if (!fs.existsSync(tenantDir)) {
|
|
43
|
+
throw new import_errors.OperationError(
|
|
44
|
+
`Tenant folder not found: farseer-apps/${tenant}/. Run farseer_pull first.`,
|
|
45
|
+
"NOT_FOUND"
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
const addedPackages = [...(0, import_packageManager.ensurePackageJson)(tenantDir, tenant)];
|
|
49
|
+
if (options.packages && options.packages.length > 0) {
|
|
50
|
+
const packageJsonPath = path.join(tenantDir, "package.json");
|
|
51
|
+
const pkg = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
|
|
52
|
+
pkg.dependencies = pkg.dependencies || {};
|
|
53
|
+
for (const pkgSpec of options.packages) {
|
|
54
|
+
const { name, version } = (0, import_packageManager.parsePackageSpec)(pkgSpec);
|
|
55
|
+
if (!pkg.dependencies[name]) {
|
|
56
|
+
pkg.dependencies[name] = version;
|
|
57
|
+
addedPackages.push(pkgSpec);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
fs.writeFileSync(packageJsonPath, JSON.stringify(pkg, null, 2) + "\n");
|
|
61
|
+
}
|
|
62
|
+
await new Promise((resolve, reject) => {
|
|
63
|
+
let stderr = "";
|
|
64
|
+
const child = (0, import_child_process.spawn)("npm", ["install"], {
|
|
65
|
+
cwd: tenantDir,
|
|
66
|
+
shell: true,
|
|
67
|
+
stdio: options.showOutput ? "inherit" : "pipe"
|
|
68
|
+
});
|
|
69
|
+
child.stdout?.on("data", () => {
|
|
70
|
+
});
|
|
71
|
+
child.stderr?.on("data", (data) => {
|
|
72
|
+
stderr += data.toString();
|
|
73
|
+
});
|
|
74
|
+
const { timeoutMs } = options;
|
|
75
|
+
const timeout = timeoutMs === void 0 ? void 0 : setTimeout(() => {
|
|
76
|
+
child.kill();
|
|
77
|
+
reject(
|
|
78
|
+
new import_errors.OperationError(`npm install timed out after ${timeoutMs / 6e4} minutes`, "UNKNOWN")
|
|
79
|
+
);
|
|
80
|
+
}, timeoutMs);
|
|
81
|
+
child.on("close", (code) => {
|
|
82
|
+
clearTimeout(timeout);
|
|
83
|
+
if (code === 0) resolve();
|
|
84
|
+
else
|
|
85
|
+
reject(
|
|
86
|
+
new import_errors.OperationError(
|
|
87
|
+
`npm install failed (exit code ${code})${options.showOutput ? "" : `:
|
|
88
|
+
${stderr.slice(0, 3e3)}`}`,
|
|
89
|
+
"UNKNOWN"
|
|
90
|
+
)
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
child.on("error", (err) => {
|
|
94
|
+
clearTimeout(timeout);
|
|
95
|
+
reject(new import_errors.OperationError(`Failed to run npm install: ${err.message}`, "UNKNOWN"));
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
return {
|
|
99
|
+
tenantDir: `farseer-apps/${tenant}/`,
|
|
100
|
+
addedPackages,
|
|
101
|
+
exitCode: 0,
|
|
102
|
+
message: `Dependencies installed successfully${addedPackages.length ? ` (${addedPackages.join(", ")})` : ""}`
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
106
|
+
0 && (module.exports = {
|
|
107
|
+
installDependencies
|
|
108
|
+
});
|
|
109
|
+
//# sourceMappingURL=install.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/operations/install.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,2BAAsB;AACtB,SAAoB;AACpB,WAAsB;AACtB,qBAA6B;AAC7B,4BAAoD;AACpD,oBAA+B;AAW/B,eAAsB,oBAAoB,QAAgB,UAA0B,CAAC,GAAG;AACpF,QAAM,gBAAY,6BAAa,MAAM;AACrC,MAAI,CAAC,GAAG,WAAW,SAAS,GAAG;AAC3B,UAAM,IAAI;AAAA,MACN,yCAAyC,MAAM;AAAA,MAC/C;AAAA,IACJ;AAAA,EACJ;AAEA,QAAM,gBAAgB,CAAC,OAAG,yCAAkB,WAAW,MAAM,CAAC;AAC9D,MAAI,QAAQ,YAAY,QAAQ,SAAS,SAAS,GAAG;AACjD,UAAM,kBAAkB,KAAK,KAAK,WAAW,cAAc;AAC3D,UAAM,MAAM,KAAK,MAAM,GAAG,aAAa,iBAAiB,OAAO,CAAC;AAChE,QAAI,eAAe,IAAI,gBAAgB,CAAC;AACxC,eAAW,WAAW,QAAQ,UAAU;AACpC,YAAM,EAAE,MAAM,QAAQ,QAAI,wCAAiB,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