@sixb/server 0.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 +21 -0
- package/README.md +123 -0
- package/dist/auth/access-token-boundary.d.ts +23 -0
- package/dist/auth/access-token-boundary.d.ts.map +1 -0
- package/dist/auth/application-access.d.ts +4 -0
- package/dist/auth/application-access.d.ts.map +1 -0
- package/dist/auth/browser-origin.d.ts +62 -0
- package/dist/auth/browser-origin.d.ts.map +1 -0
- package/dist/auth/csrf.d.ts +2 -0
- package/dist/auth/csrf.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +35 -0
- package/dist/auth/guard.d.ts.map +1 -0
- package/dist/auth/public-routes.d.ts +8 -0
- package/dist/auth/public-routes.d.ts.map +1 -0
- package/dist/auth/responses.d.ts +11 -0
- package/dist/auth/responses.d.ts.map +1 -0
- package/dist/auth/return-to.d.ts +3 -0
- package/dist/auth/return-to.d.ts.map +1 -0
- package/dist/auth/scope.d.ts +43 -0
- package/dist/auth/scope.d.ts.map +1 -0
- package/dist/auth/session-activity.d.ts +4 -0
- package/dist/auth/session-activity.d.ts.map +1 -0
- package/dist/auth/session-cookies.d.ts +12 -0
- package/dist/auth/session-cookies.d.ts.map +1 -0
- package/dist/files/content.d.ts +141 -0
- package/dist/files/content.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11522 -0
- package/dist/index.js.map +78 -0
- package/dist/openapi/security.d.ts +26 -0
- package/dist/openapi/security.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +151 -0
- package/dist/openapi/tags.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts +31 -0
- package/dist/registerRoutes.d.ts.map +1 -0
- package/dist/routes/action-runs.d.ts +244 -0
- package/dist/routes/action-runs.d.ts.map +1 -0
- package/dist/routes/actions.d.ts +183 -0
- package/dist/routes/actions.d.ts.map +1 -0
- package/dist/routes/agent-api-gateway.d.ts +4 -0
- package/dist/routes/agent-api-gateway.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +1061 -0
- package/dist/routes/agents.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +1366 -0
- package/dist/routes/auth.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +108 -0
- package/dist/routes/connectors.d.ts.map +1 -0
- package/dist/routes/datasets.d.ts +339 -0
- package/dist/routes/datasets.d.ts.map +1 -0
- package/dist/routes/events.d.ts +116 -0
- package/dist/routes/events.d.ts.map +1 -0
- package/dist/routes/files.d.ts +340 -0
- package/dist/routes/files.d.ts.map +1 -0
- package/dist/routes/links.d.ts +175 -0
- package/dist/routes/links.d.ts.map +1 -0
- package/dist/routes/logs.d.ts +88 -0
- package/dist/routes/logs.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +450 -0
- package/dist/routes/objects.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +240 -0
- package/dist/routes/ontology.d.ts.map +1 -0
- package/dist/routes/pipelines.d.ts +399 -0
- package/dist/routes/pipelines.d.ts.map +1 -0
- package/dist/routes/project.d.ts +56 -0
- package/dist/routes/project.d.ts.map +1 -0
- package/dist/routes/projections.d.ts +916 -0
- package/dist/routes/projections.d.ts.map +1 -0
- package/dist/routes/rules.d.ts +165 -0
- package/dist/routes/rules.d.ts.map +1 -0
- package/dist/routes/status.d.ts +81 -0
- package/dist/routes/status.d.ts.map +1 -0
- package/dist/routes/syncs.d.ts +294 -0
- package/dist/routes/syncs.d.ts.map +1 -0
- package/dist/routes/telemetry.d.ts +241 -0
- package/dist/routes/telemetry.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +89 -0
- package/dist/routes/webhook-runs.d.ts.map +1 -0
- package/dist/routes/webhooks.d.ts +60 -0
- package/dist/routes/webhooks.d.ts.map +1 -0
- package/dist/routes/workflows.d.ts +973 -0
- package/dist/routes/workflows.d.ts.map +1 -0
- package/dist/routes/ws/agents.d.ts +99 -0
- package/dist/routes/ws/agents.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +89 -0
- package/dist/routes/ws/events.d.ts.map +1 -0
- package/dist/routes/ws/index.d.ts +31 -0
- package/dist/routes/ws/index.d.ts.map +1 -0
- package/dist/routes/ws/log-subscription-hub.d.ts +47 -0
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -0
- package/dist/routes/ws/logs.d.ts +110 -0
- package/dist/routes/ws/logs.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +644 -0
- package/dist/schemas/actions.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +3157 -0
- package/dist/schemas/agents.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +2023 -0
- package/dist/schemas/auth.d.ts.map +1 -0
- package/dist/schemas/common.d.ts +30 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/connectors.d.ts +82 -0
- package/dist/schemas/connectors.d.ts.map +1 -0
- package/dist/schemas/datasets.d.ts +744 -0
- package/dist/schemas/datasets.d.ts.map +1 -0
- package/dist/schemas/event-payloads.d.ts +477 -0
- package/dist/schemas/event-payloads.d.ts.map +1 -0
- package/dist/schemas/events.d.ts +665 -0
- package/dist/schemas/events.d.ts.map +1 -0
- package/dist/schemas/files.d.ts +241 -0
- package/dist/schemas/files.d.ts.map +1 -0
- package/dist/schemas/links.d.ts +90 -0
- package/dist/schemas/links.d.ts.map +1 -0
- package/dist/schemas/logs.d.ts +231 -0
- package/dist/schemas/logs.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +288 -0
- package/dist/schemas/objects.d.ts.map +1 -0
- package/dist/schemas/ontology.d.ts +778 -0
- package/dist/schemas/ontology.d.ts.map +1 -0
- package/dist/schemas/pipelines.d.ts +1373 -0
- package/dist/schemas/pipelines.d.ts.map +1 -0
- package/dist/schemas/project.d.ts +9 -0
- package/dist/schemas/project.d.ts.map +1 -0
- package/dist/schemas/projections.d.ts +6992 -0
- package/dist/schemas/projections.d.ts.map +1 -0
- package/dist/schemas/rules.d.ts +204 -0
- package/dist/schemas/rules.d.ts.map +1 -0
- package/dist/schemas/status.d.ts +189 -0
- package/dist/schemas/status.d.ts.map +1 -0
- package/dist/schemas/syncs.d.ts +538 -0
- package/dist/schemas/syncs.d.ts.map +1 -0
- package/dist/schemas/telemetry.d.ts +265 -0
- package/dist/schemas/telemetry.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +169 -0
- package/dist/schemas/webhook-runs.d.ts.map +1 -0
- package/dist/schemas/workflows.d.ts +1720 -0
- package/dist/schemas/workflows.d.ts.map +1 -0
- package/dist/server.d.ts +64 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/tsconfig.json +5 -0
- package/dist/utils/http.d.ts +23 -0
- package/dist/utils/http.d.ts.map +1 -0
- package/dist/utils/request-body.d.ts +15 -0
- package/dist/utils/request-body.d.ts.map +1 -0
- package/dist/utils/ws.d.ts +10 -0
- package/dist/utils/ws.d.ts.map +1 -0
- package/package.json +68 -0
- package/src/auth/access-token-boundary.ts +68 -0
- package/src/auth/application-access.ts +16 -0
- package/src/auth/browser-origin.ts +367 -0
- package/src/auth/csrf.ts +1 -0
- package/src/auth/guard.ts +169 -0
- package/src/auth/public-routes.ts +87 -0
- package/src/auth/responses.ts +54 -0
- package/src/auth/return-to.ts +21 -0
- package/src/auth/scope.ts +64 -0
- package/src/auth/session-activity.ts +19 -0
- package/src/auth/session-cookies.ts +43 -0
- package/src/files/content.ts +419 -0
- package/src/index.ts +2 -0
- package/src/openapi/security.ts +37 -0
- package/src/openapi/tags.ts +151 -0
- package/src/registerRoutes.ts +49 -0
- package/src/routes/action-runs.ts +238 -0
- package/src/routes/actions.ts +126 -0
- package/src/routes/agent-api-gateway.ts +260 -0
- package/src/routes/agents.ts +943 -0
- package/src/routes/auth.ts +2233 -0
- package/src/routes/connectors.ts +69 -0
- package/src/routes/datasets.ts +402 -0
- package/src/routes/events.ts +55 -0
- package/src/routes/files.ts +675 -0
- package/src/routes/links.ts +143 -0
- package/src/routes/logs.ts +65 -0
- package/src/routes/objects.ts +838 -0
- package/src/routes/ontology.ts +138 -0
- package/src/routes/pipelines.ts +332 -0
- package/src/routes/project.ts +16 -0
- package/src/routes/projections.ts +251 -0
- package/src/routes/rules.ts +124 -0
- package/src/routes/status.ts +53 -0
- package/src/routes/syncs.ts +243 -0
- package/src/routes/telemetry.ts +207 -0
- package/src/routes/webhook-runs.ts +81 -0
- package/src/routes/webhooks.ts +508 -0
- package/src/routes/workflows.ts +1333 -0
- package/src/routes/ws/agents.ts +301 -0
- package/src/routes/ws/events.ts +278 -0
- package/src/routes/ws/index.ts +12 -0
- package/src/routes/ws/log-subscription-hub.ts +375 -0
- package/src/routes/ws/logs.ts +117 -0
- package/src/schemas/actions.ts +123 -0
- package/src/schemas/agents.ts +293 -0
- package/src/schemas/auth.ts +317 -0
- package/src/schemas/common.ts +60 -0
- package/src/schemas/connectors.ts +21 -0
- package/src/schemas/datasets.ts +107 -0
- package/src/schemas/event-payloads.ts +79 -0
- package/src/schemas/events.ts +117 -0
- package/src/schemas/files.ts +82 -0
- package/src/schemas/links.ts +38 -0
- package/src/schemas/logs.ts +76 -0
- package/src/schemas/objects.ts +759 -0
- package/src/schemas/ontology.ts +77 -0
- package/src/schemas/pipelines.ts +150 -0
- package/src/schemas/project.ts +5 -0
- package/src/schemas/projections.ts +144 -0
- package/src/schemas/rules.ts +98 -0
- package/src/schemas/status.ts +51 -0
- package/src/schemas/syncs.ts +83 -0
- package/src/schemas/telemetry.ts +59 -0
- package/src/schemas/webhook-runs.ts +40 -0
- package/src/schemas/workflows.ts +229 -0
- package/src/server.ts +383 -0
- package/src/utils/http.ts +108 -0
- package/src/utils/request-body.ts +62 -0
- package/src/utils/ws.ts +59 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import type { ElysiaOpenAPIConfig } from "@elysiajs/openapi";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
type OpenApiSchemas = NonNullable<NonNullable<ElysiaOpenAPIConfig["documentation"]>["components"]>["schemas"];
|
|
4
|
+
export declare const ObjectParamsSchema: z.ZodObject<{
|
|
5
|
+
objectTypeId: z.ZodString;
|
|
6
|
+
objectId: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
objectTypeId: string;
|
|
9
|
+
objectId: string;
|
|
10
|
+
}, {
|
|
11
|
+
objectTypeId: string;
|
|
12
|
+
objectId: string;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const ObjectSearchQuerySchema: z.ZodObject<{
|
|
15
|
+
q: z.ZodString;
|
|
16
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
q: string;
|
|
19
|
+
limit?: string | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
q: string;
|
|
22
|
+
limit?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const ObjectSearchResponseSchema: z.ZodObject<{
|
|
25
|
+
items: z.ZodArray<z.ZodObject<{
|
|
26
|
+
ref: z.ZodObject<{
|
|
27
|
+
objectTypeId: z.ZodString;
|
|
28
|
+
primaryId: z.ZodString;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
objectTypeId: string;
|
|
31
|
+
primaryId: string;
|
|
32
|
+
}, {
|
|
33
|
+
objectTypeId: string;
|
|
34
|
+
primaryId: string;
|
|
35
|
+
}>;
|
|
36
|
+
label: z.ZodString;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
ref: {
|
|
39
|
+
objectTypeId: string;
|
|
40
|
+
primaryId: string;
|
|
41
|
+
};
|
|
42
|
+
label: string;
|
|
43
|
+
}, {
|
|
44
|
+
ref: {
|
|
45
|
+
objectTypeId: string;
|
|
46
|
+
primaryId: string;
|
|
47
|
+
};
|
|
48
|
+
label: string;
|
|
49
|
+
}>, "many">;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
items: {
|
|
52
|
+
ref: {
|
|
53
|
+
objectTypeId: string;
|
|
54
|
+
primaryId: string;
|
|
55
|
+
};
|
|
56
|
+
label: string;
|
|
57
|
+
}[];
|
|
58
|
+
}, {
|
|
59
|
+
items: {
|
|
60
|
+
ref: {
|
|
61
|
+
objectTypeId: string;
|
|
62
|
+
primaryId: string;
|
|
63
|
+
};
|
|
64
|
+
label: string;
|
|
65
|
+
}[];
|
|
66
|
+
}>;
|
|
67
|
+
export declare const ObjectsQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
68
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
69
|
+
idPrefix: z.ZodOptional<z.ZodString>;
|
|
70
|
+
idSuffix: z.ZodOptional<z.ZodString>;
|
|
71
|
+
updatedAfter: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>>;
|
|
72
|
+
updatedBefore: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>>;
|
|
73
|
+
createdAfter: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>>;
|
|
74
|
+
createdBefore: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>>;
|
|
75
|
+
limit: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, number, string>>;
|
|
76
|
+
offset: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, number, string>>;
|
|
77
|
+
orderBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "primaryId"]>>;
|
|
78
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
limit?: number | undefined;
|
|
81
|
+
offset?: number | undefined;
|
|
82
|
+
order?: "asc" | "desc" | undefined;
|
|
83
|
+
objectTypeId?: string | undefined;
|
|
84
|
+
idPrefix?: string | undefined;
|
|
85
|
+
idSuffix?: string | undefined;
|
|
86
|
+
updatedAfter?: Date | undefined;
|
|
87
|
+
updatedBefore?: Date | undefined;
|
|
88
|
+
createdAfter?: Date | undefined;
|
|
89
|
+
createdBefore?: Date | undefined;
|
|
90
|
+
orderBy?: "primaryId" | "createdAt" | "updatedAt" | undefined;
|
|
91
|
+
}, {
|
|
92
|
+
limit?: string | undefined;
|
|
93
|
+
offset?: string | undefined;
|
|
94
|
+
order?: "asc" | "desc" | undefined;
|
|
95
|
+
objectTypeId?: string | undefined;
|
|
96
|
+
idPrefix?: string | undefined;
|
|
97
|
+
idSuffix?: string | undefined;
|
|
98
|
+
updatedAfter?: string | undefined;
|
|
99
|
+
updatedBefore?: string | undefined;
|
|
100
|
+
createdAfter?: string | undefined;
|
|
101
|
+
createdBefore?: string | undefined;
|
|
102
|
+
orderBy?: "primaryId" | "createdAt" | "updatedAt" | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
limit?: number | undefined;
|
|
105
|
+
offset?: number | undefined;
|
|
106
|
+
order?: "asc" | "desc" | undefined;
|
|
107
|
+
objectTypeId?: string | undefined;
|
|
108
|
+
idPrefix?: string | undefined;
|
|
109
|
+
idSuffix?: string | undefined;
|
|
110
|
+
updatedAfter?: Date | undefined;
|
|
111
|
+
updatedBefore?: Date | undefined;
|
|
112
|
+
createdAfter?: Date | undefined;
|
|
113
|
+
createdBefore?: Date | undefined;
|
|
114
|
+
orderBy?: "primaryId" | "createdAt" | "updatedAt" | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
limit?: string | undefined;
|
|
117
|
+
offset?: string | undefined;
|
|
118
|
+
order?: "asc" | "desc" | undefined;
|
|
119
|
+
objectTypeId?: string | undefined;
|
|
120
|
+
idPrefix?: string | undefined;
|
|
121
|
+
idSuffix?: string | undefined;
|
|
122
|
+
updatedAfter?: string | undefined;
|
|
123
|
+
updatedBefore?: string | undefined;
|
|
124
|
+
createdAfter?: string | undefined;
|
|
125
|
+
createdBefore?: string | undefined;
|
|
126
|
+
orderBy?: "primaryId" | "createdAt" | "updatedAt" | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
export declare const UpsertObjectBodySchema: z.ZodObject<{
|
|
129
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
properties: Record<string, unknown>;
|
|
132
|
+
}, {
|
|
133
|
+
properties: Record<string, unknown>;
|
|
134
|
+
}>;
|
|
135
|
+
export declare const ObjectQueryPredicateSchema: z.ZodType<unknown>;
|
|
136
|
+
export declare const ObjectQuerySortFieldSchema: z.ZodUnion<[z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"property">;
|
|
138
|
+
propertyId: z.ZodString;
|
|
139
|
+
direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
140
|
+
}, "strict", z.ZodTypeAny, {
|
|
141
|
+
kind: "property";
|
|
142
|
+
propertyId: string;
|
|
143
|
+
direction?: "asc" | "desc" | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
kind: "property";
|
|
146
|
+
propertyId: string;
|
|
147
|
+
direction?: "asc" | "desc" | undefined;
|
|
148
|
+
}>, z.ZodObject<{
|
|
149
|
+
kind: z.ZodLiteral<"relevance">;
|
|
150
|
+
direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
151
|
+
}, "strict", z.ZodTypeAny, {
|
|
152
|
+
kind: "relevance";
|
|
153
|
+
direction?: "asc" | "desc" | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
kind: "relevance";
|
|
156
|
+
direction?: "asc" | "desc" | undefined;
|
|
157
|
+
}>]>;
|
|
158
|
+
export declare const ObjectExpansionSchema: z.ZodType<unknown>;
|
|
159
|
+
export declare const ObjectQuerySchema: z.ZodType<unknown>;
|
|
160
|
+
export declare const ObjectQueryRequestSchema: z.ZodObject<{
|
|
161
|
+
query: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
162
|
+
includeTotal: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
}, "strict", z.ZodTypeAny, {
|
|
164
|
+
query?: unknown;
|
|
165
|
+
includeTotal?: boolean | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
query?: unknown;
|
|
168
|
+
includeTotal?: boolean | undefined;
|
|
169
|
+
}>;
|
|
170
|
+
export declare const ObjectQueryCountRequestSchema: z.ZodObject<{
|
|
171
|
+
query: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
172
|
+
}, "strict", z.ZodTypeAny, {
|
|
173
|
+
query?: unknown;
|
|
174
|
+
}, {
|
|
175
|
+
query?: unknown;
|
|
176
|
+
}>;
|
|
177
|
+
export declare const ObjectQueryExistsRequestSchema: z.ZodObject<{
|
|
178
|
+
query: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
179
|
+
}, "strict", z.ZodTypeAny, {
|
|
180
|
+
query?: unknown;
|
|
181
|
+
}, {
|
|
182
|
+
query?: unknown;
|
|
183
|
+
}>;
|
|
184
|
+
export declare const ObjectQueryFacetRequestSchema: z.ZodObject<{
|
|
185
|
+
propertyId: z.ZodString;
|
|
186
|
+
limit: z.ZodNumber;
|
|
187
|
+
}, "strict", z.ZodTypeAny, {
|
|
188
|
+
limit: number;
|
|
189
|
+
propertyId: string;
|
|
190
|
+
}, {
|
|
191
|
+
limit: number;
|
|
192
|
+
propertyId: string;
|
|
193
|
+
}>;
|
|
194
|
+
export declare const ObjectQueryFacetsRequestSchema: z.ZodObject<{
|
|
195
|
+
query: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
196
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
197
|
+
propertyId: z.ZodString;
|
|
198
|
+
limit: z.ZodNumber;
|
|
199
|
+
}, "strict", z.ZodTypeAny, {
|
|
200
|
+
limit: number;
|
|
201
|
+
propertyId: string;
|
|
202
|
+
}, {
|
|
203
|
+
limit: number;
|
|
204
|
+
propertyId: string;
|
|
205
|
+
}>, "many">;
|
|
206
|
+
}, "strict", z.ZodTypeAny, {
|
|
207
|
+
facets: {
|
|
208
|
+
limit: number;
|
|
209
|
+
propertyId: string;
|
|
210
|
+
}[];
|
|
211
|
+
query?: unknown;
|
|
212
|
+
}, {
|
|
213
|
+
facets: {
|
|
214
|
+
limit: number;
|
|
215
|
+
propertyId: string;
|
|
216
|
+
}[];
|
|
217
|
+
query?: unknown;
|
|
218
|
+
}>;
|
|
219
|
+
export declare const TwinObjectSchema: z.ZodObject<{
|
|
220
|
+
primaryId: z.ZodString;
|
|
221
|
+
objectTypeId: z.ZodString;
|
|
222
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
223
|
+
createdAt: z.ZodString;
|
|
224
|
+
updatedAt: z.ZodString;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
objectTypeId: string;
|
|
227
|
+
properties: Record<string, unknown>;
|
|
228
|
+
primaryId: string;
|
|
229
|
+
createdAt: string;
|
|
230
|
+
updatedAt: string;
|
|
231
|
+
}, {
|
|
232
|
+
objectTypeId: string;
|
|
233
|
+
properties: Record<string, unknown>;
|
|
234
|
+
primaryId: string;
|
|
235
|
+
createdAt: string;
|
|
236
|
+
updatedAt: string;
|
|
237
|
+
}>;
|
|
238
|
+
export declare const ObjectListResponseSchema: z.ZodObject<{
|
|
239
|
+
objects: z.ZodArray<z.ZodObject<{
|
|
240
|
+
primaryId: z.ZodString;
|
|
241
|
+
objectTypeId: z.ZodString;
|
|
242
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
243
|
+
createdAt: z.ZodString;
|
|
244
|
+
updatedAt: z.ZodString;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
objectTypeId: string;
|
|
247
|
+
properties: Record<string, unknown>;
|
|
248
|
+
primaryId: string;
|
|
249
|
+
createdAt: string;
|
|
250
|
+
updatedAt: string;
|
|
251
|
+
}, {
|
|
252
|
+
objectTypeId: string;
|
|
253
|
+
properties: Record<string, unknown>;
|
|
254
|
+
primaryId: string;
|
|
255
|
+
createdAt: string;
|
|
256
|
+
updatedAt: string;
|
|
257
|
+
}>, "many">;
|
|
258
|
+
hasMore: z.ZodBoolean;
|
|
259
|
+
total: z.ZodNumber;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
objects: {
|
|
262
|
+
objectTypeId: string;
|
|
263
|
+
properties: Record<string, unknown>;
|
|
264
|
+
primaryId: string;
|
|
265
|
+
createdAt: string;
|
|
266
|
+
updatedAt: string;
|
|
267
|
+
}[];
|
|
268
|
+
hasMore: boolean;
|
|
269
|
+
total: number;
|
|
270
|
+
}, {
|
|
271
|
+
objects: {
|
|
272
|
+
objectTypeId: string;
|
|
273
|
+
properties: Record<string, unknown>;
|
|
274
|
+
primaryId: string;
|
|
275
|
+
createdAt: string;
|
|
276
|
+
updatedAt: string;
|
|
277
|
+
}[];
|
|
278
|
+
hasMore: boolean;
|
|
279
|
+
total: number;
|
|
280
|
+
}>;
|
|
281
|
+
/**
|
|
282
|
+
* zod-to-json-schema currently drops recursive z.lazy schemas when the server's
|
|
283
|
+
* OpenAPI config inlines refs. Keep the HTTP validator above in Zod, and provide
|
|
284
|
+
* the recursive request contract directly for generated clients and docs.
|
|
285
|
+
*/
|
|
286
|
+
export declare const ObjectQueryOpenApiSchemas: OpenApiSchemas;
|
|
287
|
+
export {};
|
|
288
|
+
//# sourceMappingURL=objects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/schemas/objects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,KAAK,cAAc,GAAG,WAAW,CAC/B,WAAW,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,CAChE,CAAC,SAAS,CAAC,CAAA;AAEZ,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrC,CAAA;AAmCF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4C3B,CAAA;AAEJ,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAA;AAEF,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CA2CzD,CAAA;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;IAcrC,CAAA;AAEF,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAWpD,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAsFhD,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;EAK1B,CAAA;AAEX,eAAO,MAAM,6BAA6B;;;;;;EAI/B,CAAA;AAEX,eAAO,MAAM,8BAA8B;;;;;;EAIhC,CAAA;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;EAK/B,CAAA;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAA;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;EAM3B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AASF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAwatB,cAAc,CAAA"}
|