@cplace/mcp-server 1.5.2 → 1.6.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 +44 -0
- package/dist/conditional-registration.d.ts.map +1 -1
- package/dist/conditional-registration.js +10 -0
- package/dist/conditional-registration.js.map +1 -1
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +7 -3
- package/dist/profiles.js.map +1 -1
- package/dist/tool-metadata.d.ts.map +1 -1
- package/dist/tool-metadata.js +8 -0
- package/dist/tool-metadata.js.map +1 -1
- package/dist/tools/board-widget.d.ts +140 -89
- package/dist/tools/board-widget.d.ts.map +1 -1
- package/dist/tools/board-widget.js +131 -112
- package/dist/tools/board-widget.js.map +1 -1
- package/dist/tools/documents.d.ts +18 -0
- package/dist/tools/documents.d.ts.map +1 -0
- package/dist/tools/documents.js +59 -0
- package/dist/tools/documents.js.map +1 -0
- package/dist/tools/expert-settings.d.ts +38 -0
- package/dist/tools/expert-settings.d.ts.map +1 -0
- package/dist/tools/expert-settings.js +145 -0
- package/dist/tools/expert-settings.js.map +1 -0
- package/dist/tools/job-schedule-trigger.d.ts +16 -0
- package/dist/tools/job-schedule-trigger.d.ts.map +1 -0
- package/dist/tools/job-schedule-trigger.js +32 -0
- package/dist/tools/job-schedule-trigger.js.map +1 -0
- package/dist/tools/job-scripts.d.ts +58 -0
- package/dist/tools/job-scripts.d.ts.map +1 -0
- package/dist/tools/job-scripts.js +215 -0
- package/dist/tools/job-scripts.js.map +1 -0
- package/dist/tools/layout-richstring-widgets.d.ts.map +1 -1
- package/dist/tools/layout-richstring-widgets.js +1 -42
- package/dist/tools/layout-richstring-widgets.js.map +1 -1
- package/dist/tools/layout.d.ts.map +1 -1
- package/dist/tools/layout.js +2 -34
- package/dist/tools/layout.js.map +1 -1
- package/dist/tools/resource-planner-widget.d.ts +280 -0
- package/dist/tools/resource-planner-widget.d.ts.map +1 -0
- package/dist/tools/resource-planner-widget.js +539 -0
- package/dist/tools/resource-planner-widget.js.map +1 -0
- package/dist/tools/widget-tool-helpers.d.ts +7 -0
- package/dist/tools/widget-tool-helpers.d.ts.map +1 -0
- package/dist/tools/widget-tool-helpers.js +43 -0
- package/dist/tools/widget-tool-helpers.js.map +1 -0
- package/dist/widget-specifications/cf.cplace.cboard.main.board/_implementation.md +24 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/_implementation.md +42 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/actionSearch.md +10 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/attributesConfiguration.md +30 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/chartSearch.md +10 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/dateCalculation.md +8 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/defaultColumnsConfiguration.md +7 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/searchFirstGroup.md +8 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/searchNode.md +8 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/searchRootNode.md +10 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/searchSecondGroup.md +8 -0
- package/dist/widget-specifications/cf.cplace.resourceManagement.resourcePlannerDefinition/treeStructure.md +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -497,6 +497,50 @@ Schedule analysis and cross-schedule dependencies.
|
|
|
497
497
|
|
|
498
498
|
- `cplace_get_schedule_links` - Get schedule dependencies and links between work packages
|
|
499
499
|
|
|
500
|
+
## Architecture
|
|
501
|
+
|
|
502
|
+
```mermaid
|
|
503
|
+
graph TB
|
|
504
|
+
subgraph DevEnv[Development Environment]
|
|
505
|
+
Agent[Local Coding Agent]
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
subgraph AIInfra[AI Infrastructure]
|
|
509
|
+
LLM[Large Language Model]
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
subgraph MCPLayer[MCP Layer]
|
|
513
|
+
MCP_Server[cplace MCP Server]
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
subgraph cplaceInst[cplace Instance]
|
|
517
|
+
MCP_Endpoint[MCP Endpoint]
|
|
518
|
+
cplace_Core[cplace Core]
|
|
519
|
+
DB[Database]
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
Agent -->|1: User Request| LLM
|
|
523
|
+
LLM -->|2: MCP Tool Call| Agent
|
|
524
|
+
Agent -->|3: MCP Request| MCP_Server
|
|
525
|
+
MCP_Server -->|4: HTTP REST| MCP_Endpoint
|
|
526
|
+
MCP_Endpoint -->|5: Queries Commands| cplace_Core
|
|
527
|
+
cplace_Core -->|6: Data Access| DB
|
|
528
|
+
|
|
529
|
+
DB -->|7: Data| cplace_Core
|
|
530
|
+
cplace_Core -->|8: Response| MCP_Endpoint
|
|
531
|
+
MCP_Endpoint -->|9: JSON Response| MCP_Server
|
|
532
|
+
MCP_Server -->|10: MCP Response| Agent
|
|
533
|
+
Agent -->|11: Context Response| LLM
|
|
534
|
+
LLM -->|12: AI Response| Agent
|
|
535
|
+
|
|
536
|
+
style Agent fill:#e1f5ff
|
|
537
|
+
style LLM fill:#ffe1f5
|
|
538
|
+
style MCP_Server fill:#fff4e1
|
|
539
|
+
style MCP_Endpoint fill:#e1ffe1
|
|
540
|
+
style cplace_Core fill:#e1ffe1
|
|
541
|
+
style DB fill:#f0f0f0
|
|
542
|
+
```
|
|
543
|
+
|
|
500
544
|
## Troubleshooting
|
|
501
545
|
|
|
502
546
|
For common issues and solutions, see [TROUBLESHOOTING.md](TROUBLESHOOTING.md).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-registration.d.ts","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"conditional-registration.d.ts","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA+E3C,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,eAAe,EACvB,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,GACxB,IAAI,CAeN"}
|
|
@@ -28,6 +28,11 @@ import { registerUrlResolutionTools } from './tools/url-resolution.js';
|
|
|
28
28
|
import { registerLayoutTools } from './tools/layout.js';
|
|
29
29
|
import { registerSolutionPackageTools } from './tools/solution-packages.js';
|
|
30
30
|
import { registerLintingTools } from './tools/linting.js';
|
|
31
|
+
import { registerJobScriptsTools } from './tools/job-scripts.js';
|
|
32
|
+
import { registerJobScheduleTriggerTools } from './tools/job-schedule-trigger.js';
|
|
33
|
+
import { registerDocumentTools } from './tools/documents.js';
|
|
34
|
+
import { registerResourcePlannerTools } from './tools/resource-planner-widget.js';
|
|
35
|
+
import { registerExpertSettingsTools } from './tools/expert-settings.js';
|
|
31
36
|
const MODULE_REGISTRY = {
|
|
32
37
|
'workspace-core': registerWorkspaceCoreTools,
|
|
33
38
|
'workspace-admin': registerWorkspaceAdminTools,
|
|
@@ -57,6 +62,11 @@ const MODULE_REGISTRY = {
|
|
|
57
62
|
'layout': registerLayoutTools,
|
|
58
63
|
'solution-packages': registerSolutionPackageTools,
|
|
59
64
|
'linting': registerLintingTools,
|
|
65
|
+
'job-scripts': registerJobScriptsTools,
|
|
66
|
+
'job-schedule-trigger': registerJobScheduleTriggerTools,
|
|
67
|
+
'documents': registerDocumentTools,
|
|
68
|
+
'resource-planner-widget': registerResourcePlannerTools,
|
|
69
|
+
'expert-settings': registerExpertSettingsTools,
|
|
60
70
|
};
|
|
61
71
|
export function registerActiveTools(server, client, activeGroups) {
|
|
62
72
|
const requiredModules = getRequiredModules(activeGroups);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-registration.js","sourceRoot":"","sources":["../src/conditional-registration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAC3F,O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C,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAGrF,KAAK,MAAM,UAAU,IAAI,eAAe,EAAE,CAAC;QACzC,MAAM,oBAAoB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;QACzD,IAAI,oBAAoB,EAAE,CAAC;YACzB,oBAAoB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACvC,CAAC;aAAM,CAAC;YACN,eAAe,CAAC,KAAK,EAAE,uDAAuD,UAAU,GAAG,CAAC,CAAC;QAC/F,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/dist/profiles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../src/profiles.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAMD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../src/profiles.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAMD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAiDjD,CAAC;AAeF,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EAAE,EACd,QAAQ,CAAC,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,GACjB,GAAG,CAAC,MAAM,CAAC,CA+Eb;AAKD,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAWzE"}
|
package/dist/profiles.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getPreference } from './preference-file.js';
|
|
|
3
3
|
export const TOOL_GROUPS = {
|
|
4
4
|
core: {
|
|
5
5
|
description: "Essential operations including workspace navigation, page operations, search, users, and references",
|
|
6
|
-
modules: ['workspace-core', 'pages', 'search', 'users', 'references', 'get-operations', 'url-resolution']
|
|
6
|
+
modules: ['workspace-core', 'pages', 'search', 'users', 'references', 'get-operations', 'url-resolution', 'documents']
|
|
7
7
|
},
|
|
8
8
|
'workspace-admin': {
|
|
9
9
|
description: "Workspace creation and app management",
|
|
@@ -15,7 +15,7 @@ export const TOOL_GROUPS = {
|
|
|
15
15
|
},
|
|
16
16
|
layouts: {
|
|
17
17
|
description: "Widget and layout management including type layouts, richstring embedded widgets, board widget configuration, and layout scripting",
|
|
18
|
-
modules: ['widgets', 'type-layouts', 'richstring-widgets', 'layout-richstring-widgets', 'board-widget', 'layout']
|
|
18
|
+
modules: ['widgets', 'type-layouts', 'richstring-widgets', 'layout-richstring-widgets', 'board-widget', 'layout', 'resource-planner-widget']
|
|
19
19
|
},
|
|
20
20
|
'types-write': {
|
|
21
21
|
description: "Type and attribute management",
|
|
@@ -23,7 +23,7 @@ export const TOOL_GROUPS = {
|
|
|
23
23
|
},
|
|
24
24
|
'low-code': {
|
|
25
25
|
description: "Validators, change listeners, workflow management, script logs, script execution, and job monitoring",
|
|
26
|
-
modules: ['validators', 'change-listeners', 'workflow', 'workflow-scripts', 'script-logs', 'script', 'linting']
|
|
26
|
+
modules: ['validators', 'change-listeners', 'workflow', 'workflow-scripts', 'script-logs', 'script', 'linting', 'job-scripts', 'job-schedule-trigger']
|
|
27
27
|
},
|
|
28
28
|
'jobs': {
|
|
29
29
|
description: "Job monitoring",
|
|
@@ -44,6 +44,10 @@ export const TOOL_GROUPS = {
|
|
|
44
44
|
'solution-packages': {
|
|
45
45
|
description: "Solution package management and inspection",
|
|
46
46
|
modules: ['solution-packages']
|
|
47
|
+
},
|
|
48
|
+
'application-settings': {
|
|
49
|
+
description: "Tenant-wide application settings including expert settings for theming (LESS, SCSS, CSS, JavaScript)",
|
|
50
|
+
modules: ['expert-settings']
|
|
47
51
|
}
|
|
48
52
|
};
|
|
49
53
|
export function parseProfiles(argv, apiToken, tenantUrl) {
|
package/dist/profiles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.js","sourceRoot":"","sources":["../src/profiles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAWrD,MAAM,CAAC,MAAM,WAAW,GAA8B;IACpD,IAAI,EAAE;QACJ,WAAW,EAAE,qGAAqG;QAClH,OAAO,EAAE,CAAC,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"profiles.js","sourceRoot":"","sources":["../src/profiles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAWrD,MAAM,CAAC,MAAM,WAAW,GAA8B;IACpD,IAAI,EAAE;QACJ,WAAW,EAAE,qGAAqG;QAClH,OAAO,EAAE,CAAC,gBAAgB,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,CAAC;KACvH;IACD,iBAAiB,EAAE;QACjB,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC7B;IACD,YAAY,EAAE;QACZ,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,CAAC,YAAY,CAAC;KACxB;IACD,OAAO,EAAE;QACP,WAAW,EAAE,oIAAoI;QACjJ,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,cAAc,EAAE,QAAQ,EAAE,yBAAyB,CAAC;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AC;IAE1C,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;QACzC,IAAI,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YAC/B,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-metadata.d.ts","sourceRoot":"","sources":["../src/tool-metadata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-metadata.d.ts","sourceRoot":"","sources":["../src/tool-metadata.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA4BvE,CAAC"}
|
package/dist/tool-metadata.js
CHANGED
|
@@ -21,6 +21,10 @@ import { JOBS_TOOL_DEFINITIONS } from './tools/jobs.js';
|
|
|
21
21
|
import { LAYOUT_TOOL_DEFINITIONS } from './tools/layout.js';
|
|
22
22
|
import { SOLUTION_PACKAGE_TOOL_DEFINITIONS } from './tools/solution-packages.js';
|
|
23
23
|
import { LINTING_TOOL_DEFINITIONS } from './tools/linting.js';
|
|
24
|
+
import { JOB_SCRIPTS_TOOL_DEFINITIONS } from './tools/job-scripts.js';
|
|
25
|
+
import { JOB_SCHEDULE_TRIGGER_TOOL_DEFINITIONS } from './tools/job-schedule-trigger.js';
|
|
26
|
+
import { DOCUMENT_TOOL_DEFINITIONS } from './tools/documents.js';
|
|
27
|
+
import { EXPERT_SETTINGS_TOOL_DEFINITIONS } from './tools/expert-settings.js';
|
|
24
28
|
export const MODULE_TOOL_DEFINITIONS = {
|
|
25
29
|
'profile-management': PROFILE_MANAGEMENT_TOOL_DEFINITIONS,
|
|
26
30
|
'workspace-core': WORKSPACE_CORE_TOOL_DEFINITIONS,
|
|
@@ -45,5 +49,9 @@ export const MODULE_TOOL_DEFINITIONS = {
|
|
|
45
49
|
'layout': LAYOUT_TOOL_DEFINITIONS,
|
|
46
50
|
'solution-packages': SOLUTION_PACKAGE_TOOL_DEFINITIONS,
|
|
47
51
|
'linting': LINTING_TOOL_DEFINITIONS,
|
|
52
|
+
'job-scripts': JOB_SCRIPTS_TOOL_DEFINITIONS,
|
|
53
|
+
'job-schedule-trigger': JOB_SCHEDULE_TRIGGER_TOOL_DEFINITIONS,
|
|
54
|
+
'documents': DOCUMENT_TOOL_DEFINITIONS,
|
|
55
|
+
'expert-settings': EXPERT_SETTINGS_TOOL_DEFINITIONS,
|
|
48
56
|
};
|
|
49
57
|
//# sourceMappingURL=tool-metadata.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-metadata.js","sourceRoot":"","sources":["../src/tool-metadata.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OA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AE,gCAAgC;IACnD,YAAY,EAAE,0BAA0B;IACxC,kBAAkB,EAAE,gCAAgC;IACpD,YAAY,EAAE,2BAA2B;IACzC,SAAS,EAAE,uBAAuB;IAClC,cAAc,EAAE,4BAA4B;IAC5C,oBAAoB,EAAE,kCAAkC;IACxD,iBAAiB,EAAE,gCAAgC;IACnD,UAAU,EAAE,yBAAyB;IACrC,gBAAgB,EAAE,+BAA+B;IACjD,MAAM,EAAE,qBAAqB;IAC7B,QAAQ,EAAE,uBAAuB;IACjC,mBAAmB,EAAE,iCAAiC;IACtD,SAAS,EAAE,wBAAwB;IACnC,aAAa,EAAE,4BAA4B;IAC3C,sBAAsB,EAAE,qCAAqC;IAC7D,WAAW,EAAE,yBAAyB;IACtC,iBAAiB,EAAE,gCAAgC;CACpD,CAAC"}
|
|
@@ -37,7 +37,7 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
readonly cplace_board_configure_cards: {
|
|
40
|
-
readonly description: "Configure card sources for a board widget. Declares the complete set of card sources - existing sources not in the array will be removed.\n\nIMPORTANT: Configure cards BEFORE columns/swimlanes, as they reference cards via searchId.\n\nEach card source defines:\n- searchId: Unique identifier used by columns/swimlanes to reference this source\n- search: cplaceJson from cplace_search_pages (defines which pages become cards)\n-
|
|
40
|
+
readonly description: "Configure card sources for a board widget. Declares the complete set of card sources - existing sources not in the array will be removed.\n\nIMPORTANT: Configure cards BEFORE columns/swimlanes, as they reference cards via searchId.\n\nEach card source defines:\n- searchId: Unique identifier used by columns/swimlanes to reference this source\n- search: cplaceJson from cplace_search_pages (defines which pages become cards)\n- cardDisplay: Visual card appearance (date footer, tag badges, border color, icon indicators)\n\n**WARNING**: Do not manually construct search JSON! The search parameter requires a specific format with a \"filters\" array.\n\n**Correct Usage**: Use the cplaceJson field from cplace_search_pages response\n\n**Search JSON Workflow**:\n1. Call cplace_search_pages with your desired filter (e.g., types, workspace)\n2. Take the cplaceJson field from the response\n3. Use that value for the search parameter\n\nExample of CORRECT format: {\"filters\":[{\"relativeSpace\":\"true\"},{\"types\":[\"cf.myApp.myType\"]}]}\nExample of WRONG format: {\"types\":[\"cf.myApp.myType\"]} (missing filters array - will cause \"No value for filters\" error)\n\nWORKFLOW:\n1. Get current config: cplace_board_get_configuration\n2. Modify the cards array\n3. Call this tool with the complete desired cards array";
|
|
41
41
|
readonly inputSchema: {
|
|
42
42
|
readonly context: z.ZodUnion<[z.ZodObject<{
|
|
43
43
|
type: z.ZodLiteral<"page">;
|
|
@@ -69,46 +69,83 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
69
69
|
searchId: z.ZodString;
|
|
70
70
|
search: z.ZodString;
|
|
71
71
|
typeId: z.ZodOptional<z.ZodString>;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
cardDisplay: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
dateAttribute: z.ZodOptional<z.ZodString>;
|
|
74
|
+
tagAttributes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
|
+
colorAttribute: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
attribute: z.ZodString;
|
|
77
|
+
colorMapping: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
attribute: string;
|
|
80
|
+
colorMapping: Record<string, string>;
|
|
81
|
+
}, {
|
|
82
|
+
attribute: string;
|
|
83
|
+
colorMapping: Record<string, string>;
|
|
84
|
+
}>>;
|
|
85
|
+
iconAttributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
86
|
+
attribute: z.ZodString;
|
|
87
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
attribute: string;
|
|
90
|
+
enabled: boolean;
|
|
91
|
+
}, {
|
|
92
|
+
attribute: string;
|
|
93
|
+
enabled?: boolean | undefined;
|
|
94
|
+
}>, "many">>;
|
|
78
95
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
96
|
+
dateAttribute?: string | undefined;
|
|
97
|
+
tagAttributes?: string[] | undefined;
|
|
98
|
+
colorAttribute?: {
|
|
99
|
+
attribute: string;
|
|
100
|
+
colorMapping: Record<string, string>;
|
|
101
|
+
} | undefined;
|
|
102
|
+
iconAttributes?: {
|
|
103
|
+
attribute: string;
|
|
104
|
+
enabled: boolean;
|
|
105
|
+
}[] | undefined;
|
|
84
106
|
}, {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
107
|
+
dateAttribute?: string | undefined;
|
|
108
|
+
tagAttributes?: string[] | undefined;
|
|
109
|
+
colorAttribute?: {
|
|
110
|
+
attribute: string;
|
|
111
|
+
colorMapping: Record<string, string>;
|
|
112
|
+
} | undefined;
|
|
113
|
+
iconAttributes?: {
|
|
114
|
+
attribute: string;
|
|
115
|
+
enabled?: boolean | undefined;
|
|
116
|
+
}[] | undefined;
|
|
90
117
|
}>>;
|
|
91
118
|
}, "strip", z.ZodTypeAny, {
|
|
92
119
|
search: string;
|
|
93
120
|
searchId: string;
|
|
94
121
|
typeId?: string | undefined;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
122
|
+
cardDisplay?: {
|
|
123
|
+
dateAttribute?: string | undefined;
|
|
124
|
+
tagAttributes?: string[] | undefined;
|
|
125
|
+
colorAttribute?: {
|
|
126
|
+
attribute: string;
|
|
127
|
+
colorMapping: Record<string, string>;
|
|
128
|
+
} | undefined;
|
|
129
|
+
iconAttributes?: {
|
|
130
|
+
attribute: string;
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
}[] | undefined;
|
|
101
133
|
} | undefined;
|
|
102
134
|
}, {
|
|
103
135
|
search: string;
|
|
104
136
|
searchId: string;
|
|
105
137
|
typeId?: string | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
138
|
+
cardDisplay?: {
|
|
139
|
+
dateAttribute?: string | undefined;
|
|
140
|
+
tagAttributes?: string[] | undefined;
|
|
141
|
+
colorAttribute?: {
|
|
142
|
+
attribute: string;
|
|
143
|
+
colorMapping: Record<string, string>;
|
|
144
|
+
} | undefined;
|
|
145
|
+
iconAttributes?: {
|
|
146
|
+
attribute: string;
|
|
147
|
+
enabled?: boolean | undefined;
|
|
148
|
+
}[] | undefined;
|
|
112
149
|
} | undefined;
|
|
113
150
|
}>, "many">;
|
|
114
151
|
};
|
|
@@ -117,7 +154,7 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
117
154
|
};
|
|
118
155
|
};
|
|
119
156
|
readonly cplace_board_configure_columns: {
|
|
120
|
-
readonly description: "Configure column structure for a board widget. Declares the complete column configuration.\n\nMODES:\n- static: Explicitly define columns with value mappings (most common)\n- dynamic: Auto-generate columns from attribute values\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\nConfigure cards first if adding new card sources.\n\nSTATIC MODE: Array order = column order (left to right)\nDYNAMIC MODE: Columns auto-generated
|
|
157
|
+
readonly description: "Configure column structure for a board widget. Declares the complete column configuration.\n\nMODES:\n- static: Explicitly define columns with value mappings (most common)\n- dynamic: Auto-generate columns from attribute values\n\nVALID ATTRIBUTE TYPES for column mapping: Enumeration, Reference, Date, or linked attributes of these types.\nNOT valid: Workflow (excluded despite resembling enumerations), Number, Boolean, Color (these are only valid for card display attributes).\n\nVALUE MAPPING FIELDS (mutually exclusive per mapping):\n- values: For enumeration attributes (string values like \"Open\", \"Closed\")\n- referenceValues: For reference attributes (page UIDs like \"6a0pydt3gd31ea3d42hdhqf4t\")\n- dateRange: For date attributes ({start, end} date strings)\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\nConfigure cards first if adding new card sources.\n\nSTATIC MODE: Array order = column order (left to right)\nDYNAMIC MODE: Columns auto-generated from enumeration attribute values. Date-based dynamic columns are not supported.\n\nWORKFLOW:\n1. Ensure cards are configured with desired searchIds\n2. Get current config: cplace_board_get_configuration\n3. Modify or replace columns configuration\n4. Call this tool with complete desired state";
|
|
121
158
|
readonly inputSchema: {
|
|
122
159
|
readonly context: z.ZodUnion<[z.ZodObject<{
|
|
123
160
|
type: z.ZodLiteral<"page">;
|
|
@@ -161,15 +198,36 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
161
198
|
mappings: z.ZodArray<z.ZodObject<{
|
|
162
199
|
searchId: z.ZodString;
|
|
163
200
|
attribute: z.ZodString;
|
|
164
|
-
values: z.ZodArray<z.ZodString, "many"
|
|
201
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
202
|
+
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
203
|
+
dateRange: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
start: z.ZodString;
|
|
205
|
+
end: z.ZodString;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
start: string;
|
|
208
|
+
end: string;
|
|
209
|
+
}, {
|
|
210
|
+
start: string;
|
|
211
|
+
end: string;
|
|
212
|
+
}>>;
|
|
165
213
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
values: string[];
|
|
167
214
|
attribute: string;
|
|
168
215
|
searchId: string;
|
|
216
|
+
values?: string[] | undefined;
|
|
217
|
+
referenceValues?: string[] | undefined;
|
|
218
|
+
dateRange?: {
|
|
219
|
+
start: string;
|
|
220
|
+
end: string;
|
|
221
|
+
} | undefined;
|
|
169
222
|
}, {
|
|
170
|
-
values: string[];
|
|
171
223
|
attribute: string;
|
|
172
224
|
searchId: string;
|
|
225
|
+
values?: string[] | undefined;
|
|
226
|
+
referenceValues?: string[] | undefined;
|
|
227
|
+
dateRange?: {
|
|
228
|
+
start: string;
|
|
229
|
+
end: string;
|
|
230
|
+
} | undefined;
|
|
173
231
|
}>, "many">;
|
|
174
232
|
}, "strip", z.ZodTypeAny, {
|
|
175
233
|
columnId: string;
|
|
@@ -178,9 +236,14 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
178
236
|
de?: string | undefined;
|
|
179
237
|
};
|
|
180
238
|
mappings: {
|
|
181
|
-
values: string[];
|
|
182
239
|
attribute: string;
|
|
183
240
|
searchId: string;
|
|
241
|
+
values?: string[] | undefined;
|
|
242
|
+
referenceValues?: string[] | undefined;
|
|
243
|
+
dateRange?: {
|
|
244
|
+
start: string;
|
|
245
|
+
end: string;
|
|
246
|
+
} | undefined;
|
|
184
247
|
}[];
|
|
185
248
|
}, {
|
|
186
249
|
columnId: string;
|
|
@@ -189,9 +252,14 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
189
252
|
de?: string | undefined;
|
|
190
253
|
};
|
|
191
254
|
mappings: {
|
|
192
|
-
values: string[];
|
|
193
255
|
attribute: string;
|
|
194
256
|
searchId: string;
|
|
257
|
+
values?: string[] | undefined;
|
|
258
|
+
referenceValues?: string[] | undefined;
|
|
259
|
+
dateRange?: {
|
|
260
|
+
start: string;
|
|
261
|
+
end: string;
|
|
262
|
+
} | undefined;
|
|
195
263
|
}[];
|
|
196
264
|
}>, "many">>;
|
|
197
265
|
readonly dynamicConfig: z.ZodOptional<z.ZodObject<{
|
|
@@ -205,40 +273,16 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
205
273
|
attribute: string;
|
|
206
274
|
searchId: string;
|
|
207
275
|
}>, "many">;
|
|
208
|
-
timeGranularity: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
|
|
209
|
-
dateRange: z.ZodOptional<z.ZodObject<{
|
|
210
|
-
start: z.ZodString;
|
|
211
|
-
end: z.ZodString;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
start: string;
|
|
214
|
-
end: string;
|
|
215
|
-
}, {
|
|
216
|
-
start: string;
|
|
217
|
-
end: string;
|
|
218
|
-
}>>;
|
|
219
|
-
dateFormatId: z.ZodOptional<z.ZodString>;
|
|
220
276
|
}, "strip", z.ZodTypeAny, {
|
|
221
277
|
mappedAttributes: {
|
|
222
278
|
attribute: string;
|
|
223
279
|
searchId: string;
|
|
224
280
|
}[];
|
|
225
|
-
timeGranularity?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
226
|
-
dateRange?: {
|
|
227
|
-
start: string;
|
|
228
|
-
end: string;
|
|
229
|
-
} | undefined;
|
|
230
|
-
dateFormatId?: string | undefined;
|
|
231
281
|
}, {
|
|
232
282
|
mappedAttributes: {
|
|
233
283
|
attribute: string;
|
|
234
284
|
searchId: string;
|
|
235
285
|
}[];
|
|
236
|
-
timeGranularity?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
237
|
-
dateRange?: {
|
|
238
|
-
start: string;
|
|
239
|
-
end: string;
|
|
240
|
-
} | undefined;
|
|
241
|
-
dateFormatId?: string | undefined;
|
|
242
286
|
}>>;
|
|
243
287
|
};
|
|
244
288
|
readonly annotations: {
|
|
@@ -246,7 +290,7 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
246
290
|
};
|
|
247
291
|
};
|
|
248
292
|
readonly cplace_board_configure_swimlanes: {
|
|
249
|
-
readonly description: "Configure swimlane structure for a board widget. Swimlanes create horizontal groupings within columns.\n\nSET enabled: false to remove all swimlanes (flat board).\n\nMODES (when enabled):\n- static: Explicitly define swimlanes with value mappings\n- dynamic: Auto-generate swimlanes from attribute values\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\n\nWORKFLOW:\n1. Ensure cards are configured with desired searchIds\n2. Get current config: cplace_board_get_configuration\n3. Modify or replace swimlanes configuration\n4. Call this tool with complete desired state";
|
|
293
|
+
readonly description: "Configure swimlane structure for a board widget. Swimlanes create horizontal groupings within columns.\n\nSET enabled: false to remove all swimlanes (flat board).\n\nMODES (when enabled):\n- static: Explicitly define swimlanes with value mappings\n- dynamic: Auto-generate swimlanes from enumeration attribute values. Date-based dynamic swimlanes are not supported.\n\nVALID ATTRIBUTE TYPES for swimlane mapping: Enumeration, Reference, Date, or linked attributes of these types.\nNOT valid: Workflow (excluded despite resembling enumerations), Number, Boolean, Color (these are only valid for card display attributes).\n\nVALUE MAPPING FIELDS (mutually exclusive per mapping):\n- values: For enumeration attributes (string values like \"Open\", \"Closed\")\n- referenceValues: For reference attributes (page UIDs like \"6a0pydt3gd31ea3d42hdhqf4t\")\n- dateRange: For date attributes ({start, end} date strings)\n\nIMPORTANT: All searchId references must exist in the board's card configurations.\n\nWORKFLOW:\n1. Ensure cards are configured with desired searchIds\n2. Get current config: cplace_board_get_configuration\n3. Modify or replace swimlanes configuration\n4. Call this tool with complete desired state";
|
|
250
294
|
readonly inputSchema: {
|
|
251
295
|
readonly context: z.ZodUnion<[z.ZodObject<{
|
|
252
296
|
type: z.ZodLiteral<"page">;
|
|
@@ -291,15 +335,36 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
291
335
|
mappings: z.ZodArray<z.ZodObject<{
|
|
292
336
|
searchId: z.ZodString;
|
|
293
337
|
attribute: z.ZodString;
|
|
294
|
-
values: z.ZodArray<z.ZodString, "many"
|
|
338
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
339
|
+
referenceValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
340
|
+
dateRange: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
start: z.ZodString;
|
|
342
|
+
end: z.ZodString;
|
|
343
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
|
+
start: string;
|
|
345
|
+
end: string;
|
|
346
|
+
}, {
|
|
347
|
+
start: string;
|
|
348
|
+
end: string;
|
|
349
|
+
}>>;
|
|
295
350
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
values: string[];
|
|
297
351
|
attribute: string;
|
|
298
352
|
searchId: string;
|
|
353
|
+
values?: string[] | undefined;
|
|
354
|
+
referenceValues?: string[] | undefined;
|
|
355
|
+
dateRange?: {
|
|
356
|
+
start: string;
|
|
357
|
+
end: string;
|
|
358
|
+
} | undefined;
|
|
299
359
|
}, {
|
|
300
|
-
values: string[];
|
|
301
360
|
attribute: string;
|
|
302
361
|
searchId: string;
|
|
362
|
+
values?: string[] | undefined;
|
|
363
|
+
referenceValues?: string[] | undefined;
|
|
364
|
+
dateRange?: {
|
|
365
|
+
start: string;
|
|
366
|
+
end: string;
|
|
367
|
+
} | undefined;
|
|
303
368
|
}>, "many">;
|
|
304
369
|
}, "strip", z.ZodTypeAny, {
|
|
305
370
|
names: {
|
|
@@ -307,9 +372,14 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
307
372
|
de?: string | undefined;
|
|
308
373
|
};
|
|
309
374
|
mappings: {
|
|
310
|
-
values: string[];
|
|
311
375
|
attribute: string;
|
|
312
376
|
searchId: string;
|
|
377
|
+
values?: string[] | undefined;
|
|
378
|
+
referenceValues?: string[] | undefined;
|
|
379
|
+
dateRange?: {
|
|
380
|
+
start: string;
|
|
381
|
+
end: string;
|
|
382
|
+
} | undefined;
|
|
313
383
|
}[];
|
|
314
384
|
swimlaneId: string;
|
|
315
385
|
}, {
|
|
@@ -318,9 +388,14 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
318
388
|
de?: string | undefined;
|
|
319
389
|
};
|
|
320
390
|
mappings: {
|
|
321
|
-
values: string[];
|
|
322
391
|
attribute: string;
|
|
323
392
|
searchId: string;
|
|
393
|
+
values?: string[] | undefined;
|
|
394
|
+
referenceValues?: string[] | undefined;
|
|
395
|
+
dateRange?: {
|
|
396
|
+
start: string;
|
|
397
|
+
end: string;
|
|
398
|
+
} | undefined;
|
|
324
399
|
}[];
|
|
325
400
|
swimlaneId: string;
|
|
326
401
|
}>, "many">>;
|
|
@@ -335,40 +410,16 @@ declare const BOARD_TOOL_DEFINITIONS: {
|
|
|
335
410
|
attribute: string;
|
|
336
411
|
searchId: string;
|
|
337
412
|
}>, "many">;
|
|
338
|
-
timeGranularity: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
|
|
339
|
-
dateRange: z.ZodOptional<z.ZodObject<{
|
|
340
|
-
start: z.ZodString;
|
|
341
|
-
end: z.ZodString;
|
|
342
|
-
}, "strip", z.ZodTypeAny, {
|
|
343
|
-
start: string;
|
|
344
|
-
end: string;
|
|
345
|
-
}, {
|
|
346
|
-
start: string;
|
|
347
|
-
end: string;
|
|
348
|
-
}>>;
|
|
349
|
-
dateFormatId: z.ZodOptional<z.ZodString>;
|
|
350
413
|
}, "strip", z.ZodTypeAny, {
|
|
351
414
|
mappedAttributes: {
|
|
352
415
|
attribute: string;
|
|
353
416
|
searchId: string;
|
|
354
417
|
}[];
|
|
355
|
-
timeGranularity?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
356
|
-
dateRange?: {
|
|
357
|
-
start: string;
|
|
358
|
-
end: string;
|
|
359
|
-
} | undefined;
|
|
360
|
-
dateFormatId?: string | undefined;
|
|
361
418
|
}, {
|
|
362
419
|
mappedAttributes: {
|
|
363
420
|
attribute: string;
|
|
364
421
|
searchId: string;
|
|
365
422
|
}[];
|
|
366
|
-
timeGranularity?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
367
|
-
dateRange?: {
|
|
368
|
-
start: string;
|
|
369
|
-
end: string;
|
|
370
|
-
} | undefined;
|
|
371
|
-
dateFormatId?: string | undefined;
|
|
372
423
|
}>>;
|
|
373
424
|
};
|
|
374
425
|
readonly annotations: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-widget.d.ts","sourceRoot":"","sources":["../../src/tools/board-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"board-widget.d.ts","sourceRoot":"","sources":["../../src/tools/board-widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AA0G5C,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJlB,CAAC;AA6bX,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAqYlF;AAGD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|