@oore/client 0.24.0 → 0.25.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 +27 -1
- package/dist/generated/@tanstack/react-query.gen.js +34 -1
- package/dist/generated/msw.gen.d.ts +13 -1
- package/dist/generated/msw.gen.js +23 -0
- package/dist/generated/sdk.gen.d.ts +12 -1
- package/dist/generated/sdk.gen.js +20 -0
- package/dist/generated/types.gen.d.ts +79 -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/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 +5 -0
- package/dist/valibot.js +5 -0
- package/openapi/openapi.json +212 -0
- package/package.json +1 -1
package/dist/valibot.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export { vGooglePlayCredentialsTestRequest } from './generated/valibot/v-google-
|
|
|
91
91
|
export { vGooglePlayCredentialsTestResponse } from './generated/valibot/v-google-play-credentials-test-response.js';
|
|
92
92
|
export { vGooglePlayReleaseNotesSource } from './generated/valibot/v-google-play-release-notes-source.js';
|
|
93
93
|
export { vHealthResponse } from './generated/valibot/v-health-response.js';
|
|
94
|
+
export { vImportedPlayPublish } from './generated/valibot/v-imported-play-publish.js';
|
|
94
95
|
export { vIntegrationAuthMode } from './generated/valibot/v-integration-auth-mode.js';
|
|
95
96
|
export { vGitLabStartRequest } from './generated/valibot/v-git-lab-start-request.js';
|
|
96
97
|
export { vIntegrationInstallation } from './generated/valibot/v-integration-installation.js';
|
|
@@ -298,6 +299,8 @@ export { vBuildTestResultsResponse } from './generated/valibot/v-build-test-resu
|
|
|
298
299
|
export { vTriggerConfig } from './generated/valibot/v-trigger-config.js';
|
|
299
300
|
export { vCreatePipelineRequest } from './generated/valibot/v-create-pipeline-request.js';
|
|
300
301
|
export { vExportPipelineYamlRequest } from './generated/valibot/v-export-pipeline-yaml-request.js';
|
|
302
|
+
export { vImportPipelineYamlRequest } from './generated/valibot/v-import-pipeline-yaml-request.js';
|
|
303
|
+
export { vImportPipelineYamlResponse } from './generated/valibot/v-import-pipeline-yaml-response.js';
|
|
301
304
|
export { vPipeline } from './generated/valibot/v-pipeline.js';
|
|
302
305
|
export { vCreatePipelineResponse } from './generated/valibot/v-create-pipeline-response.js';
|
|
303
306
|
export { vListPipelinesResponse } from './generated/valibot/v-list-pipelines-response.js';
|
|
@@ -504,6 +507,8 @@ export { vMarkOperatorIncidentReadPath } from './generated/valibot/v-mark-operat
|
|
|
504
507
|
export { vMarkOperatorIncidentReadResponse } from './generated/valibot/v-mark-operator-incident-read-response.js';
|
|
505
508
|
export { vExportPipelineYamlBody } from './generated/valibot/v-export-pipeline-yaml-body.js';
|
|
506
509
|
export { vExportPipelineYamlResponse2 } from './generated/valibot/v-export-pipeline-yaml-response2.js';
|
|
510
|
+
export { vImportPipelineYamlBody } from './generated/valibot/v-import-pipeline-yaml-body.js';
|
|
511
|
+
export { vImportPipelineYamlResponse2 } from './generated/valibot/v-import-pipeline-yaml-response2.js';
|
|
507
512
|
export { vPlanPipelineBody } from './generated/valibot/v-plan-pipeline-body.js';
|
|
508
513
|
export { vPlanPipelineResponse2 } from './generated/valibot/v-plan-pipeline-response2.js';
|
|
509
514
|
export { vValidatePipelineBody } from './generated/valibot/v-validate-pipeline-body.js';
|
package/dist/valibot.js
CHANGED
|
@@ -92,6 +92,7 @@ export { vGooglePlayCredentialsTestRequest } from './generated/valibot/v-google-
|
|
|
92
92
|
export { vGooglePlayCredentialsTestResponse } from './generated/valibot/v-google-play-credentials-test-response.js';
|
|
93
93
|
export { vGooglePlayReleaseNotesSource } from './generated/valibot/v-google-play-release-notes-source.js';
|
|
94
94
|
export { vHealthResponse } from './generated/valibot/v-health-response.js';
|
|
95
|
+
export { vImportedPlayPublish } from './generated/valibot/v-imported-play-publish.js';
|
|
95
96
|
export { vIntegrationAuthMode } from './generated/valibot/v-integration-auth-mode.js';
|
|
96
97
|
export { vGitLabStartRequest } from './generated/valibot/v-git-lab-start-request.js';
|
|
97
98
|
export { vIntegrationInstallation } from './generated/valibot/v-integration-installation.js';
|
|
@@ -299,6 +300,8 @@ export { vBuildTestResultsResponse } from './generated/valibot/v-build-test-resu
|
|
|
299
300
|
export { vTriggerConfig } from './generated/valibot/v-trigger-config.js';
|
|
300
301
|
export { vCreatePipelineRequest } from './generated/valibot/v-create-pipeline-request.js';
|
|
301
302
|
export { vExportPipelineYamlRequest } from './generated/valibot/v-export-pipeline-yaml-request.js';
|
|
303
|
+
export { vImportPipelineYamlRequest } from './generated/valibot/v-import-pipeline-yaml-request.js';
|
|
304
|
+
export { vImportPipelineYamlResponse } from './generated/valibot/v-import-pipeline-yaml-response.js';
|
|
302
305
|
export { vPipeline } from './generated/valibot/v-pipeline.js';
|
|
303
306
|
export { vCreatePipelineResponse } from './generated/valibot/v-create-pipeline-response.js';
|
|
304
307
|
export { vListPipelinesResponse } from './generated/valibot/v-list-pipelines-response.js';
|
|
@@ -505,6 +508,8 @@ export { vMarkOperatorIncidentReadPath } from './generated/valibot/v-mark-operat
|
|
|
505
508
|
export { vMarkOperatorIncidentReadResponse } from './generated/valibot/v-mark-operator-incident-read-response.js';
|
|
506
509
|
export { vExportPipelineYamlBody } from './generated/valibot/v-export-pipeline-yaml-body.js';
|
|
507
510
|
export { vExportPipelineYamlResponse2 } from './generated/valibot/v-export-pipeline-yaml-response2.js';
|
|
511
|
+
export { vImportPipelineYamlBody } from './generated/valibot/v-import-pipeline-yaml-body.js';
|
|
512
|
+
export { vImportPipelineYamlResponse2 } from './generated/valibot/v-import-pipeline-yaml-response2.js';
|
|
508
513
|
export { vPlanPipelineBody } from './generated/valibot/v-plan-pipeline-body.js';
|
|
509
514
|
export { vPlanPipelineResponse2 } from './generated/valibot/v-plan-pipeline-response2.js';
|
|
510
515
|
export { vValidatePipelineBody } from './generated/valibot/v-validate-pipeline-body.js';
|
package/openapi/openapi.json
CHANGED
|
@@ -4604,6 +4604,53 @@
|
|
|
4604
4604
|
]
|
|
4605
4605
|
}
|
|
4606
4606
|
},
|
|
4607
|
+
"/v1/pipelines/import-yaml": {
|
|
4608
|
+
"post": {
|
|
4609
|
+
"tags": [
|
|
4610
|
+
"Pipelines"
|
|
4611
|
+
],
|
|
4612
|
+
"summary": "Import `.oore.yaml` into pipeline settings",
|
|
4613
|
+
"description": "Reads a `version: 2` `.oore.yaml` back into the pipeline's form\nsettings: the inverse of the export. The file is validated as\n`oore pipeline validate` does. Settings are returned only when the\nform can hold the whole file; exported again, they plan the same as\nthe file. Everything else is listed in `unsupported`. Nothing is\nsaved, and secret references stay as written.",
|
|
4614
|
+
"operationId": "import_pipeline_yaml",
|
|
4615
|
+
"requestBody": {
|
|
4616
|
+
"content": {
|
|
4617
|
+
"application/json": {
|
|
4618
|
+
"schema": {
|
|
4619
|
+
"$ref": "#/components/schemas/ImportPipelineYamlRequest"
|
|
4620
|
+
}
|
|
4621
|
+
}
|
|
4622
|
+
},
|
|
4623
|
+
"required": true
|
|
4624
|
+
},
|
|
4625
|
+
"responses": {
|
|
4626
|
+
"200": {
|
|
4627
|
+
"description": "The form settings, or why the file cannot become them",
|
|
4628
|
+
"content": {
|
|
4629
|
+
"application/json": {
|
|
4630
|
+
"schema": {
|
|
4631
|
+
"$ref": "#/components/schemas/ImportPipelineYamlResponse"
|
|
4632
|
+
}
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
},
|
|
4636
|
+
"400": {
|
|
4637
|
+
"description": "The file is too large",
|
|
4638
|
+
"content": {
|
|
4639
|
+
"application/json": {
|
|
4640
|
+
"schema": {
|
|
4641
|
+
"$ref": "#/components/schemas/ApiError"
|
|
4642
|
+
}
|
|
4643
|
+
}
|
|
4644
|
+
}
|
|
4645
|
+
}
|
|
4646
|
+
},
|
|
4647
|
+
"security": [
|
|
4648
|
+
{
|
|
4649
|
+
"bearer_auth": []
|
|
4650
|
+
}
|
|
4651
|
+
]
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4607
4654
|
"/v1/pipelines/plan": {
|
|
4608
4655
|
"post": {
|
|
4609
4656
|
"tags": [
|
|
@@ -16619,6 +16666,171 @@
|
|
|
16619
16666
|
}
|
|
16620
16667
|
}
|
|
16621
16668
|
},
|
|
16669
|
+
"ImportPipelineYamlRequest": {
|
|
16670
|
+
"type": "object",
|
|
16671
|
+
"description": "A `version: 2` `.oore.yaml` to read back into the pipeline editor's form,\nwith the settings the editor holds now.",
|
|
16672
|
+
"required": [
|
|
16673
|
+
"yaml"
|
|
16674
|
+
],
|
|
16675
|
+
"properties": {
|
|
16676
|
+
"app_store": {
|
|
16677
|
+
"oneOf": [
|
|
16678
|
+
{
|
|
16679
|
+
"type": "null"
|
|
16680
|
+
},
|
|
16681
|
+
{
|
|
16682
|
+
"$ref": "#/components/schemas/AppStorePublishConfig",
|
|
16683
|
+
"description": "The pipeline's App Store Connect settings. The file's\n`publish.testflight` must match them."
|
|
16684
|
+
}
|
|
16685
|
+
]
|
|
16686
|
+
},
|
|
16687
|
+
"execution_config": {
|
|
16688
|
+
"oneOf": [
|
|
16689
|
+
{
|
|
16690
|
+
"type": "null"
|
|
16691
|
+
},
|
|
16692
|
+
{
|
|
16693
|
+
"$ref": "#/components/schemas/PipelineExecutionConfig",
|
|
16694
|
+
"description": "The form settings the editor holds now. They decide between\nequivalent ways of holding the file: the pipeline's Build commands\n(which the file runs as steps after the targets), build arguments or\na build command override."
|
|
16695
|
+
}
|
|
16696
|
+
]
|
|
16697
|
+
},
|
|
16698
|
+
"google_play": {
|
|
16699
|
+
"oneOf": [
|
|
16700
|
+
{
|
|
16701
|
+
"type": "null"
|
|
16702
|
+
},
|
|
16703
|
+
{
|
|
16704
|
+
"$ref": "#/components/schemas/GooglePlayPublishConfig",
|
|
16705
|
+
"description": "The pipeline's Google Play settings. The form does not edit them, so\nthe file's `publish.play` must match them."
|
|
16706
|
+
}
|
|
16707
|
+
]
|
|
16708
|
+
},
|
|
16709
|
+
"trigger_config": {
|
|
16710
|
+
"oneOf": [
|
|
16711
|
+
{
|
|
16712
|
+
"type": "null"
|
|
16713
|
+
},
|
|
16714
|
+
{
|
|
16715
|
+
"$ref": "#/components/schemas/TriggerConfig",
|
|
16716
|
+
"description": "The pipeline's trigger settings, whose schedules are kept. Left out\nfor repositories that only build manually, where the file's `on`\ncannot be held."
|
|
16717
|
+
}
|
|
16718
|
+
]
|
|
16719
|
+
},
|
|
16720
|
+
"yaml": {
|
|
16721
|
+
"type": "string",
|
|
16722
|
+
"description": "The file's text."
|
|
16723
|
+
}
|
|
16724
|
+
}
|
|
16725
|
+
},
|
|
16726
|
+
"ImportPipelineYamlResponse": {
|
|
16727
|
+
"type": "object",
|
|
16728
|
+
"required": [
|
|
16729
|
+
"valid",
|
|
16730
|
+
"representable",
|
|
16731
|
+
"errors",
|
|
16732
|
+
"unsupported",
|
|
16733
|
+
"notes"
|
|
16734
|
+
],
|
|
16735
|
+
"properties": {
|
|
16736
|
+
"errors": {
|
|
16737
|
+
"type": "array",
|
|
16738
|
+
"items": {
|
|
16739
|
+
"type": "string"
|
|
16740
|
+
},
|
|
16741
|
+
"description": "The file's validation errors, one per entry."
|
|
16742
|
+
},
|
|
16743
|
+
"execution_config": {
|
|
16744
|
+
"oneOf": [
|
|
16745
|
+
{
|
|
16746
|
+
"type": "null"
|
|
16747
|
+
},
|
|
16748
|
+
{
|
|
16749
|
+
"$ref": "#/components/schemas/PipelineExecutionConfig",
|
|
16750
|
+
"description": "The form settings. Exported again, they plan the same as the file."
|
|
16751
|
+
}
|
|
16752
|
+
]
|
|
16753
|
+
},
|
|
16754
|
+
"google_play": {
|
|
16755
|
+
"oneOf": [
|
|
16756
|
+
{
|
|
16757
|
+
"type": "null"
|
|
16758
|
+
},
|
|
16759
|
+
{
|
|
16760
|
+
"$ref": "#/components/schemas/ImportedPlayPublish",
|
|
16761
|
+
"description": "The file's `publish.play`."
|
|
16762
|
+
}
|
|
16763
|
+
]
|
|
16764
|
+
},
|
|
16765
|
+
"notes": {
|
|
16766
|
+
"type": "array",
|
|
16767
|
+
"items": {
|
|
16768
|
+
"type": "string"
|
|
16769
|
+
},
|
|
16770
|
+
"description": "What the form drops without changing what runs, such as step names."
|
|
16771
|
+
},
|
|
16772
|
+
"representable": {
|
|
16773
|
+
"type": "boolean",
|
|
16774
|
+
"description": "Valid, and the form can hold all of it: `execution_config` is set."
|
|
16775
|
+
},
|
|
16776
|
+
"testflight_group": {
|
|
16777
|
+
"type": [
|
|
16778
|
+
"string",
|
|
16779
|
+
"null"
|
|
16780
|
+
],
|
|
16781
|
+
"description": "The file's `publish.testflight.group`."
|
|
16782
|
+
},
|
|
16783
|
+
"trigger_config": {
|
|
16784
|
+
"oneOf": [
|
|
16785
|
+
{
|
|
16786
|
+
"type": "null"
|
|
16787
|
+
},
|
|
16788
|
+
{
|
|
16789
|
+
"$ref": "#/components/schemas/TriggerConfig",
|
|
16790
|
+
"description": "The trigger settings the file's `on` maps to, with the pipeline's\nschedules kept. Left out when the file has no `on`, so the pipeline's\ntrigger settings stay as they are."
|
|
16791
|
+
}
|
|
16792
|
+
]
|
|
16793
|
+
},
|
|
16794
|
+
"unsupported": {
|
|
16795
|
+
"type": "array",
|
|
16796
|
+
"items": {
|
|
16797
|
+
"type": "string"
|
|
16798
|
+
},
|
|
16799
|
+
"description": "What the form cannot hold, one per entry, such as workflows, vars,\nflavors or an `on` the trigger settings cannot express."
|
|
16800
|
+
},
|
|
16801
|
+
"valid": {
|
|
16802
|
+
"type": "boolean",
|
|
16803
|
+
"description": "The file parses and validates as `oore pipeline validate` checks it."
|
|
16804
|
+
}
|
|
16805
|
+
}
|
|
16806
|
+
},
|
|
16807
|
+
"ImportedPlayPublish": {
|
|
16808
|
+
"type": "object",
|
|
16809
|
+
"description": "A file's `publish.play`, as written.",
|
|
16810
|
+
"required": [
|
|
16811
|
+
"track"
|
|
16812
|
+
],
|
|
16813
|
+
"properties": {
|
|
16814
|
+
"draft": {
|
|
16815
|
+
"type": [
|
|
16816
|
+
"boolean",
|
|
16817
|
+
"null"
|
|
16818
|
+
],
|
|
16819
|
+
"description": "Left out, the Publish settings decide."
|
|
16820
|
+
},
|
|
16821
|
+
"rollout_percent": {
|
|
16822
|
+
"type": [
|
|
16823
|
+
"number",
|
|
16824
|
+
"null"
|
|
16825
|
+
],
|
|
16826
|
+
"format": "double",
|
|
16827
|
+
"description": "The staged rollout as a percentage. Left out, the Publish settings\ndecide."
|
|
16828
|
+
},
|
|
16829
|
+
"track": {
|
|
16830
|
+
"type": "string"
|
|
16831
|
+
}
|
|
16832
|
+
}
|
|
16833
|
+
},
|
|
16622
16834
|
"InstancePreferences": {
|
|
16623
16835
|
"type": "object",
|
|
16624
16836
|
"required": [
|