@oore/client 0.24.0 → 0.26.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 +31 -5
- package/dist/generated/@tanstack/react-query.gen.js +38 -5
- package/dist/generated/msw.gen.d.ts +13 -1
- package/dist/generated/msw.gen.js +23 -0
- package/dist/generated/sdk.gen.d.ts +14 -3
- package/dist/generated/sdk.gen.js +22 -2
- package/dist/generated/types.gen.d.ts +130 -4
- package/dist/generated/valibot/v-approver-role.d.ts +2 -0
- package/dist/generated/valibot/v-approver-role.js +3 -0
- package/dist/generated/valibot/v-create-project-environment-body.d.ts +4 -0
- package/dist/generated/valibot/v-create-project-environment-request.d.ts +4 -0
- package/dist/generated/valibot/v-create-project-environment-request.js +2 -0
- package/dist/generated/valibot/v-create-project-environment-response.d.ts +7 -0
- package/dist/generated/valibot/v-environment-approver.d.ts +5 -0
- package/dist/generated/valibot/v-environment-approver.js +6 -0
- package/dist/generated/valibot/v-environment-approvers-input.d.ts +5 -0
- package/dist/generated/valibot/v-environment-approvers-input.js +7 -0
- package/dist/generated/valibot/v-environment-approvers.d.ts +8 -0
- package/dist/generated/valibot/v-environment-approvers.js +8 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-body.d.ts +73 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-body.js +3 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-request.d.ts +73 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-request.js +13 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-response.d.ts +52 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-response.js +16 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-response2.d.ts +52 -0
- package/dist/generated/valibot/v-import-pipeline-yaml-response2.js +3 -0
- package/dist/generated/valibot/v-imported-play-publish.d.ts +6 -0
- package/dist/generated/valibot/v-imported-play-publish.js +7 -0
- package/dist/generated/valibot/v-list-project-environments-response.d.ts +7 -0
- package/dist/generated/valibot/v-list-project-environments-response2.d.ts +7 -0
- package/dist/generated/valibot/v-project-environment.d.ts +7 -0
- package/dist/generated/valibot/v-project-environment.js +2 -0
- package/dist/generated/valibot/v-update-project-environment-body.d.ts +4 -0
- package/dist/generated/valibot/v-update-project-environment-request.d.ts +4 -0
- package/dist/generated/valibot/v-update-project-environment-request.js +2 -0
- package/dist/generated/valibot/v-update-project-environment-response.d.ts +7 -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 +9 -0
- package/dist/valibot.js +9 -0
- package/openapi/openapi.json +318 -5
- package/package.json +1 -1
|
@@ -128,6 +128,10 @@ export type ApprovalPolicy = {
|
|
|
128
128
|
expires_after_hours?: number | null;
|
|
129
129
|
required: boolean;
|
|
130
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* The lowest project role that may approve promotions into an environment.
|
|
133
|
+
*/
|
|
134
|
+
export type ApproverRole = 'maintainer' | 'developer';
|
|
131
135
|
export type Artifact = {
|
|
132
136
|
artifact_type: ArtifactType;
|
|
133
137
|
build_id: string;
|
|
@@ -703,6 +707,7 @@ export type CreatePipelineResponse = {
|
|
|
703
707
|
};
|
|
704
708
|
export type CreateProjectEnvironmentRequest = {
|
|
705
709
|
approval_required?: boolean;
|
|
710
|
+
approvers?: null | EnvironmentApproversInput;
|
|
706
711
|
key: string;
|
|
707
712
|
name: string;
|
|
708
713
|
rollout_policy?: null | ReleasePolicy;
|
|
@@ -802,6 +807,42 @@ export type EffectiveProjectRetentionResponse = {
|
|
|
802
807
|
has_override: boolean;
|
|
803
808
|
override_fields?: null | ProjectRetentionOverride;
|
|
804
809
|
};
|
|
810
|
+
/**
|
|
811
|
+
* A project member named as an approver.
|
|
812
|
+
*/
|
|
813
|
+
export type EnvironmentApprover = {
|
|
814
|
+
email: string;
|
|
815
|
+
user_id: string;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* Who may approve or reject promotions into an environment.
|
|
819
|
+
*
|
|
820
|
+
* A member may decide when their project role is at least `role`, or when
|
|
821
|
+
* they are one of `users` (developers and maintainers only). With no role
|
|
822
|
+
* and no users, any project maintainer may decide, as before approvers
|
|
823
|
+
* existed. Instance owners and admins may always decide. API tokens never
|
|
824
|
+
* decide: approvals are interactive.
|
|
825
|
+
*/
|
|
826
|
+
export type EnvironmentApprovers = {
|
|
827
|
+
role?: null | ApproverRole;
|
|
828
|
+
/**
|
|
829
|
+
* Project members named as approvers. A user who leaves the project,
|
|
830
|
+
* or becomes a viewer, stops counting.
|
|
831
|
+
*/
|
|
832
|
+
users: Array<EnvironmentApprover>;
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* Approvers to set on an environment. Replaces the whole set; send an empty
|
|
836
|
+
* object to go back to "any maintainer".
|
|
837
|
+
*/
|
|
838
|
+
export type EnvironmentApproversInput = {
|
|
839
|
+
role?: null | ApproverRole;
|
|
840
|
+
/**
|
|
841
|
+
* User ids of project members who are developers or maintainers. At
|
|
842
|
+
* most 20.
|
|
843
|
+
*/
|
|
844
|
+
user_ids?: Array<string>;
|
|
845
|
+
};
|
|
805
846
|
/**
|
|
806
847
|
* A request to put an existing build into an environment.
|
|
807
848
|
*/
|
|
@@ -1091,6 +1132,65 @@ export type HealthResponse = {
|
|
|
1091
1132
|
package_version: string;
|
|
1092
1133
|
version: string;
|
|
1093
1134
|
};
|
|
1135
|
+
/**
|
|
1136
|
+
* A `version: 2` `.oore.yaml` to read back into the pipeline editor's form,
|
|
1137
|
+
* with the settings the editor holds now.
|
|
1138
|
+
*/
|
|
1139
|
+
export type ImportPipelineYamlRequest = {
|
|
1140
|
+
app_store?: null | AppStorePublishConfig;
|
|
1141
|
+
execution_config?: null | PipelineExecutionConfig;
|
|
1142
|
+
google_play?: null | GooglePlayPublishConfig;
|
|
1143
|
+
trigger_config?: null | TriggerConfig;
|
|
1144
|
+
/**
|
|
1145
|
+
* The file's text.
|
|
1146
|
+
*/
|
|
1147
|
+
yaml: string;
|
|
1148
|
+
};
|
|
1149
|
+
export type ImportPipelineYamlResponse = {
|
|
1150
|
+
/**
|
|
1151
|
+
* The file's validation errors, one per entry.
|
|
1152
|
+
*/
|
|
1153
|
+
errors: Array<string>;
|
|
1154
|
+
execution_config?: null | PipelineExecutionConfig;
|
|
1155
|
+
google_play?: null | ImportedPlayPublish;
|
|
1156
|
+
/**
|
|
1157
|
+
* What the form drops without changing what runs, such as step names.
|
|
1158
|
+
*/
|
|
1159
|
+
notes: Array<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Valid, and the form can hold all of it: `execution_config` is set.
|
|
1162
|
+
*/
|
|
1163
|
+
representable: boolean;
|
|
1164
|
+
/**
|
|
1165
|
+
* The file's `publish.testflight.group`.
|
|
1166
|
+
*/
|
|
1167
|
+
testflight_group?: string | null;
|
|
1168
|
+
trigger_config?: null | TriggerConfig;
|
|
1169
|
+
/**
|
|
1170
|
+
* What the form cannot hold, one per entry, such as workflows, vars,
|
|
1171
|
+
* flavors or an `on` the trigger settings cannot express.
|
|
1172
|
+
*/
|
|
1173
|
+
unsupported: Array<string>;
|
|
1174
|
+
/**
|
|
1175
|
+
* The file parses and validates as `oore pipeline validate` checks it.
|
|
1176
|
+
*/
|
|
1177
|
+
valid: boolean;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* A file's `publish.play`, as written.
|
|
1181
|
+
*/
|
|
1182
|
+
export type ImportedPlayPublish = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Left out, the Publish settings decide.
|
|
1185
|
+
*/
|
|
1186
|
+
draft?: boolean | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* The staged rollout as a percentage. Left out, the Publish settings
|
|
1189
|
+
* decide.
|
|
1190
|
+
*/
|
|
1191
|
+
rollout_percent?: number | null;
|
|
1192
|
+
track: string;
|
|
1193
|
+
};
|
|
1094
1194
|
export type InstancePreferences = {
|
|
1095
1195
|
direct_macos_runner_paused: boolean;
|
|
1096
1196
|
key_storage_mode: KeyStorageMode;
|
|
@@ -1690,10 +1790,15 @@ export type ProjectDetailResponse = {
|
|
|
1690
1790
|
*/
|
|
1691
1791
|
export type ProjectEnvironment = {
|
|
1692
1792
|
/**
|
|
1693
|
-
* A promotion into this environment waits for
|
|
1694
|
-
*
|
|
1793
|
+
* A promotion into this environment waits for an approval before
|
|
1794
|
+
* anything changes at the store. `approvers` says who may give it.
|
|
1695
1795
|
*/
|
|
1696
1796
|
approval_required: boolean;
|
|
1797
|
+
/**
|
|
1798
|
+
* Who may approve or reject promotions into this environment. With no
|
|
1799
|
+
* role and no users, any project maintainer may.
|
|
1800
|
+
*/
|
|
1801
|
+
approvers: EnvironmentApprovers;
|
|
1697
1802
|
created_at: number;
|
|
1698
1803
|
id: string;
|
|
1699
1804
|
/**
|
|
@@ -2764,6 +2869,7 @@ export type UpdatePipelineRequest = {
|
|
|
2764
2869
|
*/
|
|
2765
2870
|
export type UpdateProjectEnvironmentRequest = {
|
|
2766
2871
|
approval_required?: boolean | null;
|
|
2872
|
+
approvers?: null | EnvironmentApproversInput;
|
|
2767
2873
|
name?: string | null;
|
|
2768
2874
|
position?: number | null;
|
|
2769
2875
|
rollout_policy?: null | ReleasePolicy;
|
|
@@ -5081,6 +5187,26 @@ export type ExportPipelineYamlResponses = {
|
|
|
5081
5187
|
200: ExportPipelineYamlResponse;
|
|
5082
5188
|
};
|
|
5083
5189
|
export type ExportPipelineYamlResponse2 = ExportPipelineYamlResponses[keyof ExportPipelineYamlResponses];
|
|
5190
|
+
export type ImportPipelineYamlData = {
|
|
5191
|
+
body: ImportPipelineYamlRequest;
|
|
5192
|
+
path?: never;
|
|
5193
|
+
query?: never;
|
|
5194
|
+
url: '/v1/pipelines/import-yaml';
|
|
5195
|
+
};
|
|
5196
|
+
export type ImportPipelineYamlErrors = {
|
|
5197
|
+
/**
|
|
5198
|
+
* The file is too large
|
|
5199
|
+
*/
|
|
5200
|
+
400: ApiError;
|
|
5201
|
+
};
|
|
5202
|
+
export type ImportPipelineYamlError = ImportPipelineYamlErrors[keyof ImportPipelineYamlErrors];
|
|
5203
|
+
export type ImportPipelineYamlResponses = {
|
|
5204
|
+
/**
|
|
5205
|
+
* The form settings, or why the file cannot become them
|
|
5206
|
+
*/
|
|
5207
|
+
200: ImportPipelineYamlResponse;
|
|
5208
|
+
};
|
|
5209
|
+
export type ImportPipelineYamlResponse2 = ImportPipelineYamlResponses[keyof ImportPipelineYamlResponses];
|
|
5084
5210
|
export type PlanPipelineData = {
|
|
5085
5211
|
body: PlanPipelineRequest;
|
|
5086
5212
|
path?: never;
|
|
@@ -6263,7 +6389,7 @@ export type ApprovePromotionData = {
|
|
|
6263
6389
|
};
|
|
6264
6390
|
export type ApprovePromotionErrors = {
|
|
6265
6391
|
/**
|
|
6266
|
-
*
|
|
6392
|
+
* Not one of the environment's approvers, or an API token
|
|
6267
6393
|
*/
|
|
6268
6394
|
403: ApiError;
|
|
6269
6395
|
/**
|
|
@@ -6307,7 +6433,7 @@ export type RejectPromotionData = {
|
|
|
6307
6433
|
};
|
|
6308
6434
|
export type RejectPromotionErrors = {
|
|
6309
6435
|
/**
|
|
6310
|
-
*
|
|
6436
|
+
* Not one of the environment's approvers, or an API token
|
|
6311
6437
|
*/
|
|
6312
6438
|
403: ApiError;
|
|
6313
6439
|
/**
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCreateProjectEnvironmentBody: v.ObjectSchema<{
|
|
3
3
|
readonly approval_required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4
|
+
readonly approvers: v.NullishSchema<v.ObjectSchema<{
|
|
5
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
6
|
+
readonly user_ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7
|
+
}, undefined>, undefined>;
|
|
4
8
|
readonly key: v.StringSchema<undefined>;
|
|
5
9
|
readonly name: v.StringSchema<undefined>;
|
|
6
10
|
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCreateProjectEnvironmentRequest: v.ObjectSchema<{
|
|
3
3
|
readonly approval_required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4
|
+
readonly approvers: v.NullishSchema<v.ObjectSchema<{
|
|
5
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
6
|
+
readonly user_ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7
|
+
}, undefined>, undefined>;
|
|
4
8
|
readonly key: v.StringSchema<undefined>;
|
|
5
9
|
readonly name: v.StringSchema<undefined>;
|
|
6
10
|
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
+
import { vEnvironmentApproversInput } from './v-environment-approvers-input.js';
|
|
3
4
|
import { vReleasePolicy } from './v-release-policy.js';
|
|
4
5
|
import { vReleaseStore } from './v-release-store.js';
|
|
5
6
|
export const vCreateProjectEnvironmentRequest = v.object({
|
|
6
7
|
approval_required: v.optional(v.boolean()),
|
|
8
|
+
approvers: v.nullish(vEnvironmentApproversInput),
|
|
7
9
|
key: v.string(),
|
|
8
10
|
name: v.string(),
|
|
9
11
|
rollout_policy: v.nullish(vReleasePolicy),
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
export declare const vCreateProjectEnvironmentResponse: v.ObjectSchema<{
|
|
3
3
|
readonly approval_required: v.BooleanSchema<undefined>;
|
|
4
|
+
readonly approvers: v.ObjectSchema<{
|
|
5
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
6
|
+
readonly users: v.ArraySchema<v.ObjectSchema<{
|
|
7
|
+
readonly email: v.StringSchema<undefined>;
|
|
8
|
+
readonly user_id: v.StringSchema<undefined>;
|
|
9
|
+
}, undefined>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
4
11
|
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
12
|
readonly id: v.StringSchema<undefined>;
|
|
6
13
|
readonly key: v.StringSchema<undefined>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vEnvironmentApproversInput: v.ObjectSchema<{
|
|
3
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
4
|
+
readonly user_ids: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5
|
+
}, undefined>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vApproverRole } from './v-approver-role.js';
|
|
4
|
+
export const vEnvironmentApproversInput = v.object({
|
|
5
|
+
role: v.nullish(vApproverRole),
|
|
6
|
+
user_ids: v.optional(v.array(v.string()))
|
|
7
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vEnvironmentApprovers: v.ObjectSchema<{
|
|
3
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
4
|
+
readonly users: v.ArraySchema<v.ObjectSchema<{
|
|
5
|
+
readonly email: v.StringSchema<undefined>;
|
|
6
|
+
readonly user_id: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined>, undefined>;
|
|
8
|
+
}, undefined>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vApproverRole } from './v-approver-role.js';
|
|
4
|
+
import { vEnvironmentApprover } from './v-environment-approver.js';
|
|
5
|
+
export const vEnvironmentApprovers = v.object({
|
|
6
|
+
role: v.nullish(vApproverRole),
|
|
7
|
+
users: v.array(vEnvironmentApprover)
|
|
8
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vImportPipelineYamlBody: v.ObjectSchema<{
|
|
3
|
+
readonly app_store: v.NullishSchema<v.ObjectSchema<{
|
|
4
|
+
readonly destination: v.OptionalSchema<v.PicklistSchema<["testflight", "app_store"], undefined>, undefined>;
|
|
5
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
6
|
+
readonly phased_release: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7
|
+
readonly release_notes: v.ArraySchema<v.ObjectSchema<{
|
|
8
|
+
readonly locale: v.StringSchema<undefined>;
|
|
9
|
+
readonly whats_new: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>, undefined>;
|
|
11
|
+
readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
12
|
+
readonly testflight_groups: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly uses_non_exempt_encryption: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
14
|
+
}, undefined>, undefined>;
|
|
15
|
+
readonly execution_config: v.NullishSchema<v.ObjectSchema<{
|
|
16
|
+
readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly build_number_offset: v.OptionalSchema<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>;
|
|
18
|
+
readonly commands: v.StrictObjectSchema<{
|
|
19
|
+
readonly build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly post_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly pre_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
readonly env: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
24
|
+
readonly key: v.StringSchema<undefined>;
|
|
25
|
+
readonly value: v.StringSchema<undefined>;
|
|
26
|
+
}, undefined>, undefined>, undefined>;
|
|
27
|
+
readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly isolation: v.OptionalSchema<v.PicklistSchema<["host", "vm"], undefined>, undefined>;
|
|
29
|
+
readonly platform_build_args: v.OptionalSchema<v.StrictObjectSchema<{
|
|
30
|
+
readonly android: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly ios: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
32
|
+
readonly macos: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
}, undefined>, undefined>;
|
|
34
|
+
readonly platform_commands: v.OptionalSchema<v.StrictObjectSchema<{
|
|
35
|
+
readonly android: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
36
|
+
readonly ios: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly macos: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
}, undefined>, undefined>;
|
|
39
|
+
readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
|
|
40
|
+
readonly runs_on: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
41
|
+
}, undefined>, undefined>;
|
|
42
|
+
readonly google_play: v.NullishSchema<v.StrictObjectSchema<{
|
|
43
|
+
readonly draft: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
44
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
|
+
readonly in_app_update_priority: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
46
|
+
readonly package_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
47
|
+
readonly release_notes: v.OptionalSchema<v.PicklistSchema<["none", "changelog", "repo_files"], undefined>, undefined>;
|
|
48
|
+
readonly release_notes_dir: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
+
readonly release_notes_locale: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly rollout_percent: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
51
|
+
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
52
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
53
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
54
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
55
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
56
|
+
}, undefined>, undefined>;
|
|
57
|
+
readonly service_account_secret: v.StringSchema<undefined>;
|
|
58
|
+
readonly track: v.StringSchema<undefined>;
|
|
59
|
+
readonly upload_mapping: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
60
|
+
}, undefined>, undefined>;
|
|
61
|
+
readonly trigger_config: v.NullishSchema<v.ObjectSchema<{
|
|
62
|
+
readonly branches: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
readonly events: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
64
|
+
readonly paths: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
65
|
+
readonly paths_ignore: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
66
|
+
readonly schedules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
67
|
+
readonly branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
+
readonly cron: v.StringSchema<undefined>;
|
|
69
|
+
}, undefined>, undefined>, undefined>;
|
|
70
|
+
readonly tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
71
|
+
}, undefined>, undefined>;
|
|
72
|
+
readonly yaml: v.StringSchema<undefined>;
|
|
73
|
+
}, undefined>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vImportPipelineYamlRequest: v.ObjectSchema<{
|
|
3
|
+
readonly app_store: v.NullishSchema<v.ObjectSchema<{
|
|
4
|
+
readonly destination: v.OptionalSchema<v.PicklistSchema<["testflight", "app_store"], undefined>, undefined>;
|
|
5
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
6
|
+
readonly phased_release: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7
|
+
readonly release_notes: v.ArraySchema<v.ObjectSchema<{
|
|
8
|
+
readonly locale: v.StringSchema<undefined>;
|
|
9
|
+
readonly whats_new: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>, undefined>;
|
|
11
|
+
readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
12
|
+
readonly testflight_groups: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly uses_non_exempt_encryption: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
14
|
+
}, undefined>, undefined>;
|
|
15
|
+
readonly execution_config: v.NullishSchema<v.ObjectSchema<{
|
|
16
|
+
readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly build_number_offset: v.OptionalSchema<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>;
|
|
18
|
+
readonly commands: v.StrictObjectSchema<{
|
|
19
|
+
readonly build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly post_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly pre_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
readonly env: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
24
|
+
readonly key: v.StringSchema<undefined>;
|
|
25
|
+
readonly value: v.StringSchema<undefined>;
|
|
26
|
+
}, undefined>, undefined>, undefined>;
|
|
27
|
+
readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly isolation: v.OptionalSchema<v.PicklistSchema<["host", "vm"], undefined>, undefined>;
|
|
29
|
+
readonly platform_build_args: v.OptionalSchema<v.StrictObjectSchema<{
|
|
30
|
+
readonly android: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly ios: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
32
|
+
readonly macos: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
}, undefined>, undefined>;
|
|
34
|
+
readonly platform_commands: v.OptionalSchema<v.StrictObjectSchema<{
|
|
35
|
+
readonly android: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
36
|
+
readonly ios: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly macos: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
}, undefined>, undefined>;
|
|
39
|
+
readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
|
|
40
|
+
readonly runs_on: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
41
|
+
}, undefined>, undefined>;
|
|
42
|
+
readonly google_play: v.NullishSchema<v.StrictObjectSchema<{
|
|
43
|
+
readonly draft: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
44
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
|
+
readonly in_app_update_priority: v.NullishSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 2147483647, "Invalid value: Expected int32 to be <= 2147483647">]>, undefined>;
|
|
46
|
+
readonly package_name: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
47
|
+
readonly release_notes: v.OptionalSchema<v.PicklistSchema<["none", "changelog", "repo_files"], undefined>, undefined>;
|
|
48
|
+
readonly release_notes_dir: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
+
readonly release_notes_locale: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly rollout_percent: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
51
|
+
readonly rollout_policy: v.NullishSchema<v.ObjectSchema<{
|
|
52
|
+
readonly approval: v.OptionalSchema<v.PicklistSchema<["none", "before_upload", "before_production"], undefined>, undefined>;
|
|
53
|
+
readonly crash_rate_threshold: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
54
|
+
readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
55
|
+
readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
56
|
+
}, undefined>, undefined>;
|
|
57
|
+
readonly service_account_secret: v.StringSchema<undefined>;
|
|
58
|
+
readonly track: v.StringSchema<undefined>;
|
|
59
|
+
readonly upload_mapping: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
60
|
+
}, undefined>, undefined>;
|
|
61
|
+
readonly trigger_config: v.NullishSchema<v.ObjectSchema<{
|
|
62
|
+
readonly branches: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
readonly events: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
64
|
+
readonly paths: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
65
|
+
readonly paths_ignore: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
66
|
+
readonly schedules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
67
|
+
readonly branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
+
readonly cron: v.StringSchema<undefined>;
|
|
69
|
+
}, undefined>, undefined>, undefined>;
|
|
70
|
+
readonly tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
71
|
+
}, undefined>, undefined>;
|
|
72
|
+
readonly yaml: v.StringSchema<undefined>;
|
|
73
|
+
}, undefined>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vAppStorePublishConfig } from './v-app-store-publish-config.js';
|
|
4
|
+
import { vGooglePlayPublishConfig } from './v-google-play-publish-config.js';
|
|
5
|
+
import { vPipelineExecutionConfig } from './v-pipeline-execution-config.js';
|
|
6
|
+
import { vTriggerConfig } from './v-trigger-config.js';
|
|
7
|
+
export const vImportPipelineYamlRequest = v.object({
|
|
8
|
+
app_store: v.nullish(vAppStorePublishConfig),
|
|
9
|
+
execution_config: v.nullish(vPipelineExecutionConfig),
|
|
10
|
+
google_play: v.nullish(vGooglePlayPublishConfig),
|
|
11
|
+
trigger_config: v.nullish(vTriggerConfig),
|
|
12
|
+
yaml: v.string()
|
|
13
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vImportPipelineYamlResponse: v.ObjectSchema<{
|
|
3
|
+
readonly errors: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly execution_config: v.NullishSchema<v.ObjectSchema<{
|
|
5
|
+
readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly build_number_offset: v.OptionalSchema<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 commands: v.StrictObjectSchema<{
|
|
8
|
+
readonly build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly post_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly pre_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
readonly env: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
13
|
+
readonly key: v.StringSchema<undefined>;
|
|
14
|
+
readonly value: v.StringSchema<undefined>;
|
|
15
|
+
}, undefined>, undefined>, undefined>;
|
|
16
|
+
readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly isolation: v.OptionalSchema<v.PicklistSchema<["host", "vm"], undefined>, undefined>;
|
|
18
|
+
readonly platform_build_args: v.OptionalSchema<v.StrictObjectSchema<{
|
|
19
|
+
readonly android: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly ios: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly macos: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
+
}, undefined>, undefined>;
|
|
23
|
+
readonly platform_commands: v.OptionalSchema<v.StrictObjectSchema<{
|
|
24
|
+
readonly android: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly ios: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
+
readonly macos: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
}, undefined>, undefined>;
|
|
28
|
+
readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
|
|
29
|
+
readonly runs_on: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
30
|
+
}, undefined>, undefined>;
|
|
31
|
+
readonly google_play: v.NullishSchema<v.ObjectSchema<{
|
|
32
|
+
readonly draft: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
33
|
+
readonly rollout_percent: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
34
|
+
readonly track: v.StringSchema<undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
readonly notes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly representable: v.BooleanSchema<undefined>;
|
|
38
|
+
readonly testflight_group: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
readonly trigger_config: v.NullishSchema<v.ObjectSchema<{
|
|
40
|
+
readonly branches: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
+
readonly events: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
42
|
+
readonly paths: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
43
|
+
readonly paths_ignore: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
44
|
+
readonly schedules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
45
|
+
readonly branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
46
|
+
readonly cron: v.StringSchema<undefined>;
|
|
47
|
+
}, undefined>, undefined>, undefined>;
|
|
48
|
+
readonly tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
49
|
+
}, undefined>, undefined>;
|
|
50
|
+
readonly unsupported: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
readonly valid: v.BooleanSchema<undefined>;
|
|
52
|
+
}, undefined>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Generated by scripts/generate-valibot-modules.ts. Do not edit.
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { vImportedPlayPublish } from './v-imported-play-publish.js';
|
|
4
|
+
import { vPipelineExecutionConfig } from './v-pipeline-execution-config.js';
|
|
5
|
+
import { vTriggerConfig } from './v-trigger-config.js';
|
|
6
|
+
export const vImportPipelineYamlResponse = v.object({
|
|
7
|
+
errors: v.array(v.string()),
|
|
8
|
+
execution_config: v.nullish(vPipelineExecutionConfig),
|
|
9
|
+
google_play: v.nullish(vImportedPlayPublish),
|
|
10
|
+
notes: v.array(v.string()),
|
|
11
|
+
representable: v.boolean(),
|
|
12
|
+
testflight_group: v.nullish(v.string()),
|
|
13
|
+
trigger_config: v.nullish(vTriggerConfig),
|
|
14
|
+
unsupported: v.array(v.string()),
|
|
15
|
+
valid: v.boolean()
|
|
16
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vImportPipelineYamlResponse2: v.ObjectSchema<{
|
|
3
|
+
readonly errors: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
4
|
+
readonly execution_config: v.NullishSchema<v.ObjectSchema<{
|
|
5
|
+
readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly build_number_offset: v.OptionalSchema<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 commands: v.StrictObjectSchema<{
|
|
8
|
+
readonly build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly post_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
readonly pre_build: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
readonly env: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
13
|
+
readonly key: v.StringSchema<undefined>;
|
|
14
|
+
readonly value: v.StringSchema<undefined>;
|
|
15
|
+
}, undefined>, undefined>, undefined>;
|
|
16
|
+
readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly isolation: v.OptionalSchema<v.PicklistSchema<["host", "vm"], undefined>, undefined>;
|
|
18
|
+
readonly platform_build_args: v.OptionalSchema<v.StrictObjectSchema<{
|
|
19
|
+
readonly android: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly ios: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly macos: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
+
}, undefined>, undefined>;
|
|
23
|
+
readonly platform_commands: v.OptionalSchema<v.StrictObjectSchema<{
|
|
24
|
+
readonly android: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly ios: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
+
readonly macos: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
}, undefined>, undefined>;
|
|
28
|
+
readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
|
|
29
|
+
readonly runs_on: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
30
|
+
}, undefined>, undefined>;
|
|
31
|
+
readonly google_play: v.NullishSchema<v.ObjectSchema<{
|
|
32
|
+
readonly draft: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
33
|
+
readonly rollout_percent: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
34
|
+
readonly track: v.StringSchema<undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
readonly notes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly representable: v.BooleanSchema<undefined>;
|
|
38
|
+
readonly testflight_group: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
readonly trigger_config: v.NullishSchema<v.ObjectSchema<{
|
|
40
|
+
readonly branches: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
+
readonly events: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
42
|
+
readonly paths: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
43
|
+
readonly paths_ignore: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
44
|
+
readonly schedules: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
45
|
+
readonly branch: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
46
|
+
readonly cron: v.StringSchema<undefined>;
|
|
47
|
+
}, undefined>, undefined>, undefined>;
|
|
48
|
+
readonly tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
49
|
+
}, undefined>, undefined>;
|
|
50
|
+
readonly unsupported: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
readonly valid: v.BooleanSchema<undefined>;
|
|
52
|
+
}, undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const vImportedPlayPublish: v.ObjectSchema<{
|
|
3
|
+
readonly draft: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4
|
+
readonly rollout_percent: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
5
|
+
readonly track: v.StringSchema<undefined>;
|
|
6
|
+
}, undefined>;
|
|
@@ -2,6 +2,13 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const vListProjectEnvironmentsResponse: v.ObjectSchema<{
|
|
3
3
|
readonly environments: v.ArraySchema<v.ObjectSchema<{
|
|
4
4
|
readonly approval_required: v.BooleanSchema<undefined>;
|
|
5
|
+
readonly approvers: v.ObjectSchema<{
|
|
6
|
+
readonly role: v.NullishSchema<v.PicklistSchema<["maintainer", "developer"], undefined>, undefined>;
|
|
7
|
+
readonly users: v.ArraySchema<v.ObjectSchema<{
|
|
8
|
+
readonly email: v.StringSchema<undefined>;
|
|
9
|
+
readonly user_id: v.StringSchema<undefined>;
|
|
10
|
+
}, undefined>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
5
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">]>;
|
|
6
13
|
readonly id: v.StringSchema<undefined>;
|
|
7
14
|
readonly key: v.StringSchema<undefined>;
|