firebase-tools 15.25.0 → 15.26.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/ailogic/templates.js +124 -0
- package/lib/api.js +6 -2
- package/lib/appcheck/api.js +33 -0
- package/lib/appcheck/prompts.js +2 -2
- package/lib/appcheck/services.js +135 -0
- package/lib/auth.js +33 -15
- package/lib/checkValidTargetFilters.js +1 -0
- package/lib/command.js +4 -1
- package/lib/commands/ailogic-templates-delete.js +53 -0
- package/lib/commands/ailogic-templates-get.js +33 -0
- package/lib/commands/ailogic-templates-list.js +49 -0
- package/lib/commands/ailogic-templates-lock.js +30 -0
- package/lib/commands/ailogic-templates-unlock.js +30 -0
- package/lib/commands/appcheck-debugtokens-delete.js +1 -1
- package/lib/commands/appcheck-debugtokens-list.js +1 -1
- package/lib/commands/appcheck-services-get.js +40 -0
- package/lib/commands/appcheck-services-list.js +52 -0
- package/lib/commands/appcheck-services-set.js +90 -0
- package/lib/commands/crashlytics-onboard-web.js +56 -0
- package/lib/commands/deploy.js +3 -0
- package/lib/commands/firestore-locations.js +3 -1
- package/lib/commands/index.js +14 -0
- package/lib/commands/login.js +53 -6
- package/lib/config.js +1 -0
- package/lib/crashlytics/firebasetelemetry.js +36 -0
- package/lib/crashlytics/onboarding.js +41 -0
- package/lib/crashlytics/sourcemap.js +102 -12
- package/lib/deploy/ailogic/index.js +19 -0
- package/lib/deploy/ailogic/prepare.js +78 -0
- package/lib/deploy/ailogic/release.js +60 -0
- package/lib/deploy/functions/build.js +1 -1
- package/lib/deploy/functions/functionsDeployHelper.js +18 -12
- package/lib/deploy/functions/prepare.js +16 -3
- package/lib/deploy/functions/release/executor.js +51 -8
- package/lib/deploy/functions/release/fabricator.js +34 -5
- package/lib/deploy/index.js +9 -0
- package/lib/emulator/controller.js +34 -15
- package/lib/emulator/downloadableEmulatorInfo.json +24 -24
- package/lib/experiments.js +13 -0
- package/lib/extensions/checkProjectBilling.js +3 -73
- package/lib/functions/projectConfig.js +98 -12
- package/lib/gcp/ailogic.js +70 -1
- package/lib/gcp/cloudbilling.js +74 -0
- package/lib/gcp/cloudlogging.js +54 -0
- package/lib/management/apps.js +1 -2
- package/lib/prompt.js +10 -1
- package/lib/requirePermissions.js +1 -1
- package/lib/serve/functions.js +25 -7
- package/lib/tsconfig.compile.tsbuildinfo +1 -1
- package/lib/tsconfig.publish.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/schema/firebase-config.json +132 -0
package/package.json
CHANGED
|
@@ -17,6 +17,42 @@
|
|
|
17
17
|
],
|
|
18
18
|
"type": "string"
|
|
19
19
|
},
|
|
20
|
+
"AiLogicConfig": {
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"properties": {
|
|
23
|
+
"postdeploy": {
|
|
24
|
+
"anyOf": [
|
|
25
|
+
{
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"type": "array"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"predeploy": {
|
|
37
|
+
"anyOf": [
|
|
38
|
+
{
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"type": "array"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"templates": {
|
|
50
|
+
"description": "Directory of .prompt files deployed as server prompt templates (default: \"prompts\").",
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"type": "object"
|
|
55
|
+
},
|
|
20
56
|
"AuthConfig": {
|
|
21
57
|
"additionalProperties": false,
|
|
22
58
|
"properties": {
|
|
@@ -301,6 +337,9 @@
|
|
|
301
337
|
},
|
|
302
338
|
"FunctionConfig": {
|
|
303
339
|
"anyOf": [
|
|
340
|
+
{
|
|
341
|
+
"$ref": "#/definitions/KitFunctionConfig"
|
|
342
|
+
},
|
|
304
343
|
{
|
|
305
344
|
"$ref": "#/definitions/LocalFunctionConfig"
|
|
306
345
|
},
|
|
@@ -909,6 +948,93 @@
|
|
|
909
948
|
},
|
|
910
949
|
"type": "object"
|
|
911
950
|
},
|
|
951
|
+
"KitFunctionConfig": {
|
|
952
|
+
"additionalProperties": false,
|
|
953
|
+
"properties": {
|
|
954
|
+
"ignore": {
|
|
955
|
+
"items": {
|
|
956
|
+
"type": "string"
|
|
957
|
+
},
|
|
958
|
+
"type": "array"
|
|
959
|
+
},
|
|
960
|
+
"instances": {
|
|
961
|
+
"additionalProperties": {
|
|
962
|
+
"type": "string"
|
|
963
|
+
},
|
|
964
|
+
"description": "Dictionary mapping instance IDs to their configuration directories",
|
|
965
|
+
"type": "object"
|
|
966
|
+
},
|
|
967
|
+
"kit": {
|
|
968
|
+
"description": "Unique identifier for the functions kit (peer to codebase)",
|
|
969
|
+
"type": "string"
|
|
970
|
+
},
|
|
971
|
+
"postdeploy": {
|
|
972
|
+
"anyOf": [
|
|
973
|
+
{
|
|
974
|
+
"items": {
|
|
975
|
+
"type": "string"
|
|
976
|
+
},
|
|
977
|
+
"type": "array"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"type": "string"
|
|
981
|
+
}
|
|
982
|
+
]
|
|
983
|
+
},
|
|
984
|
+
"predeploy": {
|
|
985
|
+
"anyOf": [
|
|
986
|
+
{
|
|
987
|
+
"items": {
|
|
988
|
+
"type": "string"
|
|
989
|
+
},
|
|
990
|
+
"type": "array"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"type": "string"
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
"runtime": {
|
|
998
|
+
"enum": [
|
|
999
|
+
"dart3",
|
|
1000
|
+
"nodejs18",
|
|
1001
|
+
"nodejs20",
|
|
1002
|
+
"nodejs22",
|
|
1003
|
+
"nodejs24",
|
|
1004
|
+
"python310",
|
|
1005
|
+
"python311",
|
|
1006
|
+
"python312",
|
|
1007
|
+
"python313",
|
|
1008
|
+
"python314"
|
|
1009
|
+
],
|
|
1010
|
+
"type": "string"
|
|
1011
|
+
},
|
|
1012
|
+
"source": {
|
|
1013
|
+
"description": "Local directory containing the kit source code.",
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
},
|
|
1016
|
+
"sourcePackage": {
|
|
1017
|
+
"additionalProperties": false,
|
|
1018
|
+
"description": "Package details when resolved from a package repository.",
|
|
1019
|
+
"properties": {
|
|
1020
|
+
"id": {
|
|
1021
|
+
"description": "Package identifier (e.g., \"@firebase-functions-kits/firestore-bigquery-export\")",
|
|
1022
|
+
"type": "string"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"required": [
|
|
1026
|
+
"id"
|
|
1027
|
+
],
|
|
1028
|
+
"type": "object"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"required": [
|
|
1032
|
+
"instances",
|
|
1033
|
+
"kit",
|
|
1034
|
+
"source"
|
|
1035
|
+
],
|
|
1036
|
+
"type": "object"
|
|
1037
|
+
},
|
|
912
1038
|
"LocalFunctionConfig": {
|
|
913
1039
|
"additionalProperties": false,
|
|
914
1040
|
"properties": {
|
|
@@ -1141,6 +1267,9 @@
|
|
|
1141
1267
|
"$schema": {
|
|
1142
1268
|
"type": "string"
|
|
1143
1269
|
},
|
|
1270
|
+
"ailogic": {
|
|
1271
|
+
"$ref": "#/definitions/AiLogicConfig"
|
|
1272
|
+
},
|
|
1144
1273
|
"apphosting": {
|
|
1145
1274
|
"anyOf": [
|
|
1146
1275
|
{
|
|
@@ -1647,6 +1776,9 @@
|
|
|
1647
1776
|
},
|
|
1648
1777
|
"functions": {
|
|
1649
1778
|
"anyOf": [
|
|
1779
|
+
{
|
|
1780
|
+
"$ref": "#/definitions/KitFunctionConfig"
|
|
1781
|
+
},
|
|
1650
1782
|
{
|
|
1651
1783
|
"$ref": "#/definitions/LocalFunctionConfig"
|
|
1652
1784
|
},
|