@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 @@
|
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/schemas/projections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,oBAAoB,4CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import type { RulePredicate } from "@sixb/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const RuleParamsSchema: z.ZodObject<{
|
|
4
|
+
ruleId: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
ruleId: string;
|
|
7
|
+
}, {
|
|
8
|
+
ruleId: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const RuleStatesQuerySchema: z.ZodObject<{
|
|
11
|
+
ruleId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
primaryId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
15
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
16
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
limit?: string | undefined;
|
|
19
|
+
offset?: string | undefined;
|
|
20
|
+
order?: "asc" | "desc" | undefined;
|
|
21
|
+
objectTypeId?: string | undefined;
|
|
22
|
+
primaryId?: string | undefined;
|
|
23
|
+
ruleId?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
limit?: string | undefined;
|
|
26
|
+
offset?: string | undefined;
|
|
27
|
+
order?: "asc" | "desc" | undefined;
|
|
28
|
+
objectTypeId?: string | undefined;
|
|
29
|
+
primaryId?: string | undefined;
|
|
30
|
+
ruleId?: string | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const RulePredicateSchema: z.ZodType<RulePredicate>;
|
|
33
|
+
export declare const RuleSchema: z.ZodObject<{
|
|
34
|
+
kind: z.ZodLiteral<"rule">;
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
subject: z.ZodObject<{
|
|
37
|
+
kind: z.ZodLiteral<"object">;
|
|
38
|
+
objectTypeId: z.ZodString;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
kind: "object";
|
|
41
|
+
objectTypeId: string;
|
|
42
|
+
}, {
|
|
43
|
+
kind: "object";
|
|
44
|
+
objectTypeId: string;
|
|
45
|
+
}>;
|
|
46
|
+
predicate: z.ZodType<import("@sixb/core").Predicate, z.ZodTypeDef, import("@sixb/core").Predicate>;
|
|
47
|
+
dependencies: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
48
|
+
type: z.ZodEnum<["object.created", "object.updated", "object.deleted"]>;
|
|
49
|
+
objectTypeId: z.ZodString;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
type: "object.created" | "object.updated" | "object.deleted";
|
|
52
|
+
objectTypeId: string;
|
|
53
|
+
}, {
|
|
54
|
+
type: "object.created" | "object.updated" | "object.deleted";
|
|
55
|
+
objectTypeId: string;
|
|
56
|
+
}>, z.ZodObject<{
|
|
57
|
+
type: z.ZodEnum<["link.created", "link.updated", "link.deleted"]>;
|
|
58
|
+
sourceTypeId: z.ZodString;
|
|
59
|
+
linkId: z.ZodString;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
type: "link.created" | "link.updated" | "link.deleted";
|
|
62
|
+
sourceTypeId: string;
|
|
63
|
+
linkId: string;
|
|
64
|
+
}, {
|
|
65
|
+
type: "link.created" | "link.updated" | "link.deleted";
|
|
66
|
+
sourceTypeId: string;
|
|
67
|
+
linkId: string;
|
|
68
|
+
}>]>, "many">;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
kind: "rule";
|
|
71
|
+
id: string;
|
|
72
|
+
subject: {
|
|
73
|
+
kind: "object";
|
|
74
|
+
objectTypeId: string;
|
|
75
|
+
};
|
|
76
|
+
predicate: import("@sixb/core").Predicate;
|
|
77
|
+
dependencies: ({
|
|
78
|
+
type: "object.created" | "object.updated" | "object.deleted";
|
|
79
|
+
objectTypeId: string;
|
|
80
|
+
} | {
|
|
81
|
+
type: "link.created" | "link.updated" | "link.deleted";
|
|
82
|
+
sourceTypeId: string;
|
|
83
|
+
linkId: string;
|
|
84
|
+
})[];
|
|
85
|
+
}, {
|
|
86
|
+
kind: "rule";
|
|
87
|
+
id: string;
|
|
88
|
+
subject: {
|
|
89
|
+
kind: "object";
|
|
90
|
+
objectTypeId: string;
|
|
91
|
+
};
|
|
92
|
+
predicate: import("@sixb/core").Predicate;
|
|
93
|
+
dependencies: ({
|
|
94
|
+
type: "object.created" | "object.updated" | "object.deleted";
|
|
95
|
+
objectTypeId: string;
|
|
96
|
+
} | {
|
|
97
|
+
type: "link.created" | "link.updated" | "link.deleted";
|
|
98
|
+
sourceTypeId: string;
|
|
99
|
+
linkId: string;
|
|
100
|
+
})[];
|
|
101
|
+
}>;
|
|
102
|
+
export declare const RuleStateSchema: z.ZodObject<{
|
|
103
|
+
projectId: z.ZodString;
|
|
104
|
+
ruleId: z.ZodString;
|
|
105
|
+
subject: z.ZodObject<{
|
|
106
|
+
kind: z.ZodLiteral<"object">;
|
|
107
|
+
objectTypeId: z.ZodString;
|
|
108
|
+
primaryId: z.ZodString;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
kind: "object";
|
|
111
|
+
objectTypeId: string;
|
|
112
|
+
primaryId: string;
|
|
113
|
+
}, {
|
|
114
|
+
kind: "object";
|
|
115
|
+
objectTypeId: string;
|
|
116
|
+
primaryId: string;
|
|
117
|
+
}>;
|
|
118
|
+
triggeredAt: z.ZodString;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
projectId: string;
|
|
121
|
+
subject: {
|
|
122
|
+
kind: "object";
|
|
123
|
+
objectTypeId: string;
|
|
124
|
+
primaryId: string;
|
|
125
|
+
};
|
|
126
|
+
triggeredAt: string;
|
|
127
|
+
ruleId: string;
|
|
128
|
+
}, {
|
|
129
|
+
projectId: string;
|
|
130
|
+
subject: {
|
|
131
|
+
kind: "object";
|
|
132
|
+
objectTypeId: string;
|
|
133
|
+
primaryId: string;
|
|
134
|
+
};
|
|
135
|
+
triggeredAt: string;
|
|
136
|
+
ruleId: string;
|
|
137
|
+
}>;
|
|
138
|
+
export declare const RuleStateListResponseSchema: z.ZodObject<{
|
|
139
|
+
states: z.ZodArray<z.ZodObject<{
|
|
140
|
+
projectId: z.ZodString;
|
|
141
|
+
ruleId: z.ZodString;
|
|
142
|
+
subject: z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"object">;
|
|
144
|
+
objectTypeId: z.ZodString;
|
|
145
|
+
primaryId: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
kind: "object";
|
|
148
|
+
objectTypeId: string;
|
|
149
|
+
primaryId: string;
|
|
150
|
+
}, {
|
|
151
|
+
kind: "object";
|
|
152
|
+
objectTypeId: string;
|
|
153
|
+
primaryId: string;
|
|
154
|
+
}>;
|
|
155
|
+
triggeredAt: z.ZodString;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
projectId: string;
|
|
158
|
+
subject: {
|
|
159
|
+
kind: "object";
|
|
160
|
+
objectTypeId: string;
|
|
161
|
+
primaryId: string;
|
|
162
|
+
};
|
|
163
|
+
triggeredAt: string;
|
|
164
|
+
ruleId: string;
|
|
165
|
+
}, {
|
|
166
|
+
projectId: string;
|
|
167
|
+
subject: {
|
|
168
|
+
kind: "object";
|
|
169
|
+
objectTypeId: string;
|
|
170
|
+
primaryId: string;
|
|
171
|
+
};
|
|
172
|
+
triggeredAt: string;
|
|
173
|
+
ruleId: string;
|
|
174
|
+
}>, "many">;
|
|
175
|
+
hasMore: z.ZodBoolean;
|
|
176
|
+
total: z.ZodNumber;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
hasMore: boolean;
|
|
179
|
+
total: number;
|
|
180
|
+
states: {
|
|
181
|
+
projectId: string;
|
|
182
|
+
subject: {
|
|
183
|
+
kind: "object";
|
|
184
|
+
objectTypeId: string;
|
|
185
|
+
primaryId: string;
|
|
186
|
+
};
|
|
187
|
+
triggeredAt: string;
|
|
188
|
+
ruleId: string;
|
|
189
|
+
}[];
|
|
190
|
+
}, {
|
|
191
|
+
hasMore: boolean;
|
|
192
|
+
total: number;
|
|
193
|
+
states: {
|
|
194
|
+
projectId: string;
|
|
195
|
+
subject: {
|
|
196
|
+
kind: "object";
|
|
197
|
+
objectTypeId: string;
|
|
198
|
+
primaryId: string;
|
|
199
|
+
};
|
|
200
|
+
triggeredAt: string;
|
|
201
|
+
ruleId: string;
|
|
202
|
+
}[];
|
|
203
|
+
}>;
|
|
204
|
+
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/schemas/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAA;AAkDF,eAAO,MAAM,mBAAmB,EAAgC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAcxF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK1B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAItC,CAAA"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const HealthResponseSchema: z.ZodObject<{
|
|
3
|
+
status: z.ZodLiteral<"ok">;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
status: "ok";
|
|
6
|
+
}, {
|
|
7
|
+
status: "ok";
|
|
8
|
+
}>;
|
|
9
|
+
export declare const ReadinessResponseSchema: z.ZodObject<{
|
|
10
|
+
status: z.ZodEnum<["ready", "unready"]>;
|
|
11
|
+
storage: z.ZodObject<{
|
|
12
|
+
reachable: z.ZodBoolean;
|
|
13
|
+
schemaValid: z.ZodBoolean;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
reachable: boolean;
|
|
16
|
+
schemaValid: boolean;
|
|
17
|
+
}, {
|
|
18
|
+
reachable: boolean;
|
|
19
|
+
schemaValid: boolean;
|
|
20
|
+
}>;
|
|
21
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
status: "ready" | "unready";
|
|
24
|
+
storage: {
|
|
25
|
+
reachable: boolean;
|
|
26
|
+
schemaValid: boolean;
|
|
27
|
+
};
|
|
28
|
+
reason?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
status: "ready" | "unready";
|
|
31
|
+
storage: {
|
|
32
|
+
reachable: boolean;
|
|
33
|
+
schemaValid: boolean;
|
|
34
|
+
};
|
|
35
|
+
reason?: string | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const StatusResponseSchema: z.ZodObject<{
|
|
38
|
+
status: z.ZodEnum<["ok", "degraded"]>;
|
|
39
|
+
objectTypes: z.ZodNumber;
|
|
40
|
+
maintenance: z.ZodObject<{
|
|
41
|
+
running: z.ZodBoolean;
|
|
42
|
+
intervalMs: z.ZodNumber;
|
|
43
|
+
lastStartedAt: z.ZodNullable<z.ZodString>;
|
|
44
|
+
lastCompletedAt: z.ZodNullable<z.ZodString>;
|
|
45
|
+
lastDurationMs: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
consecutiveFailures: z.ZodNumber;
|
|
47
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
48
|
+
outbox: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
pendingCount: z.ZodNumber;
|
|
50
|
+
oldestPendingAt: z.ZodNullable<z.ZodString>;
|
|
51
|
+
retryingCount: z.ZodNumber;
|
|
52
|
+
maxAttempts: z.ZodNumber;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
pendingCount: number;
|
|
55
|
+
oldestPendingAt: string | null;
|
|
56
|
+
retryingCount: number;
|
|
57
|
+
maxAttempts: number;
|
|
58
|
+
}, {
|
|
59
|
+
pendingCount: number;
|
|
60
|
+
oldestPendingAt: string | null;
|
|
61
|
+
retryingCount: number;
|
|
62
|
+
maxAttempts: number;
|
|
63
|
+
}>>;
|
|
64
|
+
terminalSources: z.ZodNullable<z.ZodObject<{
|
|
65
|
+
count: z.ZodNumber;
|
|
66
|
+
oldestTerminalAt: z.ZodNullable<z.ZodString>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
count: number;
|
|
69
|
+
oldestTerminalAt: string | null;
|
|
70
|
+
}, {
|
|
71
|
+
count: number;
|
|
72
|
+
oldestTerminalAt: string | null;
|
|
73
|
+
}>>;
|
|
74
|
+
cleanup: z.ZodNullable<z.ZodObject<{
|
|
75
|
+
publishedOutboxRowsDeleted: z.ZodNumber;
|
|
76
|
+
terminalSourceRowsDeleted: z.ZodNumber;
|
|
77
|
+
terminalSourceMaterializationsDeleted: z.ZodNumber;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
publishedOutboxRowsDeleted: number;
|
|
80
|
+
terminalSourceRowsDeleted: number;
|
|
81
|
+
terminalSourceMaterializationsDeleted: number;
|
|
82
|
+
}, {
|
|
83
|
+
publishedOutboxRowsDeleted: number;
|
|
84
|
+
terminalSourceRowsDeleted: number;
|
|
85
|
+
terminalSourceMaterializationsDeleted: number;
|
|
86
|
+
}>>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
running: boolean;
|
|
89
|
+
intervalMs: number;
|
|
90
|
+
lastStartedAt: string | null;
|
|
91
|
+
lastCompletedAt: string | null;
|
|
92
|
+
lastDurationMs: number | null;
|
|
93
|
+
consecutiveFailures: number;
|
|
94
|
+
lastError: string | null;
|
|
95
|
+
outbox: {
|
|
96
|
+
pendingCount: number;
|
|
97
|
+
oldestPendingAt: string | null;
|
|
98
|
+
retryingCount: number;
|
|
99
|
+
maxAttempts: number;
|
|
100
|
+
} | null;
|
|
101
|
+
terminalSources: {
|
|
102
|
+
count: number;
|
|
103
|
+
oldestTerminalAt: string | null;
|
|
104
|
+
} | null;
|
|
105
|
+
cleanup: {
|
|
106
|
+
publishedOutboxRowsDeleted: number;
|
|
107
|
+
terminalSourceRowsDeleted: number;
|
|
108
|
+
terminalSourceMaterializationsDeleted: number;
|
|
109
|
+
} | null;
|
|
110
|
+
}, {
|
|
111
|
+
running: boolean;
|
|
112
|
+
intervalMs: number;
|
|
113
|
+
lastStartedAt: string | null;
|
|
114
|
+
lastCompletedAt: string | null;
|
|
115
|
+
lastDurationMs: number | null;
|
|
116
|
+
consecutiveFailures: number;
|
|
117
|
+
lastError: string | null;
|
|
118
|
+
outbox: {
|
|
119
|
+
pendingCount: number;
|
|
120
|
+
oldestPendingAt: string | null;
|
|
121
|
+
retryingCount: number;
|
|
122
|
+
maxAttempts: number;
|
|
123
|
+
} | null;
|
|
124
|
+
terminalSources: {
|
|
125
|
+
count: number;
|
|
126
|
+
oldestTerminalAt: string | null;
|
|
127
|
+
} | null;
|
|
128
|
+
cleanup: {
|
|
129
|
+
publishedOutboxRowsDeleted: number;
|
|
130
|
+
terminalSourceRowsDeleted: number;
|
|
131
|
+
terminalSourceMaterializationsDeleted: number;
|
|
132
|
+
} | null;
|
|
133
|
+
}>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
status: "ok" | "degraded";
|
|
136
|
+
objectTypes: number;
|
|
137
|
+
maintenance: {
|
|
138
|
+
running: boolean;
|
|
139
|
+
intervalMs: number;
|
|
140
|
+
lastStartedAt: string | null;
|
|
141
|
+
lastCompletedAt: string | null;
|
|
142
|
+
lastDurationMs: number | null;
|
|
143
|
+
consecutiveFailures: number;
|
|
144
|
+
lastError: string | null;
|
|
145
|
+
outbox: {
|
|
146
|
+
pendingCount: number;
|
|
147
|
+
oldestPendingAt: string | null;
|
|
148
|
+
retryingCount: number;
|
|
149
|
+
maxAttempts: number;
|
|
150
|
+
} | null;
|
|
151
|
+
terminalSources: {
|
|
152
|
+
count: number;
|
|
153
|
+
oldestTerminalAt: string | null;
|
|
154
|
+
} | null;
|
|
155
|
+
cleanup: {
|
|
156
|
+
publishedOutboxRowsDeleted: number;
|
|
157
|
+
terminalSourceRowsDeleted: number;
|
|
158
|
+
terminalSourceMaterializationsDeleted: number;
|
|
159
|
+
} | null;
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
status: "ok" | "degraded";
|
|
163
|
+
objectTypes: number;
|
|
164
|
+
maintenance: {
|
|
165
|
+
running: boolean;
|
|
166
|
+
intervalMs: number;
|
|
167
|
+
lastStartedAt: string | null;
|
|
168
|
+
lastCompletedAt: string | null;
|
|
169
|
+
lastDurationMs: number | null;
|
|
170
|
+
consecutiveFailures: number;
|
|
171
|
+
lastError: string | null;
|
|
172
|
+
outbox: {
|
|
173
|
+
pendingCount: number;
|
|
174
|
+
oldestPendingAt: string | null;
|
|
175
|
+
retryingCount: number;
|
|
176
|
+
maxAttempts: number;
|
|
177
|
+
} | null;
|
|
178
|
+
terminalSources: {
|
|
179
|
+
count: number;
|
|
180
|
+
oldestTerminalAt: string | null;
|
|
181
|
+
} | null;
|
|
182
|
+
cleanup: {
|
|
183
|
+
publishedOutboxRowsDeleted: number;
|
|
184
|
+
terminalSourceRowsDeleted: number;
|
|
185
|
+
terminalSourceMaterializationsDeleted: number;
|
|
186
|
+
} | null;
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
189
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/schemas/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,oBAAoB;;;;;;EAAwC,CAAA;AAOzE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AAiCF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI/B,CAAA"}
|