@sylphx/contract 0.3.0 → 0.5.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 +12 -0
- package/dist/endpoint.d.ts +45 -3
- package/dist/endpoint.d.ts.map +1 -1
- package/dist/endpoint.js +9 -0
- package/dist/endpoints/admin-ai-playground.d.ts +3 -3
- package/dist/endpoints/admin-anomalies.d.ts +7 -7
- package/dist/endpoints/admin-apm.d.ts +6 -6
- package/dist/endpoints/admin-audit.d.ts +94 -58
- package/dist/endpoints/admin-audit.d.ts.map +1 -1
- package/dist/endpoints/admin-audit.js +8 -1
- package/dist/endpoints/admin-billing.d.ts +35 -24
- package/dist/endpoints/admin-billing.d.ts.map +1 -1
- package/dist/endpoints/admin-billing.js +4 -3
- package/dist/endpoints/admin-bootstrap.d.ts +1 -1
- package/dist/endpoints/admin-branch-databases.d.ts +43 -0
- package/dist/endpoints/admin-branch-databases.d.ts.map +1 -0
- package/dist/endpoints/admin-branch-databases.js +41 -0
- package/dist/endpoints/admin-broadcasts.d.ts +10 -8
- package/dist/endpoints/admin-broadcasts.d.ts.map +1 -1
- package/dist/endpoints/admin-broadcasts.js +1 -0
- package/dist/endpoints/admin-builds.d.ts +1 -1
- package/dist/endpoints/admin-config.d.ts +11 -11
- package/dist/endpoints/admin-consent.d.ts +78 -41
- package/dist/endpoints/admin-consent.d.ts.map +1 -1
- package/dist/endpoints/admin-consent.js +9 -6
- package/dist/endpoints/admin-env-services.d.ts +1 -1
- package/dist/endpoints/admin-impersonation.d.ts +9 -9
- package/dist/endpoints/admin-invitations.d.ts +9 -5
- package/dist/endpoints/admin-invitations.d.ts.map +1 -1
- package/dist/endpoints/admin-invitations.js +2 -0
- package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
- package/dist/endpoints/admin-logs.d.ts +7 -7
- package/dist/endpoints/admin-plans.d.ts +6 -4
- package/dist/endpoints/admin-plans.d.ts.map +1 -1
- package/dist/endpoints/admin-plans.js +1 -0
- package/dist/endpoints/admin-project-users.d.ts +8 -8
- package/dist/endpoints/admin-projects.d.ts +11 -9
- package/dist/endpoints/admin-projects.d.ts.map +1 -1
- package/dist/endpoints/admin-projects.js +3 -2
- package/dist/endpoints/admin-quotas.d.ts +6 -6
- package/dist/endpoints/admin-rate-limits.d.ts +2 -2
- package/dist/endpoints/admin-reconcile.d.ts +1 -1
- package/dist/endpoints/admin-resources.d.ts +2 -2
- package/dist/endpoints/admin-secrets.d.ts +2 -2
- package/dist/endpoints/admin-services.d.ts +1 -1
- package/dist/endpoints/admin-tasks.d.ts +6 -6
- package/dist/endpoints/admin-tenants.d.ts +3 -1
- package/dist/endpoints/admin-tenants.d.ts.map +1 -1
- package/dist/endpoints/admin-tenants.js +1 -0
- package/dist/endpoints/admin-traces.d.ts +5 -5
- package/dist/endpoints/admin-users.d.ts +8 -8
- package/dist/endpoints/admin-webhook-signature-versions.d.ts +5 -3
- package/dist/endpoints/admin-webhook-signature-versions.d.ts.map +1 -1
- package/dist/endpoints/admin-webhook-signature-versions.js +1 -0
- package/dist/endpoints/ai-admin.d.ts +5 -5
- package/dist/endpoints/analytics-admin.d.ts +123 -38
- package/dist/endpoints/analytics-admin.d.ts.map +1 -1
- package/dist/endpoints/analytics-admin.js +17 -9
- package/dist/endpoints/analytics.d.ts +4 -4
- package/dist/endpoints/audit-chain.d.ts +1 -1
- package/dist/endpoints/audit.d.ts +1 -1
- package/dist/endpoints/auth-admin.d.ts +5 -5
- package/dist/endpoints/auth.d.ts +65 -21
- package/dist/endpoints/auth.d.ts.map +1 -1
- package/dist/endpoints/auth.js +9 -2
- package/dist/endpoints/backups.d.ts +4 -4
- package/dist/endpoints/billing-console.d.ts +16 -16
- package/dist/endpoints/billing-settings.d.ts +11 -11
- package/dist/endpoints/branch-databases.d.ts +8 -4
- package/dist/endpoints/branch-databases.d.ts.map +1 -1
- package/dist/endpoints/branch-databases.js +2 -0
- package/dist/endpoints/challenge.d.ts +5 -5
- package/dist/endpoints/ci-settings.d.ts +8 -8
- package/dist/endpoints/consent-admin.d.ts +9 -7
- package/dist/endpoints/consent-admin.d.ts.map +1 -1
- package/dist/endpoints/consent-admin.js +1 -0
- package/dist/endpoints/databases.d.ts +187 -321
- package/dist/endpoints/databases.d.ts.map +1 -1
- package/dist/endpoints/databases.js +42 -41
- package/dist/endpoints/deployments.d.ts +71 -18
- package/dist/endpoints/deployments.d.ts.map +1 -1
- package/dist/endpoints/deployments.js +9 -1
- package/dist/endpoints/domains.d.ts +33 -23
- package/dist/endpoints/domains.d.ts.map +1 -1
- package/dist/endpoints/domains.js +7 -4
- package/dist/endpoints/email-admin.d.ts +29 -23
- package/dist/endpoints/email-admin.d.ts.map +1 -1
- package/dist/endpoints/email-admin.js +3 -0
- package/dist/endpoints/email.d.ts +4 -4
- package/dist/endpoints/engagement-admin.d.ts +6 -6
- package/dist/endpoints/env-vars.d.ts +3 -3
- package/dist/endpoints/environments.d.ts +30 -27
- package/dist/endpoints/environments.d.ts.map +1 -1
- package/dist/endpoints/environments.js +3 -7
- package/dist/endpoints/experiments.d.ts +20 -18
- package/dist/endpoints/experiments.d.ts.map +1 -1
- package/dist/endpoints/experiments.js +1 -0
- package/dist/endpoints/flags-admin.d.ts +73 -9
- package/dist/endpoints/flags-admin.d.ts.map +1 -1
- package/dist/endpoints/flags-admin.js +1 -0
- package/dist/endpoints/flags.d.ts +1 -1
- package/dist/endpoints/github.d.ts +3 -3
- package/dist/endpoints/image-opt.d.ts +2 -2
- package/dist/endpoints/kv-admin.d.ts +6 -6
- package/dist/endpoints/kv.d.ts +8 -8
- package/dist/endpoints/monitoring-admin.d.ts +10 -10
- package/dist/endpoints/monitoring.d.ts +2 -2
- package/dist/endpoints/newsletter.d.ts +30 -24
- package/dist/endpoints/newsletter.d.ts.map +1 -1
- package/dist/endpoints/newsletter.js +3 -0
- package/dist/endpoints/notifications-admin.d.ts +17 -17
- package/dist/endpoints/notifications.d.ts +16 -16
- package/dist/endpoints/oidc.d.ts +6 -4
- package/dist/endpoints/oidc.d.ts.map +1 -1
- package/dist/endpoints/oidc.js +1 -0
- package/dist/endpoints/organizations.d.ts +56 -48
- package/dist/endpoints/organizations.d.ts.map +1 -1
- package/dist/endpoints/organizations.js +4 -0
- package/dist/endpoints/plans.d.ts +9 -7
- package/dist/endpoints/plans.d.ts.map +1 -1
- package/dist/endpoints/plans.js +1 -0
- package/dist/endpoints/privacy.d.ts +11 -9
- package/dist/endpoints/privacy.d.ts.map +1 -1
- package/dist/endpoints/privacy.js +1 -0
- package/dist/endpoints/project-manifest.d.ts +18 -42
- package/dist/endpoints/project-manifest.d.ts.map +1 -1
- package/dist/endpoints/projects.d.ts +7 -5
- package/dist/endpoints/projects.d.ts.map +1 -1
- package/dist/endpoints/projects.js +2 -1
- package/dist/endpoints/rate-limits.d.ts +4 -4
- package/dist/endpoints/realtime-admin.d.ts +6 -4
- package/dist/endpoints/realtime-admin.d.ts.map +1 -1
- package/dist/endpoints/realtime-admin.js +1 -0
- package/dist/endpoints/realtime.d.ts +3 -3
- package/dist/endpoints/referrals-admin.d.ts +7 -5
- package/dist/endpoints/referrals-admin.d.ts.map +1 -1
- package/dist/endpoints/referrals-admin.js +1 -0
- package/dist/endpoints/refresh.d.ts +1 -1
- package/dist/endpoints/regions.d.ts +5 -22
- package/dist/endpoints/regions.d.ts.map +1 -1
- package/dist/endpoints/regions.js +5 -27
- package/dist/endpoints/runners.d.ts +4 -4
- package/dist/endpoints/saml.d.ts +13 -11
- package/dist/endpoints/saml.d.ts.map +1 -1
- package/dist/endpoints/saml.js +1 -0
- package/dist/endpoints/search.d.ts +3 -3
- package/dist/endpoints/secrets.d.ts +9 -7
- package/dist/endpoints/secrets.d.ts.map +1 -1
- package/dist/endpoints/secrets.js +1 -0
- package/dist/endpoints/security.d.ts +28 -28
- package/dist/endpoints/service-tokens.d.ts +20 -12
- package/dist/endpoints/service-tokens.d.ts.map +1 -1
- package/dist/endpoints/service-tokens.js +4 -0
- package/dist/endpoints/session-replay.d.ts +4 -4
- package/dist/endpoints/storage-admin.d.ts +14 -10
- package/dist/endpoints/storage-admin.d.ts.map +1 -1
- package/dist/endpoints/storage-admin.js +3 -1
- package/dist/endpoints/storage.d.ts +189 -131
- package/dist/endpoints/storage.d.ts.map +1 -1
- package/dist/endpoints/storage.js +96 -59
- package/dist/endpoints/tasks.d.ts +13 -9
- package/dist/endpoints/tasks.d.ts.map +1 -1
- package/dist/endpoints/tasks.js +2 -0
- package/dist/endpoints/users.d.ts +12 -12
- package/dist/endpoints/webhooks.d.ts +10 -10
- package/dist/hono-app.d.ts +55 -26
- package/dist/hono-app.d.ts.map +1 -1
- package/dist/index.d.ts +1720 -1209
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/schemas/admin-audit.d.ts +50 -0
- package/dist/schemas/admin-audit.d.ts.map +1 -1
- package/dist/schemas/admin-audit.js +43 -0
- package/dist/schemas/admin-billing.d.ts +19 -5
- package/dist/schemas/admin-billing.d.ts.map +1 -1
- package/dist/schemas/admin-billing.js +16 -5
- package/dist/schemas/admin-branch-databases.d.ts +34 -0
- package/dist/schemas/admin-branch-databases.d.ts.map +1 -0
- package/dist/schemas/admin-branch-databases.js +33 -0
- package/dist/schemas/admin-broadcasts.d.ts +6 -6
- package/dist/schemas/admin-broadcasts.d.ts.map +1 -1
- package/dist/schemas/admin-broadcasts.js +1 -1
- package/dist/schemas/admin-consent.d.ts +90 -6
- package/dist/schemas/admin-consent.d.ts.map +1 -1
- package/dist/schemas/admin-consent.js +50 -3
- package/dist/schemas/analytics-admin.d.ts +99 -9
- package/dist/schemas/analytics-admin.d.ts.map +1 -1
- package/dist/schemas/analytics-admin.js +70 -0
- package/dist/schemas/auth.d.ts +54 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/auth.js +22 -0
- package/dist/schemas/database.d.ts +1 -0
- package/dist/schemas/database.d.ts.map +1 -1
- package/dist/schemas/database.js +1 -0
- package/dist/schemas/deployment.d.ts +53 -0
- package/dist/schemas/deployment.d.ts.map +1 -1
- package/dist/schemas/deployment.js +53 -1
- package/dist/schemas/experiments.d.ts +13 -33
- package/dist/schemas/experiments.d.ts.map +1 -1
- package/dist/schemas/experiments.js +5 -4
- package/dist/schemas/flags-admin.d.ts +115 -19
- package/dist/schemas/flags-admin.d.ts.map +1 -1
- package/dist/schemas/flags-admin.js +28 -8
- package/dist/schemas/ids.d.ts +2 -0
- package/dist/schemas/ids.d.ts.map +1 -1
- package/dist/schemas/ids.js +1 -0
- package/dist/schemas/project-manifest.d.ts +16 -70
- package/dist/schemas/project-manifest.d.ts.map +1 -1
- package/dist/schemas/project-manifest.js +0 -21
- package/dist/schemas/project.d.ts +3 -3
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/project.js +2 -2
- package/dist/schemas/region.d.ts +4 -52
- package/dist/schemas/region.d.ts.map +1 -1
- package/dist/schemas/region.js +4 -46
- package/dist/schemas/resources.d.ts +55 -4
- package/dist/schemas/resources.d.ts.map +1 -1
- package/dist/schemas/resources.js +52 -1
- package/dist/schemas/storage.d.ts +259 -198
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +159 -140
- package/package.json +1 -1
- package/dist/endpoints/edge-deployments.d.ts +0 -92
- package/dist/endpoints/edge-deployments.d.ts.map +0 -1
- package/dist/endpoints/edge-deployments.js +0 -58
- package/dist/schemas/edge-deployments.d.ts +0 -140
- package/dist/schemas/edge-deployments.d.ts.map +0 -1
- package/dist/schemas/edge-deployments.js +0 -87
|
@@ -48,7 +48,7 @@ export declare const experimentsEndpoints: {
|
|
|
48
48
|
threshold: typeof import("effect/Schema").Number;
|
|
49
49
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
50
50
|
}>>>;
|
|
51
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
51
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
52
52
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
53
53
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
54
54
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -61,7 +61,7 @@ export declare const experimentsEndpoints: {
|
|
|
61
61
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
62
62
|
}>>;
|
|
63
63
|
total: typeof import("effect/Schema").Number;
|
|
64
|
-
}
|
|
64
|
+
}>, undefined>;
|
|
65
65
|
readonly create: import("../endpoint.js").Endpoint<"POST", "/experiments", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
66
66
|
projectId: typeof import("effect/Schema").String;
|
|
67
67
|
key: typeof import("effect/Schema").String;
|
|
@@ -96,11 +96,11 @@ export declare const experimentsEndpoints: {
|
|
|
96
96
|
threshold: typeof import("effect/Schema").Number;
|
|
97
97
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
98
98
|
}>>>;
|
|
99
|
-
statsMethod: import("effect/Schema").optional<import("effect/Schema").Literal<["bayesian", "frequentist"]>>;
|
|
99
|
+
statsMethod: import("effect/Schema").optional<import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>>;
|
|
100
100
|
confidenceLevel: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
101
101
|
minimumSampleSize: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
102
102
|
minimumDurationDays: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
103
|
-
environmentKey: import("effect/Schema").optional<
|
|
103
|
+
environmentKey: import("effect/Schema").optional<import("effect/Schema").Literal<["development", "staging", "production", "preview"]>>;
|
|
104
104
|
}>, import("effect/Schema").Struct<{
|
|
105
105
|
id: typeof import("effect/Schema").String;
|
|
106
106
|
projectId: typeof import("effect/Schema").String;
|
|
@@ -138,7 +138,7 @@ export declare const experimentsEndpoints: {
|
|
|
138
138
|
threshold: typeof import("effect/Schema").Number;
|
|
139
139
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
140
140
|
}>>>;
|
|
141
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
141
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
142
142
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
143
143
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
144
144
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -149,7 +149,9 @@ export declare const experimentsEndpoints: {
|
|
|
149
149
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
150
150
|
createdAt: typeof import("effect/Schema").String;
|
|
151
151
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
152
|
-
}
|
|
152
|
+
}>, {
|
|
153
|
+
status: 201;
|
|
154
|
+
}>;
|
|
153
155
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/experiments/projects/:projectId/experiments/:experimentId", import("effect/Schema").Struct<{
|
|
154
156
|
projectId: typeof import("effect/Schema").String;
|
|
155
157
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -201,7 +203,7 @@ export declare const experimentsEndpoints: {
|
|
|
201
203
|
threshold: typeof import("effect/Schema").Number;
|
|
202
204
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
203
205
|
}>>>;
|
|
204
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
206
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
205
207
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
206
208
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
207
209
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -212,7 +214,7 @@ export declare const experimentsEndpoints: {
|
|
|
212
214
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
213
215
|
createdAt: typeof import("effect/Schema").String;
|
|
214
216
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
215
|
-
}
|
|
217
|
+
}>, undefined>;
|
|
216
218
|
readonly update: import("../endpoint.js").Endpoint<"PATCH", "/experiments/projects/:projectId/experiments/:experimentId", import("effect/Schema").Struct<{
|
|
217
219
|
projectId: typeof import("effect/Schema").String;
|
|
218
220
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -281,7 +283,7 @@ export declare const experimentsEndpoints: {
|
|
|
281
283
|
threshold: typeof import("effect/Schema").Number;
|
|
282
284
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
283
285
|
}>>>;
|
|
284
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
286
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
285
287
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
286
288
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
287
289
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -292,13 +294,13 @@ export declare const experimentsEndpoints: {
|
|
|
292
294
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
293
295
|
createdAt: typeof import("effect/Schema").String;
|
|
294
296
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
295
|
-
}
|
|
297
|
+
}>, undefined>;
|
|
296
298
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/experiments/projects/:projectId/experiments/:experimentId", import("effect/Schema").Struct<{
|
|
297
299
|
projectId: typeof import("effect/Schema").String;
|
|
298
300
|
experimentId: typeof import("effect/Schema").String;
|
|
299
301
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
300
302
|
success: typeof import("effect/Schema").Boolean;
|
|
301
|
-
}
|
|
303
|
+
}>, undefined>;
|
|
302
304
|
readonly start: import("../endpoint.js").Endpoint<"POST", "/experiments/projects/:projectId/experiments/:experimentId/start", import("effect/Schema").Struct<{
|
|
303
305
|
projectId: typeof import("effect/Schema").String;
|
|
304
306
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -339,7 +341,7 @@ export declare const experimentsEndpoints: {
|
|
|
339
341
|
threshold: typeof import("effect/Schema").Number;
|
|
340
342
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
341
343
|
}>>>;
|
|
342
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
344
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
343
345
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
344
346
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
345
347
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -350,7 +352,7 @@ export declare const experimentsEndpoints: {
|
|
|
350
352
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
351
353
|
createdAt: typeof import("effect/Schema").String;
|
|
352
354
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
353
|
-
}
|
|
355
|
+
}>, undefined>;
|
|
354
356
|
readonly pause: import("../endpoint.js").Endpoint<"POST", "/experiments/projects/:projectId/experiments/:experimentId/pause", import("effect/Schema").Struct<{
|
|
355
357
|
projectId: typeof import("effect/Schema").String;
|
|
356
358
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -391,7 +393,7 @@ export declare const experimentsEndpoints: {
|
|
|
391
393
|
threshold: typeof import("effect/Schema").Number;
|
|
392
394
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
393
395
|
}>>>;
|
|
394
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
396
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
395
397
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
396
398
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
397
399
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -402,7 +404,7 @@ export declare const experimentsEndpoints: {
|
|
|
402
404
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
403
405
|
createdAt: typeof import("effect/Schema").String;
|
|
404
406
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
405
|
-
}
|
|
407
|
+
}>, undefined>;
|
|
406
408
|
readonly conclude: import("../endpoint.js").Endpoint<"POST", "/experiments/projects/:projectId/experiments/:experimentId/conclude", import("effect/Schema").Struct<{
|
|
407
409
|
projectId: typeof import("effect/Schema").String;
|
|
408
410
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -445,7 +447,7 @@ export declare const experimentsEndpoints: {
|
|
|
445
447
|
threshold: typeof import("effect/Schema").Number;
|
|
446
448
|
action: import("effect/Schema").Literal<["pause", "alert"]>;
|
|
447
449
|
}>>>;
|
|
448
|
-
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist"]>;
|
|
450
|
+
statsMethod: import("effect/Schema").Literal<["bayesian", "frequentist", "sequential"]>;
|
|
449
451
|
confidenceLevel: typeof import("effect/Schema").Number;
|
|
450
452
|
minimumSampleSize: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
451
453
|
minimumDurationDays: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
@@ -456,7 +458,7 @@ export declare const experimentsEndpoints: {
|
|
|
456
458
|
createdBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
457
459
|
createdAt: typeof import("effect/Schema").String;
|
|
458
460
|
updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
459
|
-
}
|
|
461
|
+
}>, undefined>;
|
|
460
462
|
readonly results: import("../endpoint.js").Endpoint<"GET", "/experiments/projects/:projectId/experiments/:experimentId/results", import("effect/Schema").Struct<{
|
|
461
463
|
projectId: typeof import("effect/Schema").String;
|
|
462
464
|
experimentId: typeof import("effect/Schema").String;
|
|
@@ -495,6 +497,6 @@ export declare const experimentsEndpoints: {
|
|
|
495
497
|
canConclude: typeof import("effect/Schema").Boolean;
|
|
496
498
|
blockers: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
497
499
|
}>;
|
|
498
|
-
}
|
|
500
|
+
}>, undefined>;
|
|
499
501
|
};
|
|
500
502
|
//# sourceMappingURL=experiments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiments.d.ts","sourceRoot":"","sources":["../../src/endpoints/experiments.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"experiments.d.ts","sourceRoot":"","sources":["../../src/endpoints/experiments.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFvB,CAAA"}
|
|
@@ -14,9 +14,22 @@ export declare const flagsAdminEndpoints: {
|
|
|
14
14
|
offset: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
15
15
|
search: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
16
16
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
17
|
-
flags: import("effect/Schema").Array$<
|
|
17
|
+
flags: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
18
|
+
id: typeof import("effect/Schema").String;
|
|
19
|
+
key: typeof import("effect/Schema").String;
|
|
20
|
+
name: typeof import("effect/Schema").String;
|
|
21
|
+
description: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
22
|
+
enabled: typeof import("effect/Schema").Boolean;
|
|
23
|
+
rolloutPercentage: typeof import("effect/Schema").Number;
|
|
24
|
+
targetPremiumOnly: typeof import("effect/Schema").Boolean;
|
|
25
|
+
targetAdminOnly: typeof import("effect/Schema").Boolean;
|
|
26
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
27
|
+
environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
28
|
+
createdAt: typeof import("effect/Schema").String;
|
|
29
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
30
|
+
}>>;
|
|
18
31
|
total: typeof import("effect/Schema").Number;
|
|
19
|
-
}
|
|
32
|
+
}>, undefined>;
|
|
20
33
|
readonly create: import("../endpoint.js").Endpoint<"POST", "/flags", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
21
34
|
projectId: typeof import("effect/Schema").String;
|
|
22
35
|
key: typeof import("effect/Schema").String;
|
|
@@ -28,7 +41,22 @@ export declare const flagsAdminEndpoints: {
|
|
|
28
41
|
targetAdminOnly: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
29
42
|
environmentId: import("effect/Schema").optional<import("effect/Schema").NullOr<typeof import("effect/Schema").String>>;
|
|
30
43
|
sortOrder: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
31
|
-
}>,
|
|
44
|
+
}>, import("effect/Schema").Struct<{
|
|
45
|
+
id: typeof import("effect/Schema").String;
|
|
46
|
+
key: typeof import("effect/Schema").String;
|
|
47
|
+
name: typeof import("effect/Schema").String;
|
|
48
|
+
description: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
49
|
+
enabled: typeof import("effect/Schema").Boolean;
|
|
50
|
+
rolloutPercentage: typeof import("effect/Schema").Number;
|
|
51
|
+
targetPremiumOnly: typeof import("effect/Schema").Boolean;
|
|
52
|
+
targetAdminOnly: typeof import("effect/Schema").Boolean;
|
|
53
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
54
|
+
environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
55
|
+
createdAt: typeof import("effect/Schema").String;
|
|
56
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
57
|
+
}>, {
|
|
58
|
+
status: 201;
|
|
59
|
+
}>;
|
|
32
60
|
readonly update: import("../endpoint.js").Endpoint<"PATCH", "/flags", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
33
61
|
projectId: typeof import("effect/Schema").String;
|
|
34
62
|
id: typeof import("effect/Schema").String;
|
|
@@ -39,19 +67,32 @@ export declare const flagsAdminEndpoints: {
|
|
|
39
67
|
targetPremiumOnly: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
40
68
|
targetAdminOnly: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
41
69
|
expectedVersion: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
42
|
-
}>,
|
|
70
|
+
}>, import("effect/Schema").Struct<{
|
|
71
|
+
id: typeof import("effect/Schema").String;
|
|
72
|
+
key: typeof import("effect/Schema").String;
|
|
73
|
+
name: typeof import("effect/Schema").String;
|
|
74
|
+
description: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
75
|
+
enabled: typeof import("effect/Schema").Boolean;
|
|
76
|
+
rolloutPercentage: typeof import("effect/Schema").Number;
|
|
77
|
+
targetPremiumOnly: typeof import("effect/Schema").Boolean;
|
|
78
|
+
targetAdminOnly: typeof import("effect/Schema").Boolean;
|
|
79
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
80
|
+
environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
81
|
+
createdAt: typeof import("effect/Schema").String;
|
|
82
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
83
|
+
}>, undefined>;
|
|
43
84
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/flags", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
44
85
|
projectId: typeof import("effect/Schema").String;
|
|
45
86
|
id: typeof import("effect/Schema").String;
|
|
46
87
|
}>, import("effect/Schema").Struct<{
|
|
47
88
|
success: typeof import("effect/Schema").Boolean;
|
|
48
|
-
}
|
|
89
|
+
}>, undefined>;
|
|
49
90
|
readonly reorder: import("../endpoint.js").Endpoint<"POST", "/flags/reorder", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
50
91
|
projectId: typeof import("effect/Schema").String;
|
|
51
92
|
flagIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
52
93
|
}>, import("effect/Schema").Struct<{
|
|
53
94
|
success: typeof import("effect/Schema").Boolean;
|
|
54
|
-
}
|
|
95
|
+
}>, undefined>;
|
|
55
96
|
readonly bulkUpdateEnabled: import("../endpoint.js").Endpoint<"POST", "/flags/bulk-update-enabled", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
56
97
|
projectId: typeof import("effect/Schema").String;
|
|
57
98
|
flagIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
@@ -59,16 +100,39 @@ export declare const flagsAdminEndpoints: {
|
|
|
59
100
|
}>, import("effect/Schema").Struct<{
|
|
60
101
|
success: typeof import("effect/Schema").Boolean;
|
|
61
102
|
updated: typeof import("effect/Schema").Number;
|
|
62
|
-
}
|
|
103
|
+
}>, undefined>;
|
|
63
104
|
readonly bulkDelete: import("../endpoint.js").Endpoint<"POST", "/flags/bulk-delete", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
64
105
|
projectId: typeof import("effect/Schema").String;
|
|
65
106
|
flagIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
66
107
|
}>, import("effect/Schema").Struct<{
|
|
67
108
|
success: typeof import("effect/Schema").Boolean;
|
|
68
109
|
deleted: typeof import("effect/Schema").Number;
|
|
69
|
-
}
|
|
110
|
+
}>, undefined>;
|
|
70
111
|
readonly getServiceData: import("../endpoint.js").Endpoint<"GET", "/flags/projects/:id", import("effect/Schema").Struct<{
|
|
71
112
|
id: typeof import("effect/Schema").String;
|
|
72
|
-
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined,
|
|
113
|
+
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
114
|
+
app: import("effect/Schema").Struct<{
|
|
115
|
+
id: typeof import("effect/Schema").String;
|
|
116
|
+
name: typeof import("effect/Schema").String;
|
|
117
|
+
slug: typeof import("effect/Schema").String;
|
|
118
|
+
}>;
|
|
119
|
+
totalFlags: typeof import("effect/Schema").Number;
|
|
120
|
+
activeCount: typeof import("effect/Schema").Number;
|
|
121
|
+
experimentsCount: typeof import("effect/Schema").Number;
|
|
122
|
+
flags: import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
123
|
+
id: typeof import("effect/Schema").String;
|
|
124
|
+
key: typeof import("effect/Schema").String;
|
|
125
|
+
name: typeof import("effect/Schema").String;
|
|
126
|
+
description: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
127
|
+
enabled: typeof import("effect/Schema").Boolean;
|
|
128
|
+
rolloutPercentage: typeof import("effect/Schema").Number;
|
|
129
|
+
targetPremiumOnly: typeof import("effect/Schema").Boolean;
|
|
130
|
+
targetAdminOnly: typeof import("effect/Schema").Boolean;
|
|
131
|
+
sortOrder: typeof import("effect/Schema").Number;
|
|
132
|
+
environmentId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
133
|
+
createdAt: typeof import("effect/Schema").String;
|
|
134
|
+
updatedAt: typeof import("effect/Schema").String;
|
|
135
|
+
}>>;
|
|
136
|
+
}>, undefined>;
|
|
73
137
|
};
|
|
74
138
|
//# sourceMappingURL=flags-admin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flags-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/flags-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAsBH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"flags-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/flags-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAsBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0EtB,CAAA"}
|
|
@@ -18,6 +18,6 @@ export declare const flagsEndpoints: {
|
|
|
18
18
|
reason: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
19
19
|
payload: import("effect/Schema").optional<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Unknown>>;
|
|
20
20
|
}>>;
|
|
21
|
-
}
|
|
21
|
+
}>, undefined>;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=flags.d.ts.map
|
|
@@ -13,18 +13,18 @@ export declare const githubEndpoints: {
|
|
|
13
13
|
success: typeof import("effect/Schema").Boolean;
|
|
14
14
|
repoFullName: typeof import("effect/Schema").String;
|
|
15
15
|
branch: typeof import("effect/Schema").String;
|
|
16
|
-
}
|
|
16
|
+
}>, undefined>;
|
|
17
17
|
readonly getConnection: import("../endpoint.js").Endpoint<"GET", "/github/connect/:envId", import("effect/Schema").Struct<{
|
|
18
18
|
envId: typeof import("effect/Schema").String;
|
|
19
19
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
20
20
|
connected: typeof import("effect/Schema").Boolean;
|
|
21
21
|
repoFullName: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
22
22
|
branch: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
|
|
23
|
-
}
|
|
23
|
+
}>, undefined>;
|
|
24
24
|
readonly disconnect: import("../endpoint.js").Endpoint<"DELETE", "/github/connect/:envId", import("effect/Schema").Struct<{
|
|
25
25
|
envId: typeof import("effect/Schema").String;
|
|
26
26
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
27
27
|
success: typeof import("effect/Schema").Boolean;
|
|
28
|
-
}
|
|
28
|
+
}>, undefined>;
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=github.d.ts.map
|
|
@@ -29,7 +29,7 @@ export declare const imageOptEndpoints: {
|
|
|
29
29
|
signature: typeof Schema.String;
|
|
30
30
|
params: typeof Schema.String;
|
|
31
31
|
expiresIn: Schema.NullOr<typeof Schema.Number>;
|
|
32
|
-
}
|
|
32
|
+
}>, undefined>;
|
|
33
33
|
readonly forward: import("../endpoint.js").Endpoint<"GET", "/img/:signature/:params/:url", Schema.Struct<{
|
|
34
34
|
signature: typeof Schema.String;
|
|
35
35
|
params: typeof Schema.String;
|
|
@@ -38,6 +38,6 @@ export declare const imageOptEndpoints: {
|
|
|
38
38
|
/** Scaffold response — replaced by the imgproxy forward once infra ships. */
|
|
39
39
|
pending: typeof Schema.Boolean;
|
|
40
40
|
message: typeof Schema.String;
|
|
41
|
-
}
|
|
41
|
+
}>, undefined>;
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=image-opt.d.ts.map
|
|
@@ -12,7 +12,7 @@ export declare const kvAdminEndpoints: {
|
|
|
12
12
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
13
13
|
available: typeof import("effect/Schema").Boolean;
|
|
14
14
|
provider: typeof import("effect/Schema").String;
|
|
15
|
-
}
|
|
15
|
+
}>, undefined>;
|
|
16
16
|
readonly list: import("../endpoint.js").Endpoint<"GET", "/kv", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
17
17
|
projectId: typeof import("effect/Schema").String;
|
|
18
18
|
prefix: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -20,14 +20,14 @@ export declare const kvAdminEndpoints: {
|
|
|
20
20
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
21
21
|
keys: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
22
22
|
count: typeof import("effect/Schema").Number;
|
|
23
|
-
}
|
|
23
|
+
}>, undefined>;
|
|
24
24
|
readonly getStats: import("../endpoint.js").Endpoint<"GET", "/kv/stats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
25
25
|
projectId: typeof import("effect/Schema").String;
|
|
26
26
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
27
27
|
totalKeys: typeof import("effect/Schema").Number;
|
|
28
28
|
storageBytes: typeof import("effect/Schema").Number;
|
|
29
29
|
operationsToday: typeof import("effect/Schema").Number;
|
|
30
|
-
}
|
|
30
|
+
}>, undefined>;
|
|
31
31
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/kv/:key", import("effect/Schema").Struct<{
|
|
32
32
|
key: typeof import("effect/Schema").String;
|
|
33
33
|
}>, import("effect/Schema").Struct<{
|
|
@@ -36,7 +36,7 @@ export declare const kvAdminEndpoints: {
|
|
|
36
36
|
key: typeof import("effect/Schema").String;
|
|
37
37
|
value: import("effect/Schema").NullOr<typeof import("effect/Schema").Unknown>;
|
|
38
38
|
ttl: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
|
|
39
|
-
}
|
|
39
|
+
}>, undefined>;
|
|
40
40
|
readonly set: import("../endpoint.js").Endpoint<"PUT", "/kv/:key", import("effect/Schema").Struct<{
|
|
41
41
|
key: typeof import("effect/Schema").String;
|
|
42
42
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -45,7 +45,7 @@ export declare const kvAdminEndpoints: {
|
|
|
45
45
|
ttl: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
46
46
|
}>, import("effect/Schema").Struct<{
|
|
47
47
|
success: typeof import("effect/Schema").Boolean;
|
|
48
|
-
}
|
|
48
|
+
}>, undefined>;
|
|
49
49
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/kv/:key", import("effect/Schema").Struct<{
|
|
50
50
|
key: typeof import("effect/Schema").String;
|
|
51
51
|
}>, import("effect/Schema").Struct<{
|
|
@@ -53,6 +53,6 @@ export declare const kvAdminEndpoints: {
|
|
|
53
53
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
54
54
|
success: typeof import("effect/Schema").Boolean;
|
|
55
55
|
deleted: typeof import("effect/Schema").Number;
|
|
56
|
-
}
|
|
56
|
+
}>, undefined>;
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=kv-admin.d.ts.map
|
package/dist/endpoints/kv.d.ts
CHANGED
|
@@ -12,34 +12,34 @@ export declare const kvEndpoints: {
|
|
|
12
12
|
xx: Schema.optional<typeof Schema.Boolean>;
|
|
13
13
|
}>, Schema.Struct<{
|
|
14
14
|
ok: typeof Schema.Boolean;
|
|
15
|
-
}
|
|
15
|
+
}>, undefined>;
|
|
16
16
|
readonly get: import("../endpoint.js").Endpoint<"GET", "/sdk/kv/get/:key", Schema.Struct<{
|
|
17
17
|
key: typeof Schema.String;
|
|
18
18
|
}>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
19
19
|
value: Schema.NullOr<typeof Schema.Unknown>;
|
|
20
|
-
}
|
|
20
|
+
}>, undefined>;
|
|
21
21
|
readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/sdk/kv/delete/:key", Schema.Struct<{
|
|
22
22
|
key: typeof Schema.String;
|
|
23
23
|
}>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
24
24
|
deleted: typeof Schema.Number;
|
|
25
|
-
}
|
|
25
|
+
}>, undefined>;
|
|
26
26
|
readonly exists: import("../endpoint.js").Endpoint<"GET", "/sdk/kv/exists/:key", Schema.Struct<{
|
|
27
27
|
key: typeof Schema.String;
|
|
28
28
|
}>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
29
29
|
exists: typeof Schema.Boolean;
|
|
30
|
-
}
|
|
30
|
+
}>, undefined>;
|
|
31
31
|
readonly incr: import("../endpoint.js").Endpoint<"POST", "/sdk/kv/incr", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
32
32
|
key: typeof Schema.String;
|
|
33
33
|
by: Schema.optional<typeof Schema.Number>;
|
|
34
34
|
}>, Schema.Struct<{
|
|
35
35
|
value: typeof Schema.Number;
|
|
36
|
-
}
|
|
36
|
+
}>, undefined>;
|
|
37
37
|
readonly expire: import("../endpoint.js").Endpoint<"POST", "/sdk/kv/expire", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
38
38
|
key: typeof Schema.String;
|
|
39
39
|
seconds: typeof Schema.Number;
|
|
40
40
|
}>, Schema.Struct<{
|
|
41
41
|
ok: typeof Schema.Boolean;
|
|
42
|
-
}
|
|
42
|
+
}>, undefined>;
|
|
43
43
|
readonly rateLimit: import("../endpoint.js").Endpoint<"POST", "/sdk/kv/ratelimit", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
44
44
|
identifier: typeof Schema.String;
|
|
45
45
|
limit: typeof Schema.Number;
|
|
@@ -49,7 +49,7 @@ export declare const kvEndpoints: {
|
|
|
49
49
|
limit: typeof Schema.Number;
|
|
50
50
|
remaining: typeof Schema.Number;
|
|
51
51
|
reset: typeof Schema.Number;
|
|
52
|
-
}
|
|
52
|
+
}>, undefined>;
|
|
53
53
|
readonly scan: import("../endpoint.js").Endpoint<"GET", "/sdk/kv/scan", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
|
|
54
54
|
pattern: Schema.optional<typeof Schema.String>;
|
|
55
55
|
cursor: Schema.optional<typeof Schema.String>;
|
|
@@ -58,6 +58,6 @@ export declare const kvEndpoints: {
|
|
|
58
58
|
keys: Schema.Array$<typeof Schema.String>;
|
|
59
59
|
nextCursor: typeof Schema.String;
|
|
60
60
|
done: typeof Schema.Boolean;
|
|
61
|
-
}
|
|
61
|
+
}>, undefined>;
|
|
62
62
|
};
|
|
63
63
|
//# sourceMappingURL=kv.d.ts.map
|
|
@@ -46,7 +46,7 @@ export declare const monitoringAdminEndpoints: {
|
|
|
46
46
|
total: typeof import("effect/Schema").Number;
|
|
47
47
|
limit: typeof import("effect/Schema").Number;
|
|
48
48
|
offset: typeof import("effect/Schema").Number;
|
|
49
|
-
}
|
|
49
|
+
}>, undefined>;
|
|
50
50
|
readonly getStats: import("../endpoint.js").Endpoint<"GET", "/monitoring/projects/:id/errors/stats", import("effect/Schema").Struct<{
|
|
51
51
|
id: typeof import("effect/Schema").String;
|
|
52
52
|
}>, import("effect/Schema").Struct<{
|
|
@@ -64,7 +64,7 @@ export declare const monitoringAdminEndpoints: {
|
|
|
64
64
|
lastSeen: typeof import("effect/Schema").String;
|
|
65
65
|
}>>;
|
|
66
66
|
period: typeof import("effect/Schema").String;
|
|
67
|
-
}
|
|
67
|
+
}>, undefined>;
|
|
68
68
|
readonly getServiceData: import("../endpoint.js").Endpoint<"GET", "/monitoring/projects/:id/service-data", import("effect/Schema").Struct<{
|
|
69
69
|
id: typeof import("effect/Schema").String;
|
|
70
70
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
@@ -93,7 +93,7 @@ export declare const monitoringAdminEndpoints: {
|
|
|
93
93
|
occurrences: typeof import("effect/Schema").Number;
|
|
94
94
|
lastSeen: typeof import("effect/Schema").String;
|
|
95
95
|
}>>;
|
|
96
|
-
}
|
|
96
|
+
}>, undefined>;
|
|
97
97
|
readonly getError: import("../endpoint.js").Endpoint<"GET", "/monitoring/errors/:errorId", import("effect/Schema").Struct<{
|
|
98
98
|
errorId: typeof import("effect/Schema").String;
|
|
99
99
|
}>, import("effect/Schema").Struct<{
|
|
@@ -130,28 +130,28 @@ export declare const monitoringAdminEndpoints: {
|
|
|
130
130
|
email: typeof import("effect/Schema").String;
|
|
131
131
|
}>>;
|
|
132
132
|
createdAt: typeof import("effect/Schema").String;
|
|
133
|
-
}
|
|
133
|
+
}>, undefined>;
|
|
134
134
|
readonly resolveError: import("../endpoint.js").Endpoint<"POST", "/monitoring/errors/:errorId/resolve", import("effect/Schema").Struct<{
|
|
135
135
|
errorId: typeof import("effect/Schema").String;
|
|
136
136
|
}>, import("effect/Schema").Struct<{
|
|
137
137
|
projectId: typeof import("effect/Schema").String;
|
|
138
138
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
139
139
|
success: typeof import("effect/Schema").Boolean;
|
|
140
|
-
}
|
|
140
|
+
}>, undefined>;
|
|
141
141
|
readonly unresolveError: import("../endpoint.js").Endpoint<"POST", "/monitoring/errors/:errorId/unresolve", import("effect/Schema").Struct<{
|
|
142
142
|
errorId: typeof import("effect/Schema").String;
|
|
143
143
|
}>, import("effect/Schema").Struct<{
|
|
144
144
|
projectId: typeof import("effect/Schema").String;
|
|
145
145
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
146
146
|
success: typeof import("effect/Schema").Boolean;
|
|
147
|
-
}
|
|
147
|
+
}>, undefined>;
|
|
148
148
|
readonly deleteError: import("../endpoint.js").Endpoint<"DELETE", "/monitoring/errors/:errorId", import("effect/Schema").Struct<{
|
|
149
149
|
errorId: typeof import("effect/Schema").String;
|
|
150
150
|
}>, import("effect/Schema").Struct<{
|
|
151
151
|
projectId: typeof import("effect/Schema").String;
|
|
152
152
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
153
153
|
success: typeof import("effect/Schema").Boolean;
|
|
154
|
-
}
|
|
154
|
+
}>, undefined>;
|
|
155
155
|
readonly resolveStackTrace: import("../endpoint.js").Endpoint<"GET", "/monitoring/errors/:errorId/stacktrace", import("effect/Schema").Struct<{
|
|
156
156
|
errorId: typeof import("effect/Schema").String;
|
|
157
157
|
}>, import("effect/Schema").Struct<{
|
|
@@ -172,7 +172,7 @@ export declare const monitoringAdminEndpoints: {
|
|
|
172
172
|
originalName: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
173
173
|
resolved: typeof import("effect/Schema").Boolean;
|
|
174
174
|
}>>;
|
|
175
|
-
}
|
|
175
|
+
}>, undefined>;
|
|
176
176
|
readonly listSourceMaps: import("../endpoint.js").Endpoint<"GET", "/monitoring/projects/:id/source-maps", import("effect/Schema").Struct<{
|
|
177
177
|
id: typeof import("effect/Schema").String;
|
|
178
178
|
}>, import("effect/Schema").Struct<{
|
|
@@ -192,13 +192,13 @@ export declare const monitoringAdminEndpoints: {
|
|
|
192
192
|
total: typeof import("effect/Schema").Number;
|
|
193
193
|
limit: typeof import("effect/Schema").Number;
|
|
194
194
|
offset: typeof import("effect/Schema").Number;
|
|
195
|
-
}
|
|
195
|
+
}>, undefined>;
|
|
196
196
|
readonly deleteSourceMaps: import("../endpoint.js").Endpoint<"DELETE", "/monitoring/projects/:id/source-maps", import("effect/Schema").Struct<{
|
|
197
197
|
id: typeof import("effect/Schema").String;
|
|
198
198
|
}>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
199
199
|
release: typeof import("effect/Schema").String;
|
|
200
200
|
}>, import("effect/Schema").Struct<{
|
|
201
201
|
deletedCount: typeof import("effect/Schema").Number;
|
|
202
|
-
}
|
|
202
|
+
}>, undefined>;
|
|
203
203
|
};
|
|
204
204
|
//# sourceMappingURL=monitoring-admin.d.ts.map
|
|
@@ -42,7 +42,7 @@ export declare const monitoringEndpoints: {
|
|
|
42
42
|
isNewError: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
43
43
|
quotaUsage: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
44
44
|
recommendedSampleRate: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
45
|
-
}
|
|
45
|
+
}>, undefined>;
|
|
46
46
|
readonly captureMessage: import("../endpoint.js").Endpoint<"POST", "/sdk/monitoring/message", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
|
|
47
47
|
message: typeof import("effect/Schema").String;
|
|
48
48
|
level: import("effect/Schema").optional<import("effect/Schema").Literal<["fatal", "error", "warning", "info"]>>;
|
|
@@ -58,6 +58,6 @@ export declare const monitoringEndpoints: {
|
|
|
58
58
|
isNewError: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
59
59
|
quotaUsage: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
60
60
|
recommendedSampleRate: import("effect/Schema").optional<typeof import("effect/Schema").Number>;
|
|
61
|
-
}
|
|
61
|
+
}>, undefined>;
|
|
62
62
|
};
|
|
63
63
|
//# sourceMappingURL=monitoring.d.ts.map
|