firebase-tools 13.17.0 → 13.18.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/lib/commands/dataconnect-services-list.js +4 -3
- package/lib/commands/dataconnect-sql-grant.js +37 -0
- package/lib/commands/dataconnect-sql-migrate.js +2 -1
- package/lib/commands/deploy.js +2 -0
- package/lib/commands/index.js +1 -0
- package/lib/dataconnect/client.js +1 -1
- package/lib/dataconnect/dataplaneClient.js +1 -1
- package/lib/dataconnect/ensureApis.js +7 -1
- package/lib/dataconnect/load.js +3 -1
- package/lib/dataconnect/provisionCloudSql.js +34 -21
- package/lib/dataconnect/schemaMigration.js +126 -73
- package/lib/deploy/dataconnect/deploy.js +16 -13
- package/lib/deploy/dataconnect/prepare.js +36 -0
- package/lib/deploy/dataconnect/release.js +9 -2
- package/lib/deploy/extensions/prepare.js +22 -9
- package/lib/deploy/firestore/prepare.js +10 -0
- package/lib/deploy/firestore/release.js +3 -6
- package/lib/deploy/functions/checkIam.js +7 -2
- package/lib/deploy/functions/ensure.js +10 -2
- package/lib/deploy/functions/prepare.js +2 -2
- package/lib/deploy/index.js +9 -5
- package/lib/emulator/downloadableEmulators.js +9 -9
- package/lib/firestore/checkDatabaseType.js +10 -3
- package/lib/frameworks/angular/index.js +15 -3
- package/lib/frameworks/next/utils.js +1 -1
- package/lib/gcp/cloudsql/permissions.js +6 -1
- package/lib/gcp/secretManager.js +12 -5
- package/lib/init/features/dataconnect/index.js +24 -11
- package/lib/init/features/firestore/index.js +20 -1
- package/lib/init/features/firestore/indexes.js +4 -4
- package/package.json +1 -1
- package/schema/connector-yaml.json +43 -17
- package/templates/init/dataconnect/connector.yaml +0 -1
- package/templates/init/dataconnect/dataconnect-fdccompatiblemode.yaml +12 -0
- package/templates/init/dataconnect/dataconnect.yaml +1 -1
|
@@ -43,6 +43,16 @@
|
|
|
43
43
|
"description": "Path to the directory where generated files should be written to."
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
},
|
|
47
|
+
"llmTools": {
|
|
48
|
+
"additionalProperties": true,
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"outputFile": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Path where the JSON LLM tool definitions file should be generated."
|
|
54
|
+
}
|
|
55
|
+
}
|
|
46
56
|
}
|
|
47
57
|
},
|
|
48
58
|
"properties": {
|
|
@@ -50,35 +60,51 @@
|
|
|
50
60
|
"type": "string",
|
|
51
61
|
"description": "The ID of the Firebase Data Connect connector."
|
|
52
62
|
},
|
|
53
|
-
"authMode": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "The authentication strategy to use for this connector"
|
|
56
|
-
|
|
57
|
-
},
|
|
58
63
|
"generate": {
|
|
59
64
|
"type": "object",
|
|
60
65
|
"additionalProperties": false,
|
|
61
66
|
"properties": {
|
|
62
67
|
"javascriptSdk": {
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
"oneOf": [
|
|
69
|
+
{ "$ref": "#/definitions/javascriptSdk" },
|
|
70
|
+
{
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"$ref": "#/definitions/javascriptSdk"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
67
77
|
"description": "Configuration for a generated Javascript SDK"
|
|
68
78
|
},
|
|
69
79
|
"kotlinSdk": {
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
"oneOf": [
|
|
81
|
+
{ "$ref": "#/definitions/kotlinSdk" },
|
|
82
|
+
{
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"$ref": "#/definitions/kotlinSdk"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
],
|
|
74
89
|
"description": "Configuration for a generated Kotlin SDK"
|
|
75
90
|
},
|
|
76
91
|
"swiftSdk": {
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{ "$ref": "#/definitions/swiftSdk" },
|
|
94
|
+
{
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"$ref": "#/definitions/swiftSdk"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
],
|
|
81
101
|
"description": "Configuration for a generated Swift SDK"
|
|
102
|
+
},
|
|
103
|
+
"llmTools": {
|
|
104
|
+
"oneOf": [
|
|
105
|
+
{ "$ref": "#/definitions/llmTools" },
|
|
106
|
+
{ "type": "array", "items": { "$ref": "#/definitions/llmTools" } }
|
|
107
|
+
]
|
|
82
108
|
}
|
|
83
109
|
}
|
|
84
110
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
specVersion: "v1alpha"
|
|
2
|
+
serviceId: __serviceId__
|
|
3
|
+
location: __location__
|
|
4
|
+
schema:
|
|
5
|
+
source: "./schema"
|
|
6
|
+
datasource:
|
|
7
|
+
postgresql:
|
|
8
|
+
database: __cloudSqlDatabase__
|
|
9
|
+
cloudSql:
|
|
10
|
+
instanceId: __cloudSqlInstanceId__
|
|
11
|
+
# schemaValidation: "COMPATIBLE"
|
|
12
|
+
connectorDirs: __connectorDirs__
|