katanakit-js 4.0.4 → 5.2.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 +184 -10
- package/dist/adapters/insforge/index.d.ts +3 -0
- package/dist/adapters/insforge/index.d.ts.map +1 -0
- package/dist/adapters/insforge/index.js +2 -0
- package/dist/adapters/insforge/index.js.map +1 -0
- package/dist/adapters/insforge/insforge.service.d.ts +116 -0
- package/dist/adapters/insforge/insforge.service.d.ts.map +1 -0
- package/dist/adapters/insforge/insforge.service.js +437 -0
- package/dist/adapters/insforge/insforge.service.js.map +1 -0
- package/dist/adapters/notion/notion.service.d.ts.map +1 -1
- package/dist/adapters/notion/notion.service.js +72 -54
- package/dist/adapters/notion/notion.service.js.map +1 -1
- package/dist/adapters/wordpress/wordpress.service.d.ts.map +1 -1
- package/dist/adapters/wordpress/wordpress.service.js +163 -85
- package/dist/adapters/wordpress/wordpress.service.js.map +1 -1
- package/dist/config/seo.service.d.ts.map +1 -1
- package/dist/config/seo.service.js +42 -4
- package/dist/config/seo.service.js.map +1 -1
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +5 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/services/error.service.d.ts +21 -1
- package/dist/core/services/error.service.d.ts.map +1 -1
- package/dist/core/services/error.service.js +39 -0
- package/dist/core/services/error.service.js.map +1 -1
- package/dist/core/services/faker.service.d.ts +160 -0
- package/dist/core/services/faker.service.d.ts.map +1 -0
- package/dist/core/services/faker.service.js +235 -0
- package/dist/core/services/faker.service.js.map +1 -0
- package/dist/core/services/http.service.d.ts.map +1 -1
- package/dist/core/services/http.service.js +10 -16
- package/dist/core/services/http.service.js.map +1 -1
- package/dist/core/services/media.service.d.ts +97 -0
- package/dist/core/services/media.service.d.ts.map +1 -0
- package/dist/core/services/media.service.js +239 -0
- package/dist/core/services/media.service.js.map +1 -0
- package/dist/core/services/reactive.service.d.ts.map +1 -1
- package/dist/core/services/reactive.service.js +5 -14
- package/dist/core/services/reactive.service.js.map +1 -1
- package/dist/core/services/result.service.d.ts +41 -0
- package/dist/core/services/result.service.d.ts.map +1 -0
- package/dist/core/services/result.service.js +60 -0
- package/dist/core/services/result.service.js.map +1 -0
- package/dist/core/services/validation.service.d.ts +22 -0
- package/dist/core/services/validation.service.d.ts.map +1 -0
- package/dist/core/services/validation.service.js +41 -0
- package/dist/core/services/validation.service.js.map +1 -0
- package/dist/core/services/youtube.service.d.ts +79 -0
- package/dist/core/services/youtube.service.d.ts.map +1 -0
- package/dist/core/services/youtube.service.js +388 -0
- package/dist/core/services/youtube.service.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/filesystem/filesystem.service.d.ts +267 -0
- package/dist/infrastructure/filesystem/filesystem.service.d.ts.map +1 -0
- package/dist/infrastructure/filesystem/filesystem.service.js +453 -0
- package/dist/infrastructure/filesystem/filesystem.service.js.map +1 -0
- package/dist/infrastructure/filesystem/path.service.d.ts +115 -0
- package/dist/infrastructure/filesystem/path.service.d.ts.map +1 -0
- package/dist/infrastructure/filesystem/path.service.js +154 -0
- package/dist/infrastructure/filesystem/path.service.js.map +1 -0
- package/dist/infrastructure/index.d.ts +3 -0
- package/dist/infrastructure/index.d.ts.map +1 -1
- package/dist/infrastructure/index.js +3 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/infrastructure/media/media.service.d.ts +15 -0
- package/dist/infrastructure/media/media.service.d.ts.map +1 -0
- package/dist/infrastructure/media/media.service.js +44 -0
- package/dist/infrastructure/media/media.service.js.map +1 -0
- package/dist/infrastructure/storage/storage.service.d.ts.map +1 -1
- package/dist/infrastructure/storage/storage.service.js +10 -8
- package/dist/infrastructure/storage/storage.service.js.map +1 -1
- package/dist/schemas/access.schema.d.ts +69 -0
- package/dist/schemas/access.schema.d.ts.map +1 -0
- package/dist/schemas/access.schema.js +36 -0
- package/dist/schemas/access.schema.js.map +1 -0
- package/dist/schemas/ai.schema.d.ts +53 -0
- package/dist/schemas/ai.schema.d.ts.map +1 -0
- package/dist/schemas/ai.schema.js +34 -0
- package/dist/schemas/ai.schema.js.map +1 -0
- package/dist/schemas/common.schema.d.ts +49 -0
- package/dist/schemas/common.schema.d.ts.map +1 -0
- package/dist/schemas/common.schema.js +23 -0
- package/dist/schemas/common.schema.js.map +1 -0
- package/dist/schemas/core.schema.d.ts +164 -0
- package/dist/schemas/core.schema.d.ts.map +1 -0
- package/dist/schemas/core.schema.js +109 -0
- package/dist/schemas/core.schema.js.map +1 -0
- package/dist/schemas/faker.schema.d.ts +12 -0
- package/dist/schemas/faker.schema.d.ts.map +1 -0
- package/dist/schemas/faker.schema.js +12 -0
- package/dist/schemas/faker.schema.js.map +1 -0
- package/dist/schemas/filesystem.schema.d.ts +71 -0
- package/dist/schemas/filesystem.schema.d.ts.map +1 -0
- package/dist/schemas/filesystem.schema.js +56 -0
- package/dist/schemas/filesystem.schema.js.map +1 -0
- package/dist/schemas/index.d.ts +13 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +13 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/insforge.schema.d.ts +69 -0
- package/dist/schemas/insforge.schema.d.ts.map +1 -0
- package/dist/schemas/insforge.schema.js +82 -0
- package/dist/schemas/insforge.schema.js.map +1 -0
- package/dist/schemas/media.schema.d.ts +51 -0
- package/dist/schemas/media.schema.d.ts.map +1 -0
- package/dist/schemas/media.schema.js +50 -0
- package/dist/schemas/media.schema.js.map +1 -0
- package/dist/schemas/notion.schema.d.ts +1058 -0
- package/dist/schemas/notion.schema.d.ts.map +1 -0
- package/dist/schemas/notion.schema.js +248 -0
- package/dist/schemas/notion.schema.js.map +1 -0
- package/dist/schemas/rss.schema.d.ts +35 -0
- package/dist/schemas/rss.schema.d.ts.map +1 -0
- package/dist/schemas/rss.schema.js +44 -0
- package/dist/schemas/rss.schema.js.map +1 -0
- package/dist/schemas/wordpress.schema.d.ts +1304 -0
- package/dist/schemas/wordpress.schema.d.ts.map +1 -0
- package/dist/schemas/wordpress.schema.js +404 -0
- package/dist/schemas/wordpress.schema.js.map +1 -0
- package/dist/schemas/youtube.schema.d.ts +122 -0
- package/dist/schemas/youtube.schema.d.ts.map +1 -0
- package/dist/schemas/youtube.schema.js +113 -0
- package/dist/schemas/youtube.schema.js.map +1 -0
- package/dist/types/index.d.ts +191 -800
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +40 -15
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Represents a geographic position with latitude, longitude and accuracy. */
|
|
3
|
+
export declare const GeoPositionSchema: z.ZodObject<{
|
|
4
|
+
lat: z.ZodNumber;
|
|
5
|
+
lng: z.ZodNumber;
|
|
6
|
+
accuracy: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
/** Supported ISO currency codes. */
|
|
9
|
+
export declare const CurrencySchema: z.ZodEnum<{
|
|
10
|
+
EUR: "EUR";
|
|
11
|
+
USD: "USD";
|
|
12
|
+
GBP: "GBP";
|
|
13
|
+
JPY: "JPY";
|
|
14
|
+
CAD: "CAD";
|
|
15
|
+
MXN: "MXN";
|
|
16
|
+
CHF: "CHF";
|
|
17
|
+
AUD: "AUD";
|
|
18
|
+
BRL: "BRL";
|
|
19
|
+
CNY: "CNY";
|
|
20
|
+
ARS: "ARS";
|
|
21
|
+
COP: "COP";
|
|
22
|
+
CLP: "CLP";
|
|
23
|
+
}>;
|
|
24
|
+
/** Options for currency formatting. */
|
|
25
|
+
export declare const CurrencyFormatOptionsSchema: z.ZodObject<{
|
|
26
|
+
amount: z.ZodNumber;
|
|
27
|
+
currency: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
EUR: "EUR";
|
|
29
|
+
USD: "USD";
|
|
30
|
+
GBP: "GBP";
|
|
31
|
+
JPY: "JPY";
|
|
32
|
+
CAD: "CAD";
|
|
33
|
+
MXN: "MXN";
|
|
34
|
+
CHF: "CHF";
|
|
35
|
+
AUD: "AUD";
|
|
36
|
+
BRL: "BRL";
|
|
37
|
+
CNY: "CNY";
|
|
38
|
+
ARS: "ARS";
|
|
39
|
+
COP: "COP";
|
|
40
|
+
CLP: "CLP";
|
|
41
|
+
}>>;
|
|
42
|
+
taxes: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
locale: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
en: "en";
|
|
45
|
+
es: "es";
|
|
46
|
+
fr: "fr";
|
|
47
|
+
de: "de";
|
|
48
|
+
it: "it";
|
|
49
|
+
pt: "pt";
|
|
50
|
+
ja: "ja";
|
|
51
|
+
zh: "zh";
|
|
52
|
+
}>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
/** Options for plain number formatting. */
|
|
55
|
+
export declare const NumberFormatOptionsSchema: z.ZodObject<{
|
|
56
|
+
locale: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
en: "en";
|
|
58
|
+
es: "es";
|
|
59
|
+
fr: "fr";
|
|
60
|
+
de: "de";
|
|
61
|
+
it: "it";
|
|
62
|
+
pt: "pt";
|
|
63
|
+
ja: "ja";
|
|
64
|
+
zh: "zh";
|
|
65
|
+
}>>;
|
|
66
|
+
digits: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
/** Date format parts (subset of `Intl.DateTimeFormatOptions`). */
|
|
69
|
+
export declare const AppDateFormatOptionsSchema: z.ZodObject<{
|
|
70
|
+
year: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
numeric: "numeric";
|
|
72
|
+
"2-digit": "2-digit";
|
|
73
|
+
}>>;
|
|
74
|
+
month: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
numeric: "numeric";
|
|
76
|
+
"2-digit": "2-digit";
|
|
77
|
+
long: "long";
|
|
78
|
+
short: "short";
|
|
79
|
+
narrow: "narrow";
|
|
80
|
+
}>>;
|
|
81
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
numeric: "numeric";
|
|
83
|
+
"2-digit": "2-digit";
|
|
84
|
+
}>>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
/** Options for number formatting in geometry calculations. */
|
|
87
|
+
export declare const GeometryFormatOptionsSchema: z.ZodObject<{
|
|
88
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
89
|
+
digits: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
/** Represents viewport dimensions. */
|
|
93
|
+
export declare const ViewportSizeSchema: z.ZodObject<{
|
|
94
|
+
width: z.ZodNumber;
|
|
95
|
+
height: z.ZodNumber;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
/** Represents scroll position. */
|
|
98
|
+
export declare const ScrollPositionSchema: z.ZodObject<{
|
|
99
|
+
x: z.ZodNumber;
|
|
100
|
+
y: z.ZodNumber;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
/** Internal registry entry for lazy loading configurations. */
|
|
103
|
+
export declare const LazyLoaderEntrySchema: z.ZodObject<{
|
|
104
|
+
selector: z.ZodString;
|
|
105
|
+
observerKey: z.ZodString;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
/** Safe error returned on non-2xx or network failures (AI boundary). */
|
|
108
|
+
export declare const AiErrorSchema: z.ZodObject<{
|
|
109
|
+
message: z.ZodString;
|
|
110
|
+
status: z.ZodNumber;
|
|
111
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
/** One round of tool execution inside the agent loop. */
|
|
114
|
+
export declare const AgentStepSchema: z.ZodObject<{
|
|
115
|
+
toolCalls: z.ZodArray<z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
type: z.ZodLiteral<"function">;
|
|
118
|
+
function: z.ZodObject<{
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
arguments: z.ZodString;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
toolResults: z.ZodArray<z.ZodUnknown>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
/** Payload returned by a successful `useRunAgent` call. */
|
|
126
|
+
export declare const AgentDataSchema: z.ZodObject<{
|
|
127
|
+
finalMessage: z.ZodString;
|
|
128
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
129
|
+
toolCalls: z.ZodArray<z.ZodObject<{
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
type: z.ZodLiteral<"function">;
|
|
132
|
+
function: z.ZodObject<{
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
arguments: z.ZodString;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
toolResults: z.ZodArray<z.ZodUnknown>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
/** Payload returned by a successful assistant reply. */
|
|
141
|
+
export declare const AssistantReplySchema: z.ZodObject<{
|
|
142
|
+
reply: z.ZodString;
|
|
143
|
+
sessionId: z.ZodString;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
/** A single field-level validation message keyed by field name. */
|
|
146
|
+
export declare const FieldErrorsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
147
|
+
/** Minimal issue shape (`error.issues` entries). */
|
|
148
|
+
export declare const ValidationIssueSchema: z.ZodObject<{
|
|
149
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
150
|
+
message: z.ZodString;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
/** Demo product shape (Express adapter). */
|
|
153
|
+
export declare const ProductTypeSchema: z.ZodObject<{
|
|
154
|
+
id: z.ZodNumber;
|
|
155
|
+
name: z.ZodString;
|
|
156
|
+
price: z.ZodNumber;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
/** Error shape for Astro content operations. */
|
|
159
|
+
export declare const AstroServiceErrorSchema: z.ZodObject<{
|
|
160
|
+
message: z.ZodString;
|
|
161
|
+
collectionName: z.ZodOptional<z.ZodString>;
|
|
162
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
//# sourceMappingURL=core.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/core.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,oCAAoC;AACpC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;EAczB,CAAC;AAEH,uCAAuC;AACvC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAStC,CAAC;AAEH,2CAA2C;AAC3C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;iBAGpC,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;iBAIrC,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,2BAA2B;;;;iBAItC,CAAC;AAEH,sCAAsC;AACtC,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,kCAAkC;AAClC,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,aAAa;;;;iBAIxB,CAAC;AAEH,yDAAyD;AACzD,eAAO,MAAM,eAAe;;;;;;;;;;iBAG1B,CAAC;AAEH,2DAA2D;AAC3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;iBAG1B,CAAC;AAEH,wDAAwD;AACxD,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,uCAAmC,CAAC;AAElE,oDAAoD;AACpD,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC;AAEH,4CAA4C;AAC5C,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,gDAAgD;AAChD,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AiToolCallSchema } from "./ai.schema.js";
|
|
3
|
+
import { LocaleSchema } from "./common.schema.js";
|
|
4
|
+
/** Represents a geographic position with latitude, longitude and accuracy. */
|
|
5
|
+
export const GeoPositionSchema = z.object({
|
|
6
|
+
lat: z.number(),
|
|
7
|
+
lng: z.number(),
|
|
8
|
+
accuracy: z.number(),
|
|
9
|
+
});
|
|
10
|
+
/** Supported ISO currency codes. */
|
|
11
|
+
export const CurrencySchema = z.enum([
|
|
12
|
+
"EUR",
|
|
13
|
+
"USD",
|
|
14
|
+
"GBP",
|
|
15
|
+
"JPY",
|
|
16
|
+
"CAD",
|
|
17
|
+
"MXN",
|
|
18
|
+
"CHF",
|
|
19
|
+
"AUD",
|
|
20
|
+
"BRL",
|
|
21
|
+
"CNY",
|
|
22
|
+
"ARS",
|
|
23
|
+
"COP",
|
|
24
|
+
"CLP",
|
|
25
|
+
]);
|
|
26
|
+
/** Options for currency formatting. */
|
|
27
|
+
export const CurrencyFormatOptionsSchema = z.object({
|
|
28
|
+
amount: z.number(),
|
|
29
|
+
currency: CurrencySchema.optional(),
|
|
30
|
+
/**
|
|
31
|
+
* Tax rate: percentage when `> 1` (e.g. `21` → 21%), or decimal fraction
|
|
32
|
+
* when in `(0, 1]` (e.g. `0.21` → 21%). Prefer a fraction for rates ≤ 1%.
|
|
33
|
+
*/
|
|
34
|
+
taxes: z.number().optional(),
|
|
35
|
+
locale: LocaleSchema.optional(),
|
|
36
|
+
});
|
|
37
|
+
/** Options for plain number formatting. */
|
|
38
|
+
export const NumberFormatOptionsSchema = z.object({
|
|
39
|
+
locale: LocaleSchema.optional(),
|
|
40
|
+
digits: z.number().int().nonnegative().optional(),
|
|
41
|
+
});
|
|
42
|
+
/** Date format parts (subset of `Intl.DateTimeFormatOptions`). */
|
|
43
|
+
export const AppDateFormatOptionsSchema = z.object({
|
|
44
|
+
year: z.enum(["numeric", "2-digit"]).optional(),
|
|
45
|
+
month: z.enum(["numeric", "2-digit", "long", "short", "narrow"]).optional(),
|
|
46
|
+
day: z.enum(["numeric", "2-digit"]).optional(),
|
|
47
|
+
});
|
|
48
|
+
/** Options for number formatting in geometry calculations. */
|
|
49
|
+
export const GeometryFormatOptionsSchema = z.object({
|
|
50
|
+
locale: z.string().optional(),
|
|
51
|
+
digits: z.number().int().nonnegative().optional(),
|
|
52
|
+
unit: z.string().optional(),
|
|
53
|
+
});
|
|
54
|
+
/** Represents viewport dimensions. */
|
|
55
|
+
export const ViewportSizeSchema = z.object({
|
|
56
|
+
width: z.number(),
|
|
57
|
+
height: z.number(),
|
|
58
|
+
});
|
|
59
|
+
/** Represents scroll position. */
|
|
60
|
+
export const ScrollPositionSchema = z.object({
|
|
61
|
+
x: z.number(),
|
|
62
|
+
y: z.number(),
|
|
63
|
+
});
|
|
64
|
+
/** Internal registry entry for lazy loading configurations. */
|
|
65
|
+
export const LazyLoaderEntrySchema = z.object({
|
|
66
|
+
selector: z.string().min(1),
|
|
67
|
+
observerKey: z.string().min(1),
|
|
68
|
+
});
|
|
69
|
+
/** Safe error returned on non-2xx or network failures (AI boundary). */
|
|
70
|
+
export const AiErrorSchema = z.object({
|
|
71
|
+
message: z.string(),
|
|
72
|
+
status: z.number(),
|
|
73
|
+
details: z.unknown().optional(),
|
|
74
|
+
});
|
|
75
|
+
/** One round of tool execution inside the agent loop. */
|
|
76
|
+
export const AgentStepSchema = z.object({
|
|
77
|
+
toolCalls: z.array(AiToolCallSchema),
|
|
78
|
+
toolResults: z.array(z.unknown()),
|
|
79
|
+
});
|
|
80
|
+
/** Payload returned by a successful `useRunAgent` call. */
|
|
81
|
+
export const AgentDataSchema = z.object({
|
|
82
|
+
finalMessage: z.string(),
|
|
83
|
+
steps: z.array(AgentStepSchema),
|
|
84
|
+
});
|
|
85
|
+
/** Payload returned by a successful assistant reply. */
|
|
86
|
+
export const AssistantReplySchema = z.object({
|
|
87
|
+
reply: z.string(),
|
|
88
|
+
sessionId: z.string().min(1),
|
|
89
|
+
});
|
|
90
|
+
/** A single field-level validation message keyed by field name. */
|
|
91
|
+
export const FieldErrorsSchema = z.record(z.string(), z.string());
|
|
92
|
+
/** Minimal issue shape (`error.issues` entries). */
|
|
93
|
+
export const ValidationIssueSchema = z.object({
|
|
94
|
+
path: z.array(z.union([z.string(), z.number()])),
|
|
95
|
+
message: z.string(),
|
|
96
|
+
});
|
|
97
|
+
/** Demo product shape (Express adapter). */
|
|
98
|
+
export const ProductTypeSchema = z.object({
|
|
99
|
+
id: z.number(),
|
|
100
|
+
name: z.string(),
|
|
101
|
+
price: z.number(),
|
|
102
|
+
});
|
|
103
|
+
/** Error shape for Astro content operations. */
|
|
104
|
+
export const AstroServiceErrorSchema = z.object({
|
|
105
|
+
message: z.string(),
|
|
106
|
+
collectionName: z.string().optional(),
|
|
107
|
+
details: z.unknown().optional(),
|
|
108
|
+
});
|
|
109
|
+
//# sourceMappingURL=core.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.schema.js","sourceRoot":"","sources":["../../src/schemas/core.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,8EAA8E;AAC9E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,G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AC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,gDAAgD;AAChD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Generic fake vehicle shape returned by `useFakeVehicle`. */
|
|
3
|
+
export declare const FakeVehicleSchema: z.ZodObject<{
|
|
4
|
+
brand: z.ZodString;
|
|
5
|
+
model: z.ZodString;
|
|
6
|
+
type: z.ZodString;
|
|
7
|
+
fuel: z.ZodString;
|
|
8
|
+
color: z.ZodString;
|
|
9
|
+
vin: z.ZodString;
|
|
10
|
+
plate: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
//# sourceMappingURL=faker.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"faker.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/faker.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB;;;;;;;;iBAQ5B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Generic fake vehicle shape returned by `useFakeVehicle`. */
|
|
3
|
+
export const FakeVehicleSchema = z.object({
|
|
4
|
+
brand: z.string(),
|
|
5
|
+
model: z.string(),
|
|
6
|
+
type: z.string(),
|
|
7
|
+
fuel: z.string(),
|
|
8
|
+
color: z.string(),
|
|
9
|
+
vin: z.string(),
|
|
10
|
+
plate: z.string(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=faker.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"faker.schema.js","sourceRoot":"","sources":["../../src/schemas/faker.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,+DAA+D;AAC/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Text encodings accepted by the filesystem helpers. */
|
|
3
|
+
export declare const FileEncodingSchema: z.ZodEnum<{
|
|
4
|
+
"utf-8": "utf-8";
|
|
5
|
+
utf8: "utf8";
|
|
6
|
+
ascii: "ascii";
|
|
7
|
+
base64: "base64";
|
|
8
|
+
base64url: "base64url";
|
|
9
|
+
hex: "hex";
|
|
10
|
+
latin1: "latin1";
|
|
11
|
+
binary: "binary";
|
|
12
|
+
ucs2: "ucs2";
|
|
13
|
+
"ucs-2": "ucs-2";
|
|
14
|
+
utf16le: "utf16le";
|
|
15
|
+
"utf-16le": "utf-16le";
|
|
16
|
+
}>;
|
|
17
|
+
/** Hash algorithms supported by `useHashFile` / `useVerifyFileHash`. */
|
|
18
|
+
export declare const FileHashAlgorithmSchema: z.ZodEnum<{
|
|
19
|
+
md5: "md5";
|
|
20
|
+
sha1: "sha1";
|
|
21
|
+
sha256: "sha256";
|
|
22
|
+
sha512: "sha512";
|
|
23
|
+
}>;
|
|
24
|
+
/** Safe error from a filesystem operation (`NodeJS.ErrnoException`-shaped). */
|
|
25
|
+
export declare const FilesystemErrorSchema: z.ZodObject<{
|
|
26
|
+
code: z.ZodString;
|
|
27
|
+
message: z.ZodString;
|
|
28
|
+
path: z.ZodOptional<z.ZodString>;
|
|
29
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
/** Portable stats subset for a file or directory. */
|
|
32
|
+
export declare const FileStatsSchema: z.ZodObject<{
|
|
33
|
+
size: z.ZodNumber;
|
|
34
|
+
isFile: z.ZodBoolean;
|
|
35
|
+
isDirectory: z.ZodBoolean;
|
|
36
|
+
isSymbolicLink: z.ZodBoolean;
|
|
37
|
+
createdAt: z.ZodNumber;
|
|
38
|
+
modifiedAt: z.ZodNumber;
|
|
39
|
+
accessedAt: z.ZodNumber;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
/** A single directory entry with pre-resolved type flags. */
|
|
42
|
+
export declare const ReadDirEntrySchema: z.ZodObject<{
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
path: z.ZodString;
|
|
45
|
+
isFile: z.ZodBoolean;
|
|
46
|
+
isDirectory: z.ZodBoolean;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
/** Options for directory listing. */
|
|
49
|
+
export declare const ReadDirOptionsSchema: z.ZodObject<{
|
|
50
|
+
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
/** Options for writing or appending files. */
|
|
53
|
+
export declare const WriteFileOptionsSchema: z.ZodObject<{
|
|
54
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
"utf-8": "utf-8";
|
|
56
|
+
utf8: "utf8";
|
|
57
|
+
ascii: "ascii";
|
|
58
|
+
base64: "base64";
|
|
59
|
+
base64url: "base64url";
|
|
60
|
+
hex: "hex";
|
|
61
|
+
latin1: "latin1";
|
|
62
|
+
binary: "binary";
|
|
63
|
+
ucs2: "ucs2";
|
|
64
|
+
"ucs-2": "ucs-2";
|
|
65
|
+
utf16le: "utf16le";
|
|
66
|
+
"utf-16le": "utf-16le";
|
|
67
|
+
}>>;
|
|
68
|
+
mode: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
//# sourceMappingURL=filesystem.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/filesystem.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yDAAyD;AACzD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;EAa7B,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,uBAAuB;;;;;EAA8C,CAAC;AAEnF,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB;;;;;iBAKhC,CAAC;AAEH,qDAAqD;AACrD,eAAO,MAAM,eAAe;;;;;;;;iBAW1B,CAAC;AAEH,6DAA6D;AAC7D,eAAO,MAAM,kBAAkB;;;;;iBAK7B,CAAC;AAEH,qCAAqC;AACrC,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AAEH,8CAA8C;AAC9C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;iBAIjC,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Text encodings accepted by the filesystem helpers. */
|
|
3
|
+
export const FileEncodingSchema = z.enum([
|
|
4
|
+
"utf8",
|
|
5
|
+
"utf-8",
|
|
6
|
+
"ascii",
|
|
7
|
+
"base64",
|
|
8
|
+
"base64url",
|
|
9
|
+
"hex",
|
|
10
|
+
"latin1",
|
|
11
|
+
"binary",
|
|
12
|
+
"ucs2",
|
|
13
|
+
"ucs-2",
|
|
14
|
+
"utf16le",
|
|
15
|
+
"utf-16le",
|
|
16
|
+
]);
|
|
17
|
+
/** Hash algorithms supported by `useHashFile` / `useVerifyFileHash`. */
|
|
18
|
+
export const FileHashAlgorithmSchema = z.enum(["md5", "sha1", "sha256", "sha512"]);
|
|
19
|
+
/** Safe error from a filesystem operation (`NodeJS.ErrnoException`-shaped). */
|
|
20
|
+
export const FilesystemErrorSchema = z.object({
|
|
21
|
+
code: z.string(),
|
|
22
|
+
message: z.string(),
|
|
23
|
+
path: z.string().optional(),
|
|
24
|
+
details: z.unknown().optional(),
|
|
25
|
+
});
|
|
26
|
+
/** Portable stats subset for a file or directory. */
|
|
27
|
+
export const FileStatsSchema = z.object({
|
|
28
|
+
size: z.number(),
|
|
29
|
+
isFile: z.boolean(),
|
|
30
|
+
isDirectory: z.boolean(),
|
|
31
|
+
isSymbolicLink: z.boolean(),
|
|
32
|
+
/** Creation time in epoch milliseconds (`birthtimeMs`). */
|
|
33
|
+
createdAt: z.number(),
|
|
34
|
+
/** Last modification time in epoch milliseconds (`mtimeMs`). */
|
|
35
|
+
modifiedAt: z.number(),
|
|
36
|
+
/** Last access time in epoch milliseconds (`atimeMs`). */
|
|
37
|
+
accessedAt: z.number(),
|
|
38
|
+
});
|
|
39
|
+
/** A single directory entry with pre-resolved type flags. */
|
|
40
|
+
export const ReadDirEntrySchema = z.object({
|
|
41
|
+
name: z.string(),
|
|
42
|
+
path: z.string(),
|
|
43
|
+
isFile: z.boolean(),
|
|
44
|
+
isDirectory: z.boolean(),
|
|
45
|
+
});
|
|
46
|
+
/** Options for directory listing. */
|
|
47
|
+
export const ReadDirOptionsSchema = z.object({
|
|
48
|
+
recursive: z.boolean().optional(),
|
|
49
|
+
});
|
|
50
|
+
/** Options for writing or appending files. */
|
|
51
|
+
export const WriteFileOptionsSchema = z.object({
|
|
52
|
+
encoding: FileEncodingSchema.optional(),
|
|
53
|
+
mode: z.number().int().nonnegative().optional(),
|
|
54
|
+
flag: z.string().optional(),
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=filesystem.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem.schema.js","sourceRoot":"","sources":["../../src/schemas/filesystem.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yDAAyD;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,WAAW;IACX,KAAK;IACL,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,OAAO;IACP,SAAS;IACT,UAAU;CACV,CAAC,CAAC;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEnF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAEH,qDAAqD;AACrD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3B,2DAA2D;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,gEAAgE;IAChE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,0DAA0D;IAC1D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,6DAA6D;AAC7D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;CACxB,CAAC,CAAC;AAEH,qCAAqC;AACrC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,8CAA8C;AAC9C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;IACvC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./access.schema.js";
|
|
2
|
+
export * from "./ai.schema.js";
|
|
3
|
+
export * from "./common.schema.js";
|
|
4
|
+
export * from "./core.schema.js";
|
|
5
|
+
export * from "./faker.schema.js";
|
|
6
|
+
export * from "./filesystem.schema.js";
|
|
7
|
+
export * from "./insforge.schema.js";
|
|
8
|
+
export * from "./media.schema.js";
|
|
9
|
+
export * from "./notion.schema.js";
|
|
10
|
+
export * from "./rss.schema.js";
|
|
11
|
+
export * from "./wordpress.schema.js";
|
|
12
|
+
export * from "./youtube.schema.js";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./access.schema.js";
|
|
2
|
+
export * from "./ai.schema.js";
|
|
3
|
+
export * from "./common.schema.js";
|
|
4
|
+
export * from "./core.schema.js";
|
|
5
|
+
export * from "./faker.schema.js";
|
|
6
|
+
export * from "./filesystem.schema.js";
|
|
7
|
+
export * from "./insforge.schema.js";
|
|
8
|
+
export * from "./media.schema.js";
|
|
9
|
+
export * from "./notion.schema.js";
|
|
10
|
+
export * from "./rss.schema.js";
|
|
11
|
+
export * from "./wordpress.schema.js";
|
|
12
|
+
export * from "./youtube.schema.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Config for the InsForge adapter. InsForge is the database fallback
|
|
4
|
+
* (primary data layer is Cloudflare); storage and edge functions
|
|
5
|
+
* are also available through the same client.
|
|
6
|
+
*/
|
|
7
|
+
export declare const IfConfigSchema: z.ZodObject<{
|
|
8
|
+
baseUrl: z.ZodString;
|
|
9
|
+
anonKey: z.ZodOptional<z.ZodString>;
|
|
10
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
|
11
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
|
12
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
/** Table name (bare; schema comes from config or query options). */
|
|
15
|
+
export declare const IfTableNameSchema: z.ZodString;
|
|
16
|
+
/** Bucket name. */
|
|
17
|
+
export declare const IfBucketSchema: z.ZodString;
|
|
18
|
+
/** Sort clause for table queries. */
|
|
19
|
+
export declare const IfOrderSchema: z.ZodObject<{
|
|
20
|
+
column: z.ZodString;
|
|
21
|
+
ascending: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
/** Options for a table read. Filters map to equality clauses. */
|
|
24
|
+
export declare const IfTableQuerySchema: z.ZodObject<{
|
|
25
|
+
table: z.ZodString;
|
|
26
|
+
columns: z.ZodOptional<z.ZodString>;
|
|
27
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
28
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
column: z.ZodString;
|
|
30
|
+
ascending: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
/** Rows for insert (one or many). */
|
|
37
|
+
export declare const IfInsertRowsSchema: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
|
+
/** Patch for update (must be paired with filters — mass updates are refused). */
|
|
39
|
+
export declare const IfUpdatePatchSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
40
|
+
/** Options for an update or delete. Filters are REQUIRED (no mass writes). */
|
|
41
|
+
export declare const IfWriteQuerySchema: z.ZodObject<{
|
|
42
|
+
table: z.ZodString;
|
|
43
|
+
filters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
44
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
/** Postgres function (RPC) call. */
|
|
47
|
+
export declare const IfRpcCallSchema: z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
50
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
/** Bucket + object key reference for storage operations. */
|
|
53
|
+
export declare const IfStorageRefSchema: z.ZodObject<{
|
|
54
|
+
bucket: z.ZodString;
|
|
55
|
+
path: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
/** Options for listing bucket objects. */
|
|
58
|
+
export declare const IfListOptionsSchema: z.ZodObject<{
|
|
59
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
60
|
+
search: z.ZodOptional<z.ZodString>;
|
|
61
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
/** Edge function invocation. */
|
|
65
|
+
export declare const IfInvokeOptionsSchema: z.ZodObject<{
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
//# sourceMappingURL=insforge.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insforge.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/insforge.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;iBAWzB,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,aAAoB,CAAC;AAEnD,mBAAmB;AACnB,eAAO,MAAM,cAAc,aAAoB,CAAC;AAEhD,qCAAqC;AACrC,eAAO,MAAM,aAAa;;;iBAGxB,CAAC;AAEH,iEAAiE;AACjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAe7B,CAAC;AAEH,qCAAqC;AACrC,eAAO,MAAM,kBAAkB,oDAAoD,CAAC;AAEpF,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,wCAAoC,CAAC;AAErE,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB;;;;iBAQ7B,CAAC;AAEH,oCAAoC;AACpC,eAAO,MAAM,eAAe;;;;iBAI1B,CAAC;AAEH,4DAA4D;AAC5D,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,0CAA0C;AAC1C,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAC;AAEH,gCAAgC;AAChC,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Config for the InsForge adapter. InsForge is the database fallback
|
|
4
|
+
* (primary data layer is Cloudflare); storage and edge functions
|
|
5
|
+
* are also available through the same client.
|
|
6
|
+
*/
|
|
7
|
+
export const IfConfigSchema = z.object({
|
|
8
|
+
/** InsForge backend URL (e.g. `https://appKey.region.insforge.app`). */
|
|
9
|
+
baseUrl: z.string().min(1),
|
|
10
|
+
/** Public anon key (browser-safe client). */
|
|
11
|
+
anonKey: z.string().optional(),
|
|
12
|
+
/** Project-admin key — server-only, use `createAdminClient` under the hood. */
|
|
13
|
+
apiKey: z.string().optional(),
|
|
14
|
+
/** User JWT to run requests as that user (RLS applies). */
|
|
15
|
+
accessToken: z.string().optional(),
|
|
16
|
+
/** Default PostgREST schema (default: `public`). */
|
|
17
|
+
schema: z.string().optional(),
|
|
18
|
+
});
|
|
19
|
+
/** Table name (bare; schema comes from config or query options). */
|
|
20
|
+
export const IfTableNameSchema = z.string().min(1);
|
|
21
|
+
/** Bucket name. */
|
|
22
|
+
export const IfBucketSchema = z.string().min(1);
|
|
23
|
+
/** Sort clause for table queries. */
|
|
24
|
+
export const IfOrderSchema = z.object({
|
|
25
|
+
column: z.string().min(1),
|
|
26
|
+
ascending: z.boolean().optional(),
|
|
27
|
+
});
|
|
28
|
+
/** Options for a table read. Filters map to equality clauses. */
|
|
29
|
+
export const IfTableQuerySchema = z.object({
|
|
30
|
+
/** Table name (bare; schema comes from config or `schema`). */
|
|
31
|
+
table: z.string().min(1),
|
|
32
|
+
/** Columns selector (default: `*`). */
|
|
33
|
+
columns: z.string().optional(),
|
|
34
|
+
/** Equality filters (`column: value`). */
|
|
35
|
+
filters: z.record(z.string(), z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
36
|
+
/** Sort clause. */
|
|
37
|
+
order: IfOrderSchema.optional(),
|
|
38
|
+
/** Max rows. */
|
|
39
|
+
limit: z.number().int().positive().optional(),
|
|
40
|
+
/** First row (zero-based). */
|
|
41
|
+
offset: z.number().int().nonnegative().optional(),
|
|
42
|
+
/** Override the PostgREST schema for this query. */
|
|
43
|
+
schema: z.string().optional(),
|
|
44
|
+
});
|
|
45
|
+
/** Rows for insert (one or many). */
|
|
46
|
+
export const IfInsertRowsSchema = z.array(z.record(z.string(), z.unknown())).min(1);
|
|
47
|
+
/** Patch for update (must be paired with filters — mass updates are refused). */
|
|
48
|
+
export const IfUpdatePatchSchema = z.record(z.string(), z.unknown());
|
|
49
|
+
/** Options for an update or delete. Filters are REQUIRED (no mass writes). */
|
|
50
|
+
export const IfWriteQuerySchema = z.object({
|
|
51
|
+
table: z.string().min(1),
|
|
52
|
+
filters: z
|
|
53
|
+
.record(z.string(), z.union([z.string(), z.number(), z.boolean()]))
|
|
54
|
+
.refine((filters) => Object.keys(filters).length > 0, {
|
|
55
|
+
message: "filters must not be empty (mass writes are refused)",
|
|
56
|
+
}),
|
|
57
|
+
schema: z.string().optional(),
|
|
58
|
+
});
|
|
59
|
+
/** Postgres function (RPC) call. */
|
|
60
|
+
export const IfRpcCallSchema = z.object({
|
|
61
|
+
name: z.string().min(1),
|
|
62
|
+
params: z.record(z.string(), z.unknown()).optional(),
|
|
63
|
+
schema: z.string().optional(),
|
|
64
|
+
});
|
|
65
|
+
/** Bucket + object key reference for storage operations. */
|
|
66
|
+
export const IfStorageRefSchema = z.object({
|
|
67
|
+
bucket: z.string().min(1),
|
|
68
|
+
path: z.string().min(1),
|
|
69
|
+
});
|
|
70
|
+
/** Options for listing bucket objects. */
|
|
71
|
+
export const IfListOptionsSchema = z.object({
|
|
72
|
+
prefix: z.string().optional(),
|
|
73
|
+
search: z.string().optional(),
|
|
74
|
+
limit: z.number().int().positive().max(1000).optional(),
|
|
75
|
+
offset: z.number().int().nonnegative().optional(),
|
|
76
|
+
});
|
|
77
|
+
/** Edge function invocation. */
|
|
78
|
+
export const IfInvokeOptionsSchema = z.object({
|
|
79
|
+
name: z.string().min(1),
|
|
80
|
+
body: z.record(z.string(), z.unknown()).optional(),
|
|
81
|
+
});
|
|
82
|
+
//# sourceMappingURL=insforge.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insforge.schema.js","sourceRoot":"","sources":["../../src/schemas/insforge.schema.ts"],"names":[],"mappings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