@astrogate/sdk 0.0.0-stage → 0.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.
- package/README.md +6 -2
- package/THIRD_PARTY_NOTICES.md +17 -0
- package/dist/browser.d.ts +85 -0
- package/dist/browser.js +16 -0
- package/dist/database-binding.d.ts +7 -0
- package/dist/database-binding.js +11 -0
- package/dist/hosted-session.d.ts +1 -0
- package/dist/hosted-session.js +11 -0
- package/dist/http.d.ts +24 -0
- package/dist/http.js +92 -0
- package/dist/inventory.d.ts +7 -0
- package/dist/inventory.js +18 -0
- package/dist/management-read.d.ts +17 -0
- package/dist/management-read.js +104 -0
- package/dist/management.d.ts +347 -0
- package/dist/management.js +137 -0
- package/dist/operator.d.ts +136 -0
- package/dist/operator.js +53 -0
- package/dist/react.d.ts +16 -0
- package/dist/react.js +10 -0
- package/dist/server.d.ts +27 -0
- package/dist/server.js +30 -0
- package/dist/services.d.ts +7 -0
- package/dist/services.js +53 -0
- package/dist/storage.d.ts +68 -0
- package/dist/storage.js +30 -0
- package/dist/tasks.d.ts +42 -0
- package/dist/tasks.js +24 -0
- package/dist/wire.gen.d.ts +7107 -0
- package/dist/wire.gen.js +5 -0
- package/native-provenance.json +15 -0
- package/node_modules/@instantdb/admin/LICENSE +202 -0
- package/node_modules/@instantdb/admin/dist/esm/index.d.ts +607 -0
- package/node_modules/@instantdb/admin/dist/esm/index.js +1036 -0
- package/node_modules/@instantdb/admin/dist/esm/polyfill.d.ts +16 -0
- package/node_modules/@instantdb/admin/dist/esm/polyfill.js +21 -0
- package/node_modules/@instantdb/admin/dist/esm/subscribe.d.ts +38 -0
- package/node_modules/@instantdb/admin/dist/esm/subscribe.js +301 -0
- package/node_modules/@instantdb/admin/dist/esm/version.d.ts +2 -0
- package/node_modules/@instantdb/admin/dist/esm/version.js +2 -0
- package/node_modules/@instantdb/admin/package.json +23 -0
- package/node_modules/@instantdb/core/LICENSE +202 -0
- package/node_modules/@instantdb/core/dist/esm/Connection.d.ts +92 -0
- package/node_modules/@instantdb/core/dist/esm/Connection.js +188 -0
- package/node_modules/@instantdb/core/dist/esm/InMemoryStorage.d.ts +10 -0
- package/node_modules/@instantdb/core/dist/esm/InMemoryStorage.js +25 -0
- package/node_modules/@instantdb/core/dist/esm/IndexedDBStorage.d.ts +17 -0
- package/node_modules/@instantdb/core/dist/esm/IndexedDBStorage.js +309 -0
- package/node_modules/@instantdb/core/dist/esm/InstantError.d.ts +6 -0
- package/node_modules/@instantdb/core/dist/esm/InstantError.js +23 -0
- package/node_modules/@instantdb/core/dist/esm/Reactor.d.ts +430 -0
- package/node_modules/@instantdb/core/dist/esm/Reactor.js +2369 -0
- package/node_modules/@instantdb/core/dist/esm/StorageAPI.d.ts +39 -0
- package/node_modules/@instantdb/core/dist/esm/StorageAPI.js +65 -0
- package/node_modules/@instantdb/core/dist/esm/Stream.d.ts +120 -0
- package/node_modules/@instantdb/core/dist/esm/Stream.js +811 -0
- package/node_modules/@instantdb/core/dist/esm/SyncTable.d.ts +144 -0
- package/node_modules/@instantdb/core/dist/esm/SyncTable.js +523 -0
- package/node_modules/@instantdb/core/dist/esm/WindowNetworkListener.d.ts +4 -0
- package/node_modules/@instantdb/core/dist/esm/WindowNetworkListener.js +19 -0
- package/node_modules/@instantdb/core/dist/esm/attrTypes.d.ts +25 -0
- package/node_modules/@instantdb/core/dist/esm/attrTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/authAPI.d.ts +64 -0
- package/node_modules/@instantdb/core/dist/esm/authAPI.js +103 -0
- package/node_modules/@instantdb/core/dist/esm/clientTypes.d.ts +40 -0
- package/node_modules/@instantdb/core/dist/esm/clientTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/coreTypes.d.ts +33 -0
- package/node_modules/@instantdb/core/dist/esm/coreTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/createRouteHandler.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/createRouteHandler.js +51 -0
- package/node_modules/@instantdb/core/dist/esm/datalog.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/datalog.js +99 -0
- package/node_modules/@instantdb/core/dist/esm/devtool.d.ts +3 -0
- package/node_modules/@instantdb/core/dist/esm/devtool.js +144 -0
- package/node_modules/@instantdb/core/dist/esm/framework.d.ts +80 -0
- package/node_modules/@instantdb/core/dist/esm/framework.js +243 -0
- package/node_modules/@instantdb/core/dist/esm/helperTypes.d.ts +75 -0
- package/node_modules/@instantdb/core/dist/esm/helperTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/index.d.ts +597 -0
- package/node_modules/@instantdb/core/dist/esm/index.js +649 -0
- package/node_modules/@instantdb/core/dist/esm/infiniteQuery.d.ts +25 -0
- package/node_modules/@instantdb/core/dist/esm/infiniteQuery.js +430 -0
- package/node_modules/@instantdb/core/dist/esm/instaml.d.ts +17 -0
- package/node_modules/@instantdb/core/dist/esm/instaml.js +576 -0
- package/node_modules/@instantdb/core/dist/esm/instaql.d.ts +12 -0
- package/node_modules/@instantdb/core/dist/esm/instaql.js +632 -0
- package/node_modules/@instantdb/core/dist/esm/instatx.d.ts +127 -0
- package/node_modules/@instantdb/core/dist/esm/instatx.js +93 -0
- package/node_modules/@instantdb/core/dist/esm/model/instaqlResult.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/model/instaqlResult.js +24 -0
- package/node_modules/@instantdb/core/dist/esm/parseSchemaFromJSON.d.ts +2 -0
- package/node_modules/@instantdb/core/dist/esm/parseSchemaFromJSON.js +142 -0
- package/node_modules/@instantdb/core/dist/esm/presence.d.ts +50 -0
- package/node_modules/@instantdb/core/dist/esm/presence.js +50 -0
- package/node_modules/@instantdb/core/dist/esm/presenceTypes.d.ts +9 -0
- package/node_modules/@instantdb/core/dist/esm/presenceTypes.js +3 -0
- package/node_modules/@instantdb/core/dist/esm/queryTypes.d.ts +271 -0
- package/node_modules/@instantdb/core/dist/esm/queryTypes.js +3 -0
- package/node_modules/@instantdb/core/dist/esm/queryValidation.d.ts +5 -0
- package/node_modules/@instantdb/core/dist/esm/queryValidation.js +287 -0
- package/node_modules/@instantdb/core/dist/esm/reactorTypes.d.ts +29 -0
- package/node_modules/@instantdb/core/dist/esm/reactorTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/routeHandlerProtocol.d.ts +19 -0
- package/node_modules/@instantdb/core/dist/esm/routeHandlerProtocol.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/rulesTypes.d.ts +85 -0
- package/node_modules/@instantdb/core/dist/esm/rulesTypes.js +1 -0
- package/node_modules/@instantdb/core/dist/esm/sanityCheckQueries.d.ts +18 -0
- package/node_modules/@instantdb/core/dist/esm/sanityCheckQueries.js +152 -0
- package/node_modules/@instantdb/core/dist/esm/schema.d.ts +72 -0
- package/node_modules/@instantdb/core/dist/esm/schema.js +128 -0
- package/node_modules/@instantdb/core/dist/esm/schemaTypes.d.ts +244 -0
- package/node_modules/@instantdb/core/dist/esm/schemaTypes.js +106 -0
- package/node_modules/@instantdb/core/dist/esm/store.d.ts +89 -0
- package/node_modules/@instantdb/core/dist/esm/store.js +722 -0
- package/node_modules/@instantdb/core/dist/esm/transactionValidation.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/transactionValidation.js +130 -0
- package/node_modules/@instantdb/core/dist/esm/utils/Deferred.d.ts +8 -0
- package/node_modules/@instantdb/core/dist/esm/utils/Deferred.js +17 -0
- package/node_modules/@instantdb/core/dist/esm/utils/PersistedObject.d.ts +80 -0
- package/node_modules/@instantdb/core/dist/esm/utils/PersistedObject.js +448 -0
- package/node_modules/@instantdb/core/dist/esm/utils/dates.d.ts +1 -0
- package/node_modules/@instantdb/core/dist/esm/utils/dates.js +211 -0
- package/node_modules/@instantdb/core/dist/esm/utils/error.d.ts +2 -0
- package/node_modules/@instantdb/core/dist/esm/utils/error.js +8 -0
- package/node_modules/@instantdb/core/dist/esm/utils/fetch.d.ts +125 -0
- package/node_modules/@instantdb/core/dist/esm/utils/fetch.js +31 -0
- package/node_modules/@instantdb/core/dist/esm/utils/flags.d.ts +4 -0
- package/node_modules/@instantdb/core/dist/esm/utils/flags.js +10 -0
- package/node_modules/@instantdb/core/dist/esm/utils/id.d.ts +3 -0
- package/node_modules/@instantdb/core/dist/esm/utils/id.js +25 -0
- package/node_modules/@instantdb/core/dist/esm/utils/linkIndex.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/utils/linkIndex.js +17 -0
- package/node_modules/@instantdb/core/dist/esm/utils/log.d.ts +6 -0
- package/node_modules/@instantdb/core/dist/esm/utils/log.js +13 -0
- package/node_modules/@instantdb/core/dist/esm/utils/object.d.ts +16 -0
- package/node_modules/@instantdb/core/dist/esm/utils/object.js +143 -0
- package/node_modules/@instantdb/core/dist/esm/utils/pgtime.d.ts +197 -0
- package/node_modules/@instantdb/core/dist/esm/utils/pgtime.js +197 -0
- package/node_modules/@instantdb/core/dist/esm/utils/pick.d.ts +1 -0
- package/node_modules/@instantdb/core/dist/esm/utils/pick.js +9 -0
- package/node_modules/@instantdb/core/dist/esm/utils/strings.d.ts +1 -0
- package/node_modules/@instantdb/core/dist/esm/utils/strings.js +15 -0
- package/node_modules/@instantdb/core/dist/esm/utils/weakHash.d.ts +15 -0
- package/node_modules/@instantdb/core/dist/esm/utils/weakHash.js +71 -0
- package/node_modules/@instantdb/core/dist/esm/utils/weakHashLegacy.d.ts +7 -0
- package/node_modules/@instantdb/core/dist/esm/utils/weakHashLegacy.js +72 -0
- package/node_modules/@instantdb/core/dist/esm/version.d.ts +2 -0
- package/node_modules/@instantdb/core/dist/esm/version.js +2 -0
- package/node_modules/@instantdb/core/dist/esm/warningToggle.d.ts +2 -0
- package/node_modules/@instantdb/core/dist/esm/warningToggle.js +4 -0
- package/node_modules/@instantdb/core/package.json +20 -0
- package/node_modules/@instantdb/eventsource/LICENSE +22 -0
- package/node_modules/@instantdb/eventsource/README.md +226 -0
- package/node_modules/@instantdb/eventsource/dist/index.cjs +279 -0
- package/node_modules/@instantdb/eventsource/dist/index.cjs.map +1 -0
- package/node_modules/@instantdb/eventsource/dist/index.d.cts +346 -0
- package/node_modules/@instantdb/eventsource/dist/index.d.ts +346 -0
- package/node_modules/@instantdb/eventsource/dist/index.js +279 -0
- package/node_modules/@instantdb/eventsource/dist/index.js.map +1 -0
- package/node_modules/@instantdb/eventsource/package.json +128 -0
- package/node_modules/@instantdb/eventsource/src/EventSource.ts +614 -0
- package/node_modules/@instantdb/eventsource/src/errors.ts +141 -0
- package/node_modules/@instantdb/eventsource/src/index.ts +3 -0
- package/node_modules/@instantdb/eventsource/src/types.ts +164 -0
- package/node_modules/@instantdb/react/LICENSE +202 -0
- package/node_modules/@instantdb/react/dist/esm/Cursors.d.ts +18 -0
- package/node_modules/@instantdb/react/dist/esm/Cursors.js +103 -0
- package/node_modules/@instantdb/react/dist/esm/InstantReactWebDatabase.d.ts +5 -0
- package/node_modules/@instantdb/react/dist/esm/InstantReactWebDatabase.js +5 -0
- package/node_modules/@instantdb/react/dist/esm/index.d.ts +6 -0
- package/node_modules/@instantdb/react/dist/esm/index.js +22 -0
- package/node_modules/@instantdb/react/dist/esm/init.d.ts +40 -0
- package/node_modules/@instantdb/react/dist/esm/init.js +49 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/HydrationStreamProvider.d.ts +65 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/HydrationStreamProvider.js +96 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/InstantNextDatabase.d.ts +11 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/InstantNextDatabase.js +31 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/InstantSuspenseProvider.d.ts +24 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/InstantSuspenseProvider.js +162 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/getUserFromInstantCookie.d.ts +9 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/getUserFromInstantCookie.js +16 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/htmlescape.d.ts +2 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/htmlescape.js +20 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/index.d.ts +29 -0
- package/node_modules/@instantdb/react/dist/esm/next-ssr/index.js +34 -0
- package/node_modules/@instantdb/react/dist/esm/version.d.ts +2 -0
- package/node_modules/@instantdb/react/dist/esm/version.js +2 -0
- package/node_modules/@instantdb/react/package.json +24 -0
- package/node_modules/@instantdb/react-common/LICENSE +202 -0
- package/node_modules/@instantdb/react-common/dist/esm/InstantReactAbstractDatabase.d.ts +282 -0
- package/node_modules/@instantdb/react-common/dist/esm/InstantReactAbstractDatabase.js +386 -0
- package/node_modules/@instantdb/react-common/dist/esm/InstantReactRoom.d.ts +182 -0
- package/node_modules/@instantdb/react-common/dist/esm/InstantReactRoom.js +280 -0
- package/node_modules/@instantdb/react-common/dist/esm/index.d.ts +4 -0
- package/node_modules/@instantdb/react-common/dist/esm/index.js +3 -0
- package/node_modules/@instantdb/react-common/dist/esm/useInfiniteQuerySubscription.d.ts +27 -0
- package/node_modules/@instantdb/react-common/dist/esm/useInfiniteQuerySubscription.js +53 -0
- package/node_modules/@instantdb/react-common/dist/esm/useQuery.d.ts +6 -0
- package/node_modules/@instantdb/react-common/dist/esm/useQuery.js +75 -0
- package/node_modules/@instantdb/react-common/dist/esm/useTimeout.d.ts +4 -0
- package/node_modules/@instantdb/react-common/dist/esm/useTimeout.js +17 -0
- package/node_modules/@instantdb/react-common/dist/esm/version.d.ts +2 -0
- package/node_modules/@instantdb/react-common/dist/esm/version.js +2 -0
- package/node_modules/@instantdb/react-common/package.json +22 -0
- package/node_modules/@instantdb/version/LICENSE +202 -0
- package/node_modules/@instantdb/version/dist/esm/index.d.ts +2 -0
- package/node_modules/@instantdb/version/dist/esm/index.js +2 -0
- package/node_modules/@instantdb/version/dist/esm/version.d.ts +2 -0
- package/node_modules/@instantdb/version/dist/esm/version.js +5 -0
- package/node_modules/@instantdb/version/package.json +16 -0
- package/node_modules/@instantdb/webhooks/LICENSE +202 -0
- package/node_modules/@instantdb/webhooks/dist/esm/index.d.ts +587 -0
- package/node_modules/@instantdb/webhooks/dist/esm/index.js +748 -0
- package/node_modules/@instantdb/webhooks/package.json +18 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +295 -0
- package/node_modules/cookie/dist/index.d.ts +143 -0
- package/node_modules/cookie/dist/index.js +355 -0
- package/node_modules/cookie/dist/index.js.map +1 -0
- package/node_modules/cookie/package.json +57 -0
- package/node_modules/eventsource/LICENSE +22 -0
- package/node_modules/eventsource/README.md +252 -0
- package/node_modules/eventsource/dist/EventSource.d.ts +128 -0
- package/node_modules/eventsource/dist/EventSource.d.ts.map +1 -0
- package/node_modules/eventsource/dist/EventSource.js +556 -0
- package/node_modules/eventsource/dist/EventSource.js.map +1 -0
- package/node_modules/eventsource/dist/errors.d.ts +53 -0
- package/node_modules/eventsource/dist/errors.d.ts.map +1 -0
- package/node_modules/eventsource/dist/errors.js +120 -0
- package/node_modules/eventsource/dist/errors.js.map +1 -0
- package/node_modules/eventsource/dist/index.d.ts +4 -0
- package/node_modules/eventsource/dist/index.d.ts.map +1 -0
- package/node_modules/eventsource/dist/index.js +3 -0
- package/node_modules/eventsource/dist/index.js.map +1 -0
- package/node_modules/eventsource/dist/types.d.ts +156 -0
- package/node_modules/eventsource/dist/types.d.ts.map +1 -0
- package/node_modules/eventsource/dist/types.js +2 -0
- package/node_modules/eventsource/dist/types.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/LICENSE +21 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/README.md +177 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/errors.d.ts +35 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/errors.d.ts.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/errors.js +16 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/errors.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/index.d.ts +4 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/index.d.ts.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/index.js +3 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/parse.d.ts +12 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/parse.d.ts.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/parse.js +509 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/parse.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/stream.d.ts +76 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/stream.d.ts.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/stream.js +59 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/types.d.ts +130 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/types.d.ts.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/types.js +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/dist/types.js.map +1 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/package.json +96 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/src/errors.ts +44 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/src/index.ts +3 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/src/parse.ts +576 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/src/stream.ts +118 -0
- package/node_modules/eventsource/node_modules/eventsource-parser/src/types.ts +138 -0
- package/node_modules/eventsource/package.json +103 -0
- package/node_modules/eventsource/src/EventSource.ts +844 -0
- package/node_modules/eventsource/src/errors.ts +141 -0
- package/node_modules/eventsource/src/index.ts +3 -0
- package/node_modules/eventsource/src/types.ts +166 -0
- package/node_modules/eventsource-parser/LICENSE +21 -0
- package/node_modules/eventsource-parser/README.md +157 -0
- package/node_modules/eventsource-parser/dist/index.cjs +177 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +169 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +169 -0
- package/node_modules/eventsource-parser/dist/index.js +177 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +29 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +134 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +134 -0
- package/node_modules/eventsource-parser/dist/stream.js +30 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +92 -0
- package/node_modules/eventsource-parser/src/errors.ts +44 -0
- package/node_modules/eventsource-parser/src/index.ts +8 -0
- package/node_modules/eventsource-parser/src/parse.ts +439 -0
- package/node_modules/eventsource-parser/src/stream.ts +107 -0
- package/node_modules/eventsource-parser/src/types.ts +122 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/mutative/LICENSE +21 -0
- package/node_modules/mutative/README.md +870 -0
- package/node_modules/mutative/dist/apply.d.ts +31 -0
- package/node_modules/mutative/dist/array.d.ts +45 -0
- package/node_modules/mutative/dist/constant.d.ts +8 -0
- package/node_modules/mutative/dist/create.d.ts +46 -0
- package/node_modules/mutative/dist/current.d.ts +23 -0
- package/node_modules/mutative/dist/draft.d.ts +3 -0
- package/node_modules/mutative/dist/draftify.d.ts +2 -0
- package/node_modules/mutative/dist/error.d.ts +54 -0
- package/node_modules/mutative/dist/index.d.mts +1 -0
- package/node_modules/mutative/dist/index.d.ts +12 -0
- package/node_modules/mutative/dist/index.js +8 -0
- package/node_modules/mutative/dist/index.mjs +3 -0
- package/node_modules/mutative/dist/interface.d.ts +200 -0
- package/node_modules/mutative/dist/internal.d.ts +4 -0
- package/node_modules/mutative/dist/makeCreator.d.ts +54 -0
- package/node_modules/mutative/dist/map.d.ts +15 -0
- package/node_modules/mutative/dist/mutative.cjs.development.js +2126 -0
- package/node_modules/mutative/dist/mutative.cjs.development.js.map +1 -0
- package/node_modules/mutative/dist/mutative.cjs.production.min.js +2 -0
- package/node_modules/mutative/dist/mutative.cjs.production.min.js.map +1 -0
- package/node_modules/mutative/dist/mutative.esm.js +2123 -0
- package/node_modules/mutative/dist/mutative.esm.js.map +1 -0
- package/node_modules/mutative/dist/mutative.esm.mjs +2123 -0
- package/node_modules/mutative/dist/mutative.esm.mjs.map +1 -0
- package/node_modules/mutative/dist/mutative.esm.production.min.mjs +2 -0
- package/node_modules/mutative/dist/mutative.esm.production.min.mjs.map +1 -0
- package/node_modules/mutative/dist/mutative.umd.development.js +2132 -0
- package/node_modules/mutative/dist/mutative.umd.development.js.map +1 -0
- package/node_modules/mutative/dist/mutative.umd.production.min.js +2 -0
- package/node_modules/mutative/dist/mutative.umd.production.min.js.map +1 -0
- package/node_modules/mutative/dist/original.d.ts +19 -0
- package/node_modules/mutative/dist/patch.d.ts +2 -0
- package/node_modules/mutative/dist/rawReturn.d.ts +19 -0
- package/node_modules/mutative/dist/set.d.ts +14 -0
- package/node_modules/mutative/dist/unsafe.d.ts +34 -0
- package/node_modules/mutative/dist/utils/cast.d.ts +13 -0
- package/node_modules/mutative/dist/utils/copy.d.ts +5 -0
- package/node_modules/mutative/dist/utils/deepFreeze.d.ts +1 -0
- package/node_modules/mutative/dist/utils/draft.d.ts +27 -0
- package/node_modules/mutative/dist/utils/finalize.d.ts +13 -0
- package/node_modules/mutative/dist/utils/forEach.d.ts +1 -0
- package/node_modules/mutative/dist/utils/index.d.ts +7 -0
- package/node_modules/mutative/dist/utils/mark.d.ts +2 -0
- package/node_modules/mutative/dist/utils/marker.d.ts +5 -0
- package/node_modules/mutative/dist/utils/proto.d.ts +10 -0
- package/node_modules/mutative/package.json +142 -0
- package/node_modules/mutative/src/apply.ts +239 -0
- package/node_modules/mutative/src/array.ts +679 -0
- package/node_modules/mutative/src/constant.ts +17 -0
- package/node_modules/mutative/src/create.ts +27 -0
- package/node_modules/mutative/src/current.ts +206 -0
- package/node_modules/mutative/src/draft.ts +489 -0
- package/node_modules/mutative/src/draftify.ts +57 -0
- package/node_modules/mutative/src/error.ts +129 -0
- package/node_modules/mutative/src/index.ts +21 -0
- package/node_modules/mutative/src/interface.ts +321 -0
- package/node_modules/mutative/src/internal.ts +5 -0
- package/node_modules/mutative/src/makeCreator.ts +382 -0
- package/node_modules/mutative/src/map.ts +160 -0
- package/node_modules/mutative/src/original.ts +28 -0
- package/node_modules/mutative/src/patch.ts +386 -0
- package/node_modules/mutative/src/rawReturn.ts +41 -0
- package/node_modules/mutative/src/set.ts +201 -0
- package/node_modules/mutative/src/unsafe.ts +66 -0
- package/node_modules/mutative/src/utils/cast.ts +22 -0
- package/node_modules/mutative/src/utils/copy.ts +224 -0
- package/node_modules/mutative/src/utils/deepFreeze.ts +103 -0
- package/node_modules/mutative/src/utils/draft.ts +189 -0
- package/node_modules/mutative/src/utils/finalize.ts +232 -0
- package/node_modules/mutative/src/utils/forEach.ts +24 -0
- package/node_modules/mutative/src/utils/index.ts +7 -0
- package/node_modules/mutative/src/utils/mark.ts +11 -0
- package/node_modules/mutative/src/utils/marker.ts +34 -0
- package/node_modules/mutative/src/utils/proto.ts +38 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +491 -0
- package/node_modules/uuid/dist/index.d.ts +15 -0
- package/node_modules/uuid/dist/index.js +14 -0
- package/node_modules/uuid/dist/max.d.ts +2 -0
- package/node_modules/uuid/dist/max.js +1 -0
- package/node_modules/uuid/dist/md5.d.ts +2 -0
- package/node_modules/uuid/dist/md5.js +135 -0
- package/node_modules/uuid/dist/nil.d.ts +2 -0
- package/node_modules/uuid/dist/nil.js +1 -0
- package/node_modules/uuid/dist/parse.d.ts +3 -0
- package/node_modules/uuid/dist/parse.js +9 -0
- package/node_modules/uuid/dist/regex.d.ts +2 -0
- package/node_modules/uuid/dist/regex.js +1 -0
- package/node_modules/uuid/dist/rng.d.ts +1 -0
- package/node_modules/uuid/dist/rng.js +4 -0
- package/node_modules/uuid/dist/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/sha1.js +70 -0
- package/node_modules/uuid/dist/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/stringify.js +35 -0
- package/node_modules/uuid/dist/types.d.ts +22 -0
- package/node_modules/uuid/dist/types.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/v1.d.ts +11 -0
- package/node_modules/uuid/dist/v1.js +87 -0
- package/node_modules/uuid/dist/v1ToV6.d.ts +3 -0
- package/node_modules/uuid/dist/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/v3.d.ts +9 -0
- package/node_modules/uuid/dist/v3.js +9 -0
- package/node_modules/uuid/dist/v35.d.ts +7 -0
- package/node_modules/uuid/dist/v35.js +39 -0
- package/node_modules/uuid/dist/v4.d.ts +4 -0
- package/node_modules/uuid/dist/v4.js +29 -0
- package/node_modules/uuid/dist/v5.d.ts +9 -0
- package/node_modules/uuid/dist/v5.js +9 -0
- package/node_modules/uuid/dist/v6.d.ts +4 -0
- package/node_modules/uuid/dist/v6.js +20 -0
- package/node_modules/uuid/dist/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/v7.d.ts +9 -0
- package/node_modules/uuid/dist/v7.js +68 -0
- package/node_modules/uuid/dist/validate.d.ts +2 -0
- package/node_modules/uuid/dist/validate.js +5 -0
- package/node_modules/uuid/dist/version.d.ts +2 -0
- package/node_modules/uuid/dist/version.js +8 -0
- package/node_modules/uuid/dist-node/bin/uuid +2 -0
- package/node_modules/uuid/dist-node/index.js +14 -0
- package/node_modules/uuid/dist-node/max.js +1 -0
- package/node_modules/uuid/dist-node/md5.js +11 -0
- package/node_modules/uuid/dist-node/nil.js +1 -0
- package/node_modules/uuid/dist-node/parse.js +9 -0
- package/node_modules/uuid/dist-node/regex.js +1 -0
- package/node_modules/uuid/dist-node/rng.js +4 -0
- package/node_modules/uuid/dist-node/sha1.js +11 -0
- package/node_modules/uuid/dist-node/stringify.js +35 -0
- package/node_modules/uuid/dist-node/types.js +1 -0
- package/node_modules/uuid/dist-node/uuid-bin.js +70 -0
- package/node_modules/uuid/dist-node/v1.js +87 -0
- package/node_modules/uuid/dist-node/v1ToV6.js +10 -0
- package/node_modules/uuid/dist-node/v3.js +9 -0
- package/node_modules/uuid/dist-node/v35.js +39 -0
- package/node_modules/uuid/dist-node/v4.js +29 -0
- package/node_modules/uuid/dist-node/v5.js +9 -0
- package/node_modules/uuid/dist-node/v6.js +20 -0
- package/node_modules/uuid/dist-node/v6ToV1.js +10 -0
- package/node_modules/uuid/dist-node/v7.js +68 -0
- package/node_modules/uuid/dist-node/validate.js +5 -0
- package/node_modules/uuid/dist-node/version.js +8 -0
- package/node_modules/uuid/package.json +115 -0
- package/package.json +80 -4
- package/release.json +78 -0
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import { type PageOptions } from "./inventory.js";
|
|
2
|
+
export { AstrogateError } from "./http.js";
|
|
3
|
+
import type { components } from "./wire.gen.js";
|
|
4
|
+
type Schemas = components["schemas"];
|
|
5
|
+
export type Project = Schemas["Project"];
|
|
6
|
+
export type CreateProject = Schemas["CreateProject"];
|
|
7
|
+
export type Repository = Schemas["Repository"];
|
|
8
|
+
export type CreateRepository = Schemas["CreateRepository"];
|
|
9
|
+
export type BuildingBlock = Schemas["BuildingBlock"];
|
|
10
|
+
export type CreateBuildingBlock = Schemas["CreateBuildingBlock"];
|
|
11
|
+
export type Schedule = Schemas["Schedule"];
|
|
12
|
+
export type UpdateSchedule = Schemas["UpdateSchedule"];
|
|
13
|
+
export type CreateSchedule = Pick<CreateBuildingBlock, "expectedRevision" | "expectedEnvironmentKind"> & {
|
|
14
|
+
profileId: CreateBuildingBlock["spec"]["profileId"];
|
|
15
|
+
spec: UpdateSchedule["spec"];
|
|
16
|
+
};
|
|
17
|
+
export type PlacementState = Schemas["PlacementState"];
|
|
18
|
+
export type PlacementLocation = Schemas["PlacementLocation"];
|
|
19
|
+
export type ChangePlacement = Schemas["ChangePlacement"];
|
|
20
|
+
export type Accepted = Schemas["Accepted"];
|
|
21
|
+
export type Operation = Schemas["Operation"];
|
|
22
|
+
export type OperationLog = Schemas["OperationLog"];
|
|
23
|
+
export type DeploymentState = Schemas["DeploymentState"];
|
|
24
|
+
export type CreateDatabase = Schemas["CreateDatabase"];
|
|
25
|
+
export type DatabaseBinding = Schemas["DatabaseBinding"];
|
|
26
|
+
export type CreateReleasePlan = Schemas["CreateReleasePlan"];
|
|
27
|
+
export type ReleasePlan = Schemas["ReleasePlan"];
|
|
28
|
+
export type DomainRegistration = Schemas["DomainRegistration"];
|
|
29
|
+
export type CreateDomainRegistration = Schemas["CreateDomainRegistration"];
|
|
30
|
+
export type CreateHostnameBinding = Schemas["CreateHostnameBinding"];
|
|
31
|
+
export type HostnameBinding = Schemas["HostnameBinding"];
|
|
32
|
+
export type Workspace = Schemas["Workspace"];
|
|
33
|
+
export type StartWorkspace = Schemas["StartWorkspace"];
|
|
34
|
+
export type WriteWorkspace = Schemas["WriteWorkspace"];
|
|
35
|
+
export type ExpectedRevision = Schemas["ExpectedRevision"];
|
|
36
|
+
export type CreateDeployment = Schemas["CreateDeployment"];
|
|
37
|
+
export type CreateSourceDeployment = Schemas["CreateSourceDeployment"];
|
|
38
|
+
export interface RequestOptions {
|
|
39
|
+
signal?: AbortSignal;
|
|
40
|
+
idempotencyKey: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ManagementOptions {
|
|
43
|
+
endpoint: string;
|
|
44
|
+
tenant: string;
|
|
45
|
+
token: string;
|
|
46
|
+
deadlineMs: number;
|
|
47
|
+
maxAttempts: number;
|
|
48
|
+
}
|
|
49
|
+
export declare function createManagement(options: ManagementOptions): {
|
|
50
|
+
projects: {
|
|
51
|
+
create: (input: CreateProject, controls: RequestOptions) => Promise<{
|
|
52
|
+
operationId: string;
|
|
53
|
+
resourceId: string;
|
|
54
|
+
statusUrl: string;
|
|
55
|
+
}>;
|
|
56
|
+
list: (page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
57
|
+
id: string;
|
|
58
|
+
name: string;
|
|
59
|
+
revision: number;
|
|
60
|
+
}>>;
|
|
61
|
+
get: (resource: string, signal?: AbortSignal) => Promise<{
|
|
62
|
+
id: string;
|
|
63
|
+
name: string;
|
|
64
|
+
revision: number;
|
|
65
|
+
}>;
|
|
66
|
+
};
|
|
67
|
+
repositories: {
|
|
68
|
+
create: (project: string, input: CreateRepository, controls: RequestOptions) => Promise<{
|
|
69
|
+
operationId: string;
|
|
70
|
+
resourceId: string;
|
|
71
|
+
statusUrl: string;
|
|
72
|
+
}>;
|
|
73
|
+
get: (project: string, signal?: AbortSignal) => Promise<{
|
|
74
|
+
id: string;
|
|
75
|
+
projectId: string;
|
|
76
|
+
profileId: string;
|
|
77
|
+
revision: number;
|
|
78
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
79
|
+
nativeId: number;
|
|
80
|
+
cloneUrl: string;
|
|
81
|
+
}>;
|
|
82
|
+
};
|
|
83
|
+
services: {
|
|
84
|
+
get: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
85
|
+
identity?: components["schemas"]["ServiceBinding"];
|
|
86
|
+
storage?: components["schemas"]["ServiceBinding"];
|
|
87
|
+
jobs?: components["schemas"]["ServiceBinding"];
|
|
88
|
+
}>;
|
|
89
|
+
};
|
|
90
|
+
jobRuns: {
|
|
91
|
+
create: (project: string, environment: string, input: components['schemas']['CreateJobRun'], controls: RequestOptions) => Promise<{
|
|
92
|
+
operationId: string;
|
|
93
|
+
resourceId: string;
|
|
94
|
+
statusUrl: string;
|
|
95
|
+
}>;
|
|
96
|
+
};
|
|
97
|
+
schedules: {
|
|
98
|
+
create: (project: string, environment: string, input: CreateSchedule, controls: RequestOptions) => Promise<{
|
|
99
|
+
operationId: string;
|
|
100
|
+
resourceId: string;
|
|
101
|
+
statusUrl: string;
|
|
102
|
+
}>;
|
|
103
|
+
get: (project: string, environment: string, resource: string, signal?: AbortSignal) => Promise<{
|
|
104
|
+
id: string;
|
|
105
|
+
revision: number;
|
|
106
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
107
|
+
spec: components["schemas"]["ScheduleBlockSpec"];
|
|
108
|
+
}>;
|
|
109
|
+
update: (project: string, environment: string, resource: string, input: UpdateSchedule, controls: RequestOptions) => Promise<{
|
|
110
|
+
operationId: string;
|
|
111
|
+
resourceId: string;
|
|
112
|
+
statusUrl: string;
|
|
113
|
+
}>;
|
|
114
|
+
};
|
|
115
|
+
buildingBlocks: {
|
|
116
|
+
list: (project: string, environment: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
117
|
+
id: string;
|
|
118
|
+
kind: "identity" | "storage" | "jobs" | "schedule";
|
|
119
|
+
profileId: string;
|
|
120
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
121
|
+
revision: number;
|
|
122
|
+
binding: components["schemas"]["BuildingBlockBinding"];
|
|
123
|
+
}>>;
|
|
124
|
+
create: (project: string, environment: string, input: CreateBuildingBlock, controls: RequestOptions) => Promise<{
|
|
125
|
+
operationId: string;
|
|
126
|
+
resourceId: string;
|
|
127
|
+
statusUrl: string;
|
|
128
|
+
}>;
|
|
129
|
+
get: (project: string, environment: string, resource: string, signal?: AbortSignal) => Promise<{
|
|
130
|
+
id: string;
|
|
131
|
+
kind: "identity" | "storage" | "jobs" | "schedule";
|
|
132
|
+
profileId: string;
|
|
133
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
134
|
+
revision: number;
|
|
135
|
+
binding: components["schemas"]["BuildingBlockBinding"];
|
|
136
|
+
}>;
|
|
137
|
+
getByKind: (project: string, environment: string, kind: 'identity' | 'storage' | 'jobs', signal?: AbortSignal) => Promise<{
|
|
138
|
+
id: string;
|
|
139
|
+
kind: "identity" | "storage" | "jobs" | "schedule";
|
|
140
|
+
profileId: string;
|
|
141
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
142
|
+
revision: number;
|
|
143
|
+
binding: components["schemas"]["BuildingBlockBinding"];
|
|
144
|
+
}>;
|
|
145
|
+
};
|
|
146
|
+
domains: {
|
|
147
|
+
delete: (registration: string, input: ExpectedRevision, controls: RequestOptions) => Promise<undefined>;
|
|
148
|
+
register: (input: CreateDomainRegistration, controls: RequestOptions) => Promise<{
|
|
149
|
+
id: string;
|
|
150
|
+
domain: string;
|
|
151
|
+
state: "pending" | "verified";
|
|
152
|
+
revision: number;
|
|
153
|
+
challengeName: string;
|
|
154
|
+
challengeValue: string;
|
|
155
|
+
}>;
|
|
156
|
+
get: (registration: string, signal?: AbortSignal) => Promise<{
|
|
157
|
+
id: string;
|
|
158
|
+
domain: string;
|
|
159
|
+
state: "pending" | "verified";
|
|
160
|
+
revision: number;
|
|
161
|
+
challengeName: string;
|
|
162
|
+
challengeValue: string;
|
|
163
|
+
}>;
|
|
164
|
+
verify: (registration: string, input: ExpectedRevision, controls: RequestOptions) => Promise<{
|
|
165
|
+
id: string;
|
|
166
|
+
domain: string;
|
|
167
|
+
state: "pending" | "verified";
|
|
168
|
+
revision: number;
|
|
169
|
+
challengeName: string;
|
|
170
|
+
challengeValue: string;
|
|
171
|
+
}>;
|
|
172
|
+
};
|
|
173
|
+
hostnames: {
|
|
174
|
+
list: (project: string, environment: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
175
|
+
id: string;
|
|
176
|
+
hostname: string;
|
|
177
|
+
primary: boolean;
|
|
178
|
+
state: "pending" | "ready" | "failed" | "retiring" | "retired";
|
|
179
|
+
revision: number;
|
|
180
|
+
reason: string;
|
|
181
|
+
}>>;
|
|
182
|
+
retire: (project: string, environment: string, binding: string, input: ExpectedRevision, controls: RequestOptions) => Promise<{
|
|
183
|
+
operationId: string;
|
|
184
|
+
resourceId: string;
|
|
185
|
+
statusUrl: string;
|
|
186
|
+
}>;
|
|
187
|
+
bind: (project: string, environment: string, input: CreateHostnameBinding, controls: RequestOptions) => Promise<{
|
|
188
|
+
operationId: string;
|
|
189
|
+
resourceId: string;
|
|
190
|
+
statusUrl: string;
|
|
191
|
+
}>;
|
|
192
|
+
get: (project: string, environment: string, binding: string, signal?: AbortSignal) => Promise<{
|
|
193
|
+
id: string;
|
|
194
|
+
hostname: string;
|
|
195
|
+
primary: boolean;
|
|
196
|
+
state: "pending" | "ready" | "failed" | "retiring" | "retired";
|
|
197
|
+
revision: number;
|
|
198
|
+
reason: string;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
workspaces: {
|
|
202
|
+
write: (project: string, environment: string, input: WriteWorkspace, controls: RequestOptions) => Promise<{
|
|
203
|
+
operationId: string;
|
|
204
|
+
resourceId: string;
|
|
205
|
+
statusUrl: string;
|
|
206
|
+
}>;
|
|
207
|
+
start: (project: string, environment: string, input: StartWorkspace, controls: RequestOptions) => Promise<{
|
|
208
|
+
operationId: string;
|
|
209
|
+
resourceId: string;
|
|
210
|
+
statusUrl: string;
|
|
211
|
+
}>;
|
|
212
|
+
stop: (project: string, environment: string, input: ExpectedRevision, controls: RequestOptions) => Promise<{
|
|
213
|
+
operationId: string;
|
|
214
|
+
resourceId: string;
|
|
215
|
+
statusUrl: string;
|
|
216
|
+
}>;
|
|
217
|
+
get: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
218
|
+
id: string;
|
|
219
|
+
state: "pending" | "starting" | "ready" | "stopped" | "failed";
|
|
220
|
+
sourceRevision: string;
|
|
221
|
+
url: string;
|
|
222
|
+
operationId: string;
|
|
223
|
+
}>;
|
|
224
|
+
};
|
|
225
|
+
databases: {
|
|
226
|
+
create: (project: string, environment: string, input: CreateDatabase, controls: RequestOptions) => Promise<{
|
|
227
|
+
operationId: string;
|
|
228
|
+
resourceId: string;
|
|
229
|
+
statusUrl: string;
|
|
230
|
+
}>;
|
|
231
|
+
get: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
232
|
+
appId: string;
|
|
233
|
+
environmentId: string;
|
|
234
|
+
state: string;
|
|
235
|
+
apiURI: string;
|
|
236
|
+
websocketURI: string;
|
|
237
|
+
cellId: string;
|
|
238
|
+
locationId: string;
|
|
239
|
+
revision: number;
|
|
240
|
+
environmentKind: "preview" | "staging" | "production";
|
|
241
|
+
initializationRef: string;
|
|
242
|
+
schemaRevision: string;
|
|
243
|
+
datasetRevision: string;
|
|
244
|
+
}>;
|
|
245
|
+
};
|
|
246
|
+
releasePlans: {
|
|
247
|
+
create: (project: string, environment: string, input: CreateReleasePlan, controls: RequestOptions) => Promise<{
|
|
248
|
+
operationId: string;
|
|
249
|
+
resourceId: string;
|
|
250
|
+
statusUrl: string;
|
|
251
|
+
}>;
|
|
252
|
+
get: (project: string, environment: string, plan: string, signal?: AbortSignal) => Promise<{
|
|
253
|
+
id: string;
|
|
254
|
+
state: "pending" | "reviewed";
|
|
255
|
+
databaseAppId: string;
|
|
256
|
+
digest: string;
|
|
257
|
+
plan: {
|
|
258
|
+
[key: string]: unknown;
|
|
259
|
+
};
|
|
260
|
+
}>;
|
|
261
|
+
};
|
|
262
|
+
deployments: {
|
|
263
|
+
fromSource: (project: string, environment: string, input: CreateSourceDeployment, controls: RequestOptions) => Promise<{
|
|
264
|
+
operationId: string;
|
|
265
|
+
resourceId: string;
|
|
266
|
+
statusUrl: string;
|
|
267
|
+
}>;
|
|
268
|
+
create: (project: string, environment: string, input: CreateDeployment, controls: RequestOptions) => Promise<{
|
|
269
|
+
operationId: string;
|
|
270
|
+
resourceId: string;
|
|
271
|
+
statusUrl: string;
|
|
272
|
+
}>;
|
|
273
|
+
};
|
|
274
|
+
environments: {
|
|
275
|
+
list: (project: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
276
|
+
id: string;
|
|
277
|
+
projectId: string;
|
|
278
|
+
name: string;
|
|
279
|
+
kind: "preview" | "staging" | "production";
|
|
280
|
+
revision: number;
|
|
281
|
+
}>>;
|
|
282
|
+
get: (project: string, resource: string, signal?: AbortSignal) => Promise<{
|
|
283
|
+
id: string;
|
|
284
|
+
projectId: string;
|
|
285
|
+
name: string;
|
|
286
|
+
kind: "preview" | "staging" | "production";
|
|
287
|
+
revision: number;
|
|
288
|
+
}>;
|
|
289
|
+
getPlacement: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
290
|
+
revision: number;
|
|
291
|
+
epoch: number;
|
|
292
|
+
desired: components["schemas"]["PlacementDesired"];
|
|
293
|
+
effectiveCell: string;
|
|
294
|
+
effectiveLocation: string;
|
|
295
|
+
effectiveProfile: string;
|
|
296
|
+
operationId: string;
|
|
297
|
+
phase: "pending" | "ready" | "draining" | "fenced" | "copying" | "verified" | "committed" | "routing" | "waiting";
|
|
298
|
+
reason: string;
|
|
299
|
+
standbyCell: string;
|
|
300
|
+
protection: "none" | "pending" | "snapshot-ready" | "degraded";
|
|
301
|
+
reserved: components["schemas"]["PlacementResources"];
|
|
302
|
+
recoveryPoint?: components["schemas"]["PlacementRecoveryPoint"];
|
|
303
|
+
capacity?: components["schemas"]["PlacementCapacity"];
|
|
304
|
+
}>;
|
|
305
|
+
listLocations: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
306
|
+
id: string;
|
|
307
|
+
name: string;
|
|
308
|
+
geographicGroup: string;
|
|
309
|
+
profiles: string[];
|
|
310
|
+
healthy: boolean;
|
|
311
|
+
}[]>;
|
|
312
|
+
changePlacement: (project: string, environment: string, input: ChangePlacement, controls: RequestOptions) => Promise<{
|
|
313
|
+
operationId: string;
|
|
314
|
+
resourceId: string;
|
|
315
|
+
statusUrl: string;
|
|
316
|
+
}>;
|
|
317
|
+
getDeploymentState: (project: string, environment: string, signal?: AbortSignal) => Promise<{
|
|
318
|
+
revision: number;
|
|
319
|
+
bindingRevision: number;
|
|
320
|
+
activeRelease: string | null;
|
|
321
|
+
}>;
|
|
322
|
+
};
|
|
323
|
+
operations: {
|
|
324
|
+
list: (project: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
325
|
+
id: string;
|
|
326
|
+
resourceId: string;
|
|
327
|
+
state: "queued" | "running" | "waiting" | "succeeded" | "failed";
|
|
328
|
+
step: "accepted" | "provisioning" | "verifying" | "complete";
|
|
329
|
+
attempts: number;
|
|
330
|
+
errorCode: string;
|
|
331
|
+
}>>;
|
|
332
|
+
logs: (operationId: string, kind: OperationLog["kind"], signal?: AbortSignal) => Promise<{
|
|
333
|
+
operationId: string;
|
|
334
|
+
kind: components["schemas"]["OperationLogKind"];
|
|
335
|
+
available: boolean;
|
|
336
|
+
text: string;
|
|
337
|
+
}>;
|
|
338
|
+
get: (operationId: string, signal?: AbortSignal) => Promise<{
|
|
339
|
+
id: string;
|
|
340
|
+
resourceId: string;
|
|
341
|
+
state: "queued" | "running" | "waiting" | "succeeded" | "failed";
|
|
342
|
+
step: "accepted" | "provisioning" | "verifying" | "complete";
|
|
343
|
+
attempts: number;
|
|
344
|
+
errorCode: string;
|
|
345
|
+
}>;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { AstrogateError, requestJSON } from "./http.js";
|
|
2
|
+
import { project, environment, placementState, placementLocations, operation, operationLog, buildingBlock, hostnameBinding } from "./management-read.js";
|
|
3
|
+
import { listQuery, pageOf } from "./inventory.js";
|
|
4
|
+
import { managementAuthority } from "./http.js";
|
|
5
|
+
import { serviceBindings } from "./services.js";
|
|
6
|
+
export { AstrogateError } from "./http.js";
|
|
7
|
+
function object(value) {
|
|
8
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
9
|
+
}
|
|
10
|
+
function accepted(value) {
|
|
11
|
+
return (object(value) &&
|
|
12
|
+
typeof value.operationId === "string" &&
|
|
13
|
+
typeof value.resourceId === "string" &&
|
|
14
|
+
typeof value.statusUrl === "string");
|
|
15
|
+
}
|
|
16
|
+
function releasePlan(value) {
|
|
17
|
+
return object(value) && typeof value.id === "string" && typeof value.databaseAppId === "string" && typeof value.digest === "string" && (value.state === "pending" || value.state === "reviewed") && object(value.plan);
|
|
18
|
+
}
|
|
19
|
+
function repository(value) {
|
|
20
|
+
return object(value) && ["id", "projectId", "profileId", "cloneUrl"].every(key => typeof value[key] === "string") && Number.isSafeInteger(value.revision) && Number.isSafeInteger(value.nativeId) && typeof value.state === "string" && ["pending", "ready", "retained", "failed"].includes(value.state);
|
|
21
|
+
}
|
|
22
|
+
function schedule(value) {
|
|
23
|
+
if (!object(value) || !object(value.spec))
|
|
24
|
+
return false;
|
|
25
|
+
const spec = value.spec;
|
|
26
|
+
return typeof value.id === "string" && Number.isSafeInteger(value.revision) &&
|
|
27
|
+
typeof value.state === "string" && ["pending", "ready", "retained", "failed"].includes(value.state) &&
|
|
28
|
+
["jobsResourceId", "taskDefinitionRef", "cron", "timeZone"].every(key => typeof spec[key] === "string") &&
|
|
29
|
+
typeof spec.enabled === "boolean" && spec.concurrencyPolicy === "forbid" && spec.missedRunPolicy === "skip";
|
|
30
|
+
}
|
|
31
|
+
function databaseBinding(value) {
|
|
32
|
+
return object(value) && ["appId", "environmentId", "state", "apiURI", "websocketURI", "cellId", "locationId"].every(key => typeof value[key] === "string") && Number.isSafeInteger(value.revision) && typeof value.environmentKind === "string" && ["preview", "staging", "production"].includes(value.environmentKind);
|
|
33
|
+
}
|
|
34
|
+
function domainRegistration(value) {
|
|
35
|
+
return object(value) && ["id", "domain", "challengeName", "challengeValue"].every(key => typeof value[key] === "string") && Number.isSafeInteger(value.revision) && (value.state === "pending" || value.state === "verified");
|
|
36
|
+
}
|
|
37
|
+
function workspace(value) {
|
|
38
|
+
return object(value) && ["id", "sourceRevision", "url", "operationId"].every(key => typeof value[key] === "string") && typeof value.state === "string" && ["pending", "starting", "ready", "stopped", "failed"].includes(value.state);
|
|
39
|
+
}
|
|
40
|
+
function deploymentState(value) {
|
|
41
|
+
return (object(value) &&
|
|
42
|
+
Number.isSafeInteger(value.revision) &&
|
|
43
|
+
Number.isSafeInteger(value.bindingRevision) &&
|
|
44
|
+
(value.activeRelease === null || typeof value.activeRelease === "string"));
|
|
45
|
+
}
|
|
46
|
+
function id(value) {
|
|
47
|
+
if (!/^[A-Za-z0-9_-]+$/.test(value))
|
|
48
|
+
throw new AstrogateError("invalid_resource_reference", 0, "", false);
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
// Management credentials are for trusted services/operators. No app, browser,
|
|
52
|
+
// Git branch or project manifest can construct a server-verified principal.
|
|
53
|
+
export function createManagement(options) {
|
|
54
|
+
const endpoint = managementAuthority(options);
|
|
55
|
+
const base = `/v1/tenants/${id(options.tenant)}`;
|
|
56
|
+
async function request(path, validate, input, controls, signal, method) {
|
|
57
|
+
if (input !== undefined &&
|
|
58
|
+
(!controls?.idempotencyKey || controls.idempotencyKey.length > 128))
|
|
59
|
+
throw new AstrogateError("idempotency_key_required", 0, "", false);
|
|
60
|
+
const body = input === undefined ? undefined : JSON.stringify(input);
|
|
61
|
+
const headers = { authorization: `Bearer ${options.token}` };
|
|
62
|
+
if (body !== undefined) {
|
|
63
|
+
headers["content-type"] = "application/json";
|
|
64
|
+
headers["idempotency-key"] = controls.idempotencyKey;
|
|
65
|
+
}
|
|
66
|
+
return requestJSON(new URL(base + path, endpoint), options, { method: method ?? (body === undefined ? "GET" : "POST"), headers, body }, validate, controls?.signal ?? signal);
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
projects: { create: (input, controls) => request(`/projects`, accepted, input, controls), list: (page = {}, signal) => request(`/projects${listQuery(page)}`, pageOf(project), undefined, undefined, signal), get: (resource, signal) => request(`/projects/${id(resource)}`, project, undefined, undefined, signal) },
|
|
70
|
+
repositories: {
|
|
71
|
+
create: (project, input, controls) => request(`/projects/${id(project)}/repository`, accepted, input, controls),
|
|
72
|
+
get: (project, signal) => request(`/projects/${id(project)}/repository`, repository, undefined, undefined, signal),
|
|
73
|
+
},
|
|
74
|
+
services: { get: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/service-bindings`, serviceBindings, undefined, undefined, signal) },
|
|
75
|
+
jobRuns: {
|
|
76
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/job-runs`, accepted, input, controls),
|
|
77
|
+
},
|
|
78
|
+
schedules: {
|
|
79
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/building-blocks`, accepted, {
|
|
80
|
+
expectedRevision: input.expectedRevision,
|
|
81
|
+
expectedEnvironmentKind: input.expectedEnvironmentKind,
|
|
82
|
+
spec: { kind: "schedule", profileId: input.profileId, schedule: input.spec },
|
|
83
|
+
}, controls),
|
|
84
|
+
get: (project, environment, resource, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/schedules/${id(resource)}`, schedule, undefined, undefined, signal),
|
|
85
|
+
update: (project, environment, resource, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/schedules/${id(resource)}`, accepted, input, controls),
|
|
86
|
+
},
|
|
87
|
+
buildingBlocks: {
|
|
88
|
+
list: (project, environment, page = {}, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/building-blocks${listQuery(page)}`, pageOf(buildingBlock), undefined, undefined, signal),
|
|
89
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/building-blocks`, accepted, input, controls),
|
|
90
|
+
get: (project, environment, resource, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/building-blocks/${id(resource)}`, buildingBlock, undefined, undefined, signal),
|
|
91
|
+
getByKind: (project, environment, kind, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/building-blocks/by-kind/${kind}`, buildingBlock, undefined, undefined, signal),
|
|
92
|
+
},
|
|
93
|
+
domains: {
|
|
94
|
+
delete: (registration, input, controls) => request(`/domains/${id(registration)}`, (value) => value === undefined, input, controls, undefined, "DELETE"),
|
|
95
|
+
register: (input, controls) => request('/domains', domainRegistration, input, controls),
|
|
96
|
+
get: (registration, signal) => request(`/domains/${id(registration)}`, domainRegistration, undefined, undefined, signal),
|
|
97
|
+
verify: (registration, input, controls) => request(`/domains/${id(registration)}/verify`, domainRegistration, input, controls),
|
|
98
|
+
},
|
|
99
|
+
hostnames: {
|
|
100
|
+
list: (project, environment, page = {}, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/hostnames${listQuery(page)}`, pageOf(hostnameBinding), undefined, undefined, signal),
|
|
101
|
+
retire: (project, environment, binding, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/hostnames/${id(binding)}/retire`, accepted, input, controls),
|
|
102
|
+
bind: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/hostnames`, accepted, input, controls),
|
|
103
|
+
get: (project, environment, binding, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/hostnames/${id(binding)}`, hostnameBinding, undefined, undefined, signal),
|
|
104
|
+
},
|
|
105
|
+
workspaces: {
|
|
106
|
+
write: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/workspace/files`, accepted, input, controls),
|
|
107
|
+
start: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/workspace`, accepted, input, controls),
|
|
108
|
+
stop: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/workspace/stop`, accepted, input, controls),
|
|
109
|
+
get: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/workspace`, workspace, undefined, undefined, signal),
|
|
110
|
+
},
|
|
111
|
+
databases: {
|
|
112
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/database`, accepted, input, controls),
|
|
113
|
+
get: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/database`, databaseBinding, undefined, undefined, signal),
|
|
114
|
+
},
|
|
115
|
+
releasePlans: {
|
|
116
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/release-plans`, accepted, input, controls),
|
|
117
|
+
get: (project, environment, plan, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/release-plans/${id(plan)}`, releasePlan, undefined, undefined, signal),
|
|
118
|
+
},
|
|
119
|
+
deployments: {
|
|
120
|
+
fromSource: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/source-deployments`, accepted, input, controls),
|
|
121
|
+
create: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/deployments`, accepted, input, controls),
|
|
122
|
+
},
|
|
123
|
+
environments: {
|
|
124
|
+
list: (project, page = {}, signal) => request(`/projects/${id(project)}/environments${listQuery(page)}`, pageOf(environment), undefined, undefined, signal),
|
|
125
|
+
get: (project, resource, signal) => request(`/projects/${id(project)}/environments/${id(resource)}`, environment, undefined, undefined, signal),
|
|
126
|
+
getPlacement: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/placement`, placementState, undefined, undefined, signal),
|
|
127
|
+
listLocations: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/locations`, placementLocations, undefined, undefined, signal),
|
|
128
|
+
changePlacement: (project, environment, input, controls) => request(`/projects/${id(project)}/environments/${id(environment)}/placement-operations`, accepted, input, controls),
|
|
129
|
+
getDeploymentState: (project, environment, signal) => request(`/projects/${id(project)}/environments/${id(environment)}/deployment-state`, deploymentState, undefined, undefined, signal),
|
|
130
|
+
},
|
|
131
|
+
operations: {
|
|
132
|
+
list: (project, page = {}, signal) => request(`/projects/${id(project)}/operations${listQuery(page)}`, pageOf(operation), undefined, undefined, signal),
|
|
133
|
+
logs: (operationId, kind, signal) => request(`/operations/${id(operationId)}/logs/${kind}`, operationLog, undefined, undefined, signal),
|
|
134
|
+
get: (operationId, signal) => request(`/operations/${id(operationId)}`, operation, undefined, undefined, signal),
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { type TransportBudget } from "./http.js";
|
|
2
|
+
import { type PageOptions } from "./inventory.js";
|
|
3
|
+
import type { components } from "./wire.gen.js";
|
|
4
|
+
export { AstrogateError } from "./http.js";
|
|
5
|
+
export type OperatorOptions = TransportBudget & {
|
|
6
|
+
endpoint: string;
|
|
7
|
+
token: string;
|
|
8
|
+
};
|
|
9
|
+
export type { PageOptions } from "./inventory.js";
|
|
10
|
+
type EnvironmentTopology = components["schemas"]["EnvironmentTopology"];
|
|
11
|
+
export declare function createOperator(options: OperatorOptions): {
|
|
12
|
+
products: {
|
|
13
|
+
list: (page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
14
|
+
id: string;
|
|
15
|
+
}>>;
|
|
16
|
+
};
|
|
17
|
+
tenants: {
|
|
18
|
+
list: (product: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
19
|
+
id: string;
|
|
20
|
+
}>>;
|
|
21
|
+
};
|
|
22
|
+
projects: {
|
|
23
|
+
list: (product: string, tenant: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
revision: number;
|
|
27
|
+
}>>;
|
|
28
|
+
get: (product: string, tenant: string, id: string, signal?: AbortSignal) => Promise<{
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
revision: number;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
buildingBlocks: {
|
|
35
|
+
list: (product: string, tenant: string, project: string, environment: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
36
|
+
id: string;
|
|
37
|
+
kind: "identity" | "storage" | "jobs" | "schedule";
|
|
38
|
+
profileId: string;
|
|
39
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
40
|
+
revision: number;
|
|
41
|
+
binding: components["schemas"]["BuildingBlockBinding"];
|
|
42
|
+
}>>;
|
|
43
|
+
get: (product: string, tenant: string, project: string, environment: string, id: string, signal?: AbortSignal) => Promise<{
|
|
44
|
+
id: string;
|
|
45
|
+
kind: "identity" | "storage" | "jobs" | "schedule";
|
|
46
|
+
profileId: string;
|
|
47
|
+
state: "pending" | "ready" | "retained" | "failed";
|
|
48
|
+
revision: number;
|
|
49
|
+
binding: components["schemas"]["BuildingBlockBinding"];
|
|
50
|
+
}>;
|
|
51
|
+
};
|
|
52
|
+
hostnames: {
|
|
53
|
+
list: (product: string, tenant: string, project: string, environment: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
54
|
+
id: string;
|
|
55
|
+
hostname: string;
|
|
56
|
+
primary: boolean;
|
|
57
|
+
state: "pending" | "ready" | "failed" | "retiring" | "retired";
|
|
58
|
+
revision: number;
|
|
59
|
+
reason: string;
|
|
60
|
+
}>>;
|
|
61
|
+
};
|
|
62
|
+
operations: {
|
|
63
|
+
list: (product: string, tenant: string, project: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
64
|
+
id: string;
|
|
65
|
+
resourceId: string;
|
|
66
|
+
state: "queued" | "running" | "waiting" | "succeeded" | "failed";
|
|
67
|
+
step: "accepted" | "provisioning" | "verifying" | "complete";
|
|
68
|
+
attempts: number;
|
|
69
|
+
errorCode: string;
|
|
70
|
+
}>>;
|
|
71
|
+
get: (product: string, tenant: string, project: string, id: string, signal?: AbortSignal) => Promise<{
|
|
72
|
+
operation: components["schemas"]["Operation"];
|
|
73
|
+
logKinds: components["schemas"]["OperationLogKind"][];
|
|
74
|
+
}>;
|
|
75
|
+
logs: (product: string, tenant: string, project: string, id: string, kind: components["schemas"]["OperationLog"]["kind"], signal?: AbortSignal) => Promise<{
|
|
76
|
+
operationId: string;
|
|
77
|
+
kind: components["schemas"]["OperationLogKind"];
|
|
78
|
+
available: boolean;
|
|
79
|
+
text: string;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
environments: {
|
|
83
|
+
getTopology: (product: string, tenant: string, project: string, id: string, signal?: AbortSignal) => Promise<{
|
|
84
|
+
cell: string;
|
|
85
|
+
epoch: number;
|
|
86
|
+
hosts: components["schemas"]["TopologyHost"][];
|
|
87
|
+
targets: components["schemas"]["TopologyTarget"][];
|
|
88
|
+
observedAt: string;
|
|
89
|
+
validUntil: string;
|
|
90
|
+
fresh: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
list: (product: string, tenant: string, project: string, page?: PageOptions, signal?: AbortSignal) => Promise<import("./inventory.js").InventoryPage<{
|
|
93
|
+
id: string;
|
|
94
|
+
projectId: string;
|
|
95
|
+
name: string;
|
|
96
|
+
kind: "preview" | "staging" | "production";
|
|
97
|
+
revision: number;
|
|
98
|
+
}>>;
|
|
99
|
+
get: (product: string, tenant: string, project: string, id: string, signal?: AbortSignal) => Promise<{
|
|
100
|
+
id: string;
|
|
101
|
+
projectId: string;
|
|
102
|
+
name: string;
|
|
103
|
+
kind: "preview" | "staging" | "production";
|
|
104
|
+
revision: number;
|
|
105
|
+
}>;
|
|
106
|
+
getPlacement: (product: string, tenant: string, project: string, id: string, signal?: AbortSignal) => Promise<{
|
|
107
|
+
revision: number;
|
|
108
|
+
epoch: number;
|
|
109
|
+
desired: components["schemas"]["PlacementDesired"];
|
|
110
|
+
effectiveCell: string;
|
|
111
|
+
effectiveLocation: string;
|
|
112
|
+
effectiveProfile: string;
|
|
113
|
+
operationId: string;
|
|
114
|
+
phase: "pending" | "ready" | "draining" | "fenced" | "copying" | "verified" | "committed" | "routing" | "waiting";
|
|
115
|
+
reason: string;
|
|
116
|
+
standbyCell: string;
|
|
117
|
+
protection: "none" | "pending" | "snapshot-ready" | "degraded";
|
|
118
|
+
reserved: components["schemas"]["PlacementResources"];
|
|
119
|
+
recoveryPoint?: components["schemas"]["PlacementRecoveryPoint"];
|
|
120
|
+
capacity?: components["schemas"]["PlacementCapacity"];
|
|
121
|
+
}>;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export type Project = components["schemas"]["Project"];
|
|
125
|
+
export type Environment = components["schemas"]["Environment"];
|
|
126
|
+
export type PlacementState = components["schemas"]["PlacementState"];
|
|
127
|
+
export type CatalogEntryPage = components["schemas"]["CatalogEntryPage"];
|
|
128
|
+
export type ProjectPage = components["schemas"]["ProjectPage"];
|
|
129
|
+
export type EnvironmentPage = components["schemas"]["EnvironmentPage"];
|
|
130
|
+
export type BuildingBlock = components["schemas"]["BuildingBlock"];
|
|
131
|
+
export type BuildingBlockPage = components["schemas"]["BuildingBlockPage"];
|
|
132
|
+
export type OperationPage = components["schemas"]["OperationPage"];
|
|
133
|
+
export type Operation = components["schemas"]["Operation"];
|
|
134
|
+
export type OperationLog = components["schemas"]["OperationLog"];
|
|
135
|
+
export type HostnameBindingPage = components["schemas"]["HostnameBindingPage"];
|
|
136
|
+
export type { EnvironmentTopology };
|