@oore/client 0.17.0 → 0.19.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.
Files changed (39) hide show
  1. package/dist/generated/@tanstack/react-query.gen.d.ts +60 -1
  2. package/dist/generated/@tanstack/react-query.gen.js +57 -1
  3. package/dist/generated/msw.gen.d.ts +27 -1
  4. package/dist/generated/msw.gen.js +46 -0
  5. package/dist/generated/sdk.gen.d.ts +19 -1
  6. package/dist/generated/sdk.gen.js +32 -0
  7. package/dist/generated/types.gen.d.ts +167 -0
  8. package/dist/generated/valibot/v-artifact-size-comparison.d.ts +10 -0
  9. package/dist/generated/valibot/v-artifact-size-comparison.js +24 -0
  10. package/dist/generated/valibot/v-build-size-baseline.d.ts +6 -0
  11. package/dist/generated/valibot/v-build-size-baseline.js +11 -0
  12. package/dist/generated/valibot/v-build-size-report.d.ts +18 -0
  13. package/dist/generated/valibot/v-build-size-report.js +9 -0
  14. package/dist/generated/valibot/v-get-build-size-report-path.d.ts +4 -0
  15. package/dist/generated/valibot/v-get-build-size-report-path.js +5 -0
  16. package/dist/generated/valibot/v-get-build-size-report-response.d.ts +18 -0
  17. package/dist/generated/valibot/v-get-build-size-report-response.js +3 -0
  18. package/dist/generated/valibot/v-pipeline-plan-preview.d.ts +20 -0
  19. package/dist/generated/valibot/v-pipeline-plan-preview.js +20 -0
  20. package/dist/generated/valibot/v-pipeline-plan-step.d.ts +10 -0
  21. package/dist/generated/valibot/v-pipeline-plan-step.js +13 -0
  22. package/dist/generated/valibot/v-plan-pipeline-body.d.ts +34 -0
  23. package/dist/generated/valibot/v-plan-pipeline-body.js +3 -0
  24. package/dist/generated/valibot/v-plan-pipeline-request.d.ts +34 -0
  25. package/dist/generated/valibot/v-plan-pipeline-request.js +11 -0
  26. package/dist/generated/valibot/v-plan-pipeline-response.d.ts +28 -0
  27. package/dist/generated/valibot/v-plan-pipeline-response.js +13 -0
  28. package/dist/generated/valibot/v-plan-pipeline-response2.d.ts +28 -0
  29. package/dist/generated/valibot/v-plan-pipeline-response2.js +3 -0
  30. package/dist/generated/valibot/v-step-phase.d.ts +2 -0
  31. package/dist/generated/valibot/v-step-phase.js +7 -0
  32. package/dist/msw.d.ts +2 -2
  33. package/dist/msw.js +1 -1
  34. package/dist/react-query.d.ts +1 -1
  35. package/dist/react-query.js +1 -1
  36. package/dist/valibot.d.ts +12 -0
  37. package/dist/valibot.js +12 -0
  38. package/openapi/openapi.json +427 -0
  39. package/package.json +1 -1
@@ -170,6 +170,24 @@ export type ArtifactInstallLinkResponse = {
170
170
  platform: ArtifactInstallPlatform;
171
171
  };
172
172
  export type ArtifactInstallPlatform = 'android' | 'ios';
173
+ /**
174
+ * One artifact's size, and its change from the matching baseline artifact.
175
+ */
176
+ export type ArtifactSizeComparison = {
177
+ artifact_id: string;
178
+ artifact_type: ArtifactType;
179
+ /**
180
+ * Name of the baseline artifact this one was matched with.
181
+ */
182
+ baseline_name?: string | null;
183
+ baseline_size_bytes?: number | null;
184
+ /**
185
+ * `size_bytes - baseline_size_bytes`; absent when nothing matched.
186
+ */
187
+ delta_bytes?: number | null;
188
+ name: string;
189
+ size_bytes: number;
190
+ };
173
191
  export type ArtifactStorageProvider = 'disabled' | 'local' | 's3' | 'r2';
174
192
  export type ArtifactStorageSettings = {
175
193
  has_access_key_id: boolean;
@@ -447,6 +465,23 @@ export type BuildQueueSnapshot = {
447
465
  */
448
466
  waiting: number;
449
467
  };
468
+ /**
469
+ * The earlier build a size report compares against.
470
+ */
471
+ export type BuildSizeBaseline = {
472
+ branch: string;
473
+ build_id: string;
474
+ build_number: number;
475
+ };
476
+ export type BuildSizeReport = {
477
+ artifacts: Array<ArtifactSizeComparison>;
478
+ /**
479
+ * Branch the build is compared with: a pull request's target branch,
480
+ * otherwise the project's default branch. Absent when neither is known.
481
+ */
482
+ base_branch?: string | null;
483
+ baseline?: null | BuildSizeBaseline;
484
+ };
450
485
  export type BuildStatus = 'queued' | 'scheduled' | 'assigned' | 'running' | 'succeeded' | 'failed' | 'canceled' | 'timed_out' | 'expired';
451
486
  export type BuildTestFailure = {
452
487
  duration_ms?: number | null;
@@ -1466,6 +1501,88 @@ export type PipelineIosSigningResponse = {
1466
1501
  team_id?: string | null;
1467
1502
  updated_at?: number | null;
1468
1503
  };
1504
+ /**
1505
+ * A resolved plan. Environment values are left out; only their keys are listed.
1506
+ */
1507
+ export type PipelinePlanPreview = {
1508
+ artifact_patterns: Array<string>;
1509
+ build_number_offset: number;
1510
+ env_keys: Array<string>;
1511
+ flutter_version?: string | null;
1512
+ isolation: BuildIsolation;
1513
+ platforms: Array<BuildPlatform>;
1514
+ runs_on: Array<string>;
1515
+ steps: Array<PipelinePlanStep>;
1516
+ workflow?: string | null;
1517
+ };
1518
+ /**
1519
+ * One command a build runs. Secret references stay as written.
1520
+ */
1521
+ export type PipelinePlanStep = {
1522
+ flavor?: string | null;
1523
+ name: string;
1524
+ phase: StepPhase;
1525
+ platform?: null | BuildPlatform;
1526
+ run: string;
1527
+ /**
1528
+ * Where the command comes from in the configuration.
1529
+ */
1530
+ source: string;
1531
+ /**
1532
+ * Test report the step writes, when it declares one.
1533
+ */
1534
+ test_report?: string | null;
1535
+ };
1536
+ /**
1537
+ * What to plan: a repository file or the pipeline's form settings, never both.
1538
+ */
1539
+ export type PlanPipelineRequest = {
1540
+ /**
1541
+ * Google Play upload is on, so the default Android build also produces an
1542
+ * App Bundle. Applies to form settings and version 1 files.
1543
+ */
1544
+ build_play_bundle?: boolean | null;
1545
+ execution_config?: null | PipelineExecutionConfig;
1546
+ /**
1547
+ * Plan only these platforms, as a run that selects them would.
1548
+ */
1549
+ platforms?: Array<BuildPlatform> | null;
1550
+ /**
1551
+ * A `.oore.yaml` of either version.
1552
+ */
1553
+ repository_yaml?: string | null;
1554
+ /**
1555
+ * The version 2 workflow to plan. Defaults to the file's first workflow.
1556
+ */
1557
+ workflow?: string | null;
1558
+ };
1559
+ export type PlanPipelineResponse = {
1560
+ /**
1561
+ * Platforms the planned workflow builds before any platform selection.
1562
+ */
1563
+ available_platforms: Array<BuildPlatform>;
1564
+ /**
1565
+ * The errors `oore pipeline validate` reports, one per entry.
1566
+ */
1567
+ errors: Array<string>;
1568
+ /**
1569
+ * Settings the file declares that this release does not act on yet.
1570
+ */
1571
+ notices: Array<string>;
1572
+ plan?: null | PipelinePlanPreview;
1573
+ /**
1574
+ * No errors: `plan` is set.
1575
+ */
1576
+ valid: boolean;
1577
+ /**
1578
+ * `.oore.yaml` version, or none for form settings and unparseable files.
1579
+ */
1580
+ version?: number | null;
1581
+ /**
1582
+ * Workflows the file defines, in file order. Empty without workflows.
1583
+ */
1584
+ workflows: Array<string>;
1585
+ };
1469
1586
  export type PlatformBuildArgs = {
1470
1587
  android: Array<string>;
1471
1588
  ios: Array<string>;
@@ -2251,6 +2368,11 @@ export type SourceRepository = IntegrationRepository & {
2251
2368
  integration_id: string;
2252
2369
  provider: ScmProvider;
2253
2370
  };
2371
+ /**
2372
+ * Where a step sits relative to the platform builds. Android signing and the
2373
+ * iOS export seam apply to `build` steps only.
2374
+ */
2375
+ export type StepPhase = 'pre_build' | 'build' | 'post_build';
2254
2376
  export type StepResult = {
2255
2377
  duration_ms: number;
2256
2378
  exit_code?: number | null;
@@ -4018,6 +4140,31 @@ export type RetryBuildStepResponses = {
4018
4140
  201: RerunBuildResponse;
4019
4141
  };
4020
4142
  export type RetryBuildStepResponse = RetryBuildStepResponses[keyof RetryBuildStepResponses];
4143
+ export type GetBuildSizeReportData = {
4144
+ body?: never;
4145
+ path: {
4146
+ /**
4147
+ * Build ID
4148
+ */
4149
+ build_id: string;
4150
+ };
4151
+ query?: never;
4152
+ url: '/v1/builds/{build_id}/sizes';
4153
+ };
4154
+ export type GetBuildSizeReportErrors = {
4155
+ /**
4156
+ * Build not found
4157
+ */
4158
+ 404: ApiError;
4159
+ };
4160
+ export type GetBuildSizeReportError = GetBuildSizeReportErrors[keyof GetBuildSizeReportErrors];
4161
+ export type GetBuildSizeReportResponses = {
4162
+ /**
4163
+ * Artifact sizes and changes
4164
+ */
4165
+ 200: BuildSizeReport;
4166
+ };
4167
+ export type GetBuildSizeReportResponse = GetBuildSizeReportResponses[keyof GetBuildSizeReportResponses];
4021
4168
  export type CreateStreamTokenData = {
4022
4169
  body?: never;
4023
4170
  path: {
@@ -4792,6 +4939,26 @@ export type MarkOperatorIncidentReadResponses = {
4792
4939
  200: OperatorIncident;
4793
4940
  };
4794
4941
  export type MarkOperatorIncidentReadResponse = MarkOperatorIncidentReadResponses[keyof MarkOperatorIncidentReadResponses];
4942
+ export type PlanPipelineData = {
4943
+ body: PlanPipelineRequest;
4944
+ path?: never;
4945
+ query?: never;
4946
+ url: '/v1/pipelines/plan';
4947
+ };
4948
+ export type PlanPipelineErrors = {
4949
+ /**
4950
+ * Neither or both sources given, or the file is too large
4951
+ */
4952
+ 400: ApiError;
4953
+ };
4954
+ export type PlanPipelineError = PlanPipelineErrors[keyof PlanPipelineErrors];
4955
+ export type PlanPipelineResponses = {
4956
+ /**
4957
+ * Plan or validation errors
4958
+ */
4959
+ 200: PlanPipelineResponse;
4960
+ };
4961
+ export type PlanPipelineResponse2 = PlanPipelineResponses[keyof PlanPipelineResponses];
4795
4962
  export type ValidatePipelineData = {
4796
4963
  body: ValidatePipelineRequest;
4797
4964
  path?: never;
@@ -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
+ });
@@ -0,0 +1,4 @@
1
+ import * as v from 'valibot';
2
+ export declare const vGetBuildSizeReportPath: v.ObjectSchema<{
3
+ readonly build_id: v.StringSchema<undefined>;
4
+ }, undefined>;
@@ -0,0 +1,5 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ export const vGetBuildSizeReportPath = v.object({
4
+ build_id: v.string()
5
+ });
@@ -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>;
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import { vBuildSizeReport } from './v-build-size-report.js';
3
+ export const vGetBuildSizeReportResponse = vBuildSizeReport;
@@ -0,0 +1,20 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPipelinePlanPreview: v.ObjectSchema<{
3
+ readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4
+ readonly build_number_offset: 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 env_keys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6
+ readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
7
+ readonly isolation: v.PicklistSchema<["host", "vm"], undefined>;
8
+ readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
9
+ readonly runs_on: v.ArraySchema<v.StringSchema<undefined>, undefined>;
10
+ readonly steps: v.ArraySchema<v.ObjectSchema<{
11
+ readonly flavor: v.NullishSchema<v.StringSchema<undefined>, undefined>;
12
+ readonly name: v.StringSchema<undefined>;
13
+ readonly phase: v.PicklistSchema<["pre_build", "build", "post_build"], undefined>;
14
+ readonly platform: v.NullishSchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
15
+ readonly run: v.StringSchema<undefined>;
16
+ readonly source: v.StringSchema<undefined>;
17
+ readonly test_report: v.NullishSchema<v.StringSchema<undefined>, undefined>;
18
+ }, undefined>, undefined>;
19
+ readonly workflow: v.NullishSchema<v.StringSchema<undefined>, undefined>;
20
+ }, undefined>;
@@ -0,0 +1,20 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ import { vBuildIsolation } from './v-build-isolation.js';
4
+ import { vBuildPlatform } from './v-build-platform.js';
5
+ import { vPipelinePlanStep } from './v-pipeline-plan-step.js';
6
+ export const vPipelinePlanPreview = v.object({
7
+ artifact_patterns: v.array(v.string()),
8
+ build_number_offset: 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
+ env_keys: v.array(v.string()),
14
+ flutter_version: v.nullish(v.string()),
15
+ isolation: vBuildIsolation,
16
+ platforms: v.array(vBuildPlatform),
17
+ runs_on: v.array(v.string()),
18
+ steps: v.array(vPipelinePlanStep),
19
+ workflow: v.nullish(v.string())
20
+ });
@@ -0,0 +1,10 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPipelinePlanStep: v.ObjectSchema<{
3
+ readonly flavor: v.NullishSchema<v.StringSchema<undefined>, undefined>;
4
+ readonly name: v.StringSchema<undefined>;
5
+ readonly phase: v.PicklistSchema<["pre_build", "build", "post_build"], undefined>;
6
+ readonly platform: v.NullishSchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
7
+ readonly run: v.StringSchema<undefined>;
8
+ readonly source: v.StringSchema<undefined>;
9
+ readonly test_report: v.NullishSchema<v.StringSchema<undefined>, undefined>;
10
+ }, undefined>;
@@ -0,0 +1,13 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ import { vBuildPlatform } from './v-build-platform.js';
4
+ import { vStepPhase } from './v-step-phase.js';
5
+ export const vPipelinePlanStep = v.object({
6
+ flavor: v.nullish(v.string()),
7
+ name: v.string(),
8
+ phase: vStepPhase,
9
+ platform: v.nullish(vBuildPlatform),
10
+ run: v.string(),
11
+ source: v.string(),
12
+ test_report: v.nullish(v.string())
13
+ });
@@ -0,0 +1,34 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPlanPipelineBody: v.ObjectSchema<{
3
+ readonly build_play_bundle: v.NullishSchema<v.BooleanSchema<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 platforms: v.NullishSchema<v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>, undefined>;
32
+ readonly repository_yaml: v.NullishSchema<v.StringSchema<undefined>, undefined>;
33
+ readonly workflow: v.NullishSchema<v.StringSchema<undefined>, undefined>;
34
+ }, undefined>;
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import { vPlanPipelineRequest } from './v-plan-pipeline-request.js';
3
+ export const vPlanPipelineBody = vPlanPipelineRequest;
@@ -0,0 +1,34 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPlanPipelineRequest: v.ObjectSchema<{
3
+ readonly build_play_bundle: v.NullishSchema<v.BooleanSchema<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 platforms: v.NullishSchema<v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>, undefined>;
32
+ readonly repository_yaml: v.NullishSchema<v.StringSchema<undefined>, undefined>;
33
+ readonly workflow: v.NullishSchema<v.StringSchema<undefined>, undefined>;
34
+ }, undefined>;
@@ -0,0 +1,11 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ import { vBuildPlatform } from './v-build-platform.js';
4
+ import { vPipelineExecutionConfig } from './v-pipeline-execution-config.js';
5
+ export const vPlanPipelineRequest = v.object({
6
+ build_play_bundle: v.nullish(v.boolean()),
7
+ execution_config: v.nullish(vPipelineExecutionConfig),
8
+ platforms: v.nullish(v.array(vBuildPlatform)),
9
+ repository_yaml: v.nullish(v.string()),
10
+ workflow: v.nullish(v.string())
11
+ });
@@ -0,0 +1,28 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPlanPipelineResponse: v.ObjectSchema<{
3
+ readonly available_platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
4
+ readonly errors: v.ArraySchema<v.StringSchema<undefined>, undefined>;
5
+ readonly notices: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6
+ readonly plan: v.NullishSchema<v.ObjectSchema<{
7
+ readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
8
+ readonly build_number_offset: 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">]>;
9
+ readonly env_keys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
10
+ readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
11
+ readonly isolation: v.PicklistSchema<["host", "vm"], undefined>;
12
+ readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
13
+ readonly runs_on: v.ArraySchema<v.StringSchema<undefined>, undefined>;
14
+ readonly steps: v.ArraySchema<v.ObjectSchema<{
15
+ readonly flavor: v.NullishSchema<v.StringSchema<undefined>, undefined>;
16
+ readonly name: v.StringSchema<undefined>;
17
+ readonly phase: v.PicklistSchema<["pre_build", "build", "post_build"], undefined>;
18
+ readonly platform: v.NullishSchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
19
+ readonly run: v.StringSchema<undefined>;
20
+ readonly source: v.StringSchema<undefined>;
21
+ readonly test_report: v.NullishSchema<v.StringSchema<undefined>, undefined>;
22
+ }, undefined>, undefined>;
23
+ readonly workflow: v.NullishSchema<v.StringSchema<undefined>, undefined>;
24
+ }, undefined>, undefined>;
25
+ readonly valid: v.BooleanSchema<undefined>;
26
+ readonly version: 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>;
27
+ readonly workflows: v.ArraySchema<v.StringSchema<undefined>, undefined>;
28
+ }, undefined>;
@@ -0,0 +1,13 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ import { vBuildPlatform } from './v-build-platform.js';
4
+ import { vPipelinePlanPreview } from './v-pipeline-plan-preview.js';
5
+ export const vPlanPipelineResponse = v.object({
6
+ available_platforms: v.array(vBuildPlatform),
7
+ errors: v.array(v.string()),
8
+ notices: v.array(v.string()),
9
+ plan: v.nullish(vPipelinePlanPreview),
10
+ valid: v.boolean(),
11
+ version: v.nullish(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(2147483647, 'Invalid value: Expected int32 to be <= 2147483647'))),
12
+ workflows: v.array(v.string())
13
+ });
@@ -0,0 +1,28 @@
1
+ import * as v from 'valibot';
2
+ export declare const vPlanPipelineResponse2: v.ObjectSchema<{
3
+ readonly available_platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
4
+ readonly errors: v.ArraySchema<v.StringSchema<undefined>, undefined>;
5
+ readonly notices: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6
+ readonly plan: v.NullishSchema<v.ObjectSchema<{
7
+ readonly artifact_patterns: v.ArraySchema<v.StringSchema<undefined>, undefined>;
8
+ readonly build_number_offset: 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">]>;
9
+ readonly env_keys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
10
+ readonly flutter_version: v.NullishSchema<v.StringSchema<undefined>, undefined>;
11
+ readonly isolation: v.PicklistSchema<["host", "vm"], undefined>;
12
+ readonly platforms: v.ArraySchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
13
+ readonly runs_on: v.ArraySchema<v.StringSchema<undefined>, undefined>;
14
+ readonly steps: v.ArraySchema<v.ObjectSchema<{
15
+ readonly flavor: v.NullishSchema<v.StringSchema<undefined>, undefined>;
16
+ readonly name: v.StringSchema<undefined>;
17
+ readonly phase: v.PicklistSchema<["pre_build", "build", "post_build"], undefined>;
18
+ readonly platform: v.NullishSchema<v.PicklistSchema<["android", "ios", "macos"], undefined>, undefined>;
19
+ readonly run: v.StringSchema<undefined>;
20
+ readonly source: v.StringSchema<undefined>;
21
+ readonly test_report: v.NullishSchema<v.StringSchema<undefined>, undefined>;
22
+ }, undefined>, undefined>;
23
+ readonly workflow: v.NullishSchema<v.StringSchema<undefined>, undefined>;
24
+ }, undefined>, undefined>;
25
+ readonly valid: v.BooleanSchema<undefined>;
26
+ readonly version: 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>;
27
+ readonly workflows: v.ArraySchema<v.StringSchema<undefined>, undefined>;
28
+ }, undefined>;
@@ -0,0 +1,3 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import { vPlanPipelineResponse } from './v-plan-pipeline-response.js';
3
+ export const vPlanPipelineResponse2 = vPlanPipelineResponse;
@@ -0,0 +1,2 @@
1
+ import * as v from 'valibot';
2
+ export declare const vStepPhase: v.PicklistSchema<["pre_build", "build", "post_build"], undefined>;
@@ -0,0 +1,7 @@
1
+ // Generated by scripts/generate-valibot-modules.ts. Do not edit.
2
+ import * as v from 'valibot';
3
+ export const vStepPhase = v.picklist([
4
+ 'pre_build',
5
+ 'build',
6
+ 'post_build'
7
+ ]);