Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions packages/api/src/generated/contracts.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -371,6 +371,7 @@ export const V1AuthorizeUserInput = Schema.Struct({
organization_slug: Schema.optionalKey(
Schema.String.check(Schema.isPattern(new RegExp("^[\\w-]+$"))),
),
target_flow: Schema.optionalKey(Schema.String),
resource: Schema.optionalKey(Schema.String.annotate({ format: "uri" })),
});
export const V1BulkCreateSecretsInput = Schema.Struct({
Expand DownExpand Up@@ -2793,9 +2794,14 @@ export const V1GetPostgresUpgradeEligibilityOutput = Schema.Struct({
),
),
warnings: Schema.Array(
Schema.Union([Schema.Struct({ type: Schema.Literal("pg_graphql_introspection_change") })], {
mode: "oneOf",
}),
Schema.Union(
[
Schema.Struct({ type: Schema.Literal("pg_graphql_introspection_change") }),
Schema.Struct({ type: Schema.Literal("ltree_reindex_required") }),
Schema.Struct({ type: Schema.Literal("operator_estimator_gate") }),
],
{ mode: "oneOf" },
),
),
});
export const V1GetPostgresUpgradeStatusInput = Schema.Struct({
Expand DownExpand Up@@ -6188,6 +6194,7 @@ export const operationDefinitions = {
"code_challenge",
"code_challenge_method",
"organization_slug",
"target_flow",
"resource",
],
headerParams: [],
Expand Down
28 changes: 28 additions & 0 deletions packages/api/src/generated/openapi.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -993,6 +993,14 @@
"type": "string"
}
},
{
"name": "target_flow",
"required": false,
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "resource",
"required": false,
Expand DownExpand Up@@ -13550,6 +13558,26 @@
}
},
"required": ["type"]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["ltree_reindex_required"]
}
},
"required": ["type"]
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["operator_estimator_gate"]
}
},
"required": ["type"]
}
]
}
Expand Down
Loading