firebase-tools-with-isolate 13.29.1 → 14.10.1-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.
Files changed (396) hide show
  1. package/README.md +53 -4
  2. package/lib/api.js +10 -2
  3. package/lib/appdistribution/client.js +2 -2
  4. package/lib/apphosting/backend.js +157 -55
  5. package/lib/apphosting/config.js +121 -101
  6. package/lib/apphosting/githubConnections.js +65 -100
  7. package/lib/apphosting/repo.js +22 -36
  8. package/lib/apphosting/rollout.js +5 -11
  9. package/lib/apphosting/secrets/dialogs.js +13 -11
  10. package/lib/apphosting/secrets/index.js +47 -5
  11. package/lib/apphosting/utils.js +1 -3
  12. package/lib/apphosting/yaml.js +35 -49
  13. package/lib/auth.js +23 -6
  14. package/lib/bin/cli.js +99 -0
  15. package/lib/bin/firebase.js +7 -123
  16. package/lib/bin/mcp.js +49 -0
  17. package/lib/checkValidTargetFilters.js +1 -0
  18. package/lib/command.js +3 -2
  19. package/lib/commands/appdistribution-distribute.js +1 -1
  20. package/lib/commands/appdistribution-groups-create.js +1 -1
  21. package/lib/commands/appdistribution-groups-delete.js +1 -1
  22. package/lib/commands/appdistribution-groups-list.js +2 -2
  23. package/lib/commands/appdistribution-testers-add.js +1 -1
  24. package/lib/commands/appdistribution-testers-list.js +3 -3
  25. package/lib/commands/appdistribution-testers-remove.js +1 -1
  26. package/lib/commands/apphosting-backends-create.js +3 -3
  27. package/lib/commands/apphosting-backends-delete.js +23 -27
  28. package/lib/commands/apphosting-backends-get.js +12 -12
  29. package/lib/commands/apphosting-backends-list.js +5 -5
  30. package/lib/commands/apphosting-builds-create.js +8 -2
  31. package/lib/commands/apphosting-builds-get.js +8 -1
  32. package/lib/commands/apphosting-rollouts-create.js +3 -3
  33. package/lib/commands/apphosting-rollouts-list.js +8 -2
  34. package/lib/commands/apphosting-secrets-access.js +1 -1
  35. package/lib/commands/apphosting-secrets-describe.js +2 -2
  36. package/lib/commands/apphosting-secrets-grantaccess.js +20 -10
  37. package/lib/commands/apphosting-secrets-set.js +27 -1
  38. package/lib/commands/apps-android-sha-create.js +1 -1
  39. package/lib/commands/apps-android-sha-delete.js +1 -1
  40. package/lib/commands/apps-android-sha-list.js +2 -2
  41. package/lib/commands/apps-create.js +4 -108
  42. package/lib/commands/apps-init.js +94 -0
  43. package/lib/commands/apps-list.js +1 -1
  44. package/lib/commands/apps-sdkconfig.js +5 -10
  45. package/lib/commands/auth-export.js +1 -1
  46. package/lib/commands/auth-import.js +1 -1
  47. package/lib/commands/database-import.js +4 -6
  48. package/lib/commands/database-instances-create.js +1 -1
  49. package/lib/commands/database-instances-list.js +1 -1
  50. package/lib/commands/database-profile.js +1 -2
  51. package/lib/commands/database-remove.js +4 -6
  52. package/lib/commands/database-set.js +6 -6
  53. package/lib/commands/database-settings-set.js +1 -1
  54. package/lib/commands/database-update.js +6 -6
  55. package/lib/commands/dataconnect-sdk-generate.js +5 -2
  56. package/lib/commands/dataconnect-services-list.js +2 -2
  57. package/lib/commands/dataconnect-sql-diff.js +2 -2
  58. package/lib/commands/dataconnect-sql-grant.js +3 -3
  59. package/lib/commands/dataconnect-sql-migrate.js +2 -2
  60. package/lib/commands/dataconnect-sql-setup.js +39 -0
  61. package/lib/commands/dataconnect-sql-shell.js +5 -7
  62. package/lib/commands/deploy.js +4 -3
  63. package/lib/commands/emulators-exec.js +1 -1
  64. package/lib/commands/emulators-start.js +4 -3
  65. package/lib/commands/experiments-list.js +1 -1
  66. package/lib/commands/ext-dev-deprecate.js +1 -0
  67. package/lib/commands/ext-dev-init.js +3 -12
  68. package/lib/commands/ext-dev-list.js +1 -1
  69. package/lib/commands/ext-dev-register.js +3 -5
  70. package/lib/commands/ext-dev-undeprecate.js +1 -2
  71. package/lib/commands/ext-dev-usage.js +4 -6
  72. package/lib/commands/ext-export.js +1 -2
  73. package/lib/commands/ext-install.js +3 -3
  74. package/lib/commands/ext-sdk-install.js +1 -0
  75. package/lib/commands/ext-update.js +1 -0
  76. package/lib/commands/firestore-backups-delete.js +3 -4
  77. package/lib/commands/firestore-backups-get.js +1 -1
  78. package/lib/commands/firestore-backups-list.js +2 -2
  79. package/lib/commands/firestore-backups-schedules-create.js +4 -4
  80. package/lib/commands/firestore-backups-schedules-delete.js +3 -4
  81. package/lib/commands/firestore-backups-schedules-list.js +2 -2
  82. package/lib/commands/firestore-backups-schedules-update.js +1 -1
  83. package/lib/commands/firestore-databases-create.js +6 -6
  84. package/lib/commands/firestore-databases-delete.js +3 -7
  85. package/lib/commands/firestore-databases-get.js +1 -1
  86. package/lib/commands/firestore-databases-list.js +1 -1
  87. package/lib/commands/firestore-databases-restore.js +5 -5
  88. package/lib/commands/firestore-databases-update.js +4 -4
  89. package/lib/commands/firestore-delete.js +13 -14
  90. package/lib/commands/firestore-indexes-list.js +4 -4
  91. package/lib/commands/firestore-locations.js +1 -1
  92. package/lib/commands/functions-artifacts-setpolicy.js +132 -0
  93. package/lib/commands/functions-config-export.js +6 -10
  94. package/lib/commands/functions-delete.js +5 -7
  95. package/lib/commands/functions-deletegcfartifacts.js +5 -5
  96. package/lib/commands/functions-list.js +24 -33
  97. package/lib/commands/functions-secrets-access.js +1 -1
  98. package/lib/commands/functions-secrets-describe.js +1 -1
  99. package/lib/commands/functions-secrets-destroy.js +10 -12
  100. package/lib/commands/functions-secrets-get.js +1 -1
  101. package/lib/commands/functions-secrets-prune.js +14 -15
  102. package/lib/commands/functions-secrets-set.js +14 -18
  103. package/lib/commands/hosting-channel-create.js +1 -2
  104. package/lib/commands/hosting-channel-delete.js +4 -4
  105. package/lib/commands/hosting-channel-list.js +1 -1
  106. package/lib/commands/hosting-channel-open.js +2 -3
  107. package/lib/commands/hosting-disable.js +5 -5
  108. package/lib/commands/hosting-sites-delete.js +4 -4
  109. package/lib/commands/hosting-sites-get.js +1 -1
  110. package/lib/commands/hosting-sites-list.js +1 -1
  111. package/lib/commands/index.js +7 -4
  112. package/lib/commands/init.js +54 -60
  113. package/lib/commands/internaltesting-frameworks-compose.js +1 -1
  114. package/lib/commands/login-use.js +2 -11
  115. package/lib/commands/login.js +10 -8
  116. package/lib/commands/logout.js +2 -3
  117. package/lib/commands/mcp.js +11 -0
  118. package/lib/commands/open.js +4 -2
  119. package/lib/commands/projects-create.js +1 -2
  120. package/lib/commands/projects-list.js +1 -1
  121. package/lib/commands/remoteconfig-get.js +1 -1
  122. package/lib/commands/remoteconfig-rollback.js +5 -5
  123. package/lib/commands/remoteconfig-versions-list.js +2 -2
  124. package/lib/commands/setup-emulators-database.js +1 -1
  125. package/lib/commands/setup-emulators-dataconnect.js +1 -1
  126. package/lib/commands/setup-emulators-firestore.js +1 -1
  127. package/lib/commands/setup-emulators-pubsub.js +1 -1
  128. package/lib/commands/setup-emulators-storage.js +1 -1
  129. package/lib/commands/setup-emulators-ui.js +1 -1
  130. package/lib/commands/use.js +115 -111
  131. package/lib/config.js +49 -33
  132. package/lib/crashlytics/buildToolsJarHelper.js +1 -1
  133. package/lib/crashlytics/listTopIssues.js +45 -0
  134. package/lib/dataconnect/build.js +61 -4
  135. package/lib/dataconnect/client.js +26 -17
  136. package/lib/dataconnect/cloudAICompanionClient.js +72 -0
  137. package/lib/dataconnect/dataplaneClient.js +19 -2
  138. package/lib/dataconnect/ensureApis.js +6 -3
  139. package/lib/dataconnect/fileUtils.js +39 -6
  140. package/lib/dataconnect/freeTrial.js +21 -9
  141. package/lib/dataconnect/graphqlError.js +56 -2
  142. package/lib/dataconnect/provisionCloudSql.js +23 -12
  143. package/lib/dataconnect/schemaMigration.js +46 -26
  144. package/lib/dataconnect/types.js +5 -1
  145. package/lib/defaultCredentials.js +12 -1
  146. package/lib/deploy/apphosting/args.js +2 -0
  147. package/lib/deploy/apphosting/deploy.js +77 -0
  148. package/lib/deploy/apphosting/index.js +9 -0
  149. package/lib/deploy/apphosting/prepare.js +138 -0
  150. package/lib/deploy/apphosting/release.js +56 -0
  151. package/lib/deploy/apphosting/util.js +65 -0
  152. package/lib/deploy/dataconnect/deploy.js +14 -7
  153. package/lib/deploy/dataconnect/prepare.js +3 -5
  154. package/lib/deploy/extensions/v2FunctionHelper.js +2 -1
  155. package/lib/deploy/firestore/deploy.js +50 -4
  156. package/lib/deploy/functions/build.js +1 -0
  157. package/lib/deploy/functions/checkIam.js +41 -6
  158. package/lib/deploy/functions/containerCleaner.js +17 -2
  159. package/lib/deploy/functions/ensure.js +2 -1
  160. package/lib/deploy/functions/params.js +10 -17
  161. package/lib/deploy/functions/prepare.js +51 -18
  162. package/lib/deploy/functions/prepareFunctionsUpload.js +9 -5
  163. package/lib/deploy/functions/prompts.js +24 -17
  164. package/lib/deploy/functions/release/fabricator.js +4 -4
  165. package/lib/deploy/functions/release/index.js +27 -9
  166. package/lib/deploy/functions/release/planner.js +1 -0
  167. package/lib/deploy/functions/runtimes/discovery/index.js +13 -5
  168. package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +4 -4
  169. package/lib/deploy/functions/runtimes/python/index.js +4 -1
  170. package/lib/deploy/functions/runtimes/supported/types.js +17 -11
  171. package/lib/deploy/functions/services/firestore.js +23 -4
  172. package/lib/deploy/index.js +29 -10
  173. package/lib/deploy/lifecycleHooks.js +6 -12
  174. package/lib/emulator/ExpressBasedEmulator.js +1 -1
  175. package/lib/emulator/apphosting/config.js +15 -14
  176. package/lib/emulator/apphosting/index.js +2 -0
  177. package/lib/emulator/apphosting/serve.js +147 -10
  178. package/lib/emulator/auth/cloudFunctions.js +13 -1
  179. package/lib/emulator/auth/operations.js +2 -1
  180. package/lib/emulator/auth/widget_ui.js +2 -1
  181. package/lib/emulator/commandUtils.js +14 -20
  182. package/lib/emulator/constants.js +2 -0
  183. package/lib/emulator/controller.js +24 -9
  184. package/lib/emulator/dataconnect/pgliteServer.js +136 -45
  185. package/lib/emulator/dataconnectEmulator.js +34 -6
  186. package/lib/emulator/dataconnectToolkitController.js +5 -0
  187. package/lib/emulator/downloadableEmulatorInfo.json +81 -0
  188. package/lib/emulator/downloadableEmulators.js +28 -80
  189. package/lib/emulator/env.js +47 -1
  190. package/lib/emulator/extensionsEmulator.js +5 -3
  191. package/lib/emulator/functionsEmulator.js +6 -26
  192. package/lib/emulator/hub.js +5 -4
  193. package/lib/emulator/hubClient.js +5 -0
  194. package/lib/emulator/initEmulators.js +29 -15
  195. package/lib/emulator/ui.js +4 -8
  196. package/lib/ensureApiEnabled.js +32 -1
  197. package/lib/experiments.js +11 -12
  198. package/lib/extensions/askUserForEventsConfig.js +6 -15
  199. package/lib/extensions/askUserForParam.js +23 -52
  200. package/lib/extensions/change-log.js +1 -25
  201. package/lib/extensions/checkProjectBilling.js +3 -9
  202. package/lib/extensions/diagnose.js +3 -6
  203. package/lib/extensions/emulator/triggerHelper.js +4 -0
  204. package/lib/extensions/extensionsHelper.js +25 -31
  205. package/lib/extensions/listExtensions.js +1 -1
  206. package/lib/extensions/manifest.js +3 -7
  207. package/lib/extensions/paramHelper.js +11 -2
  208. package/lib/extensions/provisioningHelper.js +1 -1
  209. package/lib/extensions/tos.js +4 -2
  210. package/lib/extensions/utils.js +1 -10
  211. package/lib/firebaseConfigValidate.js +7 -5
  212. package/lib/firestore/delete.js +5 -4
  213. package/lib/firestore/pretty-print.js +1 -1
  214. package/lib/frameworks/angular/index.js +11 -6
  215. package/lib/frameworks/angular/utils.js +76 -47
  216. package/lib/frameworks/constants.js +1 -1
  217. package/lib/frameworks/index.js +6 -4
  218. package/lib/frameworks/next/index.js +7 -4
  219. package/lib/frameworks/utils.js +11 -3
  220. package/lib/frameworks/vite/index.js +2 -3
  221. package/lib/fsAsync.js +9 -2
  222. package/lib/fsutils.js +16 -1
  223. package/lib/functions/artifacts.js +196 -0
  224. package/lib/functions/secrets.js +15 -16
  225. package/lib/gcp/apphosting.js +13 -1
  226. package/lib/gcp/artifactregistry.js +27 -2
  227. package/lib/gcp/auth.js +113 -1
  228. package/lib/gcp/cloudbilling.js +12 -1
  229. package/lib/gcp/cloudfunctions.js +32 -4
  230. package/lib/gcp/cloudfunctionsv2.js +15 -9
  231. package/lib/gcp/cloudscheduler.js +2 -2
  232. package/lib/gcp/cloudsql/cloudsqladmin.js +32 -11
  233. package/lib/gcp/cloudsql/connect.js +21 -14
  234. package/lib/gcp/cloudsql/interactive.js +1 -1
  235. package/lib/gcp/cloudsql/permissions.js +46 -99
  236. package/lib/gcp/cloudsql/permissionsSetup.js +224 -0
  237. package/lib/gcp/computeEngine.js +19 -2
  238. package/lib/gcp/devConnect.js +6 -1
  239. package/lib/gcp/firestore.js +55 -16
  240. package/lib/gcp/iam.js +1 -5
  241. package/lib/gcp/proto.js +4 -3
  242. package/lib/gcp/run.js +18 -1
  243. package/lib/gcp/serviceusage.js +2 -1
  244. package/lib/gcp/storage.js +47 -1
  245. package/lib/gemini/fdcExperience.js +56 -0
  246. package/lib/gemini/types.js +2 -0
  247. package/lib/hosting/api.js +4 -0
  248. package/lib/hosting/implicitInit.js +7 -3
  249. package/lib/hosting/interactive.js +2 -3
  250. package/lib/index.js +1 -2
  251. package/lib/init/features/account.js +2 -4
  252. package/lib/init/features/apphosting.js +75 -6
  253. package/lib/init/features/database.js +63 -62
  254. package/lib/init/features/dataconnect/index.js +131 -85
  255. package/lib/init/features/dataconnect/sdk.js +73 -18
  256. package/lib/init/features/emulators.js +29 -46
  257. package/lib/init/features/firestore/index.js +79 -43
  258. package/lib/init/features/firestore/indexes.js +30 -45
  259. package/lib/init/features/firestore/rules.js +36 -62
  260. package/lib/init/features/functions/index.js +11 -16
  261. package/lib/init/features/functions/javascript.js +17 -30
  262. package/lib/init/features/functions/npm-dependencies.js +4 -8
  263. package/lib/init/features/functions/python.js +1 -3
  264. package/lib/init/features/functions/typescript.js +25 -43
  265. package/lib/init/features/genkit/index.js +111 -106
  266. package/lib/init/features/hosting/github.js +22 -52
  267. package/lib/init/features/hosting/index.js +37 -57
  268. package/lib/init/features/index.js +10 -5
  269. package/lib/init/features/project.js +18 -21
  270. package/lib/init/features/remoteconfig.js +5 -10
  271. package/lib/init/features/storage.js +30 -10
  272. package/lib/init/index.js +79 -24
  273. package/lib/logger.js +76 -3
  274. package/lib/management/apps.js +292 -7
  275. package/lib/management/projects.js +100 -52
  276. package/lib/mcp/errors.js +20 -0
  277. package/lib/mcp/index.js +227 -0
  278. package/lib/mcp/tool.js +12 -0
  279. package/lib/mcp/tools/apphosting/fetch_logs.js +68 -0
  280. package/lib/mcp/tools/apphosting/index.js +6 -0
  281. package/lib/mcp/tools/apphosting/list_backends.js +51 -0
  282. package/lib/mcp/tools/auth/disable_user.js +30 -0
  283. package/lib/mcp/tools/auth/get_user.js +38 -0
  284. package/lib/mcp/tools/auth/index.js +15 -0
  285. package/lib/mcp/tools/auth/list_users.js +36 -0
  286. package/lib/mcp/tools/auth/set_claims.js +43 -0
  287. package/lib/mcp/tools/auth/set_sms_region_policy.js +36 -0
  288. package/lib/mcp/tools/core/consult_assistant.js +28 -0
  289. package/lib/mcp/tools/core/create_android_sha.js +43 -0
  290. package/lib/mcp/tools/core/create_app.js +90 -0
  291. package/lib/mcp/tools/core/create_project.js +68 -0
  292. package/lib/mcp/tools/core/get_admin_sdk_config.js +26 -0
  293. package/lib/mcp/tools/core/get_environment.js +51 -0
  294. package/lib/mcp/tools/core/get_project.js +22 -0
  295. package/lib/mcp/tools/core/get_sdk_config.js +40 -0
  296. package/lib/mcp/tools/core/index.js +29 -0
  297. package/lib/mcp/tools/core/init.js +153 -0
  298. package/lib/mcp/tools/core/list_apps.js +34 -0
  299. package/lib/mcp/tools/core/list_projects.js +45 -0
  300. package/lib/mcp/tools/core/update_environment.js +55 -0
  301. package/lib/mcp/tools/crashlytics/index.js +5 -0
  302. package/lib/mcp/tools/crashlytics/list_top_issues.js +39 -0
  303. package/lib/mcp/tools/dataconnect/converter.js +60 -0
  304. package/lib/mcp/tools/dataconnect/emulator.js +16 -0
  305. package/lib/mcp/tools/dataconnect/execute_graphql.js +48 -0
  306. package/lib/mcp/tools/dataconnect/execute_graphql_read.js +48 -0
  307. package/lib/mcp/tools/dataconnect/execute_mutation.js +62 -0
  308. package/lib/mcp/tools/dataconnect/execute_query.js +62 -0
  309. package/lib/mcp/tools/dataconnect/generate_operation.js +34 -0
  310. package/lib/mcp/tools/dataconnect/generate_schema.js +26 -0
  311. package/lib/mcp/tools/dataconnect/get_connector.js +31 -0
  312. package/lib/mcp/tools/dataconnect/get_schema.js +31 -0
  313. package/lib/mcp/tools/dataconnect/index.js +23 -0
  314. package/lib/mcp/tools/dataconnect/list_services.js +23 -0
  315. package/lib/mcp/tools/firestore/converter.js +102 -0
  316. package/lib/mcp/tools/firestore/delete_document.js +50 -0
  317. package/lib/mcp/tools/firestore/get_documents.js +58 -0
  318. package/lib/mcp/tools/firestore/index.js +17 -0
  319. package/lib/mcp/tools/firestore/list_collections.js +36 -0
  320. package/lib/mcp/tools/firestore/query_collection.js +132 -0
  321. package/lib/mcp/tools/index.js +62 -0
  322. package/lib/mcp/tools/messaging/index.js +5 -0
  323. package/lib/mcp/tools/messaging/send_message.js +42 -0
  324. package/lib/mcp/tools/remoteconfig/get_template.js +27 -0
  325. package/lib/mcp/tools/remoteconfig/index.js +7 -0
  326. package/lib/mcp/tools/remoteconfig/publish_template.js +34 -0
  327. package/lib/mcp/tools/remoteconfig/rollback_template.js +29 -0
  328. package/lib/mcp/tools/rules/get_rules.js +29 -0
  329. package/lib/mcp/tools/rules/validate_rules.js +97 -0
  330. package/lib/mcp/tools/storage/get_download_url.js +40 -0
  331. package/lib/mcp/tools/storage/get_rules.js +26 -0
  332. package/lib/mcp/tools/storage/index.js +11 -0
  333. package/lib/mcp/types.js +13 -0
  334. package/lib/mcp/util.js +214 -0
  335. package/lib/mcp/util.test.js +468 -0
  336. package/lib/messaging/interfaces.js +2 -0
  337. package/lib/messaging/sendMessage.js +48 -0
  338. package/lib/operation-poller.js +3 -1
  339. package/lib/profileReport.js +1 -1
  340. package/lib/prompt.js +86 -54
  341. package/lib/remoteconfig/publish.js +39 -0
  342. package/lib/requireAuth.js +2 -2
  343. package/lib/requireTosAcceptance.js +4 -0
  344. package/lib/rulesDeploy.js +10 -15
  345. package/lib/track.js +7 -37
  346. package/lib/utils.js +28 -41
  347. package/lib/vsCodeUtils.js +7 -3
  348. package/package.json +31 -15
  349. package/schema/connector-yaml.json +12 -0
  350. package/schema/dataconnect-yaml.json +5 -0
  351. package/schema/extension-yaml.json +17 -4
  352. package/schema/firebase-config.json +1117 -2121
  353. package/standalone/package-lock.json +1255 -992
  354. package/standalone/package.json +1 -1
  355. package/templates/dataconnect-prompts/operation-generation-cursor-windsurf-rule.txt +273 -0
  356. package/templates/dataconnect-prompts/schema-generation-cursor-windsurf-rule.txt +653 -0
  357. package/templates/genkit/firebase.0.9.0.template +1 -1
  358. package/templates/genkit/firebase.1.0.0.template +71 -0
  359. package/templates/init/dataconnect/connector.yaml +4 -1
  360. package/templates/init/dataconnect/dataconnect.yaml +1 -1
  361. package/templates/init/dataconnect/mutations.gql +9 -26
  362. package/templates/init/dataconnect/queries.gql +9 -14
  363. package/templates/init/dataconnect/schema.gql +28 -21
  364. package/templates/init/firestore/firestore.rules +2 -0
  365. package/templates/init/functions/javascript/index.js +14 -1
  366. package/templates/init/functions/javascript/package.lint.json +1 -1
  367. package/templates/init/functions/javascript/package.nolint.json +1 -1
  368. package/templates/init/functions/python/_gitignore +6 -1
  369. package/templates/init/functions/python/main.py +8 -0
  370. package/templates/init/functions/typescript/index.ts +14 -1
  371. package/templates/init/functions/typescript/package.lint.json +2 -2
  372. package/templates/init/functions/typescript/package.nolint.json +3 -3
  373. package/lib/commands/apphosting-config-export.js +0 -28
  374. package/lib/commands/experimental-functions-shell.js +0 -13
  375. package/lib/emulator/dataconnect/pg-gateway/auth/base-auth-flow.js +0 -11
  376. package/lib/emulator/dataconnect/pg-gateway/auth/cert.js +0 -58
  377. package/lib/emulator/dataconnect/pg-gateway/auth/index.js +0 -22
  378. package/lib/emulator/dataconnect/pg-gateway/auth/md5.js +0 -124
  379. package/lib/emulator/dataconnect/pg-gateway/auth/password.js +0 -54
  380. package/lib/emulator/dataconnect/pg-gateway/auth/sasl/sasl-mechanism.js +0 -34
  381. package/lib/emulator/dataconnect/pg-gateway/auth/sasl/scram-sha-256.js +0 -270
  382. package/lib/emulator/dataconnect/pg-gateway/backend-error.js +0 -75
  383. package/lib/emulator/dataconnect/pg-gateway/buffer-reader.js +0 -54
  384. package/lib/emulator/dataconnect/pg-gateway/buffer-writer.js +0 -79
  385. package/lib/emulator/dataconnect/pg-gateway/connection.js +0 -315
  386. package/lib/emulator/dataconnect/pg-gateway/connection.types.js +0 -8
  387. package/lib/emulator/dataconnect/pg-gateway/crypto.js +0 -40
  388. package/lib/emulator/dataconnect/pg-gateway/duplex.js +0 -53
  389. package/lib/emulator/dataconnect/pg-gateway/index.js +0 -27
  390. package/lib/emulator/dataconnect/pg-gateway/message-buffer.js +0 -82
  391. package/lib/emulator/dataconnect/pg-gateway/message-codes.js +0 -52
  392. package/lib/emulator/dataconnect/pg-gateway/platforms/node/index.js +0 -16
  393. package/lib/emulator/dataconnect/pg-gateway/polyfills/readable-stream-async-iterator.js +0 -35
  394. package/lib/emulator/dataconnect/pg-gateway/utils.js +0 -40
  395. package/templates/setup/web.js +0 -5
  396. /package/lib/{emulator/dataconnect/pg-gateway/auth/trust.js → dataconnect/cloudAICompanionTypes.js} +0 -0
@@ -2,10 +2,130 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "additionalProperties": false,
4
4
  "definitions": {
5
+ "DataConnectSingle": {
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "postdeploy": {
9
+ "anyOf": [
10
+ {
11
+ "items": {
12
+ "type": "string"
13
+ },
14
+ "type": "array"
15
+ },
16
+ {
17
+ "type": "string"
18
+ }
19
+ ]
20
+ },
21
+ "predeploy": {
22
+ "anyOf": [
23
+ {
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "type": "array"
28
+ },
29
+ {
30
+ "type": "string"
31
+ }
32
+ ]
33
+ },
34
+ "source": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ "required": [
39
+ "source"
40
+ ],
41
+ "type": "object"
42
+ },
43
+ "DatabaseSingle": {
44
+ "additionalProperties": false,
45
+ "properties": {
46
+ "postdeploy": {
47
+ "anyOf": [
48
+ {
49
+ "items": {
50
+ "type": "string"
51
+ },
52
+ "type": "array"
53
+ },
54
+ {
55
+ "type": "string"
56
+ }
57
+ ]
58
+ },
59
+ "predeploy": {
60
+ "anyOf": [
61
+ {
62
+ "items": {
63
+ "type": "string"
64
+ },
65
+ "type": "array"
66
+ },
67
+ {
68
+ "type": "string"
69
+ }
70
+ ]
71
+ },
72
+ "rules": {
73
+ "type": "string"
74
+ }
75
+ },
76
+ "required": [
77
+ "rules"
78
+ ],
79
+ "type": "object"
80
+ },
5
81
  "ExtensionsConfig": {
6
82
  "additionalProperties": false,
7
83
  "type": "object"
8
84
  },
85
+ "FirestoreSingle": {
86
+ "additionalProperties": false,
87
+ "properties": {
88
+ "database": {
89
+ "type": "string"
90
+ },
91
+ "indexes": {
92
+ "type": "string"
93
+ },
94
+ "location": {
95
+ "type": "string"
96
+ },
97
+ "postdeploy": {
98
+ "anyOf": [
99
+ {
100
+ "items": {
101
+ "type": "string"
102
+ },
103
+ "type": "array"
104
+ },
105
+ {
106
+ "type": "string"
107
+ }
108
+ ]
109
+ },
110
+ "predeploy": {
111
+ "anyOf": [
112
+ {
113
+ "items": {
114
+ "type": "string"
115
+ },
116
+ "type": "array"
117
+ },
118
+ {
119
+ "type": "string"
120
+ }
121
+ ]
122
+ },
123
+ "rules": {
124
+ "type": "string"
125
+ }
126
+ },
127
+ "type": "object"
128
+ },
9
129
  "FrameworksBackendOptions": {
10
130
  "additionalProperties": false,
11
131
  "properties": {
@@ -23,9 +143,7 @@
23
143
  "cpu": {
24
144
  "anyOf": [
25
145
  {
26
- "enum": [
27
- "gcf_gen1"
28
- ],
146
+ "const": "gcf_gen1",
29
147
  "type": "string"
30
148
  },
31
149
  {
@@ -48,10 +166,8 @@
48
166
  "type": "string"
49
167
  },
50
168
  "invoker": {
169
+ "const": "public",
51
170
  "description": "Invoker to set access control on https functions.",
52
- "enum": [
53
- "public"
54
- ],
55
171
  "type": "string"
56
172
  },
57
173
  "labels": {
@@ -122,857 +238,761 @@
122
238
  },
123
239
  "type": "object"
124
240
  },
125
- "Record<string,string>": {
241
+ "FunctionConfig": {
126
242
  "additionalProperties": false,
243
+ "properties": {
244
+ "codebase": {
245
+ "type": "string"
246
+ },
247
+ "ignore": {
248
+ "items": {
249
+ "type": "string"
250
+ },
251
+ "type": "array"
252
+ },
253
+ "postdeploy": {
254
+ "anyOf": [
255
+ {
256
+ "items": {
257
+ "type": "string"
258
+ },
259
+ "type": "array"
260
+ },
261
+ {
262
+ "type": "string"
263
+ }
264
+ ]
265
+ },
266
+ "predeploy": {
267
+ "anyOf": [
268
+ {
269
+ "items": {
270
+ "type": "string"
271
+ },
272
+ "type": "array"
273
+ },
274
+ {
275
+ "type": "string"
276
+ }
277
+ ]
278
+ },
279
+ "runtime": {
280
+ "enum": [
281
+ "nodejs18",
282
+ "nodejs20",
283
+ "nodejs22",
284
+ "python310",
285
+ "python311",
286
+ "python312",
287
+ "python313"
288
+ ],
289
+ "type": "string"
290
+ },
291
+ "source": {
292
+ "type": "string"
293
+ }
294
+ },
127
295
  "type": "object"
128
- }
129
- },
130
- "properties": {
131
- "$schema": {
132
- "format": "uri",
133
- "type": "string"
134
296
  },
135
- "database": {
297
+ "HostingHeaders": {
136
298
  "anyOf": [
137
299
  {
138
300
  "additionalProperties": false,
139
301
  "properties": {
140
- "postdeploy": {
141
- "anyOf": [
142
- {
143
- "items": {
144
- "type": "string"
145
- },
146
- "type": "array"
147
- },
148
- {
149
- "type": "string"
150
- }
151
- ]
302
+ "glob": {
303
+ "type": "string"
152
304
  },
153
- "predeploy": {
154
- "anyOf": [
155
- {
156
- "items": {
305
+ "headers": {
306
+ "items": {
307
+ "additionalProperties": false,
308
+ "properties": {
309
+ "key": {
157
310
  "type": "string"
158
311
  },
159
- "type": "array"
312
+ "value": {
313
+ "type": "string"
314
+ }
160
315
  },
161
- {
162
- "type": "string"
163
- }
164
- ]
165
- },
166
- "rules": {
167
- "type": "string"
316
+ "required": [
317
+ "key",
318
+ "value"
319
+ ],
320
+ "type": "object"
321
+ },
322
+ "type": "array"
168
323
  }
169
324
  },
170
325
  "required": [
171
- "rules"
326
+ "glob",
327
+ "headers"
172
328
  ],
173
329
  "type": "object"
174
330
  },
175
331
  {
176
- "items": {
177
- "anyOf": [
178
- {
332
+ "additionalProperties": false,
333
+ "properties": {
334
+ "headers": {
335
+ "items": {
179
336
  "additionalProperties": false,
180
337
  "properties": {
181
- "instance": {
182
- "type": "string"
183
- },
184
- "postdeploy": {
185
- "anyOf": [
186
- {
187
- "items": {
188
- "type": "string"
189
- },
190
- "type": "array"
191
- },
192
- {
193
- "type": "string"
194
- }
195
- ]
196
- },
197
- "predeploy": {
198
- "anyOf": [
199
- {
200
- "items": {
201
- "type": "string"
202
- },
203
- "type": "array"
204
- },
205
- {
206
- "type": "string"
207
- }
208
- ]
209
- },
210
- "rules": {
338
+ "key": {
211
339
  "type": "string"
212
340
  },
213
- "target": {
341
+ "value": {
214
342
  "type": "string"
215
343
  }
216
344
  },
217
345
  "required": [
218
- "instance",
219
- "rules"
346
+ "key",
347
+ "value"
220
348
  ],
221
349
  "type": "object"
222
350
  },
223
- {
351
+ "type": "array"
352
+ },
353
+ "source": {
354
+ "type": "string"
355
+ }
356
+ },
357
+ "required": [
358
+ "headers",
359
+ "source"
360
+ ],
361
+ "type": "object"
362
+ },
363
+ {
364
+ "additionalProperties": false,
365
+ "properties": {
366
+ "headers": {
367
+ "items": {
224
368
  "additionalProperties": false,
225
369
  "properties": {
226
- "instance": {
370
+ "key": {
227
371
  "type": "string"
228
372
  },
229
- "postdeploy": {
230
- "anyOf": [
231
- {
232
- "items": {
233
- "type": "string"
234
- },
235
- "type": "array"
236
- },
237
- {
238
- "type": "string"
239
- }
240
- ]
241
- },
242
- "predeploy": {
243
- "anyOf": [
244
- {
245
- "items": {
246
- "type": "string"
247
- },
248
- "type": "array"
249
- },
250
- {
251
- "type": "string"
252
- }
253
- ]
254
- },
255
- "rules": {
256
- "type": "string"
257
- },
258
- "target": {
373
+ "value": {
259
374
  "type": "string"
260
375
  }
261
376
  },
262
377
  "required": [
263
- "rules",
264
- "target"
378
+ "key",
379
+ "value"
265
380
  ],
266
381
  "type": "object"
267
- }
268
- ]
382
+ },
383
+ "type": "array"
384
+ },
385
+ "regex": {
386
+ "type": "string"
387
+ }
269
388
  },
270
- "type": "array"
389
+ "required": [
390
+ "headers",
391
+ "regex"
392
+ ],
393
+ "type": "object"
271
394
  }
272
395
  ]
273
396
  },
274
- "dataconnect": {
397
+ "HostingRedirects": {
275
398
  "anyOf": [
276
399
  {
277
400
  "additionalProperties": false,
278
401
  "properties": {
279
- "postdeploy": {
280
- "anyOf": [
281
- {
282
- "items": {
283
- "type": "string"
284
- },
285
- "type": "array"
286
- },
287
- {
288
- "type": "string"
289
- }
290
- ]
291
- },
292
- "predeploy": {
293
- "anyOf": [
294
- {
295
- "items": {
296
- "type": "string"
297
- },
298
- "type": "array"
299
- },
300
- {
301
- "type": "string"
302
- }
303
- ]
402
+ "destination": {
403
+ "type": "string"
304
404
  },
305
- "source": {
405
+ "glob": {
306
406
  "type": "string"
407
+ },
408
+ "type": {
409
+ "type": "number"
307
410
  }
308
411
  },
309
412
  "required": [
310
- "source"
413
+ "destination",
414
+ "glob"
311
415
  ],
312
416
  "type": "object"
313
417
  },
314
418
  {
315
- "items": {
316
- "additionalProperties": false,
317
- "properties": {
318
- "postdeploy": {
319
- "anyOf": [
320
- {
321
- "items": {
322
- "type": "string"
323
- },
324
- "type": "array"
325
- },
326
- {
327
- "type": "string"
328
- }
329
- ]
330
- },
331
- "predeploy": {
332
- "anyOf": [
333
- {
334
- "items": {
335
- "type": "string"
336
- },
337
- "type": "array"
338
- },
339
- {
340
- "type": "string"
341
- }
342
- ]
343
- },
344
- "source": {
345
- "type": "string"
346
- }
347
- },
348
- "required": [
349
- "source"
350
- ],
351
- "type": "object"
352
- },
353
- "type": "array"
354
- }
355
- ]
356
- },
357
- "emulators": {
358
- "additionalProperties": false,
359
- "properties": {
360
- "apphosting": {
361
419
  "additionalProperties": false,
362
420
  "properties": {
363
- "host": {
364
- "type": "string"
365
- },
366
- "port": {
367
- "type": "number"
368
- },
369
- "rootDirectory": {
421
+ "destination": {
370
422
  "type": "string"
371
423
  },
372
- "startCommand": {
424
+ "source": {
373
425
  "type": "string"
374
426
  },
375
- "startCommandOverride": {
376
- "type": "string"
427
+ "type": {
428
+ "type": "number"
377
429
  }
378
430
  },
431
+ "required": [
432
+ "destination",
433
+ "source"
434
+ ],
379
435
  "type": "object"
380
436
  },
381
- "auth": {
437
+ {
382
438
  "additionalProperties": false,
383
439
  "properties": {
384
- "host": {
440
+ "destination": {
385
441
  "type": "string"
386
442
  },
387
- "port": {
443
+ "regex": {
444
+ "type": "string"
445
+ },
446
+ "type": {
388
447
  "type": "number"
389
448
  }
390
449
  },
450
+ "required": [
451
+ "destination",
452
+ "regex"
453
+ ],
391
454
  "type": "object"
392
- },
393
- "database": {
455
+ }
456
+ ]
457
+ },
458
+ "HostingRewrites": {
459
+ "anyOf": [
460
+ {
394
461
  "additionalProperties": false,
395
462
  "properties": {
396
- "host": {
463
+ "destination": {
397
464
  "type": "string"
398
465
  },
399
- "port": {
400
- "type": "number"
466
+ "glob": {
467
+ "type": "string"
401
468
  }
402
469
  },
470
+ "required": [
471
+ "destination",
472
+ "glob"
473
+ ],
403
474
  "type": "object"
404
475
  },
405
- "dataconnect": {
476
+ {
406
477
  "additionalProperties": false,
407
478
  "properties": {
408
- "dataDir": {
479
+ "function": {
409
480
  "type": "string"
410
481
  },
411
- "host": {
482
+ "glob": {
412
483
  "type": "string"
413
484
  },
414
- "port": {
415
- "type": "number"
416
- },
417
- "postgresHost": {
485
+ "region": {
418
486
  "type": "string"
419
- },
420
- "postgresPort": {
421
- "type": "number"
422
487
  }
423
488
  },
489
+ "required": [
490
+ "function",
491
+ "glob"
492
+ ],
424
493
  "type": "object"
425
494
  },
426
- "eventarc": {
495
+ {
427
496
  "additionalProperties": false,
428
497
  "properties": {
429
- "host": {
430
- "type": "string"
498
+ "function": {
499
+ "additionalProperties": false,
500
+ "properties": {
501
+ "functionId": {
502
+ "type": "string"
503
+ },
504
+ "pinTag": {
505
+ "type": "boolean"
506
+ },
507
+ "region": {
508
+ "type": "string"
509
+ }
510
+ },
511
+ "required": [
512
+ "functionId"
513
+ ],
514
+ "type": "object"
431
515
  },
432
- "port": {
433
- "type": "number"
516
+ "glob": {
517
+ "type": "string"
434
518
  }
435
519
  },
520
+ "required": [
521
+ "function",
522
+ "glob"
523
+ ],
436
524
  "type": "object"
437
525
  },
438
- "extensions": {
439
- "properties": {
440
- },
441
- "type": "object"
442
- },
443
- "firestore": {
526
+ {
444
527
  "additionalProperties": false,
445
528
  "properties": {
446
- "host": {
529
+ "glob": {
447
530
  "type": "string"
448
531
  },
449
- "port": {
450
- "type": "number"
451
- },
452
- "websocketPort": {
453
- "type": "number"
532
+ "run": {
533
+ "additionalProperties": false,
534
+ "properties": {
535
+ "pinTag": {
536
+ "type": "boolean"
537
+ },
538
+ "region": {
539
+ "type": "string"
540
+ },
541
+ "serviceId": {
542
+ "type": "string"
543
+ }
544
+ },
545
+ "required": [
546
+ "serviceId"
547
+ ],
548
+ "type": "object"
454
549
  }
455
550
  },
551
+ "required": [
552
+ "glob",
553
+ "run"
554
+ ],
456
555
  "type": "object"
457
556
  },
458
- "functions": {
557
+ {
459
558
  "additionalProperties": false,
460
559
  "properties": {
461
- "host": {
462
- "type": "string"
560
+ "dynamicLinks": {
561
+ "type": "boolean"
463
562
  },
464
- "port": {
465
- "type": "number"
563
+ "glob": {
564
+ "type": "string"
466
565
  }
467
566
  },
567
+ "required": [
568
+ "dynamicLinks",
569
+ "glob"
570
+ ],
468
571
  "type": "object"
469
572
  },
470
- "hosting": {
573
+ {
471
574
  "additionalProperties": false,
472
575
  "properties": {
473
- "host": {
576
+ "destination": {
474
577
  "type": "string"
475
578
  },
476
- "port": {
477
- "type": "number"
579
+ "source": {
580
+ "type": "string"
478
581
  }
479
582
  },
583
+ "required": [
584
+ "destination",
585
+ "source"
586
+ ],
480
587
  "type": "object"
481
588
  },
482
- "hub": {
589
+ {
483
590
  "additionalProperties": false,
484
591
  "properties": {
485
- "host": {
592
+ "function": {
486
593
  "type": "string"
487
594
  },
488
- "port": {
489
- "type": "number"
490
- }
491
- },
492
- "type": "object"
493
- },
494
- "logging": {
495
- "additionalProperties": false,
496
- "properties": {
497
- "host": {
595
+ "region": {
498
596
  "type": "string"
499
597
  },
500
- "port": {
501
- "type": "number"
598
+ "source": {
599
+ "type": "string"
502
600
  }
503
601
  },
602
+ "required": [
603
+ "function",
604
+ "source"
605
+ ],
504
606
  "type": "object"
505
607
  },
506
- "pubsub": {
608
+ {
507
609
  "additionalProperties": false,
508
610
  "properties": {
509
- "host": {
510
- "type": "string"
611
+ "function": {
612
+ "additionalProperties": false,
613
+ "properties": {
614
+ "functionId": {
615
+ "type": "string"
616
+ },
617
+ "pinTag": {
618
+ "type": "boolean"
619
+ },
620
+ "region": {
621
+ "type": "string"
622
+ }
623
+ },
624
+ "required": [
625
+ "functionId"
626
+ ],
627
+ "type": "object"
511
628
  },
512
- "port": {
513
- "type": "number"
629
+ "source": {
630
+ "type": "string"
514
631
  }
515
632
  },
633
+ "required": [
634
+ "function",
635
+ "source"
636
+ ],
516
637
  "type": "object"
517
638
  },
518
- "singleProjectMode": {
519
- "type": "boolean"
520
- },
521
- "storage": {
639
+ {
522
640
  "additionalProperties": false,
523
641
  "properties": {
524
- "host": {
525
- "type": "string"
526
- },
527
- "port": {
528
- "type": "number"
642
+ "run": {
643
+ "additionalProperties": false,
644
+ "properties": {
645
+ "pinTag": {
646
+ "type": "boolean"
647
+ },
648
+ "region": {
649
+ "type": "string"
650
+ },
651
+ "serviceId": {
652
+ "type": "string"
653
+ }
654
+ },
655
+ "required": [
656
+ "serviceId"
657
+ ],
658
+ "type": "object"
659
+ },
660
+ "source": {
661
+ "type": "string"
529
662
  }
530
663
  },
664
+ "required": [
665
+ "run",
666
+ "source"
667
+ ],
531
668
  "type": "object"
532
669
  },
533
- "tasks": {
670
+ {
534
671
  "additionalProperties": false,
535
672
  "properties": {
536
- "host": {
537
- "type": "string"
673
+ "dynamicLinks": {
674
+ "type": "boolean"
538
675
  },
539
- "port": {
540
- "type": "number"
676
+ "source": {
677
+ "type": "string"
541
678
  }
542
679
  },
680
+ "required": [
681
+ "dynamicLinks",
682
+ "source"
683
+ ],
543
684
  "type": "object"
544
685
  },
545
- "ui": {
686
+ {
546
687
  "additionalProperties": false,
547
688
  "properties": {
548
- "enabled": {
549
- "type": "boolean"
550
- },
551
- "host": {
689
+ "destination": {
552
690
  "type": "string"
553
691
  },
554
- "port": {
555
- "type": [
556
- "string",
557
- "number"
558
- ]
692
+ "regex": {
693
+ "type": "string"
559
694
  }
560
695
  },
696
+ "required": [
697
+ "destination",
698
+ "regex"
699
+ ],
561
700
  "type": "object"
562
- }
563
- },
564
- "type": "object"
565
- },
566
- "extensions": {
567
- "$ref": "#/definitions/ExtensionsConfig"
568
- },
569
- "firestore": {
570
- "anyOf": [
701
+ },
571
702
  {
572
703
  "additionalProperties": false,
573
704
  "properties": {
574
- "database": {
705
+ "function": {
575
706
  "type": "string"
576
707
  },
577
- "indexes": {
708
+ "regex": {
578
709
  "type": "string"
579
710
  },
580
- "postdeploy": {
581
- "anyOf": [
582
- {
583
- "items": {
584
- "type": "string"
585
- },
586
- "type": "array"
587
- },
588
- {
711
+ "region": {
712
+ "type": "string"
713
+ }
714
+ },
715
+ "required": [
716
+ "function",
717
+ "regex"
718
+ ],
719
+ "type": "object"
720
+ },
721
+ {
722
+ "additionalProperties": false,
723
+ "properties": {
724
+ "function": {
725
+ "additionalProperties": false,
726
+ "properties": {
727
+ "functionId": {
589
728
  "type": "string"
590
- }
591
- ]
592
- },
593
- "predeploy": {
594
- "anyOf": [
595
- {
596
- "items": {
597
- "type": "string"
598
- },
599
- "type": "array"
600
729
  },
601
- {
730
+ "pinTag": {
731
+ "type": "boolean"
732
+ },
733
+ "region": {
602
734
  "type": "string"
603
735
  }
604
- ]
736
+ },
737
+ "required": [
738
+ "functionId"
739
+ ],
740
+ "type": "object"
605
741
  },
606
- "rules": {
742
+ "regex": {
607
743
  "type": "string"
608
744
  }
609
745
  },
746
+ "required": [
747
+ "function",
748
+ "regex"
749
+ ],
610
750
  "type": "object"
611
751
  },
612
- {
613
- "items": {
614
- "anyOf": [
615
- {
616
- "additionalProperties": false,
617
- "properties": {
618
- "database": {
619
- "type": "string"
620
- },
621
- "indexes": {
622
- "type": "string"
623
- },
624
- "postdeploy": {
625
- "anyOf": [
626
- {
627
- "items": {
628
- "type": "string"
629
- },
630
- "type": "array"
631
- },
632
- {
633
- "type": "string"
634
- }
635
- ]
636
- },
637
- "predeploy": {
638
- "anyOf": [
639
- {
640
- "items": {
641
- "type": "string"
642
- },
643
- "type": "array"
644
- },
645
- {
646
- "type": "string"
647
- }
648
- ]
649
- },
650
- "rules": {
651
- "type": "string"
652
- },
653
- "target": {
654
- "type": "string"
655
- }
656
- },
657
- "required": [
658
- "target"
659
- ],
660
- "type": "object"
661
- },
662
- {
663
- "additionalProperties": false,
664
- "properties": {
665
- "database": {
666
- "type": "string"
667
- },
668
- "indexes": {
669
- "type": "string"
670
- },
671
- "postdeploy": {
672
- "anyOf": [
673
- {
674
- "items": {
675
- "type": "string"
676
- },
677
- "type": "array"
678
- },
679
- {
680
- "type": "string"
681
- }
682
- ]
683
- },
684
- "predeploy": {
685
- "anyOf": [
686
- {
687
- "items": {
688
- "type": "string"
689
- },
690
- "type": "array"
691
- },
692
- {
693
- "type": "string"
694
- }
695
- ]
696
- },
697
- "rules": {
698
- "type": "string"
699
- },
700
- "target": {
701
- "type": "string"
702
- }
703
- },
704
- "required": [
705
- "database"
706
- ],
707
- "type": "object"
708
- }
709
- ]
710
- },
711
- "type": "array"
712
- }
713
- ]
714
- },
715
- "functions": {
716
- "anyOf": [
717
752
  {
718
753
  "additionalProperties": false,
719
754
  "properties": {
720
- "codebase": {
755
+ "regex": {
721
756
  "type": "string"
722
757
  },
723
- "ignore": {
724
- "items": {
725
- "type": "string"
726
- },
727
- "type": "array"
728
- },
729
- "postdeploy": {
730
- "anyOf": [
731
- {
732
- "items": {
733
- "type": "string"
734
- },
735
- "type": "array"
758
+ "run": {
759
+ "additionalProperties": false,
760
+ "properties": {
761
+ "pinTag": {
762
+ "type": "boolean"
736
763
  },
737
- {
764
+ "region": {
738
765
  "type": "string"
739
- }
740
- ]
741
- },
742
- "predeploy": {
743
- "anyOf": [
744
- {
745
- "items": {
746
- "type": "string"
747
- },
748
- "type": "array"
749
766
  },
750
- {
767
+ "serviceId": {
751
768
  "type": "string"
752
769
  }
753
- ]
754
- },
755
- "runtime": {
756
- "enum": [
757
- "nodejs10",
758
- "nodejs12",
759
- "nodejs14",
760
- "nodejs16",
761
- "nodejs18",
762
- "nodejs20",
763
- "nodejs22",
764
- "nodejs6",
765
- "nodejs8",
766
- "python310",
767
- "python311",
768
- "python312"
770
+ },
771
+ "required": [
772
+ "serviceId"
769
773
  ],
770
- "type": "string"
771
- },
772
- "source": {
773
- "type": "string"
774
+ "type": "object"
774
775
  }
775
776
  },
777
+ "required": [
778
+ "regex",
779
+ "run"
780
+ ],
776
781
  "type": "object"
777
782
  },
778
783
  {
779
- "items": {
780
- "additionalProperties": false,
781
- "properties": {
782
- "codebase": {
783
- "type": "string"
784
- },
785
- "ignore": {
786
- "items": {
787
- "type": "string"
788
- },
789
- "type": "array"
790
- },
791
- "postdeploy": {
792
- "anyOf": [
793
- {
794
- "items": {
795
- "type": "string"
796
- },
797
- "type": "array"
798
- },
799
- {
800
- "type": "string"
801
- }
802
- ]
803
- },
804
- "predeploy": {
805
- "anyOf": [
806
- {
807
- "items": {
808
- "type": "string"
809
- },
810
- "type": "array"
811
- },
812
- {
813
- "type": "string"
814
- }
815
- ]
816
- },
817
- "runtime": {
818
- "enum": [
819
- "nodejs10",
820
- "nodejs12",
821
- "nodejs14",
822
- "nodejs16",
823
- "nodejs18",
824
- "nodejs20",
825
- "nodejs22",
826
- "nodejs6",
827
- "nodejs8",
828
- "python310",
829
- "python311",
830
- "python312"
831
- ],
832
- "type": "string"
833
- },
834
- "source": {
835
- "type": "string"
836
- }
784
+ "additionalProperties": false,
785
+ "properties": {
786
+ "dynamicLinks": {
787
+ "type": "boolean"
837
788
  },
838
- "type": "object"
789
+ "regex": {
790
+ "type": "string"
791
+ }
839
792
  },
840
- "type": "array"
793
+ "required": [
794
+ "dynamicLinks",
795
+ "regex"
796
+ ],
797
+ "type": "object"
841
798
  }
842
799
  ]
843
800
  },
844
- "hosting": {
845
- "anyOf": [
846
- {
801
+ "HostingSingle": {
802
+ "additionalProperties": false,
803
+ "properties": {
804
+ "appAssociation": {
805
+ "enum": [
806
+ "AUTO",
807
+ "NONE"
808
+ ],
809
+ "type": "string"
810
+ },
811
+ "cleanUrls": {
812
+ "type": "boolean"
813
+ },
814
+ "frameworksBackend": {
815
+ "$ref": "#/definitions/FrameworksBackendOptions"
816
+ },
817
+ "headers": {
818
+ "items": {
819
+ "$ref": "#/definitions/HostingHeaders"
820
+ },
821
+ "type": "array"
822
+ },
823
+ "i18n": {
847
824
  "additionalProperties": false,
848
825
  "properties": {
849
- "appAssociation": {
850
- "enum": [
851
- "AUTO",
852
- "NONE"
853
- ],
826
+ "root": {
854
827
  "type": "string"
828
+ }
829
+ },
830
+ "required": [
831
+ "root"
832
+ ],
833
+ "type": "object"
834
+ },
835
+ "ignore": {
836
+ "items": {
837
+ "type": "string"
838
+ },
839
+ "type": "array"
840
+ },
841
+ "postdeploy": {
842
+ "anyOf": [
843
+ {
844
+ "items": {
845
+ "type": "string"
846
+ },
847
+ "type": "array"
855
848
  },
856
- "cleanUrls": {
857
- "type": "boolean"
849
+ {
850
+ "type": "string"
851
+ }
852
+ ]
853
+ },
854
+ "predeploy": {
855
+ "anyOf": [
856
+ {
857
+ "items": {
858
+ "type": "string"
859
+ },
860
+ "type": "array"
858
861
  },
859
- "frameworksBackend": {
860
- "$ref": "#/definitions/FrameworksBackendOptions"
862
+ {
863
+ "type": "string"
864
+ }
865
+ ]
866
+ },
867
+ "public": {
868
+ "type": "string"
869
+ },
870
+ "redirects": {
871
+ "items": {
872
+ "$ref": "#/definitions/HostingRedirects"
873
+ },
874
+ "type": "array"
875
+ },
876
+ "rewrites": {
877
+ "items": {
878
+ "$ref": "#/definitions/HostingRewrites"
879
+ },
880
+ "type": "array"
881
+ },
882
+ "site": {
883
+ "type": "string"
884
+ },
885
+ "source": {
886
+ "type": "string"
887
+ },
888
+ "target": {
889
+ "type": "string"
890
+ },
891
+ "trailingSlash": {
892
+ "type": "boolean"
893
+ }
894
+ },
895
+ "type": "object"
896
+ },
897
+ "Record<string,string>": {
898
+ "additionalProperties": false,
899
+ "type": "object"
900
+ },
901
+ "RemoteConfigConfig": {
902
+ "additionalProperties": false,
903
+ "properties": {
904
+ "postdeploy": {
905
+ "anyOf": [
906
+ {
907
+ "items": {
908
+ "type": "string"
909
+ },
910
+ "type": "array"
861
911
  },
862
- "headers": {
912
+ {
913
+ "type": "string"
914
+ }
915
+ ]
916
+ },
917
+ "predeploy": {
918
+ "anyOf": [
919
+ {
863
920
  "items": {
864
- "anyOf": [
865
- {
866
- "additionalProperties": false,
867
- "properties": {
868
- "glob": {
869
- "type": "string"
870
- },
871
- "headers": {
872
- "items": {
873
- "additionalProperties": false,
874
- "properties": {
875
- "key": {
876
- "type": "string"
877
- },
878
- "value": {
879
- "type": "string"
880
- }
881
- },
882
- "required": [
883
- "key",
884
- "value"
885
- ],
886
- "type": "object"
887
- },
888
- "type": "array"
889
- }
890
- },
891
- "required": [
892
- "glob",
893
- "headers"
894
- ],
895
- "type": "object"
896
- },
897
- {
898
- "additionalProperties": false,
899
- "properties": {
900
- "headers": {
901
- "items": {
902
- "additionalProperties": false,
903
- "properties": {
904
- "key": {
905
- "type": "string"
906
- },
907
- "value": {
908
- "type": "string"
909
- }
910
- },
911
- "required": [
912
- "key",
913
- "value"
914
- ],
915
- "type": "object"
916
- },
917
- "type": "array"
918
- },
919
- "source": {
920
- "type": "string"
921
- }
922
- },
923
- "required": [
924
- "headers",
925
- "source"
926
- ],
927
- "type": "object"
928
- },
929
- {
930
- "additionalProperties": false,
931
- "properties": {
932
- "headers": {
933
- "items": {
934
- "additionalProperties": false,
935
- "properties": {
936
- "key": {
937
- "type": "string"
938
- },
939
- "value": {
940
- "type": "string"
941
- }
942
- },
943
- "required": [
944
- "key",
945
- "value"
946
- ],
947
- "type": "object"
948
- },
949
- "type": "array"
950
- },
951
- "regex": {
952
- "type": "string"
953
- }
954
- },
955
- "required": [
956
- "headers",
957
- "regex"
958
- ],
959
- "type": "object"
960
- }
961
- ]
921
+ "type": "string"
962
922
  },
963
923
  "type": "array"
964
924
  },
965
- "i18n": {
966
- "additionalProperties": false,
967
- "properties": {
968
- "root": {
969
- "type": "string"
970
- }
925
+ {
926
+ "type": "string"
927
+ }
928
+ ]
929
+ },
930
+ "template": {
931
+ "type": "string"
932
+ }
933
+ },
934
+ "required": [
935
+ "template"
936
+ ],
937
+ "type": "object"
938
+ },
939
+ "StorageSingle": {
940
+ "additionalProperties": false,
941
+ "properties": {
942
+ "postdeploy": {
943
+ "anyOf": [
944
+ {
945
+ "items": {
946
+ "type": "string"
971
947
  },
972
- "required": [
973
- "root"
974
- ],
975
- "type": "object"
948
+ "type": "array"
949
+ },
950
+ {
951
+ "type": "string"
952
+ }
953
+ ]
954
+ },
955
+ "predeploy": {
956
+ "anyOf": [
957
+ {
958
+ "items": {
959
+ "type": "string"
960
+ },
961
+ "type": "array"
962
+ },
963
+ {
964
+ "type": "string"
965
+ }
966
+ ]
967
+ },
968
+ "rules": {
969
+ "type": "string"
970
+ },
971
+ "target": {
972
+ "type": "string"
973
+ }
974
+ },
975
+ "required": [
976
+ "rules"
977
+ ],
978
+ "type": "object"
979
+ }
980
+ },
981
+ "properties": {
982
+ "$schema": {
983
+ "format": "uri",
984
+ "type": "string"
985
+ },
986
+ "apphosting": {
987
+ "anyOf": [
988
+ {
989
+ "additionalProperties": false,
990
+ "properties": {
991
+ "alwaysDeployFromSource": {
992
+ "type": "boolean"
993
+ },
994
+ "backendId": {
995
+ "type": "string"
976
996
  },
977
997
  "ignore": {
978
998
  "items": {
@@ -980,459 +1000,498 @@
980
1000
  },
981
1001
  "type": "array"
982
1002
  },
983
- "postdeploy": {
984
- "anyOf": [
985
- {
986
- "items": {
987
- "type": "string"
988
- },
989
- "type": "array"
990
- },
991
- {
1003
+ "rootDir": {
1004
+ "type": "string"
1005
+ }
1006
+ },
1007
+ "required": [
1008
+ "backendId",
1009
+ "ignore",
1010
+ "rootDir"
1011
+ ],
1012
+ "type": "object"
1013
+ },
1014
+ {
1015
+ "items": {
1016
+ "additionalProperties": false,
1017
+ "properties": {
1018
+ "alwaysDeployFromSource": {
1019
+ "type": "boolean"
1020
+ },
1021
+ "backendId": {
1022
+ "type": "string"
1023
+ },
1024
+ "ignore": {
1025
+ "items": {
992
1026
  "type": "string"
993
- }
994
- ]
1027
+ },
1028
+ "type": "array"
1029
+ },
1030
+ "rootDir": {
1031
+ "type": "string"
1032
+ }
995
1033
  },
996
- "predeploy": {
997
- "anyOf": [
998
- {
999
- "items": {
1034
+ "required": [
1035
+ "backendId",
1036
+ "ignore",
1037
+ "rootDir"
1038
+ ],
1039
+ "type": "object"
1040
+ },
1041
+ "type": "array"
1042
+ }
1043
+ ]
1044
+ },
1045
+ "database": {
1046
+ "anyOf": [
1047
+ {
1048
+ "$ref": "#/definitions/DatabaseSingle"
1049
+ },
1050
+ {
1051
+ "items": {
1052
+ "anyOf": [
1053
+ {
1054
+ "additionalProperties": false,
1055
+ "properties": {
1056
+ "instance": {
1000
1057
  "type": "string"
1001
1058
  },
1002
- "type": "array"
1003
- },
1004
- {
1005
- "type": "string"
1006
- }
1007
- ]
1008
- },
1009
- "public": {
1010
- "type": "string"
1011
- },
1012
- "redirects": {
1013
- "items": {
1014
- "anyOf": [
1015
- {
1016
- "additionalProperties": false,
1017
- "properties": {
1018
- "destination": {
1019
- "type": "string"
1059
+ "postdeploy": {
1060
+ "anyOf": [
1061
+ {
1062
+ "items": {
1063
+ "type": "string"
1064
+ },
1065
+ "type": "array"
1020
1066
  },
1021
- "glob": {
1067
+ {
1022
1068
  "type": "string"
1023
- },
1024
- "type": {
1025
- "type": "number"
1026
1069
  }
1027
- },
1028
- "required": [
1029
- "destination",
1030
- "glob"
1031
- ],
1032
- "type": "object"
1070
+ ]
1033
1071
  },
1034
- {
1035
- "additionalProperties": false,
1036
- "properties": {
1037
- "destination": {
1038
- "type": "string"
1072
+ "predeploy": {
1073
+ "anyOf": [
1074
+ {
1075
+ "items": {
1076
+ "type": "string"
1077
+ },
1078
+ "type": "array"
1039
1079
  },
1040
- "source": {
1080
+ {
1041
1081
  "type": "string"
1042
- },
1043
- "type": {
1044
- "type": "number"
1045
1082
  }
1046
- },
1047
- "required": [
1048
- "destination",
1049
- "source"
1050
- ],
1051
- "type": "object"
1083
+ ]
1052
1084
  },
1053
- {
1054
- "additionalProperties": false,
1055
- "properties": {
1056
- "destination": {
1057
- "type": "string"
1058
- },
1059
- "regex": {
1060
- "type": "string"
1061
- },
1062
- "type": {
1063
- "type": "number"
1064
- }
1065
- },
1066
- "required": [
1067
- "destination",
1068
- "regex"
1069
- ],
1070
- "type": "object"
1085
+ "rules": {
1086
+ "type": "string"
1087
+ },
1088
+ "target": {
1089
+ "type": "string"
1071
1090
  }
1072
- ]
1091
+ },
1092
+ "required": [
1093
+ "instance",
1094
+ "rules"
1095
+ ],
1096
+ "type": "object"
1073
1097
  },
1074
- "type": "array"
1075
- },
1076
- "rewrites": {
1077
- "items": {
1078
- "anyOf": [
1079
- {
1080
- "additionalProperties": false,
1081
- "properties": {
1082
- "destination": {
1083
- "type": "string"
1084
- },
1085
- "glob": {
1086
- "type": "string"
1087
- }
1088
- },
1089
- "required": [
1090
- "destination",
1091
- "glob"
1092
- ],
1093
- "type": "object"
1094
- },
1095
- {
1096
- "additionalProperties": false,
1097
- "properties": {
1098
- "function": {
1099
- "type": "string"
1100
- },
1101
- "glob": {
1102
- "type": "string"
1103
- },
1104
- "region": {
1105
- "type": "string"
1106
- }
1107
- },
1108
- "required": [
1109
- "function",
1110
- "glob"
1111
- ],
1112
- "type": "object"
1098
+ {
1099
+ "additionalProperties": false,
1100
+ "properties": {
1101
+ "instance": {
1102
+ "type": "string"
1113
1103
  },
1114
- {
1115
- "additionalProperties": false,
1116
- "properties": {
1117
- "function": {
1118
- "additionalProperties": false,
1119
- "properties": {
1120
- "functionId": {
1121
- "type": "string"
1122
- },
1123
- "pinTag": {
1124
- "type": "boolean"
1125
- },
1126
- "region": {
1127
- "type": "string"
1128
- }
1104
+ "postdeploy": {
1105
+ "anyOf": [
1106
+ {
1107
+ "items": {
1108
+ "type": "string"
1129
1109
  },
1130
- "required": [
1131
- "functionId"
1132
- ],
1133
- "type": "object"
1110
+ "type": "array"
1134
1111
  },
1135
- "glob": {
1112
+ {
1136
1113
  "type": "string"
1137
1114
  }
1138
- },
1139
- "required": [
1140
- "function",
1141
- "glob"
1142
- ],
1143
- "type": "object"
1115
+ ]
1144
1116
  },
1145
- {
1146
- "additionalProperties": false,
1147
- "properties": {
1148
- "glob": {
1149
- "type": "string"
1150
- },
1151
- "run": {
1152
- "additionalProperties": false,
1153
- "properties": {
1154
- "pinTag": {
1155
- "type": "boolean"
1156
- },
1157
- "region": {
1158
- "type": "string"
1159
- },
1160
- "serviceId": {
1161
- "type": "string"
1162
- }
1117
+ "predeploy": {
1118
+ "anyOf": [
1119
+ {
1120
+ "items": {
1121
+ "type": "string"
1163
1122
  },
1164
- "required": [
1165
- "serviceId"
1166
- ],
1167
- "type": "object"
1168
- }
1169
- },
1170
- "required": [
1171
- "glob",
1172
- "run"
1173
- ],
1174
- "type": "object"
1175
- },
1176
- {
1177
- "additionalProperties": false,
1178
- "properties": {
1179
- "dynamicLinks": {
1180
- "type": "boolean"
1123
+ "type": "array"
1181
1124
  },
1182
- "glob": {
1125
+ {
1183
1126
  "type": "string"
1184
1127
  }
1185
- },
1186
- "required": [
1187
- "dynamicLinks",
1188
- "glob"
1189
- ],
1190
- "type": "object"
1128
+ ]
1191
1129
  },
1192
- {
1193
- "additionalProperties": false,
1194
- "properties": {
1195
- "destination": {
1196
- "type": "string"
1197
- },
1198
- "source": {
1199
- "type": "string"
1200
- }
1201
- },
1202
- "required": [
1203
- "destination",
1204
- "source"
1205
- ],
1206
- "type": "object"
1130
+ "rules": {
1131
+ "type": "string"
1207
1132
  },
1208
- {
1209
- "additionalProperties": false,
1210
- "properties": {
1211
- "function": {
1212
- "type": "string"
1213
- },
1214
- "region": {
1215
- "type": "string"
1216
- },
1217
- "source": {
1218
- "type": "string"
1219
- }
1220
- },
1221
- "required": [
1222
- "function",
1223
- "source"
1224
- ],
1225
- "type": "object"
1133
+ "target": {
1134
+ "type": "string"
1135
+ }
1136
+ },
1137
+ "required": [
1138
+ "rules",
1139
+ "target"
1140
+ ],
1141
+ "type": "object"
1142
+ }
1143
+ ]
1144
+ },
1145
+ "type": "array"
1146
+ }
1147
+ ]
1148
+ },
1149
+ "dataconnect": {
1150
+ "anyOf": [
1151
+ {
1152
+ "$ref": "#/definitions/DataConnectSingle"
1153
+ },
1154
+ {
1155
+ "items": {
1156
+ "$ref": "#/definitions/DataConnectSingle"
1157
+ },
1158
+ "type": "array"
1159
+ }
1160
+ ]
1161
+ },
1162
+ "emulators": {
1163
+ "additionalProperties": false,
1164
+ "properties": {
1165
+ "apphosting": {
1166
+ "additionalProperties": false,
1167
+ "properties": {
1168
+ "host": {
1169
+ "type": "string"
1170
+ },
1171
+ "port": {
1172
+ "type": "number"
1173
+ },
1174
+ "rootDirectory": {
1175
+ "type": "string"
1176
+ },
1177
+ "startCommand": {
1178
+ "type": "string"
1179
+ },
1180
+ "startCommandOverride": {
1181
+ "type": "string"
1182
+ }
1183
+ },
1184
+ "type": "object"
1185
+ },
1186
+ "auth": {
1187
+ "additionalProperties": false,
1188
+ "properties": {
1189
+ "host": {
1190
+ "type": "string"
1191
+ },
1192
+ "port": {
1193
+ "type": "number"
1194
+ }
1195
+ },
1196
+ "type": "object"
1197
+ },
1198
+ "database": {
1199
+ "additionalProperties": false,
1200
+ "properties": {
1201
+ "host": {
1202
+ "type": "string"
1203
+ },
1204
+ "port": {
1205
+ "type": "number"
1206
+ }
1207
+ },
1208
+ "type": "object"
1209
+ },
1210
+ "dataconnect": {
1211
+ "additionalProperties": false,
1212
+ "properties": {
1213
+ "dataDir": {
1214
+ "type": "string"
1215
+ },
1216
+ "host": {
1217
+ "type": "string"
1218
+ },
1219
+ "port": {
1220
+ "type": "number"
1221
+ },
1222
+ "postgresHost": {
1223
+ "type": "string"
1224
+ },
1225
+ "postgresPort": {
1226
+ "type": "number"
1227
+ }
1228
+ },
1229
+ "type": "object"
1230
+ },
1231
+ "eventarc": {
1232
+ "additionalProperties": false,
1233
+ "properties": {
1234
+ "host": {
1235
+ "type": "string"
1236
+ },
1237
+ "port": {
1238
+ "type": "number"
1239
+ }
1240
+ },
1241
+ "type": "object"
1242
+ },
1243
+ "extensions": {
1244
+ "properties": {},
1245
+ "type": "object"
1246
+ },
1247
+ "firestore": {
1248
+ "additionalProperties": false,
1249
+ "properties": {
1250
+ "host": {
1251
+ "type": "string"
1252
+ },
1253
+ "port": {
1254
+ "type": "number"
1255
+ },
1256
+ "websocketPort": {
1257
+ "type": "number"
1258
+ }
1259
+ },
1260
+ "type": "object"
1261
+ },
1262
+ "functions": {
1263
+ "additionalProperties": false,
1264
+ "properties": {
1265
+ "host": {
1266
+ "type": "string"
1267
+ },
1268
+ "port": {
1269
+ "type": "number"
1270
+ }
1271
+ },
1272
+ "type": "object"
1273
+ },
1274
+ "hosting": {
1275
+ "additionalProperties": false,
1276
+ "properties": {
1277
+ "host": {
1278
+ "type": "string"
1279
+ },
1280
+ "port": {
1281
+ "type": "number"
1282
+ }
1283
+ },
1284
+ "type": "object"
1285
+ },
1286
+ "hub": {
1287
+ "additionalProperties": false,
1288
+ "properties": {
1289
+ "host": {
1290
+ "type": "string"
1291
+ },
1292
+ "port": {
1293
+ "type": "number"
1294
+ }
1295
+ },
1296
+ "type": "object"
1297
+ },
1298
+ "logging": {
1299
+ "additionalProperties": false,
1300
+ "properties": {
1301
+ "host": {
1302
+ "type": "string"
1303
+ },
1304
+ "port": {
1305
+ "type": "number"
1306
+ }
1307
+ },
1308
+ "type": "object"
1309
+ },
1310
+ "pubsub": {
1311
+ "additionalProperties": false,
1312
+ "properties": {
1313
+ "host": {
1314
+ "type": "string"
1315
+ },
1316
+ "port": {
1317
+ "type": "number"
1318
+ }
1319
+ },
1320
+ "type": "object"
1321
+ },
1322
+ "singleProjectMode": {
1323
+ "type": "boolean"
1324
+ },
1325
+ "storage": {
1326
+ "additionalProperties": false,
1327
+ "properties": {
1328
+ "host": {
1329
+ "type": "string"
1330
+ },
1331
+ "port": {
1332
+ "type": "number"
1333
+ }
1334
+ },
1335
+ "type": "object"
1336
+ },
1337
+ "tasks": {
1338
+ "additionalProperties": false,
1339
+ "properties": {
1340
+ "host": {
1341
+ "type": "string"
1342
+ },
1343
+ "port": {
1344
+ "type": "number"
1345
+ }
1346
+ },
1347
+ "type": "object"
1348
+ },
1349
+ "ui": {
1350
+ "additionalProperties": false,
1351
+ "properties": {
1352
+ "enabled": {
1353
+ "type": "boolean"
1354
+ },
1355
+ "host": {
1356
+ "type": "string"
1357
+ },
1358
+ "port": {
1359
+ "type": "number"
1360
+ }
1361
+ },
1362
+ "type": "object"
1363
+ }
1364
+ },
1365
+ "type": "object"
1366
+ },
1367
+ "extensions": {
1368
+ "$ref": "#/definitions/ExtensionsConfig"
1369
+ },
1370
+ "firestore": {
1371
+ "anyOf": [
1372
+ {
1373
+ "$ref": "#/definitions/FirestoreSingle"
1374
+ },
1375
+ {
1376
+ "items": {
1377
+ "anyOf": [
1378
+ {
1379
+ "additionalProperties": false,
1380
+ "properties": {
1381
+ "database": {
1382
+ "type": "string"
1226
1383
  },
1227
- {
1228
- "additionalProperties": false,
1229
- "properties": {
1230
- "function": {
1231
- "additionalProperties": false,
1232
- "properties": {
1233
- "functionId": {
1234
- "type": "string"
1235
- },
1236
- "pinTag": {
1237
- "type": "boolean"
1238
- },
1239
- "region": {
1240
- "type": "string"
1241
- }
1384
+ "indexes": {
1385
+ "type": "string"
1386
+ },
1387
+ "postdeploy": {
1388
+ "anyOf": [
1389
+ {
1390
+ "items": {
1391
+ "type": "string"
1242
1392
  },
1243
- "required": [
1244
- "functionId"
1245
- ],
1246
- "type": "object"
1393
+ "type": "array"
1247
1394
  },
1248
- "source": {
1395
+ {
1249
1396
  "type": "string"
1250
1397
  }
1251
- },
1252
- "required": [
1253
- "function",
1254
- "source"
1255
- ],
1256
- "type": "object"
1398
+ ]
1257
1399
  },
1258
- {
1259
- "additionalProperties": false,
1260
- "properties": {
1261
- "run": {
1262
- "additionalProperties": false,
1263
- "properties": {
1264
- "pinTag": {
1265
- "type": "boolean"
1266
- },
1267
- "region": {
1268
- "type": "string"
1269
- },
1270
- "serviceId": {
1271
- "type": "string"
1272
- }
1400
+ "predeploy": {
1401
+ "anyOf": [
1402
+ {
1403
+ "items": {
1404
+ "type": "string"
1273
1405
  },
1274
- "required": [
1275
- "serviceId"
1276
- ],
1277
- "type": "object"
1406
+ "type": "array"
1278
1407
  },
1279
- "source": {
1408
+ {
1280
1409
  "type": "string"
1281
1410
  }
1282
- },
1283
- "required": [
1284
- "run",
1285
- "source"
1286
- ],
1287
- "type": "object"
1411
+ ]
1288
1412
  },
1289
- {
1290
- "additionalProperties": false,
1291
- "properties": {
1292
- "dynamicLinks": {
1293
- "type": "boolean"
1294
- },
1295
- "source": {
1296
- "type": "string"
1297
- }
1298
- },
1299
- "required": [
1300
- "dynamicLinks",
1301
- "source"
1302
- ],
1303
- "type": "object"
1413
+ "rules": {
1414
+ "type": "string"
1304
1415
  },
1305
- {
1306
- "additionalProperties": false,
1307
- "properties": {
1308
- "destination": {
1309
- "type": "string"
1310
- },
1311
- "regex": {
1312
- "type": "string"
1313
- }
1314
- },
1315
- "required": [
1316
- "destination",
1317
- "regex"
1318
- ],
1319
- "type": "object"
1416
+ "target": {
1417
+ "type": "string"
1418
+ }
1419
+ },
1420
+ "required": [
1421
+ "target"
1422
+ ],
1423
+ "type": "object"
1424
+ },
1425
+ {
1426
+ "additionalProperties": false,
1427
+ "properties": {
1428
+ "database": {
1429
+ "type": "string"
1320
1430
  },
1321
- {
1322
- "additionalProperties": false,
1323
- "properties": {
1324
- "function": {
1325
- "type": "string"
1326
- },
1327
- "regex": {
1328
- "type": "string"
1329
- },
1330
- "region": {
1331
- "type": "string"
1332
- }
1333
- },
1334
- "required": [
1335
- "function",
1336
- "regex"
1337
- ],
1338
- "type": "object"
1431
+ "indexes": {
1432
+ "type": "string"
1339
1433
  },
1340
- {
1341
- "additionalProperties": false,
1342
- "properties": {
1343
- "function": {
1344
- "additionalProperties": false,
1345
- "properties": {
1346
- "functionId": {
1347
- "type": "string"
1348
- },
1349
- "pinTag": {
1350
- "type": "boolean"
1351
- },
1352
- "region": {
1353
- "type": "string"
1354
- }
1434
+ "postdeploy": {
1435
+ "anyOf": [
1436
+ {
1437
+ "items": {
1438
+ "type": "string"
1355
1439
  },
1356
- "required": [
1357
- "functionId"
1358
- ],
1359
- "type": "object"
1440
+ "type": "array"
1360
1441
  },
1361
- "regex": {
1442
+ {
1362
1443
  "type": "string"
1363
1444
  }
1364
- },
1365
- "required": [
1366
- "function",
1367
- "regex"
1368
- ],
1369
- "type": "object"
1445
+ ]
1370
1446
  },
1371
- {
1372
- "additionalProperties": false,
1373
- "properties": {
1374
- "regex": {
1375
- "type": "string"
1376
- },
1377
- "run": {
1378
- "additionalProperties": false,
1379
- "properties": {
1380
- "pinTag": {
1381
- "type": "boolean"
1382
- },
1383
- "region": {
1384
- "type": "string"
1385
- },
1386
- "serviceId": {
1387
- "type": "string"
1388
- }
1447
+ "predeploy": {
1448
+ "anyOf": [
1449
+ {
1450
+ "items": {
1451
+ "type": "string"
1389
1452
  },
1390
- "required": [
1391
- "serviceId"
1392
- ],
1393
- "type": "object"
1394
- }
1395
- },
1396
- "required": [
1397
- "regex",
1398
- "run"
1399
- ],
1400
- "type": "object"
1401
- },
1402
- {
1403
- "additionalProperties": false,
1404
- "properties": {
1405
- "dynamicLinks": {
1406
- "type": "boolean"
1453
+ "type": "array"
1407
1454
  },
1408
- "regex": {
1455
+ {
1409
1456
  "type": "string"
1410
1457
  }
1411
- },
1412
- "required": [
1413
- "dynamicLinks",
1414
- "regex"
1415
- ],
1416
- "type": "object"
1458
+ ]
1459
+ },
1460
+ "rules": {
1461
+ "type": "string"
1462
+ },
1463
+ "target": {
1464
+ "type": "string"
1417
1465
  }
1418
- ]
1419
- },
1420
- "type": "array"
1421
- },
1422
- "site": {
1423
- "type": "string"
1424
- },
1425
- "source": {
1426
- "type": "string"
1427
- },
1428
- "target": {
1429
- "type": "string"
1430
- },
1431
- "trailingSlash": {
1432
- "type": "boolean"
1433
- }
1466
+ },
1467
+ "required": [
1468
+ "database"
1469
+ ],
1470
+ "type": "object"
1471
+ }
1472
+ ]
1434
1473
  },
1435
- "type": "object"
1474
+ "type": "array"
1475
+ }
1476
+ ]
1477
+ },
1478
+ "functions": {
1479
+ "anyOf": [
1480
+ {
1481
+ "$ref": "#/definitions/FunctionConfig"
1482
+ },
1483
+ {
1484
+ "items": {
1485
+ "$ref": "#/definitions/FunctionConfig"
1486
+ },
1487
+ "type": "array"
1488
+ }
1489
+ ]
1490
+ },
1491
+ "hosting": {
1492
+ "anyOf": [
1493
+ {
1494
+ "$ref": "#/definitions/HostingSingle"
1436
1495
  },
1437
1496
  {
1438
1497
  "items": {
@@ -1455,104 +1514,7 @@
1455
1514
  },
1456
1515
  "headers": {
1457
1516
  "items": {
1458
- "anyOf": [
1459
- {
1460
- "additionalProperties": false,
1461
- "properties": {
1462
- "glob": {
1463
- "type": "string"
1464
- },
1465
- "headers": {
1466
- "items": {
1467
- "additionalProperties": false,
1468
- "properties": {
1469
- "key": {
1470
- "type": "string"
1471
- },
1472
- "value": {
1473
- "type": "string"
1474
- }
1475
- },
1476
- "required": [
1477
- "key",
1478
- "value"
1479
- ],
1480
- "type": "object"
1481
- },
1482
- "type": "array"
1483
- }
1484
- },
1485
- "required": [
1486
- "glob",
1487
- "headers"
1488
- ],
1489
- "type": "object"
1490
- },
1491
- {
1492
- "additionalProperties": false,
1493
- "properties": {
1494
- "headers": {
1495
- "items": {
1496
- "additionalProperties": false,
1497
- "properties": {
1498
- "key": {
1499
- "type": "string"
1500
- },
1501
- "value": {
1502
- "type": "string"
1503
- }
1504
- },
1505
- "required": [
1506
- "key",
1507
- "value"
1508
- ],
1509
- "type": "object"
1510
- },
1511
- "type": "array"
1512
- },
1513
- "source": {
1514
- "type": "string"
1515
- }
1516
- },
1517
- "required": [
1518
- "headers",
1519
- "source"
1520
- ],
1521
- "type": "object"
1522
- },
1523
- {
1524
- "additionalProperties": false,
1525
- "properties": {
1526
- "headers": {
1527
- "items": {
1528
- "additionalProperties": false,
1529
- "properties": {
1530
- "key": {
1531
- "type": "string"
1532
- },
1533
- "value": {
1534
- "type": "string"
1535
- }
1536
- },
1537
- "required": [
1538
- "key",
1539
- "value"
1540
- ],
1541
- "type": "object"
1542
- },
1543
- "type": "array"
1544
- },
1545
- "regex": {
1546
- "type": "string"
1547
- }
1548
- },
1549
- "required": [
1550
- "headers",
1551
- "regex"
1552
- ],
1553
- "type": "object"
1554
- }
1555
- ]
1517
+ "$ref": "#/definitions/HostingHeaders"
1556
1518
  },
1557
1519
  "type": "array"
1558
1520
  },
@@ -1605,411 +1567,13 @@
1605
1567
  },
1606
1568
  "redirects": {
1607
1569
  "items": {
1608
- "anyOf": [
1609
- {
1610
- "additionalProperties": false,
1611
- "properties": {
1612
- "destination": {
1613
- "type": "string"
1614
- },
1615
- "glob": {
1616
- "type": "string"
1617
- },
1618
- "type": {
1619
- "type": "number"
1620
- }
1621
- },
1622
- "required": [
1623
- "destination",
1624
- "glob"
1625
- ],
1626
- "type": "object"
1627
- },
1628
- {
1629
- "additionalProperties": false,
1630
- "properties": {
1631
- "destination": {
1632
- "type": "string"
1633
- },
1634
- "source": {
1635
- "type": "string"
1636
- },
1637
- "type": {
1638
- "type": "number"
1639
- }
1640
- },
1641
- "required": [
1642
- "destination",
1643
- "source"
1644
- ],
1645
- "type": "object"
1646
- },
1647
- {
1648
- "additionalProperties": false,
1649
- "properties": {
1650
- "destination": {
1651
- "type": "string"
1652
- },
1653
- "regex": {
1654
- "type": "string"
1655
- },
1656
- "type": {
1657
- "type": "number"
1658
- }
1659
- },
1660
- "required": [
1661
- "destination",
1662
- "regex"
1663
- ],
1664
- "type": "object"
1665
- }
1666
- ]
1570
+ "$ref": "#/definitions/HostingRedirects"
1667
1571
  },
1668
1572
  "type": "array"
1669
1573
  },
1670
1574
  "rewrites": {
1671
1575
  "items": {
1672
- "anyOf": [
1673
- {
1674
- "additionalProperties": false,
1675
- "properties": {
1676
- "destination": {
1677
- "type": "string"
1678
- },
1679
- "glob": {
1680
- "type": "string"
1681
- }
1682
- },
1683
- "required": [
1684
- "destination",
1685
- "glob"
1686
- ],
1687
- "type": "object"
1688
- },
1689
- {
1690
- "additionalProperties": false,
1691
- "properties": {
1692
- "function": {
1693
- "type": "string"
1694
- },
1695
- "glob": {
1696
- "type": "string"
1697
- },
1698
- "region": {
1699
- "type": "string"
1700
- }
1701
- },
1702
- "required": [
1703
- "function",
1704
- "glob"
1705
- ],
1706
- "type": "object"
1707
- },
1708
- {
1709
- "additionalProperties": false,
1710
- "properties": {
1711
- "function": {
1712
- "additionalProperties": false,
1713
- "properties": {
1714
- "functionId": {
1715
- "type": "string"
1716
- },
1717
- "pinTag": {
1718
- "type": "boolean"
1719
- },
1720
- "region": {
1721
- "type": "string"
1722
- }
1723
- },
1724
- "required": [
1725
- "functionId"
1726
- ],
1727
- "type": "object"
1728
- },
1729
- "glob": {
1730
- "type": "string"
1731
- }
1732
- },
1733
- "required": [
1734
- "function",
1735
- "glob"
1736
- ],
1737
- "type": "object"
1738
- },
1739
- {
1740
- "additionalProperties": false,
1741
- "properties": {
1742
- "glob": {
1743
- "type": "string"
1744
- },
1745
- "run": {
1746
- "additionalProperties": false,
1747
- "properties": {
1748
- "pinTag": {
1749
- "type": "boolean"
1750
- },
1751
- "region": {
1752
- "type": "string"
1753
- },
1754
- "serviceId": {
1755
- "type": "string"
1756
- }
1757
- },
1758
- "required": [
1759
- "serviceId"
1760
- ],
1761
- "type": "object"
1762
- }
1763
- },
1764
- "required": [
1765
- "glob",
1766
- "run"
1767
- ],
1768
- "type": "object"
1769
- },
1770
- {
1771
- "additionalProperties": false,
1772
- "properties": {
1773
- "dynamicLinks": {
1774
- "type": "boolean"
1775
- },
1776
- "glob": {
1777
- "type": "string"
1778
- }
1779
- },
1780
- "required": [
1781
- "dynamicLinks",
1782
- "glob"
1783
- ],
1784
- "type": "object"
1785
- },
1786
- {
1787
- "additionalProperties": false,
1788
- "properties": {
1789
- "destination": {
1790
- "type": "string"
1791
- },
1792
- "source": {
1793
- "type": "string"
1794
- }
1795
- },
1796
- "required": [
1797
- "destination",
1798
- "source"
1799
- ],
1800
- "type": "object"
1801
- },
1802
- {
1803
- "additionalProperties": false,
1804
- "properties": {
1805
- "function": {
1806
- "type": "string"
1807
- },
1808
- "region": {
1809
- "type": "string"
1810
- },
1811
- "source": {
1812
- "type": "string"
1813
- }
1814
- },
1815
- "required": [
1816
- "function",
1817
- "source"
1818
- ],
1819
- "type": "object"
1820
- },
1821
- {
1822
- "additionalProperties": false,
1823
- "properties": {
1824
- "function": {
1825
- "additionalProperties": false,
1826
- "properties": {
1827
- "functionId": {
1828
- "type": "string"
1829
- },
1830
- "pinTag": {
1831
- "type": "boolean"
1832
- },
1833
- "region": {
1834
- "type": "string"
1835
- }
1836
- },
1837
- "required": [
1838
- "functionId"
1839
- ],
1840
- "type": "object"
1841
- },
1842
- "source": {
1843
- "type": "string"
1844
- }
1845
- },
1846
- "required": [
1847
- "function",
1848
- "source"
1849
- ],
1850
- "type": "object"
1851
- },
1852
- {
1853
- "additionalProperties": false,
1854
- "properties": {
1855
- "run": {
1856
- "additionalProperties": false,
1857
- "properties": {
1858
- "pinTag": {
1859
- "type": "boolean"
1860
- },
1861
- "region": {
1862
- "type": "string"
1863
- },
1864
- "serviceId": {
1865
- "type": "string"
1866
- }
1867
- },
1868
- "required": [
1869
- "serviceId"
1870
- ],
1871
- "type": "object"
1872
- },
1873
- "source": {
1874
- "type": "string"
1875
- }
1876
- },
1877
- "required": [
1878
- "run",
1879
- "source"
1880
- ],
1881
- "type": "object"
1882
- },
1883
- {
1884
- "additionalProperties": false,
1885
- "properties": {
1886
- "dynamicLinks": {
1887
- "type": "boolean"
1888
- },
1889
- "source": {
1890
- "type": "string"
1891
- }
1892
- },
1893
- "required": [
1894
- "dynamicLinks",
1895
- "source"
1896
- ],
1897
- "type": "object"
1898
- },
1899
- {
1900
- "additionalProperties": false,
1901
- "properties": {
1902
- "destination": {
1903
- "type": "string"
1904
- },
1905
- "regex": {
1906
- "type": "string"
1907
- }
1908
- },
1909
- "required": [
1910
- "destination",
1911
- "regex"
1912
- ],
1913
- "type": "object"
1914
- },
1915
- {
1916
- "additionalProperties": false,
1917
- "properties": {
1918
- "function": {
1919
- "type": "string"
1920
- },
1921
- "regex": {
1922
- "type": "string"
1923
- },
1924
- "region": {
1925
- "type": "string"
1926
- }
1927
- },
1928
- "required": [
1929
- "function",
1930
- "regex"
1931
- ],
1932
- "type": "object"
1933
- },
1934
- {
1935
- "additionalProperties": false,
1936
- "properties": {
1937
- "function": {
1938
- "additionalProperties": false,
1939
- "properties": {
1940
- "functionId": {
1941
- "type": "string"
1942
- },
1943
- "pinTag": {
1944
- "type": "boolean"
1945
- },
1946
- "region": {
1947
- "type": "string"
1948
- }
1949
- },
1950
- "required": [
1951
- "functionId"
1952
- ],
1953
- "type": "object"
1954
- },
1955
- "regex": {
1956
- "type": "string"
1957
- }
1958
- },
1959
- "required": [
1960
- "function",
1961
- "regex"
1962
- ],
1963
- "type": "object"
1964
- },
1965
- {
1966
- "additionalProperties": false,
1967
- "properties": {
1968
- "regex": {
1969
- "type": "string"
1970
- },
1971
- "run": {
1972
- "additionalProperties": false,
1973
- "properties": {
1974
- "pinTag": {
1975
- "type": "boolean"
1976
- },
1977
- "region": {
1978
- "type": "string"
1979
- },
1980
- "serviceId": {
1981
- "type": "string"
1982
- }
1983
- },
1984
- "required": [
1985
- "serviceId"
1986
- ],
1987
- "type": "object"
1988
- }
1989
- },
1990
- "required": [
1991
- "regex",
1992
- "run"
1993
- ],
1994
- "type": "object"
1995
- },
1996
- {
1997
- "additionalProperties": false,
1998
- "properties": {
1999
- "dynamicLinks": {
2000
- "type": "boolean"
2001
- },
2002
- "regex": {
2003
- "type": "string"
2004
- }
2005
- },
2006
- "required": [
2007
- "dynamicLinks",
2008
- "regex"
2009
- ],
2010
- "type": "object"
2011
- }
2012
- ]
1576
+ "$ref": "#/definitions/HostingRewrites"
2013
1577
  },
2014
1578
  "type": "array"
2015
1579
  },
@@ -2049,104 +1613,7 @@
2049
1613
  },
2050
1614
  "headers": {
2051
1615
  "items": {
2052
- "anyOf": [
2053
- {
2054
- "additionalProperties": false,
2055
- "properties": {
2056
- "glob": {
2057
- "type": "string"
2058
- },
2059
- "headers": {
2060
- "items": {
2061
- "additionalProperties": false,
2062
- "properties": {
2063
- "key": {
2064
- "type": "string"
2065
- },
2066
- "value": {
2067
- "type": "string"
2068
- }
2069
- },
2070
- "required": [
2071
- "key",
2072
- "value"
2073
- ],
2074
- "type": "object"
2075
- },
2076
- "type": "array"
2077
- }
2078
- },
2079
- "required": [
2080
- "glob",
2081
- "headers"
2082
- ],
2083
- "type": "object"
2084
- },
2085
- {
2086
- "additionalProperties": false,
2087
- "properties": {
2088
- "headers": {
2089
- "items": {
2090
- "additionalProperties": false,
2091
- "properties": {
2092
- "key": {
2093
- "type": "string"
2094
- },
2095
- "value": {
2096
- "type": "string"
2097
- }
2098
- },
2099
- "required": [
2100
- "key",
2101
- "value"
2102
- ],
2103
- "type": "object"
2104
- },
2105
- "type": "array"
2106
- },
2107
- "source": {
2108
- "type": "string"
2109
- }
2110
- },
2111
- "required": [
2112
- "headers",
2113
- "source"
2114
- ],
2115
- "type": "object"
2116
- },
2117
- {
2118
- "additionalProperties": false,
2119
- "properties": {
2120
- "headers": {
2121
- "items": {
2122
- "additionalProperties": false,
2123
- "properties": {
2124
- "key": {
2125
- "type": "string"
2126
- },
2127
- "value": {
2128
- "type": "string"
2129
- }
2130
- },
2131
- "required": [
2132
- "key",
2133
- "value"
2134
- ],
2135
- "type": "object"
2136
- },
2137
- "type": "array"
2138
- },
2139
- "regex": {
2140
- "type": "string"
2141
- }
2142
- },
2143
- "required": [
2144
- "headers",
2145
- "regex"
2146
- ],
2147
- "type": "object"
2148
- }
2149
- ]
1616
+ "$ref": "#/definitions/HostingHeaders"
2150
1617
  },
2151
1618
  "type": "array"
2152
1619
  },
@@ -2199,411 +1666,13 @@
2199
1666
  },
2200
1667
  "redirects": {
2201
1668
  "items": {
2202
- "anyOf": [
2203
- {
2204
- "additionalProperties": false,
2205
- "properties": {
2206
- "destination": {
2207
- "type": "string"
2208
- },
2209
- "glob": {
2210
- "type": "string"
2211
- },
2212
- "type": {
2213
- "type": "number"
2214
- }
2215
- },
2216
- "required": [
2217
- "destination",
2218
- "glob"
2219
- ],
2220
- "type": "object"
2221
- },
2222
- {
2223
- "additionalProperties": false,
2224
- "properties": {
2225
- "destination": {
2226
- "type": "string"
2227
- },
2228
- "source": {
2229
- "type": "string"
2230
- },
2231
- "type": {
2232
- "type": "number"
2233
- }
2234
- },
2235
- "required": [
2236
- "destination",
2237
- "source"
2238
- ],
2239
- "type": "object"
2240
- },
2241
- {
2242
- "additionalProperties": false,
2243
- "properties": {
2244
- "destination": {
2245
- "type": "string"
2246
- },
2247
- "regex": {
2248
- "type": "string"
2249
- },
2250
- "type": {
2251
- "type": "number"
2252
- }
2253
- },
2254
- "required": [
2255
- "destination",
2256
- "regex"
2257
- ],
2258
- "type": "object"
2259
- }
2260
- ]
1669
+ "$ref": "#/definitions/HostingRedirects"
2261
1670
  },
2262
1671
  "type": "array"
2263
1672
  },
2264
1673
  "rewrites": {
2265
1674
  "items": {
2266
- "anyOf": [
2267
- {
2268
- "additionalProperties": false,
2269
- "properties": {
2270
- "destination": {
2271
- "type": "string"
2272
- },
2273
- "glob": {
2274
- "type": "string"
2275
- }
2276
- },
2277
- "required": [
2278
- "destination",
2279
- "glob"
2280
- ],
2281
- "type": "object"
2282
- },
2283
- {
2284
- "additionalProperties": false,
2285
- "properties": {
2286
- "function": {
2287
- "type": "string"
2288
- },
2289
- "glob": {
2290
- "type": "string"
2291
- },
2292
- "region": {
2293
- "type": "string"
2294
- }
2295
- },
2296
- "required": [
2297
- "function",
2298
- "glob"
2299
- ],
2300
- "type": "object"
2301
- },
2302
- {
2303
- "additionalProperties": false,
2304
- "properties": {
2305
- "function": {
2306
- "additionalProperties": false,
2307
- "properties": {
2308
- "functionId": {
2309
- "type": "string"
2310
- },
2311
- "pinTag": {
2312
- "type": "boolean"
2313
- },
2314
- "region": {
2315
- "type": "string"
2316
- }
2317
- },
2318
- "required": [
2319
- "functionId"
2320
- ],
2321
- "type": "object"
2322
- },
2323
- "glob": {
2324
- "type": "string"
2325
- }
2326
- },
2327
- "required": [
2328
- "function",
2329
- "glob"
2330
- ],
2331
- "type": "object"
2332
- },
2333
- {
2334
- "additionalProperties": false,
2335
- "properties": {
2336
- "glob": {
2337
- "type": "string"
2338
- },
2339
- "run": {
2340
- "additionalProperties": false,
2341
- "properties": {
2342
- "pinTag": {
2343
- "type": "boolean"
2344
- },
2345
- "region": {
2346
- "type": "string"
2347
- },
2348
- "serviceId": {
2349
- "type": "string"
2350
- }
2351
- },
2352
- "required": [
2353
- "serviceId"
2354
- ],
2355
- "type": "object"
2356
- }
2357
- },
2358
- "required": [
2359
- "glob",
2360
- "run"
2361
- ],
2362
- "type": "object"
2363
- },
2364
- {
2365
- "additionalProperties": false,
2366
- "properties": {
2367
- "dynamicLinks": {
2368
- "type": "boolean"
2369
- },
2370
- "glob": {
2371
- "type": "string"
2372
- }
2373
- },
2374
- "required": [
2375
- "dynamicLinks",
2376
- "glob"
2377
- ],
2378
- "type": "object"
2379
- },
2380
- {
2381
- "additionalProperties": false,
2382
- "properties": {
2383
- "destination": {
2384
- "type": "string"
2385
- },
2386
- "source": {
2387
- "type": "string"
2388
- }
2389
- },
2390
- "required": [
2391
- "destination",
2392
- "source"
2393
- ],
2394
- "type": "object"
2395
- },
2396
- {
2397
- "additionalProperties": false,
2398
- "properties": {
2399
- "function": {
2400
- "type": "string"
2401
- },
2402
- "region": {
2403
- "type": "string"
2404
- },
2405
- "source": {
2406
- "type": "string"
2407
- }
2408
- },
2409
- "required": [
2410
- "function",
2411
- "source"
2412
- ],
2413
- "type": "object"
2414
- },
2415
- {
2416
- "additionalProperties": false,
2417
- "properties": {
2418
- "function": {
2419
- "additionalProperties": false,
2420
- "properties": {
2421
- "functionId": {
2422
- "type": "string"
2423
- },
2424
- "pinTag": {
2425
- "type": "boolean"
2426
- },
2427
- "region": {
2428
- "type": "string"
2429
- }
2430
- },
2431
- "required": [
2432
- "functionId"
2433
- ],
2434
- "type": "object"
2435
- },
2436
- "source": {
2437
- "type": "string"
2438
- }
2439
- },
2440
- "required": [
2441
- "function",
2442
- "source"
2443
- ],
2444
- "type": "object"
2445
- },
2446
- {
2447
- "additionalProperties": false,
2448
- "properties": {
2449
- "run": {
2450
- "additionalProperties": false,
2451
- "properties": {
2452
- "pinTag": {
2453
- "type": "boolean"
2454
- },
2455
- "region": {
2456
- "type": "string"
2457
- },
2458
- "serviceId": {
2459
- "type": "string"
2460
- }
2461
- },
2462
- "required": [
2463
- "serviceId"
2464
- ],
2465
- "type": "object"
2466
- },
2467
- "source": {
2468
- "type": "string"
2469
- }
2470
- },
2471
- "required": [
2472
- "run",
2473
- "source"
2474
- ],
2475
- "type": "object"
2476
- },
2477
- {
2478
- "additionalProperties": false,
2479
- "properties": {
2480
- "dynamicLinks": {
2481
- "type": "boolean"
2482
- },
2483
- "source": {
2484
- "type": "string"
2485
- }
2486
- },
2487
- "required": [
2488
- "dynamicLinks",
2489
- "source"
2490
- ],
2491
- "type": "object"
2492
- },
2493
- {
2494
- "additionalProperties": false,
2495
- "properties": {
2496
- "destination": {
2497
- "type": "string"
2498
- },
2499
- "regex": {
2500
- "type": "string"
2501
- }
2502
- },
2503
- "required": [
2504
- "destination",
2505
- "regex"
2506
- ],
2507
- "type": "object"
2508
- },
2509
- {
2510
- "additionalProperties": false,
2511
- "properties": {
2512
- "function": {
2513
- "type": "string"
2514
- },
2515
- "regex": {
2516
- "type": "string"
2517
- },
2518
- "region": {
2519
- "type": "string"
2520
- }
2521
- },
2522
- "required": [
2523
- "function",
2524
- "regex"
2525
- ],
2526
- "type": "object"
2527
- },
2528
- {
2529
- "additionalProperties": false,
2530
- "properties": {
2531
- "function": {
2532
- "additionalProperties": false,
2533
- "properties": {
2534
- "functionId": {
2535
- "type": "string"
2536
- },
2537
- "pinTag": {
2538
- "type": "boolean"
2539
- },
2540
- "region": {
2541
- "type": "string"
2542
- }
2543
- },
2544
- "required": [
2545
- "functionId"
2546
- ],
2547
- "type": "object"
2548
- },
2549
- "regex": {
2550
- "type": "string"
2551
- }
2552
- },
2553
- "required": [
2554
- "function",
2555
- "regex"
2556
- ],
2557
- "type": "object"
2558
- },
2559
- {
2560
- "additionalProperties": false,
2561
- "properties": {
2562
- "regex": {
2563
- "type": "string"
2564
- },
2565
- "run": {
2566
- "additionalProperties": false,
2567
- "properties": {
2568
- "pinTag": {
2569
- "type": "boolean"
2570
- },
2571
- "region": {
2572
- "type": "string"
2573
- },
2574
- "serviceId": {
2575
- "type": "string"
2576
- }
2577
- },
2578
- "required": [
2579
- "serviceId"
2580
- ],
2581
- "type": "object"
2582
- }
2583
- },
2584
- "required": [
2585
- "regex",
2586
- "run"
2587
- ],
2588
- "type": "object"
2589
- },
2590
- {
2591
- "additionalProperties": false,
2592
- "properties": {
2593
- "dynamicLinks": {
2594
- "type": "boolean"
2595
- },
2596
- "regex": {
2597
- "type": "string"
2598
- }
2599
- },
2600
- "required": [
2601
- "dynamicLinks",
2602
- "regex"
2603
- ],
2604
- "type": "object"
2605
- }
2606
- ]
1675
+ "$ref": "#/definitions/HostingRewrites"
2607
1676
  },
2608
1677
  "type": "array"
2609
1678
  },
@@ -2632,85 +1701,12 @@
2632
1701
  ]
2633
1702
  },
2634
1703
  "remoteconfig": {
2635
- "additionalProperties": false,
2636
- "properties": {
2637
- "postdeploy": {
2638
- "anyOf": [
2639
- {
2640
- "items": {
2641
- "type": "string"
2642
- },
2643
- "type": "array"
2644
- },
2645
- {
2646
- "type": "string"
2647
- }
2648
- ]
2649
- },
2650
- "predeploy": {
2651
- "anyOf": [
2652
- {
2653
- "items": {
2654
- "type": "string"
2655
- },
2656
- "type": "array"
2657
- },
2658
- {
2659
- "type": "string"
2660
- }
2661
- ]
2662
- },
2663
- "template": {
2664
- "type": "string"
2665
- }
2666
- },
2667
- "required": [
2668
- "template"
2669
- ],
2670
- "type": "object"
1704
+ "$ref": "#/definitions/RemoteConfigConfig"
2671
1705
  },
2672
1706
  "storage": {
2673
1707
  "anyOf": [
2674
1708
  {
2675
- "additionalProperties": false,
2676
- "properties": {
2677
- "postdeploy": {
2678
- "anyOf": [
2679
- {
2680
- "items": {
2681
- "type": "string"
2682
- },
2683
- "type": "array"
2684
- },
2685
- {
2686
- "type": "string"
2687
- }
2688
- ]
2689
- },
2690
- "predeploy": {
2691
- "anyOf": [
2692
- {
2693
- "items": {
2694
- "type": "string"
2695
- },
2696
- "type": "array"
2697
- },
2698
- {
2699
- "type": "string"
2700
- }
2701
- ]
2702
- },
2703
- "rules": {
2704
- "type": "string"
2705
- },
2706
- "target": {
2707
- "type": "string"
2708
- }
2709
- },
2710
- "required": [
2711
- "rules"
2712
- ],
2713
- "type": "object"
1709
+ "$ref": "#/definitions/StorageSingle"
2714
1710
  },
2715
1711
  {
2716
1712
  "items": {