@sylphx/contract 0.6.0 → 0.8.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/CHANGELOG.md +17 -1
- package/README.md +1 -1
- package/dist/compute.d.ts +33 -0
- package/dist/compute.d.ts.map +1 -0
- package/dist/compute.js +119 -0
- package/dist/endpoints/admin-config.d.ts +3 -0
- package/dist/endpoints/admin-config.d.ts.map +1 -1
- package/dist/endpoints/admin-config.js +9 -1
- package/dist/endpoints/ai-admin.d.ts +134 -5
- package/dist/endpoints/ai-admin.d.ts.map +1 -1
- package/dist/endpoints/analytics-admin.d.ts +141 -6
- package/dist/endpoints/analytics-admin.d.ts.map +1 -1
- package/dist/endpoints/analytics-admin.js +7 -7
- package/dist/endpoints/auth.d.ts +26 -8
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/auth.js +5 -5
- package/dist/endpoints/domains.d.ts +10 -1
- package/dist/endpoints/domains.d.ts.map +1 -1
- package/dist/endpoints/domains.js +6 -3
- package/dist/endpoints/email-admin.d.ts +1 -0
- package/dist/endpoints/email-admin.d.ts.map +1 -1
- package/dist/endpoints/flags-admin.d.ts +8 -0
- package/dist/endpoints/flags-admin.d.ts.map +1 -1
- package/dist/endpoints/notifications-admin.d.ts +4 -4
- package/dist/endpoints/project-manifest.d.ts +308 -306
- package/dist/endpoints/project-manifest.d.ts.map +1 -1
- package/dist/hono-app.d.ts +1 -1
- package/dist/index.d.ts +637 -330
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/schemas/admin-config.d.ts +4 -0
- package/dist/schemas/admin-config.d.ts.map +1 -1
- package/dist/schemas/admin-config.js +3 -0
- package/dist/schemas/ai-admin.d.ts +137 -8
- package/dist/schemas/ai-admin.d.ts.map +1 -1
- package/dist/schemas/ai-admin.js +119 -13
- package/dist/schemas/analytics-admin.d.ts +164 -7
- package/dist/schemas/analytics-admin.d.ts.map +1 -1
- package/dist/schemas/analytics-admin.js +104 -3
- package/dist/schemas/auth.d.ts +2 -1
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +2 -1
- package/dist/schemas/domain.d.ts +4 -1
- package/dist/schemas/domain.d.ts.map +1 -1
- package/dist/schemas/domain.js +3 -1
- package/dist/schemas/email-admin.d.ts +1 -0
- package/dist/schemas/email-admin.d.ts.map +1 -1
- package/dist/schemas/email-admin.js +1 -0
- package/dist/schemas/flags-admin.d.ts +13 -0
- package/dist/schemas/flags-admin.d.ts.map +1 -1
- package/dist/schemas/flags-admin.js +6 -0
- package/dist/schemas/notifications-admin.d.ts +6 -6
- package/dist/schemas/notifications-admin.js +1 -1
- package/dist/schemas/project-manifest.d.ts +316 -306
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +5 -0
- package/package.json +5 -1
|
@@ -165,7 +165,7 @@ export declare const notificationsAdminEndpoints: {
|
|
|
165
165
|
}>, undefined>;
|
|
166
166
|
readonly sendInApp: import("../endpoint.js").Endpoint<"POST", "/notifications/in-app/send", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
167
167
|
type: import("effect/Schema").optional<import("effect/Schema").Literal<["info", "success", "warning", "error", "promotion"]>>;
|
|
168
|
-
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "
|
|
168
|
+
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "normal", "high", "urgent"]>>;
|
|
169
169
|
title: typeof import("effect/Schema").String;
|
|
170
170
|
body: typeof import("effect/Schema").String;
|
|
171
171
|
icon: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -186,7 +186,7 @@ export declare const notificationsAdminEndpoints: {
|
|
|
186
186
|
}>, undefined>;
|
|
187
187
|
readonly sendInAppBatch: import("../endpoint.js").Endpoint<"POST", "/notifications/in-app/send-batch", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
188
188
|
type: import("effect/Schema").optional<import("effect/Schema").Literal<["info", "success", "warning", "error", "promotion"]>>;
|
|
189
|
-
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "
|
|
189
|
+
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "normal", "high", "urgent"]>>;
|
|
190
190
|
title: typeof import("effect/Schema").String;
|
|
191
191
|
body: typeof import("effect/Schema").String;
|
|
192
192
|
icon: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -208,7 +208,7 @@ export declare const notificationsAdminEndpoints: {
|
|
|
208
208
|
readonly broadcastInApp: import("../endpoint.js").Endpoint<"POST", "/notifications/in-app/broadcast", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
209
209
|
projectId: typeof import("effect/Schema").String;
|
|
210
210
|
type: import("effect/Schema").optional<import("effect/Schema").Literal<["info", "success", "warning", "error", "promotion"]>>;
|
|
211
|
-
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "
|
|
211
|
+
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["low", "normal", "high", "urgent"]>>;
|
|
212
212
|
title: typeof import("effect/Schema").String;
|
|
213
213
|
body: typeof import("effect/Schema").String;
|
|
214
214
|
icon: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -233,7 +233,7 @@ export declare const notificationsAdminEndpoints: {
|
|
|
233
233
|
messages: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
234
234
|
id: typeof import("effect/Schema").String;
|
|
235
235
|
type: import("effect/Schema").Literal<["info", "success", "warning", "error", "promotion"]>;
|
|
236
|
-
priority: import("effect/Schema").Literal<["low", "
|
|
236
|
+
priority: import("effect/Schema").Literal<["low", "normal", "high", "urgent"]>;
|
|
237
237
|
title: typeof import("effect/Schema").String;
|
|
238
238
|
body: typeof import("effect/Schema").String;
|
|
239
239
|
icon: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|