@kasarlabs/artpeace-mcp 0.1.0 → 0.1.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/build/schemas/index.d.ts +32 -32
- package/build/schemas/index.js +3 -14
- package/build/schemas/index.js.map +1 -1
- package/package.json +2 -2
package/build/schemas/index.d.ts
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const placePixelParamSchema: z.ZodObject<{
|
|
3
|
-
canvasId: z.
|
|
4
|
-
xPos: z.
|
|
5
|
-
yPos: z.
|
|
6
|
-
color: z.ZodDefault<z.
|
|
3
|
+
canvasId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
xPos: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
yPos: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
xPos?: number |
|
|
11
|
-
yPos?: number |
|
|
8
|
+
color: string;
|
|
9
|
+
canvasId?: string | undefined;
|
|
10
|
+
xPos?: number | undefined;
|
|
11
|
+
yPos?: number | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
color?: string | undefined;
|
|
14
|
+
canvasId?: string | undefined;
|
|
15
|
+
xPos?: number | undefined;
|
|
16
|
+
yPos?: number | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export declare const placePixelSchema: z.ZodObject<{
|
|
19
19
|
params: z.ZodArray<z.ZodObject<{
|
|
20
|
-
canvasId: z.
|
|
21
|
-
xPos: z.
|
|
22
|
-
yPos: z.
|
|
23
|
-
color: z.ZodDefault<z.
|
|
20
|
+
canvasId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
xPos: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
yPos: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
xPos?: number |
|
|
28
|
-
yPos?: number |
|
|
25
|
+
color: string;
|
|
26
|
+
canvasId?: string | undefined;
|
|
27
|
+
xPos?: number | undefined;
|
|
28
|
+
yPos?: number | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
color?: string | undefined;
|
|
31
|
+
canvasId?: string | undefined;
|
|
32
|
+
xPos?: number | undefined;
|
|
33
|
+
yPos?: number | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
params: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
xPos?: number |
|
|
40
|
-
yPos?: number |
|
|
37
|
+
color: string;
|
|
38
|
+
canvasId?: string | undefined;
|
|
39
|
+
xPos?: number | undefined;
|
|
40
|
+
yPos?: number | undefined;
|
|
41
41
|
}[];
|
|
42
42
|
}, {
|
|
43
43
|
params: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
color?: string | undefined;
|
|
45
|
+
canvasId?: string | undefined;
|
|
46
|
+
xPos?: number | undefined;
|
|
47
|
+
yPos?: number | undefined;
|
|
48
48
|
}[];
|
|
49
49
|
}>;
|
|
50
50
|
export type placePixelParam = z.infer<typeof placePixelParamSchema>;
|
package/build/schemas/index.js
CHANGED
|
@@ -1,25 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export const placePixelParamSchema = z.object({
|
|
3
3
|
canvasId: z
|
|
4
|
-
.
|
|
4
|
+
.string()
|
|
5
5
|
.optional()
|
|
6
|
-
.nullable()
|
|
7
|
-
.default(0)
|
|
8
6
|
.describe('The id or the unique name of the world to dispose the pixel'),
|
|
9
|
-
xPos: z
|
|
10
|
-
|
|
11
|
-
.optional()
|
|
12
|
-
.nullable()
|
|
13
|
-
.describe('The position on x axe of the pixel'),
|
|
14
|
-
yPos: z
|
|
15
|
-
.number()
|
|
16
|
-
.optional()
|
|
17
|
-
.nullable()
|
|
18
|
-
.describe('The position on y axe of the pixel'),
|
|
7
|
+
xPos: z.number().optional().describe('The position on x axe of the pixel'),
|
|
8
|
+
yPos: z.number().optional().describe('The position on y axe of the pixel'),
|
|
19
9
|
color: z
|
|
20
10
|
.string()
|
|
21
11
|
.optional()
|
|
22
|
-
.nullable()
|
|
23
12
|
.default('0')
|
|
24
13
|
.describe('The color of the pixel by name or by hexadecimal'),
|
|
25
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,QAAQ,EAAE,CAAC;SACR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAC1E,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,GAAG,CAAC;SACZ,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,CACP,gFAAgF,CACjF;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kasarlabs/artpeace-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "803a8f9ba4004c51c63ffa87f454803223380384"
|
|
44
44
|
}
|