Skip to content

Commit 4151264

Browse files
feat(firebasedataconnect)!: update the API
BREAKING CHANGE: This release has breaking changes. #### firebasedataconnect:v1beta The following keys were deleted: - schemas.GraphqlErrorExtensions.properties.resource.description - schemas.GraphqlErrorExtensions.properties.resource.type The following keys were added: - schemas.GraphqlErrorExtensions.properties.warningLevel.description - schemas.GraphqlErrorExtensions.properties.warningLevel.enum - schemas.GraphqlErrorExtensions.properties.warningLevel.enumDescriptions - schemas.GraphqlErrorExtensions.properties.warningLevel.type - schemas.GraphqlErrorExtensions.properties.workarounds.description - schemas.GraphqlErrorExtensions.properties.workarounds.items.$ref - schemas.GraphqlErrorExtensions.properties.workarounds.type - schemas.Workaround.description - schemas.Workaround.id - schemas.Workaround.properties.description.description - schemas.Workaround.properties.description.type - schemas.Workaround.properties.reason.description - schemas.Workaround.properties.reason.type - schemas.Workaround.properties.replace.description - schemas.Workaround.properties.replace.type - schemas.Workaround.type #### firebasedataconnect:v1 The following keys were deleted: - schemas.GraphqlErrorExtensions.properties.resource.description - schemas.GraphqlErrorExtensions.properties.resource.type The following keys were added: - schemas.GraphqlErrorExtensions.properties.warningLevel.description - schemas.GraphqlErrorExtensions.properties.warningLevel.enum - schemas.GraphqlErrorExtensions.properties.warningLevel.enumDescriptions - schemas.GraphqlErrorExtensions.properties.warningLevel.type - schemas.GraphqlErrorExtensions.properties.workarounds.description - schemas.GraphqlErrorExtensions.properties.workarounds.items.$ref - schemas.GraphqlErrorExtensions.properties.workarounds.type - schemas.Workaround.description - schemas.Workaround.id - schemas.Workaround.properties.description.description - schemas.Workaround.properties.description.type - schemas.Workaround.properties.reason.description - schemas.Workaround.properties.reason.type - schemas.Workaround.properties.replace.description - schemas.Workaround.properties.replace.type - schemas.Workaround.type
1 parent 389ef34 commit 4151264

File tree

4 files changed

+132
-10
lines changed

4 files changed

+132
-10
lines changed

discovery/firebasedataconnect-v1.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@
11601160
}
11611161
}
11621162
},
1163-
"revision": "20250907",
1163+
"revision": "20250921",
11641164
"rootUrl": "https://firebasedataconnect.googleapis.com/",
11651165
"schemas": {
11661166
"CancelOperationRequest": {
@@ -1437,9 +1437,30 @@
14371437
"description": "The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.",
14381438
"type": "string"
14391439
},
1440-
"resource": {
1441-
"description": "Distinguish which schema or connector the error originates from. It should be set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).",
1440+
"warningLevel": {
1441+
"description": "Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.",
1442+
"enum": [
1443+
"WARNING_LEVEL_UNKNOWN",
1444+
"LOG_ONLY",
1445+
"INTERACTIVE_ACK",
1446+
"REQUIRE_ACK",
1447+
"REQUIRE_FORCE"
1448+
],
1449+
"enumDescriptions": [
1450+
"Warning level is not specified.",
1451+
"Display a warning without action needed.",
1452+
"Request a confirmation in interactive deployment flow.",
1453+
"Require an explicit confirmation in all deployment flows.",
1454+
"Require --force in all deployment flows."
1455+
],
14421456
"type": "string"
1457+
},
1458+
"workarounds": {
1459+
"description": "Workarounds provide suggestions to address the compile errors or warnings.",
1460+
"items": {
1461+
"$ref": "Workaround"
1462+
},
1463+
"type": "array"
14431464
}
14441465
},
14451466
"type": "object"
@@ -2007,6 +2028,25 @@
20072028
}
20082029
},
20092030
"type": "object"
2031+
},
2032+
"Workaround": {
2033+
"description": "Workaround provides suggestions to address errors and warnings.",
2034+
"id": "Workaround",
2035+
"properties": {
2036+
"description": {
2037+
"description": "Description of this workaround.",
2038+
"type": "string"
2039+
},
2040+
"reason": {
2041+
"description": "Why would this workaround address the error and warning.",
2042+
"type": "string"
2043+
},
2044+
"replace": {
2045+
"description": "A suggested code snippet to fix the error and warning.",
2046+
"type": "string"
2047+
}
2048+
},
2049+
"type": "object"
20102050
}
20112051
},
20122052
"servicePath": "",

discovery/firebasedataconnect-v1beta.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@
11601160
}
11611161
}
11621162
},
1163-
"revision": "20250907",
1163+
"revision": "20250921",
11641164
"rootUrl": "https://firebasedataconnect.googleapis.com/",
11651165
"schemas": {
11661166
"CancelOperationRequest": {
@@ -1437,9 +1437,30 @@
14371437
"description": "The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.",
14381438
"type": "string"
14391439
},
1440-
"resource": {
1441-
"description": "Distinguish which schema or connector the error originates from. It should be set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).",
1440+
"warningLevel": {
1441+
"description": "Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.",
1442+
"enum": [
1443+
"WARNING_LEVEL_UNKNOWN",
1444+
"LOG_ONLY",
1445+
"INTERACTIVE_ACK",
1446+
"REQUIRE_ACK",
1447+
"REQUIRE_FORCE"
1448+
],
1449+
"enumDescriptions": [
1450+
"Warning level is not specified.",
1451+
"Display a warning without action needed.",
1452+
"Request a confirmation in interactive deployment flow.",
1453+
"Require an explicit confirmation in all deployment flows.",
1454+
"Require --force in all deployment flows."
1455+
],
14421456
"type": "string"
1457+
},
1458+
"workarounds": {
1459+
"description": "Workarounds provide suggestions to address the compile errors or warnings.",
1460+
"items": {
1461+
"$ref": "Workaround"
1462+
},
1463+
"type": "array"
14431464
}
14441465
},
14451466
"type": "object"
@@ -2007,6 +2028,25 @@
20072028
}
20082029
},
20092030
"type": "object"
2031+
},
2032+
"Workaround": {
2033+
"description": "Workaround provides suggestions to address errors and warnings.",
2034+
"id": "Workaround",
2035+
"properties": {
2036+
"description": {
2037+
"description": "Description of this workaround.",
2038+
"type": "string"
2039+
},
2040+
"reason": {
2041+
"description": "Why would this workaround address the error and warning.",
2042+
"type": "string"
2043+
},
2044+
"replace": {
2045+
"description": "A suggested code snippet to fix the error and warning.",
2046+
"type": "string"
2047+
}
2048+
},
2049+
"type": "object"
20102050
}
20112051
},
20122052
"servicePath": "",

src/apis/firebasedataconnect/v1.ts

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,13 @@ export namespace firebasedataconnect_v1 {
298298
*/
299299
file?: string | null;
300300
/**
301-
* Distinguish which schema or connector the error originates from. It should be set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).
301+
* Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
302302
*/
303-
resource?: string | null;
303+
warningLevel?: string | null;
304+
/**
305+
* Workarounds provide suggestions to address the compile errors or warnings.
306+
*/
307+
workarounds?: Schema$Workaround[];
304308
}
305309
/**
306310
* The GraphQL request to Firebase Data Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
@@ -697,6 +701,23 @@ export namespace firebasedataconnect_v1 {
697701
*/
698702
message?: string | null;
699703
}
704+
/**
705+
* Workaround provides suggestions to address errors and warnings.
706+
*/
707+
export interface Schema$Workaround {
708+
/**
709+
* Description of this workaround.
710+
*/
711+
description?: string | null;
712+
/**
713+
* Why would this workaround address the error and warning.
714+
*/
715+
reason?: string | null;
716+
/**
717+
* A suggested code snippet to fix the error and warning.
718+
*/
719+
replace?: string | null;
720+
}
700721

701722
export class Resource$Projects {
702723
context: APIRequestContext;

src/apis/firebasedataconnect/v1beta.ts

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,13 @@ export namespace firebasedataconnect_v1beta {
298298
*/
299299
file?: string | null;
300300
/**
301-
* Distinguish which schema or connector the error originates from. It should be set on errors from control plane APIs (e.g. `UpdateSchema`, `UpdateConnector`).
301+
* Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.
302302
*/
303-
resource?: string | null;
303+
warningLevel?: string | null;
304+
/**
305+
* Workarounds provide suggestions to address the compile errors or warnings.
306+
*/
307+
workarounds?: Schema$Workaround[];
304308
}
305309
/**
306310
* The GraphQL request to Firebase Data Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post
@@ -697,6 +701,23 @@ export namespace firebasedataconnect_v1beta {
697701
*/
698702
message?: string | null;
699703
}
704+
/**
705+
* Workaround provides suggestions to address errors and warnings.
706+
*/
707+
export interface Schema$Workaround {
708+
/**
709+
* Description of this workaround.
710+
*/
711+
description?: string | null;
712+
/**
713+
* Why would this workaround address the error and warning.
714+
*/
715+
reason?: string | null;
716+
/**
717+
* A suggested code snippet to fix the error and warning.
718+
*/
719+
replace?: string | null;
720+
}
700721

701722
export class Resource$Projects {
702723
context: APIRequestContext;

0 commit comments

Comments
 (0)