@oore/client 0.16.0 → 0.18.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/dist/generated/@tanstack/react-query.gen.d.ts +165 -1
- package/dist/generated/@tanstack/react-query.gen.js +187 -1
- package/dist/generated/msw.gen.d.ts +117 -1
- package/dist/generated/msw.gen.js +184 -0
- package/dist/generated/sdk.gen.d.ts +52 -1
- package/dist/generated/sdk.gen.js +111 -0
- package/dist/generated/types.gen.d.ts +455 -0
- package/dist/generated/valibot/v-approve-promotion-body.d.ts +4 -0
- package/dist/generated/valibot/v-approve-promotion-body.js +4 -0
- package/dist/generated/valibot/v-approve-promotion-path.d.ts +5 -0
- package/dist/generated/valibot/v-approve-promotion-path.js +6 -0
- package/dist/generated/valibot/v-approve-promotion-response.d.ts +25 -0
- package/dist/generated/valibot/v-approve-promotion-response.js +3 -0
- package/dist/generated/valibot/v-approve-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-artifact-size-comparison.d.ts +10 -0
- package/dist/generated/valibot/v-artifact-size-comparison.js +24 -0
- package/dist/generated/valibot/v-build-size-baseline.d.ts +6 -0
- package/dist/generated/valibot/v-build-size-baseline.js +11 -0
- package/dist/generated/valibot/v-build-size-report.d.ts +18 -0
- package/dist/generated/valibot/v-build-size-report.js +9 -0
- package/dist/generated/valibot/v-complete-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-create-project-environment-body.d.ts +14 -0
- package/dist/generated/valibot/v-create-project-environment-body.js +3 -0
- package/dist/generated/valibot/v-create-project-environment-path.d.ts +4 -0
- package/dist/generated/valibot/v-create-project-environment-path.js +5 -0
- package/dist/generated/valibot/v-create-project-environment-request.d.ts +14 -0
- package/dist/generated/valibot/v-create-project-environment-request.js +12 -0
- package/dist/generated/valibot/v-create-project-environment-response.d.ts +56 -0
- package/dist/generated/valibot/v-create-project-environment-response.js +3 -0
- package/dist/generated/valibot/v-create-promotion-request.d.ts +6 -0
- package/dist/generated/valibot/v-create-promotion-request.js +7 -0
- package/dist/generated/valibot/v-create-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-delete-project-environment-path.d.ts +5 -0
- package/dist/generated/valibot/v-delete-project-environment-path.js +6 -0
- package/dist/generated/valibot/v-delete-project-environment-response.d.ts +4 -0
- package/dist/generated/valibot/v-delete-project-environment-response.js +3 -0
- package/dist/generated/valibot/v-environment-promotion.d.ts +25 -0
- package/dist/generated/valibot/v-environment-promotion.js +47 -0
- package/dist/generated/valibot/v-get-build-size-report-path.d.ts +4 -0
- package/dist/generated/valibot/v-get-build-size-report-path.js +5 -0
- package/dist/generated/valibot/v-get-build-size-report-response.d.ts +18 -0
- package/dist/generated/valibot/v-get-build-size-report-response.js +3 -0
- package/dist/generated/valibot/v-get-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-halt-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-list-project-environments-path.d.ts +4 -0
- package/dist/generated/valibot/v-list-project-environments-path.js +5 -0
- package/dist/generated/valibot/v-list-project-environments-response.d.ts +82 -0
- package/dist/generated/valibot/v-list-project-environments-response.js +8 -0
- package/dist/generated/valibot/v-list-project-environments-response2.d.ts +82 -0
- package/dist/generated/valibot/v-list-project-environments-response2.js +3 -0
- package/dist/generated/valibot/v-list-releases-response.d.ts +3 -0
- package/dist/generated/valibot/v-list-releases-response2.d.ts +3 -0
- package/dist/generated/valibot/v-pause-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-project-environment.d.ts +56 -0
- package/dist/generated/valibot/v-project-environment.js +32 -0
- package/dist/generated/valibot/v-promote-build-body.d.ts +6 -0
- package/dist/generated/valibot/v-promote-build-body.js +3 -0
- package/dist/generated/valibot/v-promote-build-path.d.ts +4 -0
- package/dist/generated/valibot/v-promote-build-path.js +5 -0
- package/dist/generated/valibot/v-promote-build-response.d.ts +25 -0
- package/dist/generated/valibot/v-promote-build-response.js +3 -0
- package/dist/generated/valibot/v-promotion-decision-request.d.ts +4 -0
- package/dist/generated/valibot/v-promotion-decision-request.js +5 -0
- package/dist/generated/valibot/v-promotion-state.d.ts +2 -0
- package/dist/generated/valibot/v-promotion-state.js +9 -0
- package/dist/generated/valibot/v-raise-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-reject-promotion-body.d.ts +4 -0
- package/dist/generated/valibot/v-reject-promotion-body.js +4 -0
- package/dist/generated/valibot/v-reject-promotion-path.d.ts +5 -0
- package/dist/generated/valibot/v-reject-promotion-path.js +6 -0
- package/dist/generated/valibot/v-reject-promotion-response.d.ts +25 -0
- package/dist/generated/valibot/v-reject-promotion-response.js +3 -0
- package/dist/generated/valibot/v-release-detail-response.d.ts +3 -0
- package/dist/generated/valibot/v-release.d.ts +3 -0
- package/dist/generated/valibot/v-release.js +3 -0
- package/dist/generated/valibot/v-resume-release-response.d.ts +3 -0
- package/dist/generated/valibot/v-update-project-environment-body.d.ts +13 -0
- package/dist/generated/valibot/v-update-project-environment-body.js +3 -0
- package/dist/generated/valibot/v-update-project-environment-path.d.ts +5 -0
- package/dist/generated/valibot/v-update-project-environment-path.js +6 -0
- package/dist/generated/valibot/v-update-project-environment-request.d.ts +13 -0
- package/dist/generated/valibot/v-update-project-environment-request.js +14 -0
- package/dist/generated/valibot/v-update-project-environment-response.d.ts +56 -0
- package/dist/generated/valibot/v-update-project-environment-response.js +3 -0
- package/dist/msw.d.ts +2 -2
- package/dist/msw.js +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/react-query.js +1 -1
- package/dist/valibot.d.ts +32 -0
- package/dist/valibot.js +32 -0
- package/openapi/openapi.json +1254 -142
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vApprovePromotionResponse: v.ObjectSchema<{
|
|
3
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
4
|
+
readonly build_number: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
5
|
+
readonly can_decide: v.BooleanSchema<undefined>;
|
|
6
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
7
|
+
readonly decided_at: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
8
|
+
readonly decided_by_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly decision_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly environment_id: v.StringSchema<undefined>;
|
|
11
|
+
readonly environment_name: v.StringSchema<undefined>;
|
|
12
|
+
readonly error: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly id: v.StringSchema<undefined>;
|
|
14
|
+
readonly project_id: v.StringSchema<undefined>;
|
|
15
|
+
readonly reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly requested_by_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
readonly source_environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly source_release_id: v.StringSchema<undefined>;
|
|
20
|
+
readonly source_track: v.StringSchema<undefined>;
|
|
21
|
+
readonly state: v.PicklistSchema<["pending", "promoting", "completed", "rejected", "failed"], undefined>;
|
|
22
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
23
|
+
readonly version_code: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
24
|
+
readonly version_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
}, undefined>;
|
|
@@ -10,6 +10,8 @@ export declare const vApproveReleaseResponse: v.ObjectSchema<{
|
|
|
10
10
|
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
11
11
|
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
12
12
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
13
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
15
|
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
14
16
|
readonly id: v.StringSchema<undefined>;
|
|
15
17
|
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -24,6 +26,7 @@ export declare const vApproveReleaseResponse: v.ObjectSchema<{
|
|
|
24
26
|
}, undefined>;
|
|
25
27
|
readonly project_id: v.StringSchema<undefined>;
|
|
26
28
|
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
30
|
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
28
31
|
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
29
32
|
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vArtifactSizeComparison: v.ObjectSchema<{
|
|
3
|
+
readonly artifact_id: v.StringSchema<undefined>;
|
|
4
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
5
|
+
readonly baseline_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly baseline_size_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
7
|
+
readonly delta_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
8
|
+
readonly name: v.StringSchema<undefined>;
|
|
9
|
+
readonly size_bytes: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
10
|
+
}, undefined>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vArtifactType } from './v-artifact-type.js';
|
|
4
|
+
export const vArtifactSizeComparison = v.object({
|
|
5
|
+
artifact_id: v.string(),
|
|
6
|
+
artifact_type: vArtifactType,
|
|
7
|
+
baseline_name: v.nullish(v.string()),
|
|
8
|
+
baseline_size_bytes: v.nullish(v.pipe(v.union([
|
|
9
|
+
v.number(),
|
|
10
|
+
v.string(),
|
|
11
|
+
v.bigint()
|
|
12
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
|
|
13
|
+
delta_bytes: v.nullish(v.pipe(v.union([
|
|
14
|
+
v.number(),
|
|
15
|
+
v.string(),
|
|
16
|
+
v.bigint()
|
|
17
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
|
|
18
|
+
name: v.string(),
|
|
19
|
+
size_bytes: v.pipe(v.union([
|
|
20
|
+
v.number(),
|
|
21
|
+
v.string(),
|
|
22
|
+
v.bigint()
|
|
23
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))
|
|
24
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vBuildSizeBaseline: v.ObjectSchema<{
|
|
3
|
+
readonly branch: v.StringSchema<undefined>;
|
|
4
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
5
|
+
readonly build_number: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
6
|
+
}, undefined>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export const vBuildSizeBaseline = v.object({
|
|
4
|
+
branch: v.string(),
|
|
5
|
+
build_id: v.string(),
|
|
6
|
+
build_number: v.pipe(v.union([
|
|
7
|
+
v.number(),
|
|
8
|
+
v.string(),
|
|
9
|
+
v.bigint()
|
|
10
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))
|
|
11
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vBuildSizeReport: v.ObjectSchema<{
|
|
3
|
+
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
+
readonly artifact_id: v.StringSchema<undefined>;
|
|
5
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
6
|
+
readonly baseline_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly baseline_size_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
8
|
+
readonly delta_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
9
|
+
readonly name: v.StringSchema<undefined>;
|
|
10
|
+
readonly size_bytes: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
11
|
+
}, undefined>, undefined>;
|
|
12
|
+
readonly base_branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly baseline: v.NullishSchema<v.ObjectSchema<{
|
|
14
|
+
readonly branch: v.StringSchema<undefined>;
|
|
15
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
16
|
+
readonly build_number: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
17
|
+
}, undefined>, undefined>;
|
|
18
|
+
}, undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vArtifactSizeComparison } from './v-artifact-size-comparison.js';
|
|
4
|
+
import { vBuildSizeBaseline } from './v-build-size-baseline.js';
|
|
5
|
+
export const vBuildSizeReport = v.object({
|
|
6
|
+
artifacts: v.array(vArtifactSizeComparison),
|
|
7
|
+
base_branch: v.nullish(v.string()),
|
|
8
|
+
baseline: v.nullish(vBuildSizeBaseline)
|
|
9
|
+
});
|
|
@@ -10,6 +10,8 @@ export declare const vCompleteReleaseResponse: v.ObjectSchema<{
|
|
|
10
10
|
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
11
11
|
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
12
12
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
13
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
15
|
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
14
16
|
readonly id: v.StringSchema<undefined>;
|
|
15
17
|
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -24,6 +26,7 @@ export declare const vCompleteReleaseResponse: v.ObjectSchema<{
|
|
|
24
26
|
}, undefined>;
|
|
25
27
|
readonly project_id: v.StringSchema<undefined>;
|
|
26
28
|
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
30
|
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
28
31
|
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
29
32
|
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateProjectEnvironmentBody: v.ObjectSchema<{
|
|
3
|
+
readonly approval_required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4
|
+
readonly key: v.StringSchema<undefined>;
|
|
5
|
+
readonly name: v.StringSchema<undefined>;
|
|
6
|
+
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
7
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
8
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
9
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
10
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11
|
+
}, undefined>, undefined>;
|
|
12
|
+
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
13
|
+
readonly track: v.StringSchema<undefined>;
|
|
14
|
+
}, undefined>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateProjectEnvironmentRequest: v.ObjectSchema<{
|
|
3
|
+
readonly approval_required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4
|
+
readonly key: v.StringSchema<undefined>;
|
|
5
|
+
readonly name: v.StringSchema<undefined>;
|
|
6
|
+
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
7
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
8
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
9
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
10
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
11
|
+
}, undefined>, undefined>;
|
|
12
|
+
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
13
|
+
readonly track: v.StringSchema<undefined>;
|
|
14
|
+
}, undefined>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vReleasePolicy } from './v-release-policy.js';
|
|
4
|
+
import { vReleaseStore } from './v-release-store.js';
|
|
5
|
+
export const vCreateProjectEnvironmentRequest = v.object({
|
|
6
|
+
approval_required: v.optional(v.boolean()),
|
|
7
|
+
key: v.string(),
|
|
8
|
+
name: v.string(),
|
|
9
|
+
rollout_policy: v.nullish(vReleasePolicy),
|
|
10
|
+
store: vReleaseStore,
|
|
11
|
+
track: v.string()
|
|
12
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreateProjectEnvironmentResponse: v.ObjectSchema<{
|
|
3
|
+
readonly approval_required: v.BooleanSchema<undefined>;
|
|
4
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
5
|
+
readonly id: v.StringSchema<undefined>;
|
|
6
|
+
readonly key: v.StringSchema<undefined>;
|
|
7
|
+
readonly latest_release: v.NullishSchema<v.ObjectSchema<{
|
|
8
|
+
readonly allowed_actions: v.ArraySchema<v.PicklistSchema<["raise", "pause", "resume", "halt", "complete", "approve"], undefined>, undefined>;
|
|
9
|
+
readonly approved_at: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
10
|
+
readonly approved_by_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
readonly artifact_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly awaiting_approval: v.BooleanSchema<undefined>;
|
|
13
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
14
|
+
readonly build_number: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
15
|
+
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
16
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
17
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
18
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
21
|
+
readonly id: v.StringSchema<undefined>;
|
|
22
|
+
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
23
|
+
readonly next_step_at: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
24
|
+
readonly package_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly platform: v.StringSchema<undefined>;
|
|
26
|
+
readonly policy: v.ObjectSchema<{
|
|
27
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
28
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
29
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
30
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
readonly project_id: v.StringSchema<undefined>;
|
|
33
|
+
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
35
|
+
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
36
|
+
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
37
|
+
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
38
|
+
readonly track: v.StringSchema<undefined>;
|
|
39
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
40
|
+
readonly version_code: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
41
|
+
readonly version_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
42
|
+
}, undefined>, undefined>;
|
|
43
|
+
readonly name: v.StringSchema<undefined>;
|
|
44
|
+
readonly position: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
45
|
+
readonly project_id: v.StringSchema<undefined>;
|
|
46
|
+
readonly promotable: v.BooleanSchema<undefined>;
|
|
47
|
+
readonly rollout_policy: v.ObjectSchema<{
|
|
48
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
49
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
50
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
51
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
52
|
+
}, undefined>;
|
|
53
|
+
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
54
|
+
readonly track: v.StringSchema<undefined>;
|
|
55
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
56
|
+
}, undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vCreatePromotionRequest: v.ObjectSchema<{
|
|
3
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
4
|
+
readonly environment_id: v.StringSchema<undefined>;
|
|
5
|
+
readonly reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
}, undefined>;
|
|
@@ -10,6 +10,8 @@ export declare const vCreateReleaseResponse: v.ObjectSchema<{
|
|
|
10
10
|
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
11
11
|
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
12
12
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
13
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
15
|
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
14
16
|
readonly id: v.StringSchema<undefined>;
|
|
15
17
|
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -24,6 +26,7 @@ export declare const vCreateReleaseResponse: v.ObjectSchema<{
|
|
|
24
26
|
}, undefined>;
|
|
25
27
|
readonly project_id: v.StringSchema<undefined>;
|
|
26
28
|
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
30
|
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
28
31
|
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
29
32
|
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vEnvironmentPromotion: v.ObjectSchema<{
|
|
3
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
4
|
+
readonly build_number: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
5
|
+
readonly can_decide: v.BooleanSchema<undefined>;
|
|
6
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
7
|
+
readonly decided_at: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
8
|
+
readonly decided_by_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly decision_reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly environment_id: v.StringSchema<undefined>;
|
|
11
|
+
readonly environment_name: v.StringSchema<undefined>;
|
|
12
|
+
readonly error: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly id: v.StringSchema<undefined>;
|
|
14
|
+
readonly project_id: v.StringSchema<undefined>;
|
|
15
|
+
readonly reason: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly requested_by_email: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
readonly source_environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly source_release_id: v.StringSchema<undefined>;
|
|
20
|
+
readonly source_track: v.StringSchema<undefined>;
|
|
21
|
+
readonly state: v.PicklistSchema<["pending", "promoting", "completed", "rejected", "failed"], undefined>;
|
|
22
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
23
|
+
readonly version_code: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
24
|
+
readonly version_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
}, undefined>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vPromotionState } from './v-promotion-state.js';
|
|
4
|
+
export const vEnvironmentPromotion = v.object({
|
|
5
|
+
build_id: v.string(),
|
|
6
|
+
build_number: v.nullish(v.pipe(v.union([
|
|
7
|
+
v.number(),
|
|
8
|
+
v.string(),
|
|
9
|
+
v.bigint()
|
|
10
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
|
|
11
|
+
can_decide: v.boolean(),
|
|
12
|
+
created_at: v.pipe(v.union([
|
|
13
|
+
v.number(),
|
|
14
|
+
v.string(),
|
|
15
|
+
v.bigint()
|
|
16
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807')),
|
|
17
|
+
decided_at: v.nullish(v.pipe(v.union([
|
|
18
|
+
v.number(),
|
|
19
|
+
v.string(),
|
|
20
|
+
v.bigint()
|
|
21
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
|
|
22
|
+
decided_by_email: v.nullish(v.string()),
|
|
23
|
+
decision_reason: v.nullish(v.string()),
|
|
24
|
+
environment_id: v.string(),
|
|
25
|
+
environment_name: v.string(),
|
|
26
|
+
error: v.nullish(v.string()),
|
|
27
|
+
id: v.string(),
|
|
28
|
+
project_id: v.string(),
|
|
29
|
+
reason: v.nullish(v.string()),
|
|
30
|
+
release_id: v.nullish(v.string()),
|
|
31
|
+
requested_by_email: v.nullish(v.string()),
|
|
32
|
+
source_environment_name: v.nullish(v.string()),
|
|
33
|
+
source_release_id: v.string(),
|
|
34
|
+
source_track: v.string(),
|
|
35
|
+
state: vPromotionState,
|
|
36
|
+
updated_at: v.pipe(v.union([
|
|
37
|
+
v.number(),
|
|
38
|
+
v.string(),
|
|
39
|
+
v.bigint()
|
|
40
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807')),
|
|
41
|
+
version_code: v.nullish(v.pipe(v.union([
|
|
42
|
+
v.number(),
|
|
43
|
+
v.string(),
|
|
44
|
+
v.bigint()
|
|
45
|
+
]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
|
|
46
|
+
version_name: v.nullish(v.string())
|
|
47
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vGetBuildSizeReportResponse: v.ObjectSchema<{
|
|
3
|
+
readonly artifacts: v.ArraySchema<v.ObjectSchema<{
|
|
4
|
+
readonly artifact_id: v.StringSchema<undefined>;
|
|
5
|
+
readonly artifact_type: v.PicklistSchema<["apk", "ipa", "app", "aab", "generic"], undefined>;
|
|
6
|
+
readonly baseline_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly baseline_size_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
8
|
+
readonly delta_bytes: v.NullishSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>, undefined>;
|
|
9
|
+
readonly name: v.StringSchema<undefined>;
|
|
10
|
+
readonly size_bytes: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
11
|
+
}, undefined>, undefined>;
|
|
12
|
+
readonly base_branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly baseline: v.NullishSchema<v.ObjectSchema<{
|
|
14
|
+
readonly branch: v.StringSchema<undefined>;
|
|
15
|
+
readonly build_id: v.StringSchema<undefined>;
|
|
16
|
+
readonly build_number: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
17
|
+
}, undefined>, undefined>;
|
|
18
|
+
}, undefined>;
|
|
@@ -22,6 +22,8 @@ export declare const vGetReleaseResponse: v.ObjectSchema<{
|
|
|
22
22
|
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
23
23
|
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
24
24
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
25
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
27
|
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
26
28
|
readonly id: v.StringSchema<undefined>;
|
|
27
29
|
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -36,6 +38,7 @@ export declare const vGetReleaseResponse: v.ObjectSchema<{
|
|
|
36
38
|
}, undefined>;
|
|
37
39
|
readonly project_id: v.StringSchema<undefined>;
|
|
38
40
|
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
39
42
|
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
40
43
|
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
41
44
|
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|
|
@@ -10,6 +10,8 @@ export declare const vHaltReleaseResponse: v.ObjectSchema<{
|
|
|
10
10
|
readonly crash_rate: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
11
11
|
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
12
12
|
readonly created_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
|
|
13
|
+
readonly environment_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly environment_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
15
|
readonly health: v.PicklistSchema<["unknown", "healthy", "warning", "breached"], undefined>;
|
|
14
16
|
readonly id: v.StringSchema<undefined>;
|
|
15
17
|
readonly next_fraction: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -24,6 +26,7 @@ export declare const vHaltReleaseResponse: v.ObjectSchema<{
|
|
|
24
26
|
}, undefined>;
|
|
25
27
|
readonly project_id: v.StringSchema<undefined>;
|
|
26
28
|
readonly project_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly promoted_from_release_id: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
30
|
readonly rollout_fraction: v.NumberSchema<undefined>;
|
|
28
31
|
readonly state: v.PicklistSchema<["uploading", "processing", "in_review", "rolling", "paused", "halted", "complete", "failed"], undefined>;
|
|
29
32
|
readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
|