@draftt-io/draftt-mcp 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +117 -0
- package/dist/api/client.d.ts +20 -0
- package/dist/api/client.js +93 -0
- package/dist/api/client.js.map +1 -0
- package/dist/api/drafttClient.d.ts +20 -0
- package/dist/api/drafttClient.js +90 -0
- package/dist/api/drafttClient.js.map +1 -0
- package/dist/api/responseFormatter.d.ts +13 -0
- package/dist/api/responseFormatter.js +21 -0
- package/dist/api/responseFormatter.js.map +1 -0
- package/dist/drafttClient.d.ts +17 -0
- package/dist/drafttClient.js +187 -0
- package/dist/drafttClient.js.map +1 -0
- package/dist/handlers/componentHandler.d.ts +18 -0
- package/dist/handlers/componentHandler.js +46 -0
- package/dist/handlers/componentHandler.js.map +1 -0
- package/dist/handlers/drafttHandler.d.ts +12 -0
- package/dist/handlers/drafttHandler.js +31 -0
- package/dist/handlers/drafttHandler.js.map +1 -0
- package/dist/handlers/policyHandler.d.ts +31 -0
- package/dist/handlers/policyHandler.js +85 -0
- package/dist/handlers/policyHandler.js.map +1 -0
- package/dist/helpers/constants.d.ts +31 -0
- package/dist/helpers/constants.js +37 -0
- package/dist/helpers/constants.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +121 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/component.d.ts +60 -0
- package/dist/interfaces/component.js +3 -0
- package/dist/interfaces/component.js.map +1 -0
- package/dist/interfaces/draftt.d.ts +3 -0
- package/dist/interfaces/draftt.js +3 -0
- package/dist/interfaces/draftt.js.map +1 -0
- package/dist/interfaces/policy.d.ts +21 -0
- package/dist/interfaces/policy.js +3 -0
- package/dist/interfaces/policy.js.map +1 -0
- package/dist/models/component.d.ts +60 -0
- package/dist/models/component.js +3 -0
- package/dist/models/component.js.map +1 -0
- package/dist/models/draftt.d.ts +3 -0
- package/dist/models/draftt.js +3 -0
- package/dist/models/draftt.js.map +1 -0
- package/dist/models/policy.d.ts +21 -0
- package/dist/models/policy.js +3 -0
- package/dist/models/policy.js.map +1 -0
- package/dist/schemas/componentSchema.d.ts +278 -0
- package/dist/schemas/componentSchema.js +87 -0
- package/dist/schemas/componentSchema.js.map +1 -0
- package/dist/schemas/drafttSchema.d.ts +4 -0
- package/dist/schemas/drafttSchema.js +8 -0
- package/dist/schemas/drafttSchema.js.map +1 -0
- package/dist/schemas/policySchema.d.ts +100 -0
- package/dist/schemas/policySchema.js +33 -0
- package/dist/schemas/policySchema.js.map +1 -0
- package/dist/tools.d.ts +6 -0
- package/dist/tools.js +277 -0
- package/dist/tools.js.map +1 -0
- package/dist/utils/constants.d.ts +31 -0
- package/dist/utils/constants.js +37 -0
- package/dist/utils/constants.js.map +1 -0
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.js +52 -0
- package/dist/utils/logger.js.map +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policyComponentGetSchema = exports.policyComponentSearchSchema = exports.policyComponentSortSchema = exports.componentGetSchema = exports.componentSearchSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../utils/constants");
|
|
6
|
+
const dateRangeFilterSchema = zod_1.z.object({
|
|
7
|
+
eq: zod_1.z.string().optional(),
|
|
8
|
+
gt: zod_1.z.string().optional(),
|
|
9
|
+
gte: zod_1.z.string().optional(),
|
|
10
|
+
lt: zod_1.z.string().optional(),
|
|
11
|
+
lte: zod_1.z.string().optional(),
|
|
12
|
+
}).partial();
|
|
13
|
+
const tagFilterSchema = zod_1.z.object({
|
|
14
|
+
key: zod_1.z.string(),
|
|
15
|
+
value: zod_1.z.string(),
|
|
16
|
+
});
|
|
17
|
+
const componentSortSchema = zod_1.z.object({
|
|
18
|
+
integrationId: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
19
|
+
uniqueIdentifier: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
20
|
+
region: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
21
|
+
technology: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
22
|
+
type: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
23
|
+
version: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
24
|
+
tags: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
25
|
+
createdAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
26
|
+
updatedAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
27
|
+
}).partial();
|
|
28
|
+
exports.componentSearchSchema = {
|
|
29
|
+
integrationId: zod_1.z.string().optional(),
|
|
30
|
+
uniqueIdentifier: zod_1.z.string().optional(),
|
|
31
|
+
region: zod_1.z.array(zod_1.z.enum(constants_1.AllRegions)).optional(),
|
|
32
|
+
technology: zod_1.z.array(zod_1.z.enum(constants_1.Technologies)).optional(),
|
|
33
|
+
type: zod_1.z.array(zod_1.z.enum(constants_1.ComponentTypes)).optional(),
|
|
34
|
+
version: zod_1.z.string().optional(),
|
|
35
|
+
tags: zod_1.z.array(tagFilterSchema).optional(),
|
|
36
|
+
createdAt: dateRangeFilterSchema.optional(),
|
|
37
|
+
updatedAt: dateRangeFilterSchema.optional(),
|
|
38
|
+
sort: componentSortSchema.optional(),
|
|
39
|
+
nextToken: zod_1.z.string().optional(),
|
|
40
|
+
pageSize: zod_1.z.number().int().min(1).max(100).default(10).optional(),
|
|
41
|
+
};
|
|
42
|
+
exports.componentGetSchema = {
|
|
43
|
+
componentId: zod_1.z.string(),
|
|
44
|
+
};
|
|
45
|
+
exports.policyComponentSortSchema = zod_1.z.object({
|
|
46
|
+
componentId: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
47
|
+
integrationId: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
48
|
+
name: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
49
|
+
technology: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
50
|
+
type: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
51
|
+
urgency: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
52
|
+
priority: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
53
|
+
isCompliant: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
54
|
+
requiredVersion: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
55
|
+
desiredVersion: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
56
|
+
recommendedVersion: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
57
|
+
dueDate: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
58
|
+
tags: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
59
|
+
createdAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
60
|
+
updatedAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
61
|
+
}).partial();
|
|
62
|
+
exports.policyComponentSearchSchema = {
|
|
63
|
+
policyId: zod_1.z.string(),
|
|
64
|
+
componentId: zod_1.z.number().optional(),
|
|
65
|
+
integrationId: zod_1.z.number().optional(),
|
|
66
|
+
name: zod_1.z.string().optional(),
|
|
67
|
+
technology: zod_1.z.array(zod_1.z.enum(constants_1.Technologies)).optional(),
|
|
68
|
+
type: zod_1.z.array(zod_1.z.enum(constants_1.ComponentTypes)).optional(),
|
|
69
|
+
urgency: zod_1.z.number().optional(),
|
|
70
|
+
priority: zod_1.z.number().optional(),
|
|
71
|
+
isCompliant: zod_1.z.boolean().optional(),
|
|
72
|
+
requiredVersion: zod_1.z.string().optional(),
|
|
73
|
+
desiredVersion: zod_1.z.string().optional(),
|
|
74
|
+
recommendedVersion: zod_1.z.string().optional(),
|
|
75
|
+
dueDate: dateRangeFilterSchema.optional(),
|
|
76
|
+
tags: zod_1.z.array(tagFilterSchema).optional(),
|
|
77
|
+
createdAt: dateRangeFilterSchema.optional(),
|
|
78
|
+
updatedAt: dateRangeFilterSchema.optional(),
|
|
79
|
+
sort: exports.policyComponentSortSchema.optional(),
|
|
80
|
+
nextToken: zod_1.z.string().optional(),
|
|
81
|
+
pageSize: zod_1.z.number().int().min(1).max(100).default(10).optional(),
|
|
82
|
+
};
|
|
83
|
+
exports.policyComponentGetSchema = {
|
|
84
|
+
policyId: zod_1.z.string(),
|
|
85
|
+
componentId: zod_1.z.string(),
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=componentSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentSchema.js","sourceRoot":"","sources":["../../src/schemas/componentSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kDAA8E;AAE9E,MAAM,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC,OAAO,EAAE,CAAC;AAEb,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjD,gBAAgB,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpD,MAAM,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;;AAAA,6BAAwB;AAEX,QAAA,eAAe,GAAG;IAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CAC1B,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const policySearchSchema: {
|
|
3
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
eq: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
gt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
gte: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
lt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
lte: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
eq?: string | undefined;
|
|
14
|
+
gt?: string | undefined;
|
|
15
|
+
gte?: string | undefined;
|
|
16
|
+
lt?: string | undefined;
|
|
17
|
+
lte?: string | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
eq?: string | undefined;
|
|
20
|
+
gt?: string | undefined;
|
|
21
|
+
gte?: string | undefined;
|
|
22
|
+
lt?: string | undefined;
|
|
23
|
+
lte?: string | undefined;
|
|
24
|
+
}>>>;
|
|
25
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
eq: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
gt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
gte: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
lt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
lte: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
eq?: string | undefined;
|
|
33
|
+
gt?: string | undefined;
|
|
34
|
+
gte?: string | undefined;
|
|
35
|
+
lt?: string | undefined;
|
|
36
|
+
lte?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
eq?: string | undefined;
|
|
39
|
+
gt?: string | undefined;
|
|
40
|
+
gte?: string | undefined;
|
|
41
|
+
lt?: string | undefined;
|
|
42
|
+
lte?: string | undefined;
|
|
43
|
+
}>>>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
description?: string | undefined;
|
|
47
|
+
createdAt?: {
|
|
48
|
+
eq?: string | undefined;
|
|
49
|
+
gt?: string | undefined;
|
|
50
|
+
gte?: string | undefined;
|
|
51
|
+
lt?: string | undefined;
|
|
52
|
+
lte?: string | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
updatedAt?: {
|
|
55
|
+
eq?: string | undefined;
|
|
56
|
+
gt?: string | undefined;
|
|
57
|
+
gte?: string | undefined;
|
|
58
|
+
lt?: string | undefined;
|
|
59
|
+
lte?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
createdAt?: {
|
|
65
|
+
eq?: string | undefined;
|
|
66
|
+
gt?: string | undefined;
|
|
67
|
+
gte?: string | undefined;
|
|
68
|
+
lt?: string | undefined;
|
|
69
|
+
lte?: string | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
updatedAt?: {
|
|
72
|
+
eq?: string | undefined;
|
|
73
|
+
gt?: string | undefined;
|
|
74
|
+
gte?: string | undefined;
|
|
75
|
+
lt?: string | undefined;
|
|
76
|
+
lte?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
}>>;
|
|
79
|
+
sort: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
81
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
82
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
83
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
|
|
84
|
+
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
name?: "asc" | "desc" | undefined;
|
|
86
|
+
description?: "asc" | "desc" | undefined;
|
|
87
|
+
createdAt?: "asc" | "desc" | undefined;
|
|
88
|
+
updatedAt?: "asc" | "desc" | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
name?: "asc" | "desc" | undefined;
|
|
91
|
+
description?: "asc" | "desc" | undefined;
|
|
92
|
+
createdAt?: "asc" | "desc" | undefined;
|
|
93
|
+
updatedAt?: "asc" | "desc" | undefined;
|
|
94
|
+
}>>;
|
|
95
|
+
nextToken: z.ZodOptional<z.ZodString>;
|
|
96
|
+
pageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
97
|
+
};
|
|
98
|
+
export declare const policyGetSchema: {
|
|
99
|
+
policyId: z.ZodString;
|
|
100
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policyGetSchema = exports.policySearchSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const dateRangeFilterSchema = zod_1.z.object({
|
|
6
|
+
eq: zod_1.z.string().optional(),
|
|
7
|
+
gt: zod_1.z.string().optional(),
|
|
8
|
+
gte: zod_1.z.string().optional(),
|
|
9
|
+
lt: zod_1.z.string().optional(),
|
|
10
|
+
lte: zod_1.z.string().optional(),
|
|
11
|
+
}).partial();
|
|
12
|
+
const policySortSchema = zod_1.z.object({
|
|
13
|
+
name: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
14
|
+
description: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
15
|
+
createdAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
16
|
+
updatedAt: zod_1.z.enum(["asc", "desc"]).optional(),
|
|
17
|
+
}).partial();
|
|
18
|
+
const policyFilterSchema = zod_1.z.object({
|
|
19
|
+
name: zod_1.z.string().optional(),
|
|
20
|
+
description: zod_1.z.string().optional(),
|
|
21
|
+
createdAt: dateRangeFilterSchema.optional(),
|
|
22
|
+
updatedAt: dateRangeFilterSchema.optional(),
|
|
23
|
+
}).partial();
|
|
24
|
+
exports.policySearchSchema = {
|
|
25
|
+
filter: policyFilterSchema.optional(),
|
|
26
|
+
sort: policySortSchema.optional(),
|
|
27
|
+
nextToken: zod_1.z.string().optional(),
|
|
28
|
+
pageSize: zod_1.z.number().int().min(1).max(100).default(10).optional(),
|
|
29
|
+
};
|
|
30
|
+
exports.policyGetSchema = {
|
|
31
|
+
policyId: zod_1.z.string(),
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=policySchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policySchema.js","sourceRoot":"","sources":["../../src/schemas/policySchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC,OAAO,EAAE,CAAC;AAEb,MAAM,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9B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+
import { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
export declare const componentSearchTool: Tool;
|
|
3
|
+
export declare const componentGetTool: Tool;
|
|
4
|
+
export declare const componentPolicySearchTool: Tool;
|
|
5
|
+
export declare const componentPolicyGetTool: Tool;
|
|
6
|
+
export declare const drafttGetTool: Tool;
|
package/dist/tools.js
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.drafttGetTool = exports.componentPolicyGetTool = exports.componentPolicySearchTool = exports.componentGetTool = exports.componentSearchTool = void 0;
|
|
4
|
+
const constants_1 = require("./helpers/constants");
|
|
5
|
+
const DateRangeFilterProperties = {
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
eq: { type: "string", format: "date-time" },
|
|
9
|
+
gt: { type: "string", format: "date-time" },
|
|
10
|
+
gte: { type: "string", format: "date-time" },
|
|
11
|
+
lt: { type: "string", format: "date-time" },
|
|
12
|
+
lte: { type: "string", format: "date-time" },
|
|
13
|
+
},
|
|
14
|
+
additionalProperties: false, // No other properties allowed
|
|
15
|
+
};
|
|
16
|
+
const SortDirection = ["asc", "desc"];
|
|
17
|
+
// Define Sort Params based on PolicyComponentSortParams interface
|
|
18
|
+
const PolicyComponentSortProperties = {
|
|
19
|
+
componentId: { type: "string", enum: SortDirection }, // Assuming componentId sort refers to the string representation if needed, or adjust if sorting by numeric ID is intended
|
|
20
|
+
integrationId: { type: "string", enum: SortDirection }, // Assuming integrationId sort refers to the string representation
|
|
21
|
+
name: { type: "string", enum: SortDirection },
|
|
22
|
+
technology: { type: "string", enum: SortDirection },
|
|
23
|
+
type: { type: "string", enum: SortDirection },
|
|
24
|
+
urgency: { type: "string", enum: SortDirection }, // Assuming sort by numeric value
|
|
25
|
+
priority: { type: "string", enum: SortDirection }, // Assuming sort by numeric value
|
|
26
|
+
isCompliant: { type: "string", enum: SortDirection }, // Assuming sort by boolean value
|
|
27
|
+
requiredVersion: { type: "string", enum: SortDirection },
|
|
28
|
+
desiredVersion: { type: "string", enum: SortDirection },
|
|
29
|
+
recommendedVersion: { type: "string", enum: SortDirection },
|
|
30
|
+
dueDate: { type: "string", enum: SortDirection }, // Assuming sort by date
|
|
31
|
+
tags: { type: "string", enum: SortDirection }, // How tags are sorted needs clarification, assuming string representation for now
|
|
32
|
+
createdAt: { type: "string", enum: SortDirection },
|
|
33
|
+
updatedAt: { type: "string", enum: SortDirection },
|
|
34
|
+
};
|
|
35
|
+
exports.componentSearchTool = {
|
|
36
|
+
name: "draftt_component_search",
|
|
37
|
+
description: "Search for components using various filters like integration ID, region, technology, type, tags, creation/update dates, and sort options.",
|
|
38
|
+
inputSchema: {
|
|
39
|
+
type: "object",
|
|
40
|
+
properties: {
|
|
41
|
+
integrationId: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: "(Optional) Filter by integration ID.",
|
|
44
|
+
},
|
|
45
|
+
uniqueIdentifier: {
|
|
46
|
+
type: "string",
|
|
47
|
+
description: "(Optional) Filter by unique identifier within the integration.",
|
|
48
|
+
},
|
|
49
|
+
region: {
|
|
50
|
+
type: "array",
|
|
51
|
+
description: "(Optional) Filter by region(s). See enum for possible values.",
|
|
52
|
+
items: { type: "string", enum: constants_1.AllRegions },
|
|
53
|
+
},
|
|
54
|
+
technology: {
|
|
55
|
+
type: "array",
|
|
56
|
+
description: "(Optional) Filter by technology(s). See enum for possible values.",
|
|
57
|
+
items: { type: "string", enum: constants_1.Technologies },
|
|
58
|
+
},
|
|
59
|
+
type: {
|
|
60
|
+
type: "array",
|
|
61
|
+
description: "(Optional) Filter by component type(s). See enum for possible values.",
|
|
62
|
+
items: { type: "string", enum: constants_1.ComponentTypes },
|
|
63
|
+
},
|
|
64
|
+
version: {
|
|
65
|
+
type: "string",
|
|
66
|
+
description: "(Optional) Filter by component version.",
|
|
67
|
+
},
|
|
68
|
+
tags: {
|
|
69
|
+
type: "array",
|
|
70
|
+
description: "(Optional) Filter by tags. Each tag is an object with 'key' and 'value' properties.",
|
|
71
|
+
items: {
|
|
72
|
+
type: "object",
|
|
73
|
+
properties: {
|
|
74
|
+
key: { type: "string" },
|
|
75
|
+
value: { type: "string" },
|
|
76
|
+
},
|
|
77
|
+
required: ["key", "value"],
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
createdAt: {
|
|
81
|
+
type: "object",
|
|
82
|
+
description: "(Optional) Filter by creation date range (eq, gt, gte, lt, lte), matching DateRangeFilter in src/helpers/constants.ts. Values should be ISO date strings.",
|
|
83
|
+
properties: DateRangeFilterProperties,
|
|
84
|
+
additionalProperties: false, // No other properties allowed
|
|
85
|
+
},
|
|
86
|
+
updatedAt: {
|
|
87
|
+
type: "object",
|
|
88
|
+
description: "(Optional) Filter by update date range (eq, gt, gte, lt, lte). Values should be ISO date strings.",
|
|
89
|
+
properties: DateRangeFilterProperties,
|
|
90
|
+
additionalProperties: false, // No other properties allowed
|
|
91
|
+
},
|
|
92
|
+
sort: {
|
|
93
|
+
type: "object",
|
|
94
|
+
description: "(Optional) Sorting parameters. Keys are field names, values are 'asc' or 'desc'.",
|
|
95
|
+
properties: {
|
|
96
|
+
integrationId: { type: "string", enum: SortDirection },
|
|
97
|
+
uniqueIdentifier: { type: "string", enum: SortDirection },
|
|
98
|
+
region: { type: "string", enum: SortDirection },
|
|
99
|
+
technology: { type: "string", enum: SortDirection },
|
|
100
|
+
type: { type: "string", enum: SortDirection },
|
|
101
|
+
version: { type: "string", enum: SortDirection },
|
|
102
|
+
tags: { type: "string", enum: SortDirection },
|
|
103
|
+
createdAt: { type: "string", enum: SortDirection },
|
|
104
|
+
updatedAt: { type: "string", enum: SortDirection },
|
|
105
|
+
},
|
|
106
|
+
additionalProperties: false, // No other properties allowed
|
|
107
|
+
},
|
|
108
|
+
nextToken: {
|
|
109
|
+
type: "string",
|
|
110
|
+
description: "(Optional) Token for fetching the next page of results.",
|
|
111
|
+
},
|
|
112
|
+
pageSize: {
|
|
113
|
+
type: "integer",
|
|
114
|
+
description: "Number of results per page (1-100).",
|
|
115
|
+
default: 10,
|
|
116
|
+
minimum: 1,
|
|
117
|
+
maximum: 100,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
additionalProperties: false, // Disallow unspecified properties at the top level
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
exports.componentGetTool = {
|
|
124
|
+
name: "draftt_component_get",
|
|
125
|
+
description: "Get a specific component by component ID",
|
|
126
|
+
inputSchema: {
|
|
127
|
+
type: "object",
|
|
128
|
+
properties: {
|
|
129
|
+
componentId: {
|
|
130
|
+
type: "string",
|
|
131
|
+
description: "The component ID of the component to get",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
required: ["componentId"],
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
exports.componentPolicySearchTool = {
|
|
138
|
+
name: "draftt_component_policy_search",
|
|
139
|
+
description: "Search for policies related to components using various filters like component ID, policy ID, compliance status, dates, tags, and sort options.",
|
|
140
|
+
inputSchema: {
|
|
141
|
+
type: "object",
|
|
142
|
+
properties: {
|
|
143
|
+
policyId: {
|
|
144
|
+
type: "string",
|
|
145
|
+
description: "The policy ID to search components for.",
|
|
146
|
+
},
|
|
147
|
+
componentId: {
|
|
148
|
+
type: "integer",
|
|
149
|
+
description: "(Optional) Filter by the specific component ID (numeric).",
|
|
150
|
+
},
|
|
151
|
+
integrationId: {
|
|
152
|
+
type: "integer",
|
|
153
|
+
description: "(Optional) Filter by the specific integration ID (numeric).",
|
|
154
|
+
},
|
|
155
|
+
name: {
|
|
156
|
+
type: "string",
|
|
157
|
+
description: "(Optional) Filter by component name.",
|
|
158
|
+
},
|
|
159
|
+
technology: {
|
|
160
|
+
type: "array",
|
|
161
|
+
description: "(Optional) Filter by technology(s). See enum for possible values.",
|
|
162
|
+
items: { type: "string", enum: constants_1.Technologies },
|
|
163
|
+
},
|
|
164
|
+
type: {
|
|
165
|
+
type: "array",
|
|
166
|
+
description: "(Optional) Filter by component type(s). See enum for possible values.",
|
|
167
|
+
items: { type: "string", enum: constants_1.ComponentTypes },
|
|
168
|
+
},
|
|
169
|
+
urgency: {
|
|
170
|
+
type: "integer",
|
|
171
|
+
description: "(Optional) Filter by urgency level (numeric).",
|
|
172
|
+
},
|
|
173
|
+
priority: {
|
|
174
|
+
type: "integer",
|
|
175
|
+
description: "(Optional) Filter by priority level (numeric).",
|
|
176
|
+
},
|
|
177
|
+
isCompliant: {
|
|
178
|
+
type: "boolean",
|
|
179
|
+
description: "(Optional) Filter by compliance status.",
|
|
180
|
+
},
|
|
181
|
+
requiredVersion: {
|
|
182
|
+
type: "string",
|
|
183
|
+
description: "(Optional) Filter by required version.",
|
|
184
|
+
},
|
|
185
|
+
desiredVersion: {
|
|
186
|
+
type: "string",
|
|
187
|
+
description: "(Optional) Filter by desired version.",
|
|
188
|
+
},
|
|
189
|
+
recommendedVersion: {
|
|
190
|
+
type: "string",
|
|
191
|
+
description: "(Optional) Filter by recommended version.",
|
|
192
|
+
},
|
|
193
|
+
dueDate: {
|
|
194
|
+
type: "object",
|
|
195
|
+
description: "(Optional) Filter by due date range (eq, gt, gte, lt, lte). Values should be ISO date strings.",
|
|
196
|
+
properties: DateRangeFilterProperties, // Reusing defined DateRangeFilterProperties
|
|
197
|
+
additionalProperties: false,
|
|
198
|
+
},
|
|
199
|
+
tags: {
|
|
200
|
+
type: "array",
|
|
201
|
+
description: "(Optional) Filter by tags. Each tag is an object with 'key' and 'value' properties.",
|
|
202
|
+
items: {
|
|
203
|
+
type: "object",
|
|
204
|
+
properties: {
|
|
205
|
+
key: { type: "string" },
|
|
206
|
+
value: { type: "string" },
|
|
207
|
+
},
|
|
208
|
+
required: ["key", "value"],
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
createdAt: {
|
|
212
|
+
type: "object",
|
|
213
|
+
description: "(Optional) Filter by creation date range (eq, gt, gte, lt, lte). Values should be ISO date strings.",
|
|
214
|
+
properties: DateRangeFilterProperties, // Reusing defined DateRangeFilterProperties
|
|
215
|
+
additionalProperties: false,
|
|
216
|
+
},
|
|
217
|
+
updatedAt: {
|
|
218
|
+
type: "object",
|
|
219
|
+
description: "(Optional) Filter by update date range (eq, gt, gte, lt, lte). Values should be ISO date strings.",
|
|
220
|
+
properties: DateRangeFilterProperties, // Reusing defined DateRangeFilterProperties
|
|
221
|
+
additionalProperties: false,
|
|
222
|
+
},
|
|
223
|
+
sort: {
|
|
224
|
+
type: "object",
|
|
225
|
+
description: "(Optional) Sorting parameters based on filters and keys are field names, values are 'asc' or 'desc'.",
|
|
226
|
+
properties: PolicyComponentSortProperties, // Using newly defined sort properties
|
|
227
|
+
additionalProperties: false,
|
|
228
|
+
},
|
|
229
|
+
nextToken: {
|
|
230
|
+
type: "string",
|
|
231
|
+
description: "(Optional) Token for fetching the next page of results.",
|
|
232
|
+
},
|
|
233
|
+
pageSize: {
|
|
234
|
+
type: "integer",
|
|
235
|
+
description: "Number of results per page (1-100).",
|
|
236
|
+
default: 10,
|
|
237
|
+
minimum: 1,
|
|
238
|
+
maximum: 100,
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
required: ["policyId"], // Only policyId is required
|
|
242
|
+
additionalProperties: false, // Disallow unspecified properties
|
|
243
|
+
},
|
|
244
|
+
};
|
|
245
|
+
exports.componentPolicyGetTool = {
|
|
246
|
+
name: "draftt_component_policy_get",
|
|
247
|
+
description: "Get a specific policy for a component by policy ID and component ID",
|
|
248
|
+
inputSchema: {
|
|
249
|
+
type: "object",
|
|
250
|
+
properties: {
|
|
251
|
+
policyId: {
|
|
252
|
+
type: "string",
|
|
253
|
+
description: "The policy ID of the policy to get",
|
|
254
|
+
},
|
|
255
|
+
componentId: {
|
|
256
|
+
type: "string",
|
|
257
|
+
description: "The component ID of the component to get",
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
required: ["policyId", "componentId"],
|
|
261
|
+
},
|
|
262
|
+
};
|
|
263
|
+
exports.drafttGetTool = {
|
|
264
|
+
name: "draftt_get",
|
|
265
|
+
description: "Get a specific draftt/s for a component by component ID",
|
|
266
|
+
inputSchema: {
|
|
267
|
+
type: "object",
|
|
268
|
+
properties: {
|
|
269
|
+
componentId: {
|
|
270
|
+
type: "string",
|
|
271
|
+
description: "The component ID of the component to get draftt/s for",
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
required: ["componentId"],
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
//# sourceMappingURL=tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":";;;AAGA,mDAA+E;AAE/E,MAAM,yBAAyB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;QAC3C,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;QAC3C,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;QAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;QAC3C,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;KAC/C;IACD,oBAAoB,EAAE,KAAK,EAAE,8BAA8B;CAC9D,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAEtC,kEAAkE;AAClE,MAAM,6BAA6B,GAAG;IAClC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,0HAA0H;IAChL,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,kEAAkE;IAC1H,IAAI,EAAE,EAAE,IAAI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BAA4B;QACpD,oBAAoB,EAAE,KAAK,EAAE,kCAAkC;KAClE;CACJ,CAAC;AAEW,QAAA,sBAAsB,GAAS;IACxC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,qEAAqE;IAClF,WAAW,EAAE;QACT,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;aACpD;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;aAC1D;SACJ;QACD,QAAQ,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;KACxC;CACJ,CAAC;AAEW,QAAA,aAAa,GAAS;IAC/B,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,yDAAyD;IACtE,WAAW,EAAE;QACT,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;aACvE;SACJ;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC5B;CACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const AwsRegions: readonly ["us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-southeast-4", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ca-central-1", "eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-south-1", "eu-south-2", "eu-north-1", "il-central-1", "me-south-1", "me-central-1", "sa-east-1"];
|
|
2
|
+
export declare const GcpRegions: readonly ["asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "europe-central2", "europe-north1", "europe-west1", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "europe-west12", "me-central1", "me-west1", "northamerica-northeast1", "northamerica-northeast2", "southamerica-east1", "southamerica-west1", "us-central1", "us-east1", "us-east4", "us-east5", "us-south1", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
3
|
+
export declare const AllRegions: readonly ["us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-southeast-4", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ca-central-1", "eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-south-1", "eu-south-2", "eu-north-1", "il-central-1", "me-south-1", "me-central-1", "sa-east-1", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "europe-central2", "europe-north1", "europe-west1", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "europe-west12", "me-central1", "me-west1", "northamerica-northeast1", "northamerica-northeast2", "southamerica-east1", "southamerica-west1", "us-central1", "us-east1", "us-east4", "us-east5", "us-south1", "us-west1", "us-west2", "us-west3", "us-west4"];
|
|
4
|
+
export type Region = typeof AllRegions[number];
|
|
5
|
+
export declare const Technologies: readonly ["bigquery", "cloudsql", "ecr", "elasticache", "k8s", "lambda", "opensearch", "rds", "kafka"];
|
|
6
|
+
export type Technology = typeof Technologies[number];
|
|
7
|
+
export declare const ComponentTypes: readonly ["aws-lambda-dotnet", "aws-lambda-go", "aws-lambda-java", "aws-lambda-nodejs", "aws-lambda-providedal", "aws-lambda-python", "aws-lambda-ruby", "aws-msk", "bigquery", "cloudsql-mysql", "cloudsql-postgres", "eks", "elasticache-memcached", "elasticache-redis", "elasticsearch", "gke", "java", "mongodb-atlas", "nodejs", "opensearch", "python", "rds-aurora-mysql", "rds-aurora-postgresql", "rds-docdb", "rds-mariadb", "rds-mysql", "rds-neptune", "rds-oracle", "rds-postgres", "rds-sqlserver-ex"];
|
|
8
|
+
export type ComponentType = typeof ComponentTypes[number];
|
|
9
|
+
export interface TagFilter {
|
|
10
|
+
key: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DateRangeFilter {
|
|
14
|
+
eq?: string;
|
|
15
|
+
gt?: string;
|
|
16
|
+
gte?: string;
|
|
17
|
+
lt?: string;
|
|
18
|
+
lte?: string;
|
|
19
|
+
}
|
|
20
|
+
export type SortDirection = "asc" | "desc";
|
|
21
|
+
export interface SortParams {
|
|
22
|
+
integrationId?: SortDirection;
|
|
23
|
+
uniqueIdentifier?: SortDirection;
|
|
24
|
+
region?: SortDirection;
|
|
25
|
+
technology?: SortDirection;
|
|
26
|
+
type?: SortDirection;
|
|
27
|
+
version?: SortDirection;
|
|
28
|
+
tags?: SortDirection;
|
|
29
|
+
createdAt?: SortDirection;
|
|
30
|
+
updatedAt?: SortDirection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComponentTypes = exports.Technologies = exports.AllRegions = exports.GcpRegions = exports.AwsRegions = void 0;
|
|
4
|
+
exports.AwsRegions = [
|
|
5
|
+
"us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1",
|
|
6
|
+
"ap-east-1", "ap-south-1", "ap-south-2", "ap-southeast-1", "ap-southeast-2",
|
|
7
|
+
"ap-southeast-3", "ap-southeast-4", "ap-northeast-1", "ap-northeast-2",
|
|
8
|
+
"ap-northeast-3", "ca-central-1", "eu-central-1", "eu-central-2", "eu-west-1",
|
|
9
|
+
"eu-west-2", "eu-west-3", "eu-south-1", "eu-south-2", "eu-north-1",
|
|
10
|
+
"il-central-1", "me-south-1", "me-central-1", "sa-east-1"
|
|
11
|
+
];
|
|
12
|
+
exports.GcpRegions = [
|
|
13
|
+
"asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2",
|
|
14
|
+
"asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1",
|
|
15
|
+
"asia-southeast2", "australia-southeast1", "australia-southeast2",
|
|
16
|
+
"europe-central2", "europe-north1", "europe-west1", "europe-west2",
|
|
17
|
+
"europe-west3", "europe-west4", "europe-west6", "europe-west8",
|
|
18
|
+
"europe-west9", "europe-west12", "me-central1", "me-west1",
|
|
19
|
+
"northamerica-northeast1", "northamerica-northeast2", "southamerica-east1",
|
|
20
|
+
"southamerica-west1", "us-central1", "us-east1", "us-east4", "us-east5",
|
|
21
|
+
"us-south1", "us-west1", "us-west2", "us-west3", "us-west4"
|
|
22
|
+
];
|
|
23
|
+
exports.AllRegions = [...exports.AwsRegions, ...exports.GcpRegions];
|
|
24
|
+
exports.Technologies = [
|
|
25
|
+
"bigquery", "cloudsql", "ecr", "elasticache", "k8s", "lambda",
|
|
26
|
+
"opensearch", "rds", "kafka"
|
|
27
|
+
];
|
|
28
|
+
exports.ComponentTypes = [
|
|
29
|
+
"aws-lambda-dotnet", "aws-lambda-go", "aws-lambda-java", "aws-lambda-nodejs",
|
|
30
|
+
"aws-lambda-providedal", "aws-lambda-python", "aws-lambda-ruby", "aws-msk",
|
|
31
|
+
"bigquery", "cloudsql-mysql", "cloudsql-postgres", "eks",
|
|
32
|
+
"elasticache-memcached", "elasticache-redis", "elasticsearch", "gke",
|
|
33
|
+
"java", "mongodb-atlas", "nodejs", "opensearch", "python", "rds-aurora-mysql",
|
|
34
|
+
"rds-aurora-postgresql", "rds-docdb", "rds-mariadb", "rds-mysql",
|
|
35
|
+
"rds-neptune", "rds-oracle", "rds-postgres", "rds-sqlserver-ex"
|
|
36
|
+
];
|
|
37
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;I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