@hexclave/next 1.0.93 → 1.0.95
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/dist/{admin-app-impl-PVoJQhtl.d.ts → admin-app-impl-CGNbwtIr.d.ts} +9 -9
- package/dist/{admin-app-impl-PVoJQhtl.d.ts.map → admin-app-impl-CGNbwtIr.d.ts.map} +1 -1
- package/dist/clickmap/clickmap-core.d.ts +1 -1
- package/dist/clickmap/index.d.ts +1 -1
- package/dist/{client-app-g3gQ078Q.d.ts → client-app-DViU7VSe.d.ts} +28 -25
- package/dist/{client-app-g3gQ078Q.d.ts.map → client-app-DViU7VSe.d.ts.map} +1 -1
- package/dist/components/selected-team-switcher.d.ts +1 -1
- package/dist/components/team-icon.d.ts +1 -1
- package/dist/components/team-switcher.d.ts +1 -1
- package/dist/components-page/account-settings/payments/payments-page.d.ts +1 -1
- package/dist/components-page/account-settings/teams/leave-team-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-api-keys-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-display-name-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-member-invitation-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-member-list-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-page.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-profile-image-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-profile-user-section.d.ts +1 -1
- package/dist/components-page/hexclave-handler-client.d.ts +1 -1
- package/dist/components-page/hexclave-handler.d.ts +1 -1
- package/dist/dev-tool/dev-tool-core.d.ts +1 -1
- package/dist/dev-tool/index.d.ts +1 -1
- package/dist/esm/generated/quetzal-translations.d.ts +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +4 -4
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +13 -15
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/esm/lib/hexclave-app/index.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/projects/index.d.ts +27 -24
- package/dist/esm/lib/hexclave-app/projects/index.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/projects/index.js.map +1 -1
- package/dist/generated/quetzal-translations.d.ts +1 -1
- package/dist/{hexclave-provider-Bh_Bp-8K.d.ts → hexclave-provider-BY9WndAa.d.ts} +3 -3
- package/dist/{hexclave-provider-Bh_Bp-8K.d.ts.map → hexclave-provider-BY9WndAa.d.ts.map} +1 -1
- package/dist/{hooks-DhDTiWnb.d.ts → hooks-CoZaPgi_.d.ts} +2 -2
- package/dist/{hooks-DhDTiWnb.d.ts.map → hooks-CoZaPgi_.d.ts.map} +1 -1
- package/dist/{index-DXWuA5Zu.d.ts → index-BBOSkD39.d.ts} +4 -4
- package/dist/{index-DXWuA5Zu.d.ts.map → index-BBOSkD39.d.ts.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +13 -15
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
- package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts +1 -1
- package/dist/lib/hexclave-app/index.d.ts +2 -2
- package/dist/lib/hexclave-app/projects/index.d.ts +2 -2
- package/dist/lib/hexclave-app/projects/index.js.map +1 -1
- package/dist/lib/hexclave-app/teams/index.d.ts +1 -1
- package/dist/lib/hexclave-app/users/index.d.ts +1 -1
- package/dist/lib/hooks.d.ts +1 -1
- package/dist/providers/hexclave-context.d.ts +1 -1
- package/dist/providers/hexclave-provider-client.d.ts +1 -1
- package/dist/providers/hexclave-provider.d.ts +1 -1
- package/dist/providers/translation-provider.d.ts +1 -1
- package/dist/pushed-config-error-overlay/index.d.ts +1 -1
- package/dist/{quetzal-translations-XeH3zQ9l.d.ts → quetzal-translations-BT1HrUsA.d.ts} +3 -3
- package/dist/{quetzal-translations-XeH3zQ9l.d.ts.map → quetzal-translations-BT1HrUsA.d.ts.map} +1 -1
- package/dist/{translation-provider-WOaZXqAz.d.ts → translation-provider-C1wy92m_.d.ts} +2 -2
- package/dist/{translation-provider-WOaZXqAz.d.ts.map → translation-provider-C1wy92m_.d.ts.map} +1 -1
- package/package.json +4 -4
- package/src/index.ts +12 -0
- package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +13 -15
- package/src/lib/hexclave-app/index.ts +3 -3
- package/src/lib/hexclave-app/projects/index.ts +27 -23
package/dist/{quetzal-translations-XeH3zQ9l.d.ts.map → quetzal-translations-BT1HrUsA.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quetzal-translations-
|
|
1
|
+
{"version":3,"file":"quetzal-translations-BT1HrUsA.d.ts","names":[],"sources":["../src/generated/quetzal-translations.ts"],"mappings":";cAUa,WAAA,EAAW,GAAA;AAAA,cAqTX,cAAA,EAAc,GAAA,mIAAA,GAAA,66qBAAA,GAAA,usnBAAA,GAAA,iyrBAAA,GAAA,g+qBAAA,GAAA,8srBAAA,GAAA,2trBAAA,GAAA,41pBAAA,GAAA,m3eAAA,GAAA,oreAAA,GAAA,swpBAAA,GAAA,+0qBAAA,GAAA,8wbAAA,GAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as quetzalLocales } from "./quetzal-translations-
|
|
1
|
+
import { n as quetzalLocales } from "./quetzal-translations-BT1HrUsA.js";
|
|
2
2
|
|
|
3
3
|
//#region src/providers/translation-provider.d.ts
|
|
4
4
|
declare function TranslationProvider({
|
|
@@ -12,4 +12,4 @@ declare function TranslationProvider({
|
|
|
12
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { TranslationProvider as t };
|
|
15
|
-
//# sourceMappingURL=translation-provider-
|
|
15
|
+
//# sourceMappingURL=translation-provider-C1wy92m_.d.ts.map
|
package/dist/{translation-provider-WOaZXqAz.d.ts.map → translation-provider-C1wy92m_.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation-provider-
|
|
1
|
+
{"version":3,"file":"translation-provider-C1wy92m_.d.ts","names":[],"sources":["../src/providers/translation-provider.tsx"],"mappings":";;;iBAQgB,mBAAA;EAAsB,IAAA;EAAM,oBAAA;EAAsB;AAAA;EAChE,IAAA,EAAM,UAAA,QAAkB,cAAA,CAAe,GAAA;EACvC,oBAAA,GAAuB,MAAA;EACvB,QAAA,EAAU,KAAA,CAAM,SAAA;AAAA,gCACjB,GAAA,CAAA,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"//": "THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template (FOR package.json FILES, PLEASE EDIT package-template.json)",
|
|
3
3
|
"name": "@hexclave/next",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.95",
|
|
5
5
|
"repository": "https://github.com/hexclave/hexclave",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"tailwindcss-animate": "^1.0.7",
|
|
75
75
|
"rrweb": "^1.1.3",
|
|
76
76
|
"yup": "^1.7.1",
|
|
77
|
-
"@hexclave/sc": "1.0.
|
|
78
|
-
"@hexclave/
|
|
79
|
-
"@hexclave/
|
|
77
|
+
"@hexclave/sc": "1.0.95",
|
|
78
|
+
"@hexclave/ui": "1.0.95",
|
|
79
|
+
"@hexclave/shared": "1.0.95"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@types/react": ">=18.0.0",
|
package/src/index.ts
CHANGED
|
@@ -9,6 +9,18 @@ export { getConvexProvidersConfig } from "./integrations/convex";
|
|
|
9
9
|
// (per-specifier JSDoc on re-exports does not).
|
|
10
10
|
export type { HexclaveConfig, StackConfig } from "@hexclave/shared/config";
|
|
11
11
|
export { defineHexclaveConfig, defineStackConfig } from "@hexclave/shared/config";
|
|
12
|
+
// The author-facing types for the config file's `deploy` export.
|
|
13
|
+
export type {
|
|
14
|
+
HexclaveDeploymentConfig,
|
|
15
|
+
HexclaveDeploymentContext,
|
|
16
|
+
HexclaveDeploymentReference,
|
|
17
|
+
HexclaveEnvVarValue,
|
|
18
|
+
HexclavePersistentVolume,
|
|
19
|
+
HexclaveServerService,
|
|
20
|
+
HexclaveServerlessService,
|
|
21
|
+
HexclaveService,
|
|
22
|
+
HexclaveServiceOutputs,
|
|
23
|
+
} from "@hexclave/shared/config";
|
|
12
24
|
|
|
13
25
|
export type { AnalyticsOptions, AnalyticsReplayOptions } from "./lib/hexclave-app/apps/implementations/session-replay";
|
|
14
26
|
// Hexclave aliases and legacy Stack* names — @deprecated JSDoc lives on the original
|
|
@@ -296,25 +296,23 @@ export class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Proj
|
|
|
296
296
|
async listDeploymentServices() {
|
|
297
297
|
return await app._interface.listDeploymentServices();
|
|
298
298
|
},
|
|
299
|
-
async
|
|
300
|
-
|
|
301
|
-
await app._refreshProjectConfig();
|
|
302
|
-
return created;
|
|
299
|
+
async listProjectSecrets() {
|
|
300
|
+
return await app._interface.listProjectSecrets();
|
|
303
301
|
},
|
|
304
|
-
async
|
|
305
|
-
|
|
306
|
-
await app._refreshProjectConfig();
|
|
307
|
-
return updated;
|
|
302
|
+
async setProjectSecret(key, value) {
|
|
303
|
+
await app._interface.setProjectSecret(key, value);
|
|
308
304
|
},
|
|
309
|
-
async
|
|
310
|
-
await app._interface.
|
|
311
|
-
|
|
305
|
+
async deleteProjectSecret(key) {
|
|
306
|
+
await app._interface.deleteProjectSecret(key);
|
|
307
|
+
},
|
|
308
|
+
async listDeployments(options) {
|
|
309
|
+
return await app._interface.listDeployments(options);
|
|
312
310
|
},
|
|
313
|
-
async
|
|
314
|
-
return await app._interface.
|
|
311
|
+
async getDeployment(deploymentId) {
|
|
312
|
+
return await app._interface.getDeployment(deploymentId);
|
|
315
313
|
},
|
|
316
|
-
async
|
|
317
|
-
return await app._interface.
|
|
314
|
+
async getDeploymentBuildLogs(deploymentId, options) {
|
|
315
|
+
return await app._interface.getDeploymentBuildLogs(deploymentId, options);
|
|
318
316
|
},
|
|
319
317
|
async addDeploymentServiceDomain(serviceId, hostname, options) {
|
|
320
318
|
await app._interface.addDeploymentServiceDomain(serviceId, hostname, options);
|
|
@@ -127,9 +127,9 @@ export type {
|
|
|
127
127
|
export type {
|
|
128
128
|
AdminDeploymentDomainJson,
|
|
129
129
|
AdminDeploymentEnvVarJson,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
AdminDeploymentJson,
|
|
131
|
+
AdminDeploymentServiceOutcomeJson,
|
|
132
|
+
AdminProjectSecretJson,
|
|
133
133
|
AdminDeploymentServiceJson,
|
|
134
134
|
AdminOwnedProject,
|
|
135
135
|
AdminProject,
|
|
@@ -7,11 +7,11 @@ import { AdminUserProjectsCrud, ProjectsCrud } from "@hexclave/shared/dist/inter
|
|
|
7
7
|
import { ProjectOnboardingStatus } from "@hexclave/shared/dist/schema-fields";
|
|
8
8
|
|
|
9
9
|
import { CompleteConfig, EnvironmentConfigNormalizedOverride, EnvironmentConfigOverrideOverride } from "@hexclave/shared/dist/config/schema";
|
|
10
|
-
import type { AdminDeploymentDomainJson,
|
|
10
|
+
import type { AdminDeploymentDomainJson, AdminDeploymentJson, AdminDeploymentServiceOutcomeJson, AdminProjectSecretJson, AdminDeploymentServiceJson } from "@hexclave/shared/dist/interface/admin-interface";
|
|
11
11
|
import { StackAdminApp } from "../apps/interfaces/admin-app";
|
|
12
12
|
import { AdminProjectConfig, AdminProjectConfigUpdateOptions, ProjectConfig } from "../project-configs";
|
|
13
13
|
|
|
14
|
-
export type { AdminDeploymentDomainJson, AdminDeploymentEnvVarJson,
|
|
14
|
+
export type { AdminDeploymentDomainJson, AdminDeploymentEnvVarJson, AdminDeploymentJson, AdminDeploymentServiceOutcomeJson, AdminProjectSecretJson, AdminDeploymentServiceJson } from "@hexclave/shared/dist/interface/admin-interface";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* SDK type for pushed config source (camelCase for SDK).
|
|
@@ -147,44 +147,48 @@ export type AdminProject = {
|
|
|
147
147
|
useProductionModeErrors(this: AdminProject): ProductionModeError[],
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* Lists the project's deployment services (definitions from the
|
|
151
|
-
*
|
|
150
|
+
* Lists the project's deployment services (definitions as synced from the
|
|
151
|
+
* config file's `services` export by `hexclave deploy`, merged with their
|
|
152
|
+
* operational state: deploy status, env vars, domains). Definitions are
|
|
153
|
+
* read-only through the SDK — the config file is the source of truth.
|
|
152
154
|
*/
|
|
153
155
|
listDeploymentServices(this: AdminProject): Promise<AdminDeploymentServiceJson[]>,
|
|
154
156
|
|
|
155
157
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
+
* Lists the project's stored secrets (keys and timestamps only — values are
|
|
159
|
+
* write-only and can never be read back).
|
|
158
160
|
*/
|
|
159
|
-
|
|
161
|
+
listProjectSecrets(this: AdminProject): Promise<AdminProjectSecretJson[]>,
|
|
160
162
|
|
|
161
163
|
/**
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* set. Secret env var VALUES are never set here — they are supplied at
|
|
166
|
-
* deploy time via `hexclave deploy --secret <key>=<value>`.
|
|
164
|
+
* Sets (or overwrites) the value of a project secret. Values are only read
|
|
165
|
+
* server-side by the feature that consumes them — today, a deploy filling
|
|
166
|
+
* `secret()` env vars.
|
|
167
167
|
*/
|
|
168
|
-
|
|
169
|
-
env?: Record<string, AdminDeploymentEnvVarOptions>,
|
|
170
|
-
}): Promise<AdminDeploymentServiceJson>,
|
|
168
|
+
setProjectSecret(this: AdminProject, key: string, value: string): Promise<void>,
|
|
171
169
|
|
|
172
170
|
/**
|
|
173
|
-
* Deletes a
|
|
174
|
-
* Only available when the project's config source is the dashboard.
|
|
171
|
+
* Deletes a stored project secret value.
|
|
175
172
|
*/
|
|
176
|
-
|
|
173
|
+
deleteProjectSecret(this: AdminProject, key: string): Promise<void>,
|
|
177
174
|
|
|
178
175
|
/**
|
|
179
|
-
* Lists the
|
|
176
|
+
* Lists the project's deployments (one per `hexclave deploy`) newest first,
|
|
177
|
+
* each with the services it deployed and their runs.
|
|
180
178
|
*/
|
|
181
|
-
|
|
179
|
+
listDeployments(this: AdminProject, options?: { limit?: number }): Promise<AdminDeploymentJson[]>,
|
|
182
180
|
|
|
183
181
|
/**
|
|
184
|
-
*
|
|
185
|
-
* follows a running build for a while before returning).
|
|
182
|
+
* Reads one deployment, including what each of its services did.
|
|
186
183
|
*/
|
|
187
|
-
|
|
184
|
+
getDeployment(this: AdminProject, deploymentId: string): Promise<AdminDeploymentJson>,
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Returns the build logs of a deployment collected so far (the server follows
|
|
188
|
+
* a running build for a while before returning). One deploy is one build, so
|
|
189
|
+
* one log covers every service it shipped.
|
|
190
|
+
*/
|
|
191
|
+
getDeploymentBuildLogs(this: AdminProject, deploymentId: string, options?: { signal?: AbortSignal }): Promise<string>,
|
|
188
192
|
|
|
189
193
|
/**
|
|
190
194
|
* Adds a custom domain to a deployment service.
|