@edicarlos.lds/businessmap-mcp 1.7.0 → 2.1.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 +11 -7
- package/dist/client/businessmap-client.d.ts +18 -1
- package/dist/client/businessmap-client.d.ts.map +1 -1
- package/dist/client/businessmap-client.js +52 -0
- package/dist/client/businessmap-client.js.map +1 -1
- package/dist/client/modules/board-client.d.ts +13 -1
- package/dist/client/modules/board-client.d.ts.map +1 -1
- package/dist/client/modules/board-client.js +23 -0
- package/dist/client/modules/board-client.js.map +1 -1
- package/dist/client/modules/card-client.d.ts +52 -1
- package/dist/client/modules/card-client.d.ts.map +1 -1
- package/dist/client/modules/card-client.js +94 -0
- package/dist/client/modules/card-client.js.map +1 -1
- package/dist/client/modules/index.d.ts +4 -2
- package/dist/client/modules/index.d.ts.map +1 -1
- package/dist/client/modules/index.js.map +1 -1
- package/dist/client/modules/user-client.d.ts +5 -1
- package/dist/client/modules/user-client.d.ts.map +1 -1
- package/dist/client/modules/user-client.js +8 -0
- package/dist/client/modules/user-client.js.map +1 -1
- package/dist/config/environment.d.ts +3 -1
- package/dist/config/environment.d.ts.map +1 -1
- package/dist/config/environment.js +37 -6
- package/dist/config/environment.js.map +1 -1
- package/dist/index.js +40 -32
- package/dist/index.js.map +1 -1
- package/dist/schemas/board-schemas.d.ts +110 -1
- package/dist/schemas/board-schemas.d.ts.map +1 -1
- package/dist/schemas/board-schemas.js +65 -1
- package/dist/schemas/board-schemas.js.map +1 -1
- package/dist/schemas/card-schemas.d.ts +140 -7
- package/dist/schemas/card-schemas.d.ts.map +1 -1
- package/dist/schemas/card-schemas.js +80 -1
- package/dist/schemas/card-schemas.js.map +1 -1
- package/dist/schemas/common-schemas.d.ts +1 -1
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +1 -1
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/schemas/custom-field-schemas.d.ts +1 -1
- package/dist/schemas/custom-field-schemas.d.ts.map +1 -1
- package/dist/schemas/custom-field-schemas.js +1 -1
- package/dist/schemas/custom-field-schemas.js.map +1 -1
- package/dist/schemas/user-schemas.d.ts +11 -1
- package/dist/schemas/user-schemas.d.ts.map +1 -1
- package/dist/schemas/user-schemas.js +11 -1
- package/dist/schemas/user-schemas.js.map +1 -1
- package/dist/schemas/utility-schemas.d.ts +1 -1
- package/dist/schemas/utility-schemas.d.ts.map +1 -1
- package/dist/schemas/utility-schemas.js +1 -1
- package/dist/schemas/utility-schemas.js.map +1 -1
- package/dist/schemas/workflow-schemas.d.ts +1 -1
- package/dist/schemas/workflow-schemas.d.ts.map +1 -1
- package/dist/schemas/workflow-schemas.js +1 -1
- package/dist/schemas/workflow-schemas.js.map +1 -1
- package/dist/schemas/workspace-schemas.d.ts +1 -1
- package/dist/schemas/workspace-schemas.d.ts.map +1 -1
- package/dist/schemas/workspace-schemas.js +1 -1
- package/dist/schemas/workspace-schemas.js.map +1 -1
- package/dist/server/http.d.ts +1 -2
- package/dist/server/http.d.ts.map +1 -1
- package/dist/server/http.js +82 -42
- package/dist/server/http.js.map +1 -1
- package/dist/server/mcp-server.d.ts +3 -2
- package/dist/server/mcp-server.d.ts.map +1 -1
- package/dist/server/mcp-server.js +21 -2
- package/dist/server/mcp-server.js.map +1 -1
- package/dist/server/prompts/base-prompt.d.ts +14 -0
- package/dist/server/prompts/base-prompt.d.ts.map +1 -0
- package/dist/server/prompts/base-prompt.js +2 -0
- package/dist/server/prompts/base-prompt.js.map +1 -0
- package/dist/server/prompts/board-prompts.d.ts +9 -0
- package/dist/server/prompts/board-prompts.d.ts.map +1 -0
- package/dist/server/prompts/board-prompts.js +101 -0
- package/dist/server/prompts/board-prompts.js.map +1 -0
- package/dist/server/prompts/card-prompts.d.ts +8 -0
- package/dist/server/prompts/card-prompts.d.ts.map +1 -0
- package/dist/server/prompts/card-prompts.js +47 -0
- package/dist/server/prompts/card-prompts.js.map +1 -0
- package/dist/server/prompts/index.d.ts +5 -0
- package/dist/server/prompts/index.d.ts.map +1 -0
- package/dist/server/prompts/index.js +4 -0
- package/dist/server/prompts/index.js.map +1 -0
- package/dist/server/prompts/workspace-prompts.d.ts +8 -0
- package/dist/server/prompts/workspace-prompts.d.ts.map +1 -0
- package/dist/server/prompts/workspace-prompts.js +59 -0
- package/dist/server/prompts/workspace-prompts.js.map +1 -0
- package/dist/server/resources/base-resource.d.ts +18 -0
- package/dist/server/resources/base-resource.d.ts.map +1 -0
- package/dist/server/resources/base-resource.js +10 -0
- package/dist/server/resources/base-resource.js.map +1 -0
- package/dist/server/resources/board-resources.d.ts +7 -0
- package/dist/server/resources/board-resources.d.ts.map +1 -0
- package/dist/server/resources/board-resources.js +31 -0
- package/dist/server/resources/board-resources.js.map +1 -0
- package/dist/server/resources/card-resources.d.ts +7 -0
- package/dist/server/resources/card-resources.d.ts.map +1 -0
- package/dist/server/resources/card-resources.js +34 -0
- package/dist/server/resources/card-resources.js.map +1 -0
- package/dist/server/resources/index.d.ts +5 -0
- package/dist/server/resources/index.d.ts.map +1 -0
- package/dist/server/resources/index.js +5 -0
- package/dist/server/resources/index.js.map +1 -0
- package/dist/server/resources/workspace-resources.d.ts +7 -0
- package/dist/server/resources/workspace-resources.d.ts.map +1 -0
- package/dist/server/resources/workspace-resources.js +17 -0
- package/dist/server/resources/workspace-resources.js.map +1 -0
- package/dist/server/tools/base-tool.d.ts +1 -1
- package/dist/server/tools/base-tool.d.ts.map +1 -1
- package/dist/server/tools/base-tool.js.map +1 -1
- package/dist/server/tools/board-tools.d.ts +3 -0
- package/dist/server/tools/board-tools.d.ts.map +1 -1
- package/dist/server/tools/board-tools.js +72 -1
- package/dist/server/tools/board-tools.js.map +1 -1
- package/dist/server/tools/card-tools.d.ts +13 -0
- package/dist/server/tools/card-tools.d.ts.map +1 -1
- package/dist/server/tools/card-tools.js +249 -1
- package/dist/server/tools/card-tools.js.map +1 -1
- package/dist/server/tools/custom-field-tools.d.ts.map +1 -1
- package/dist/server/tools/custom-field-tools.js +1 -0
- package/dist/server/tools/custom-field-tools.js.map +1 -1
- package/dist/server/tools/index.d.ts +2 -1
- package/dist/server/tools/index.d.ts.map +1 -1
- package/dist/server/tools/index.js.map +1 -1
- package/dist/server/tools/user-tools.d.ts +1 -0
- package/dist/server/tools/user-tools.d.ts.map +1 -1
- package/dist/server/tools/user-tools.js +26 -1
- package/dist/server/tools/user-tools.js.map +1 -1
- package/dist/server/tools/utility-tools.d.ts.map +1 -1
- package/dist/server/tools/utility-tools.js +2 -0
- package/dist/server/tools/utility-tools.js.map +1 -1
- package/dist/server/tools/workflow-tools.d.ts.map +1 -1
- package/dist/server/tools/workflow-tools.js +2 -0
- package/dist/server/tools/workflow-tools.js.map +1 -1
- package/dist/server/tools/workspace-tools.d.ts.map +1 -1
- package/dist/server/tools/workspace-tools.js +3 -0
- package/dist/server/tools/workspace-tools.js.map +1 -1
- package/dist/types/board.d.ts +16 -0
- package/dist/types/board.d.ts.map +1 -1
- package/dist/types/card.d.ts +47 -0
- package/dist/types/card.d.ts.map +1 -1
- package/dist/types/user.d.ts +8 -0
- package/dist/types/user.d.ts.map +1 -1
- package/dist/utils/logger.d.ts +5 -5
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/package.json +4 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import dotenv from 'dotenv';
|
|
2
|
-
import path from 'path';
|
|
2
|
+
import path from 'node:path';
|
|
3
3
|
import { logger } from '../utils/logger.js';
|
|
4
4
|
// Load environment variables
|
|
5
5
|
// Load environment variables from current working directory
|
|
@@ -32,12 +32,41 @@ function getNumberEnvVar(name, defaultValue) {
|
|
|
32
32
|
const value = process.env[name];
|
|
33
33
|
if (value === undefined || value === '')
|
|
34
34
|
return defaultValue;
|
|
35
|
-
const parsed = parseInt(value, 10);
|
|
36
|
-
if (isNaN(parsed)) {
|
|
37
|
-
throw new
|
|
35
|
+
const parsed = Number.parseInt(value, 10);
|
|
36
|
+
if (Number.isNaN(parsed)) {
|
|
37
|
+
throw new TypeError(`Environment variable ${name} must be a valid number`);
|
|
38
38
|
}
|
|
39
39
|
return parsed;
|
|
40
40
|
}
|
|
41
|
+
function getCsvEnvVar(name, defaultValue) {
|
|
42
|
+
const value = process.env[name];
|
|
43
|
+
if (!value)
|
|
44
|
+
return defaultValue;
|
|
45
|
+
return value
|
|
46
|
+
.split(',')
|
|
47
|
+
.map((item) => item.trim())
|
|
48
|
+
.filter((item) => item.length > 0);
|
|
49
|
+
}
|
|
50
|
+
function getTransportType() {
|
|
51
|
+
const transport = (process.env.TRANSPORT || 'stdio').toLowerCase();
|
|
52
|
+
if (transport === 'stdio' || transport === 'http') {
|
|
53
|
+
return transport;
|
|
54
|
+
}
|
|
55
|
+
if (transport === 'sse') {
|
|
56
|
+
logger.warn('TRANSPORT=sse is deprecated. Falling back to TRANSPORT=http');
|
|
57
|
+
return 'http';
|
|
58
|
+
}
|
|
59
|
+
throw new Error(`TRANSPORT must be either "stdio" or "http" (received: "${transport}")`);
|
|
60
|
+
}
|
|
61
|
+
const port = getNumberEnvVar('PORT') || 3000;
|
|
62
|
+
const defaultAllowedHosts = [
|
|
63
|
+
'localhost',
|
|
64
|
+
'127.0.0.1',
|
|
65
|
+
'[::1]',
|
|
66
|
+
`localhost:${port}`,
|
|
67
|
+
`127.0.0.1:${port}`,
|
|
68
|
+
`[::1]:${port}`,
|
|
69
|
+
];
|
|
41
70
|
export const config = {
|
|
42
71
|
businessMap: {
|
|
43
72
|
apiUrl: getRequiredEnvVar('BUSINESSMAP_API_URL'),
|
|
@@ -48,10 +77,12 @@ export const config = {
|
|
|
48
77
|
server: {
|
|
49
78
|
name: process.env.MCP_SERVER_NAME || 'businessmap-mcp',
|
|
50
79
|
version: process.env.MCP_SERVER_VERSION || '1.0.0',
|
|
51
|
-
port
|
|
80
|
+
port,
|
|
81
|
+
allowedOrigins: getCsvEnvVar('ALLOWED_ORIGINS', ['http://localhost']),
|
|
82
|
+
allowedHosts: getCsvEnvVar('ALLOWED_HOSTS', defaultAllowedHosts),
|
|
52
83
|
},
|
|
53
84
|
transport: {
|
|
54
|
-
type:
|
|
85
|
+
type: getTransportType(),
|
|
55
86
|
},
|
|
56
87
|
};
|
|
57
88
|
export function validateConfig() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/config/environment.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/config/environment.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,6BAA6B;AAC7B,4DAA4D;AAC5D,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,MAAM,CAAC,CAAC;AACpD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;AAEhD,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;IACjB,wDAAwD;IACxD,kEAAkE;IAClE,oCAAoC;IACpC,MAAM,CAAC,IAAI,CAAC,yBAAyB,OAAO,iCAAiC,CAAC,CAAC;IAC/E,MAAM,CAAC,MAAM,EAAE,CAAC;AAClB,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,IAAI,CAAC,qCAAqC,OAAO,EAAE,CAAC,CAAC;AAC9D,CAAC;AAgBD,SAAS,iBAAiB,CAAC,IAAY;IACrC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,iCAAiC,IAAI,aAAa,CA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,WAAW,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,kCAAkC;IAClC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;IAC3D,CAAC;IAED,MAAM,CAAC,OAAO,CAAC,+BAA+B,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC9F,MAAM,CAAC,IAAI,CAAC,uBAAuB,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;IAChE,MAAM,CAAC,IAAI,CAAC,sBAAsB,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;AAChG,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,47 +3,52 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
|
|
|
3
3
|
import { config, validateConfig } from './config/environment.js';
|
|
4
4
|
import { BusinessMapMcpServer } from './server/mcp-server.js';
|
|
5
5
|
import { logger } from './utils/logger.js';
|
|
6
|
+
async function initializeWithRetry(server) {
|
|
7
|
+
logger.info('🔄 Initializing connection to BusinessMap API...');
|
|
8
|
+
let retryCount = 0;
|
|
9
|
+
const maxRetries = 3;
|
|
10
|
+
const retryDelay = 2000; // 2 seconds
|
|
11
|
+
while (retryCount < maxRetries) {
|
|
12
|
+
try {
|
|
13
|
+
await server.initialize();
|
|
14
|
+
logger.success('Successfully connected to BusinessMap API');
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
catch (error) {
|
|
18
|
+
retryCount++;
|
|
19
|
+
const message = error instanceof Error ? error.message : 'Unknown error';
|
|
20
|
+
if (retryCount < maxRetries) {
|
|
21
|
+
logger.warn(`Connection attempt ${retryCount} failed: ${message}`);
|
|
22
|
+
logger.info(`🔄 Retrying in ${retryDelay / 1000} seconds... (${retryCount}/${maxRetries})`);
|
|
23
|
+
await new Promise((resolve) => setTimeout(resolve, retryDelay));
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
logger.error(`Failed to connect to BusinessMap API after ${maxRetries} attempts: ${message}`);
|
|
27
|
+
logger.error('💡 Please check your API URL and token configuration');
|
|
28
|
+
throw error;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
6
33
|
async function main() {
|
|
7
34
|
try {
|
|
8
35
|
// Validate configuration
|
|
9
36
|
validateConfig();
|
|
10
|
-
// Create and setup the MCP server
|
|
11
|
-
const businessMapServer = new BusinessMapMcpServer();
|
|
12
37
|
logger.info(`🚀 Starting ${config.server.name} v${config.server.version}`);
|
|
13
38
|
logger.info(`📡 BusinessMap API: ${config.businessMap.apiUrl}`);
|
|
14
39
|
logger.info(`🔒 Read-only mode: ${config.businessMap.readOnlyMode ? 'enabled' : 'disabled'}`);
|
|
15
|
-
// Initialize BusinessMap client with retry logic
|
|
16
|
-
logger.info('🔄 Initializing connection to BusinessMap API...');
|
|
17
|
-
let retryCount = 0;
|
|
18
|
-
const maxRetries = 3;
|
|
19
|
-
const retryDelay = 2000; // 2 seconds
|
|
20
|
-
while (retryCount < maxRetries) {
|
|
21
|
-
try {
|
|
22
|
-
await businessMapServer.initialize();
|
|
23
|
-
logger.success('Successfully connected to BusinessMap API');
|
|
24
|
-
break;
|
|
25
|
-
}
|
|
26
|
-
catch (error) {
|
|
27
|
-
retryCount++;
|
|
28
|
-
const message = error instanceof Error ? error.message : 'Unknown error';
|
|
29
|
-
if (retryCount < maxRetries) {
|
|
30
|
-
logger.warn(`Connection attempt ${retryCount} failed: ${message}`);
|
|
31
|
-
logger.info(`🔄 Retrying in ${retryDelay / 1000} seconds... (${retryCount}/${maxRetries})`);
|
|
32
|
-
await new Promise((resolve) => setTimeout(resolve, retryDelay));
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
logger.error(`Failed to connect to BusinessMap API after ${maxRetries} attempts: ${message}`);
|
|
36
|
-
logger.error('💡 Please check your API URL and token configuration');
|
|
37
|
-
throw error;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
40
|
// Setup transport based on configuration
|
|
42
|
-
if (config.transport.type === '
|
|
41
|
+
if (config.transport.type === 'http') {
|
|
42
|
+
// Verify credentials and connectivity before starting remote HTTP mode
|
|
43
|
+
const verificationServer = new BusinessMapMcpServer();
|
|
44
|
+
await initializeWithRetry(verificationServer);
|
|
43
45
|
const { startHttpServer } = await import('./server/http.js');
|
|
44
|
-
await startHttpServer(
|
|
46
|
+
await startHttpServer();
|
|
45
47
|
}
|
|
46
48
|
else {
|
|
49
|
+
// Create and initialize the stdio MCP server
|
|
50
|
+
const businessMapServer = new BusinessMapMcpServer();
|
|
51
|
+
await initializeWithRetry(businessMapServer);
|
|
47
52
|
// Default to Stdio
|
|
48
53
|
const transport = new StdioServerTransport();
|
|
49
54
|
await businessMapServer.server.connect(transport);
|
|
@@ -66,8 +71,11 @@ process.on('SIGTERM', () => {
|
|
|
66
71
|
process.exit(0);
|
|
67
72
|
});
|
|
68
73
|
// Start the server
|
|
69
|
-
|
|
74
|
+
try {
|
|
75
|
+
await main();
|
|
76
|
+
}
|
|
77
|
+
catch (error) {
|
|
70
78
|
console.error('💥 Unhandled error:', error);
|
|
71
79
|
process.exit(1);
|
|
72
|
-
}
|
|
80
|
+
}
|
|
73
81
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,cAAc,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,EAAE,CAAC;YAC7C,MAAM,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAClD,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;YAC7D,MAAM,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,CAAC,KAAK,CAAC,yCAAyC,EAAE,KAAK,CAAC,CAAC;QAC/D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,2BAA2B;AAC3B,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IACxB,MAAM,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;IAC5D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE;IACzB,OAAO,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAC9D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,mBAAmB;AACnB,IAAI,CAAC;IACH,MAAM,IAAI,EAAE,CAAC;AACf,CAAC;AAAC,OAAO,KAAK,EAAE,CAAC;IACf,OAAO,CAAC,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;IAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
2
|
export declare const listBoardsSchema: z.ZodObject<{
|
|
3
3
|
board_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
4
4
|
workspace_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -107,4 +107,113 @@ export declare const getCurrentBoardStructureSchema: z.ZodObject<{
|
|
|
107
107
|
}, {
|
|
108
108
|
board_id: number;
|
|
109
109
|
}>;
|
|
110
|
+
export declare const createColumnInputSchema: z.ZodObject<{
|
|
111
|
+
board_id: z.ZodNumber;
|
|
112
|
+
workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
section: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
parent_column_id: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
position: z.ZodNumber;
|
|
116
|
+
name: z.ZodString;
|
|
117
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
description: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
board_id: number;
|
|
121
|
+
name: string;
|
|
122
|
+
position: number;
|
|
123
|
+
description?: string | undefined;
|
|
124
|
+
workflow_id?: number | undefined;
|
|
125
|
+
section?: number | undefined;
|
|
126
|
+
parent_column_id?: number | undefined;
|
|
127
|
+
limit?: number | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
board_id: number;
|
|
130
|
+
name: string;
|
|
131
|
+
position: number;
|
|
132
|
+
description?: string | undefined;
|
|
133
|
+
workflow_id?: number | undefined;
|
|
134
|
+
section?: number | undefined;
|
|
135
|
+
parent_column_id?: number | undefined;
|
|
136
|
+
limit?: number | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
export declare const createColumnSchema: z.ZodEffects<z.ZodObject<{
|
|
139
|
+
board_id: z.ZodNumber;
|
|
140
|
+
workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
section: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
parent_column_id: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
position: z.ZodNumber;
|
|
144
|
+
name: z.ZodString;
|
|
145
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
board_id: number;
|
|
149
|
+
name: string;
|
|
150
|
+
position: number;
|
|
151
|
+
description?: string | undefined;
|
|
152
|
+
workflow_id?: number | undefined;
|
|
153
|
+
section?: number | undefined;
|
|
154
|
+
parent_column_id?: number | undefined;
|
|
155
|
+
limit?: number | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
board_id: number;
|
|
158
|
+
name: string;
|
|
159
|
+
position: number;
|
|
160
|
+
description?: string | undefined;
|
|
161
|
+
workflow_id?: number | undefined;
|
|
162
|
+
section?: number | undefined;
|
|
163
|
+
parent_column_id?: number | undefined;
|
|
164
|
+
limit?: number | undefined;
|
|
165
|
+
}>, {
|
|
166
|
+
board_id: number;
|
|
167
|
+
name: string;
|
|
168
|
+
position: number;
|
|
169
|
+
description?: string | undefined;
|
|
170
|
+
workflow_id?: number | undefined;
|
|
171
|
+
section?: number | undefined;
|
|
172
|
+
parent_column_id?: number | undefined;
|
|
173
|
+
limit?: number | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
board_id: number;
|
|
176
|
+
name: string;
|
|
177
|
+
position: number;
|
|
178
|
+
description?: string | undefined;
|
|
179
|
+
workflow_id?: number | undefined;
|
|
180
|
+
section?: number | undefined;
|
|
181
|
+
parent_column_id?: number | undefined;
|
|
182
|
+
limit?: number | undefined;
|
|
183
|
+
}>;
|
|
184
|
+
export declare const updateColumnSchema: z.ZodObject<{
|
|
185
|
+
board_id: z.ZodNumber;
|
|
186
|
+
column_id: z.ZodNumber;
|
|
187
|
+
name: z.ZodOptional<z.ZodString>;
|
|
188
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
section: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
description: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
board_id: number;
|
|
194
|
+
column_id: number;
|
|
195
|
+
name?: string | undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
position?: number | undefined;
|
|
198
|
+
section?: number | undefined;
|
|
199
|
+
limit?: number | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
board_id: number;
|
|
202
|
+
column_id: number;
|
|
203
|
+
name?: string | undefined;
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
position?: number | undefined;
|
|
206
|
+
section?: number | undefined;
|
|
207
|
+
limit?: number | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
export declare const deleteColumnSchema: z.ZodObject<{
|
|
210
|
+
board_id: z.ZodNumber;
|
|
211
|
+
column_id: z.ZodNumber;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
board_id: number;
|
|
214
|
+
column_id: number;
|
|
215
|
+
}, {
|
|
216
|
+
board_id: number;
|
|
217
|
+
column_id: number;
|
|
218
|
+
}>;
|
|
110
219
|
//# sourceMappingURL=board-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/board-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"board-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/board-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EA8C3B,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;EAEzB,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;EAEzB,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;EAExB,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;EAM3B,CAAC;AAGH,eAAO,MAAM,8BAA8B;;;;;;EAEzC,CAAC;AAGH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BlC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB7B,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAa7B,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
2
|
// Schema para listagem de boards
|
|
3
3
|
export const listBoardsSchema = z.object({
|
|
4
4
|
// ID filters (arrays)
|
|
@@ -77,4 +77,68 @@ export const createLaneSchema = z.object({
|
|
|
77
77
|
export const getCurrentBoardStructureSchema = z.object({
|
|
78
78
|
board_id: z.number().describe('The ID of the board'),
|
|
79
79
|
});
|
|
80
|
+
// Schema para criação de coluna
|
|
81
|
+
export const createColumnInputSchema = z.object({
|
|
82
|
+
board_id: z.number().describe('The ID of the board'),
|
|
83
|
+
// Main column fields
|
|
84
|
+
workflow_id: z
|
|
85
|
+
.number()
|
|
86
|
+
.optional()
|
|
87
|
+
.describe('The workflow ID (required for main columns, omit for sub-columns)'),
|
|
88
|
+
section: z
|
|
89
|
+
.number()
|
|
90
|
+
.min(1)
|
|
91
|
+
.max(4)
|
|
92
|
+
.optional()
|
|
93
|
+
.describe('The section where the column is located: 1=Backlog, 2=Requested, 3=Progress, 4=Done (required for main columns)'),
|
|
94
|
+
// Sub-column field
|
|
95
|
+
parent_column_id: z
|
|
96
|
+
.number()
|
|
97
|
+
.optional()
|
|
98
|
+
.describe('The ID of the parent column (required for sub-columns; when set, creates a sub-column instead of a main column)'),
|
|
99
|
+
// Shared fields
|
|
100
|
+
position: z.number().describe('The position of the column within the section'),
|
|
101
|
+
name: z.string().describe('The name of the column'),
|
|
102
|
+
limit: z.number().optional().describe('The WIP limit for the column'),
|
|
103
|
+
description: z.string().optional().describe('Optional description for the column'),
|
|
104
|
+
});
|
|
105
|
+
export const createColumnSchema = createColumnInputSchema.superRefine((data, ctx) => {
|
|
106
|
+
const hasParent = data.parent_column_id !== undefined;
|
|
107
|
+
const hasMainColumnData = data.workflow_id !== undefined || data.section !== undefined;
|
|
108
|
+
if (hasParent) {
|
|
109
|
+
if (data.workflow_id !== undefined || data.section !== undefined) {
|
|
110
|
+
ctx.addIssue({
|
|
111
|
+
code: z.ZodIssueCode.custom,
|
|
112
|
+
message: 'When parent_column_id is provided (sub-column), do not provide workflow_id or section.',
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
if (!hasMainColumnData || data.workflow_id === undefined || data.section === undefined) {
|
|
118
|
+
ctx.addIssue({
|
|
119
|
+
code: z.ZodIssueCode.custom,
|
|
120
|
+
message: 'For main columns, workflow_id and section are required when parent_column_id is not provided.',
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
// Schema para atualização de coluna
|
|
125
|
+
export const updateColumnSchema = z.object({
|
|
126
|
+
board_id: z.number().describe('The ID of the board'),
|
|
127
|
+
column_id: z.number().describe('The ID of the column to update'),
|
|
128
|
+
name: z.string().optional().describe('The new name of the column'),
|
|
129
|
+
limit: z.number().optional().describe('The new WIP limit for the column'),
|
|
130
|
+
section: z
|
|
131
|
+
.number()
|
|
132
|
+
.min(1)
|
|
133
|
+
.max(4)
|
|
134
|
+
.optional()
|
|
135
|
+
.describe('The new section: 1=Backlog, 2=Requested, 3=Progress, 4=Done'),
|
|
136
|
+
position: z.number().optional().describe('The new position of the column within its section'),
|
|
137
|
+
description: z.string().optional().describe('The new description for the column'),
|
|
138
|
+
});
|
|
139
|
+
// Schema para exclusão de coluna
|
|
140
|
+
export const deleteColumnSchema = z.object({
|
|
141
|
+
board_id: z.number().describe('The ID of the board'),
|
|
142
|
+
column_id: z.number().describe('The ID of the column to delete'),
|
|
143
|
+
});
|
|
80
144
|
//# sourceMappingURL=board-schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-schemas.js","sourceRoot":"","sources":["../../src/schemas/board-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"board-schemas.js","sourceRoot":"","sources":["../../src/schemas/board-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,iCAAiC;AACjC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,sBAAsB;IACtB,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CAAC,qEAAqE,CAAC;IAElF,oBAAoB;IACpB,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;SACrD,QAAQ,EAAE;SACV,QAAQ,CACP,4GAA4G,CAC7G;IAEH,kBAAkB;IAClB,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC;SAC7F,QAAQ,EAAE;SACV,QAAQ,CACP,2HAA2H,CAC5H;IAEH,oBAAoB;IACpB,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2EA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jC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IACpD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CACjE,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
2
|
export declare const listCardsSchema: z.ZodObject<{
|
|
3
3
|
assignee_user_id: z.ZodOptional<z.ZodNumber>;
|
|
4
4
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -321,14 +321,14 @@ export declare const blockReasonSchema: z.ZodObject<{
|
|
|
321
321
|
cards: z.ZodArray<z.ZodNumber, "many">;
|
|
322
322
|
}, "strip", z.ZodTypeAny, {
|
|
323
323
|
date: string;
|
|
324
|
-
reason_id: number;
|
|
325
324
|
comment: string;
|
|
325
|
+
reason_id: number;
|
|
326
326
|
users: number[];
|
|
327
327
|
cards: number[];
|
|
328
328
|
}, {
|
|
329
329
|
date: string;
|
|
330
|
-
reason_id: number;
|
|
331
330
|
comment: string;
|
|
331
|
+
reason_id: number;
|
|
332
332
|
users: number[];
|
|
333
333
|
cards: number[];
|
|
334
334
|
}>;
|
|
@@ -637,14 +637,14 @@ export declare const createCardSchema: z.ZodObject<{
|
|
|
637
637
|
cards: z.ZodArray<z.ZodNumber, "many">;
|
|
638
638
|
}, "strip", z.ZodTypeAny, {
|
|
639
639
|
date: string;
|
|
640
|
-
reason_id: number;
|
|
641
640
|
comment: string;
|
|
641
|
+
reason_id: number;
|
|
642
642
|
users: number[];
|
|
643
643
|
cards: number[];
|
|
644
644
|
}, {
|
|
645
645
|
date: string;
|
|
646
|
-
reason_id: number;
|
|
647
646
|
comment: string;
|
|
647
|
+
reason_id: number;
|
|
648
648
|
users: number[];
|
|
649
649
|
cards: number[];
|
|
650
650
|
}>>;
|
|
@@ -960,8 +960,8 @@ export declare const createCardSchema: z.ZodObject<{
|
|
|
960
960
|
version_id?: number | undefined;
|
|
961
961
|
block_reason?: {
|
|
962
962
|
date: string;
|
|
963
|
-
reason_id: number;
|
|
964
963
|
comment: string;
|
|
964
|
+
reason_id: number;
|
|
965
965
|
users: number[];
|
|
966
966
|
cards: number[];
|
|
967
967
|
} | undefined;
|
|
@@ -1092,8 +1092,8 @@ export declare const createCardSchema: z.ZodObject<{
|
|
|
1092
1092
|
version_id?: number | undefined;
|
|
1093
1093
|
block_reason?: {
|
|
1094
1094
|
date: string;
|
|
1095
|
-
reason_id: number;
|
|
1096
1095
|
comment: string;
|
|
1096
|
+
reason_id: number;
|
|
1097
1097
|
users: number[];
|
|
1098
1098
|
cards: number[];
|
|
1099
1099
|
} | undefined;
|
|
@@ -1296,4 +1296,137 @@ export declare const getCardChildrenSchema: z.ZodObject<{
|
|
|
1296
1296
|
}, {
|
|
1297
1297
|
card_id: number;
|
|
1298
1298
|
}>;
|
|
1299
|
+
export declare const blockCardSchema: z.ZodObject<{
|
|
1300
|
+
card_id: z.ZodNumber;
|
|
1301
|
+
reason: z.ZodString;
|
|
1302
|
+
}, "strip", z.ZodTypeAny, {
|
|
1303
|
+
card_id: number;
|
|
1304
|
+
reason: string;
|
|
1305
|
+
}, {
|
|
1306
|
+
card_id: number;
|
|
1307
|
+
reason: string;
|
|
1308
|
+
}>;
|
|
1309
|
+
export declare const unblockCardSchema: z.ZodObject<{
|
|
1310
|
+
card_id: z.ZodNumber;
|
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
card_id: number;
|
|
1313
|
+
}, {
|
|
1314
|
+
card_id: number;
|
|
1315
|
+
}>;
|
|
1316
|
+
export declare const createCommentSchema: z.ZodObject<{
|
|
1317
|
+
card_id: z.ZodNumber;
|
|
1318
|
+
text: z.ZodString;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
card_id: number;
|
|
1321
|
+
text: string;
|
|
1322
|
+
}, {
|
|
1323
|
+
card_id: number;
|
|
1324
|
+
text: string;
|
|
1325
|
+
}>;
|
|
1326
|
+
export declare const updateCommentSchema: z.ZodObject<{
|
|
1327
|
+
card_id: z.ZodNumber;
|
|
1328
|
+
comment_id: z.ZodNumber;
|
|
1329
|
+
text: z.ZodString;
|
|
1330
|
+
}, "strip", z.ZodTypeAny, {
|
|
1331
|
+
card_id: number;
|
|
1332
|
+
text: string;
|
|
1333
|
+
comment_id: number;
|
|
1334
|
+
}, {
|
|
1335
|
+
card_id: number;
|
|
1336
|
+
text: string;
|
|
1337
|
+
comment_id: number;
|
|
1338
|
+
}>;
|
|
1339
|
+
export declare const deleteCommentSchema: z.ZodObject<{
|
|
1340
|
+
card_id: z.ZodNumber;
|
|
1341
|
+
comment_id: z.ZodNumber;
|
|
1342
|
+
}, "strip", z.ZodTypeAny, {
|
|
1343
|
+
card_id: number;
|
|
1344
|
+
comment_id: number;
|
|
1345
|
+
}, {
|
|
1346
|
+
card_id: number;
|
|
1347
|
+
comment_id: number;
|
|
1348
|
+
}>;
|
|
1349
|
+
export declare const createTagSchema: z.ZodObject<{
|
|
1350
|
+
label: z.ZodString;
|
|
1351
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
}, "strip", z.ZodTypeAny, {
|
|
1353
|
+
label: string;
|
|
1354
|
+
color?: string | undefined;
|
|
1355
|
+
}, {
|
|
1356
|
+
label: string;
|
|
1357
|
+
color?: string | undefined;
|
|
1358
|
+
}>;
|
|
1359
|
+
export declare const addTagToCardSchema: z.ZodObject<{
|
|
1360
|
+
card_id: z.ZodNumber;
|
|
1361
|
+
tag_id: z.ZodNumber;
|
|
1362
|
+
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
card_id: number;
|
|
1364
|
+
tag_id: number;
|
|
1365
|
+
}, {
|
|
1366
|
+
card_id: number;
|
|
1367
|
+
tag_id: number;
|
|
1368
|
+
}>;
|
|
1369
|
+
export declare const removeTagFromCardSchema: z.ZodObject<{
|
|
1370
|
+
card_id: z.ZodNumber;
|
|
1371
|
+
tag_id: z.ZodNumber;
|
|
1372
|
+
}, "strip", z.ZodTypeAny, {
|
|
1373
|
+
card_id: number;
|
|
1374
|
+
tag_id: number;
|
|
1375
|
+
}, {
|
|
1376
|
+
card_id: number;
|
|
1377
|
+
tag_id: number;
|
|
1378
|
+
}>;
|
|
1379
|
+
export declare const addStickerToCardSchema: z.ZodObject<{
|
|
1380
|
+
card_id: z.ZodNumber;
|
|
1381
|
+
sticker_id: z.ZodNumber;
|
|
1382
|
+
}, "strip", z.ZodTypeAny, {
|
|
1383
|
+
card_id: number;
|
|
1384
|
+
sticker_id: number;
|
|
1385
|
+
}, {
|
|
1386
|
+
card_id: number;
|
|
1387
|
+
sticker_id: number;
|
|
1388
|
+
}>;
|
|
1389
|
+
export declare const removeStickerFromCardSchema: z.ZodObject<{
|
|
1390
|
+
card_id: z.ZodNumber;
|
|
1391
|
+
sticker_card_id: z.ZodNumber;
|
|
1392
|
+
}, "strip", z.ZodTypeAny, {
|
|
1393
|
+
card_id: number;
|
|
1394
|
+
sticker_card_id: number;
|
|
1395
|
+
}, {
|
|
1396
|
+
card_id: number;
|
|
1397
|
+
sticker_card_id: number;
|
|
1398
|
+
}>;
|
|
1399
|
+
export declare const deleteCardSchema: z.ZodObject<{
|
|
1400
|
+
card_id: z.ZodNumber;
|
|
1401
|
+
}, "strip", z.ZodTypeAny, {
|
|
1402
|
+
card_id: number;
|
|
1403
|
+
}, {
|
|
1404
|
+
card_id: number;
|
|
1405
|
+
}>;
|
|
1406
|
+
export declare const addPredecessorSchema: z.ZodObject<{
|
|
1407
|
+
card_id: z.ZodNumber;
|
|
1408
|
+
predecessor_card_id: z.ZodNumber;
|
|
1409
|
+
linked_card_position: z.ZodOptional<z.ZodNumber>;
|
|
1410
|
+
card_position: z.ZodOptional<z.ZodNumber>;
|
|
1411
|
+
}, "strip", z.ZodTypeAny, {
|
|
1412
|
+
card_id: number;
|
|
1413
|
+
predecessor_card_id: number;
|
|
1414
|
+
linked_card_position?: number | undefined;
|
|
1415
|
+
card_position?: number | undefined;
|
|
1416
|
+
}, {
|
|
1417
|
+
card_id: number;
|
|
1418
|
+
predecessor_card_id: number;
|
|
1419
|
+
linked_card_position?: number | undefined;
|
|
1420
|
+
card_position?: number | undefined;
|
|
1421
|
+
}>;
|
|
1422
|
+
export declare const removePredecessorSchema: z.ZodObject<{
|
|
1423
|
+
card_id: z.ZodNumber;
|
|
1424
|
+
predecessor_card_id: z.ZodNumber;
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
|
+
card_id: number;
|
|
1427
|
+
predecessor_card_id: number;
|
|
1428
|
+
}, {
|
|
1429
|
+
card_id: number;
|
|
1430
|
+
predecessor_card_id: number;
|
|
1431
|
+
}>;
|
|
1299
1432
|
//# sourceMappingURL=card-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/card-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"card-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/card-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAS3B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8P1B,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;EAExB,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAGH,eAAO,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