@sylphx/cli 0.14.1 → 0.14.3
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/CHANGELOG.md +14 -0
- package/dist/main.js +603 -20
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -15,7 +15,7 @@ var init_package = __esm({
|
|
|
15
15
|
"package.json"() {
|
|
16
16
|
package_default = {
|
|
17
17
|
name: "@sylphx/cli",
|
|
18
|
-
version: "0.14.
|
|
18
|
+
version: "0.14.3",
|
|
19
19
|
description: "Sylphx Platform CLI \u2014 deploy and manage your applications from the terminal. 63 commands across deployment, logs, env vars, domains, databases, storage, monitoring, self-service (user), admin (users/quotas/audit/invitations/jwt-keys/project-migrate), and more.",
|
|
20
20
|
type: "module",
|
|
21
21
|
homepage: "https://sylphx.com",
|
|
@@ -71,7 +71,7 @@ var init_package = __esm({
|
|
|
71
71
|
"@effect/cli": "0.75.1",
|
|
72
72
|
"@effect/platform": "0.96.0",
|
|
73
73
|
"@effect/platform-bun": "0.89.0",
|
|
74
|
-
"@sylphx/sdk": "0.
|
|
74
|
+
"@sylphx/sdk": "0.15.1",
|
|
75
75
|
chalk: "^5.3.0",
|
|
76
76
|
effect: "3.21.0",
|
|
77
77
|
eventsource: "^2.0.2",
|
|
@@ -314,6 +314,80 @@ var init_admin_anomalies = __esm({
|
|
|
314
314
|
}
|
|
315
315
|
});
|
|
316
316
|
|
|
317
|
+
// ../contract/dist/endpoints/admin-anomalies.js
|
|
318
|
+
var adminAnomaliesEndpoints;
|
|
319
|
+
var init_admin_anomalies2 = __esm({
|
|
320
|
+
"../contract/dist/endpoints/admin-anomalies.js"() {
|
|
321
|
+
"use strict";
|
|
322
|
+
init_endpoint();
|
|
323
|
+
init_admin_anomalies();
|
|
324
|
+
adminAnomaliesEndpoints = {
|
|
325
|
+
stats: defineEndpoint({
|
|
326
|
+
method: "GET",
|
|
327
|
+
path: "/operator/anomalies/stats",
|
|
328
|
+
response: AdminAnomalyStatsResult,
|
|
329
|
+
plane: "management",
|
|
330
|
+
summary: "Anomaly counts by status",
|
|
331
|
+
tags: ["admin-anomalies"]
|
|
332
|
+
}),
|
|
333
|
+
list: defineEndpoint({
|
|
334
|
+
method: "GET",
|
|
335
|
+
path: "/operator/anomalies/",
|
|
336
|
+
query: AdminListAnomaliesQuery,
|
|
337
|
+
response: AdminListAnomaliesResult,
|
|
338
|
+
plane: "management",
|
|
339
|
+
summary: "List spending anomalies with filters + pagination",
|
|
340
|
+
tags: ["admin-anomalies"]
|
|
341
|
+
}),
|
|
342
|
+
get: defineEndpoint({
|
|
343
|
+
method: "GET",
|
|
344
|
+
path: "/operator/anomalies/:anomalyId",
|
|
345
|
+
params: AdminAnomalyIdParams,
|
|
346
|
+
response: AdminGetAnomalyResult,
|
|
347
|
+
plane: "management",
|
|
348
|
+
summary: "Get a single anomaly by ID",
|
|
349
|
+
tags: ["admin-anomalies"]
|
|
350
|
+
}),
|
|
351
|
+
acknowledge: defineEndpoint({
|
|
352
|
+
method: "POST",
|
|
353
|
+
path: "/operator/anomalies/:anomalyId/acknowledge",
|
|
354
|
+
params: AdminAnomalyIdParams,
|
|
355
|
+
response: AdminAnomalyActionResult,
|
|
356
|
+
plane: "management",
|
|
357
|
+
summary: "Mark an anomaly as acknowledged",
|
|
358
|
+
tags: ["admin-anomalies"]
|
|
359
|
+
}),
|
|
360
|
+
dismiss: defineEndpoint({
|
|
361
|
+
method: "POST",
|
|
362
|
+
path: "/operator/anomalies/:anomalyId/dismiss",
|
|
363
|
+
params: AdminAnomalyIdParams,
|
|
364
|
+
response: AdminAnomalyActionResult,
|
|
365
|
+
plane: "management",
|
|
366
|
+
summary: "Dismiss an anomaly as a false positive",
|
|
367
|
+
tags: ["admin-anomalies"]
|
|
368
|
+
}),
|
|
369
|
+
resolve: defineEndpoint({
|
|
370
|
+
method: "POST",
|
|
371
|
+
path: "/operator/anomalies/:anomalyId/resolve",
|
|
372
|
+
params: AdminAnomalyIdParams,
|
|
373
|
+
body: AdminResolveAnomalyInput,
|
|
374
|
+
response: AdminAnomalyActionResult,
|
|
375
|
+
plane: "management",
|
|
376
|
+
summary: "Resolve an anomaly with notes",
|
|
377
|
+
tags: ["admin-anomalies"]
|
|
378
|
+
}),
|
|
379
|
+
errorsOverview: defineEndpoint({
|
|
380
|
+
method: "GET",
|
|
381
|
+
path: "/operator/anomalies/errors/overview",
|
|
382
|
+
response: AdminErrorsOverviewResult,
|
|
383
|
+
plane: "management",
|
|
384
|
+
summary: "Cross-project error monitoring overview",
|
|
385
|
+
tags: ["admin-anomalies"]
|
|
386
|
+
})
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
|
|
317
391
|
// ../contract/dist/schemas/admin-apm.js
|
|
318
392
|
import { Schema as Schema3 } from "effect";
|
|
319
393
|
var AdminApmHttpMethod, AdminApmPeriod, AdminApmOverviewResult, AdminApmEndpointMetrics, AdminApmTrendPoint, AdminApmSlowestEndpoint, AdminApmErrorEndpoint, AdminApmHourlyVolumePoint, AdminApmProjectParams, AdminApmDateRangeQuery, AdminApmEndpointsQuery, AdminApmEndpointTrendQuery, AdminApmTopEndpointsQuery, AdminApmEndpointsResult, AdminApmEndpointTrendResult, AdminApmSlowestEndpointsResult, AdminApmErrorEndpointsResult, AdminApmHourlyVolumeResult;
|
|
@@ -1709,6 +1783,199 @@ var init_admin_billing = __esm({
|
|
|
1709
1783
|
}
|
|
1710
1784
|
});
|
|
1711
1785
|
|
|
1786
|
+
// ../contract/dist/endpoints/admin-billing.js
|
|
1787
|
+
var adminBillingEndpoints;
|
|
1788
|
+
var init_admin_billing2 = __esm({
|
|
1789
|
+
"../contract/dist/endpoints/admin-billing.js"() {
|
|
1790
|
+
"use strict";
|
|
1791
|
+
init_endpoint();
|
|
1792
|
+
init_admin_billing();
|
|
1793
|
+
adminBillingEndpoints = {
|
|
1794
|
+
// ── Overview ───────────────────────────────────────────────────────────
|
|
1795
|
+
overview: defineEndpoint({
|
|
1796
|
+
method: "GET",
|
|
1797
|
+
path: "/operator/billing/overview",
|
|
1798
|
+
response: AdminBillingUnknownResult,
|
|
1799
|
+
plane: "management",
|
|
1800
|
+
summary: "Billing overview for the current user's org",
|
|
1801
|
+
tags: ["admin-billing"]
|
|
1802
|
+
}),
|
|
1803
|
+
// ── Stats ──────────────────────────────────────────────────────────────
|
|
1804
|
+
stats: defineEndpoint({
|
|
1805
|
+
method: "GET",
|
|
1806
|
+
path: "/operator/billing/stats",
|
|
1807
|
+
response: AdminBillingUnknownResult,
|
|
1808
|
+
plane: "management",
|
|
1809
|
+
summary: "Platform-wide billing statistics",
|
|
1810
|
+
tags: ["admin-billing"]
|
|
1811
|
+
}),
|
|
1812
|
+
// ── Usage ──────────────────────────────────────────────────────────────
|
|
1813
|
+
platformUsage: defineEndpoint({
|
|
1814
|
+
method: "GET",
|
|
1815
|
+
path: "/operator/billing/usage/platform",
|
|
1816
|
+
query: AdminBillingUsageQuery,
|
|
1817
|
+
response: AdminBillingUnknownResult,
|
|
1818
|
+
plane: "management",
|
|
1819
|
+
summary: "Platform-wide usage report",
|
|
1820
|
+
tags: ["admin-billing"]
|
|
1821
|
+
}),
|
|
1822
|
+
orgUsage: defineEndpoint({
|
|
1823
|
+
method: "GET",
|
|
1824
|
+
path: "/operator/billing/usage/orgs/:orgId",
|
|
1825
|
+
params: AdminBillingOrgParams,
|
|
1826
|
+
query: AdminBillingUsageQuery,
|
|
1827
|
+
response: AdminBillingUnknownResult,
|
|
1828
|
+
plane: "management",
|
|
1829
|
+
summary: "Per-org usage report",
|
|
1830
|
+
tags: ["admin-billing"]
|
|
1831
|
+
}),
|
|
1832
|
+
orgMonthlySummary: defineEndpoint({
|
|
1833
|
+
method: "GET",
|
|
1834
|
+
path: "/operator/billing/usage/orgs/:orgId/monthly",
|
|
1835
|
+
params: AdminBillingOrgParams,
|
|
1836
|
+
query: AdminBillingMonthlyQuery,
|
|
1837
|
+
response: AdminBillingUnknownResult,
|
|
1838
|
+
plane: "management",
|
|
1839
|
+
summary: "Per-org monthly usage summary",
|
|
1840
|
+
tags: ["admin-billing"]
|
|
1841
|
+
}),
|
|
1842
|
+
// ── Balances ───────────────────────────────────────────────────────────
|
|
1843
|
+
listBalances: defineEndpoint({
|
|
1844
|
+
method: "GET",
|
|
1845
|
+
path: "/operator/billing/balances",
|
|
1846
|
+
query: AdminBillingListQuery,
|
|
1847
|
+
response: AdminBillingUnknownResult,
|
|
1848
|
+
plane: "management",
|
|
1849
|
+
summary: "List all org balances",
|
|
1850
|
+
tags: ["admin-billing"]
|
|
1851
|
+
}),
|
|
1852
|
+
getBalance: defineEndpoint({
|
|
1853
|
+
method: "GET",
|
|
1854
|
+
path: "/operator/billing/balances/:orgId",
|
|
1855
|
+
params: AdminBillingOrgParams,
|
|
1856
|
+
response: AdminBillingUnknownResult,
|
|
1857
|
+
plane: "management",
|
|
1858
|
+
summary: "Get org balance details",
|
|
1859
|
+
tags: ["admin-billing"]
|
|
1860
|
+
}),
|
|
1861
|
+
getTransactions: defineEndpoint({
|
|
1862
|
+
method: "GET",
|
|
1863
|
+
path: "/operator/billing/balances/:orgId/transactions",
|
|
1864
|
+
params: AdminBillingOrgParams,
|
|
1865
|
+
query: AdminBillingTransactionsQuery,
|
|
1866
|
+
response: AdminBillingUnknownResult,
|
|
1867
|
+
plane: "management",
|
|
1868
|
+
summary: "Get org balance transactions",
|
|
1869
|
+
tags: ["admin-billing"]
|
|
1870
|
+
}),
|
|
1871
|
+
addCredits: defineEndpoint({
|
|
1872
|
+
method: "POST",
|
|
1873
|
+
path: "/operator/billing/balances/:orgId/credits",
|
|
1874
|
+
params: AdminBillingOrgParams,
|
|
1875
|
+
body: AdminBillingAddCreditsInput,
|
|
1876
|
+
response: AdminBillingUnknownResult,
|
|
1877
|
+
plane: "management",
|
|
1878
|
+
summary: "Add credits to an org balance",
|
|
1879
|
+
tags: ["admin-billing"]
|
|
1880
|
+
}),
|
|
1881
|
+
updateBalanceSettings: defineEndpoint({
|
|
1882
|
+
method: "PATCH",
|
|
1883
|
+
path: "/operator/billing/balances/:orgId/settings",
|
|
1884
|
+
params: AdminBillingOrgParams,
|
|
1885
|
+
body: AdminBillingUpdateSettingsInput,
|
|
1886
|
+
response: AdminBillingUnknownResult,
|
|
1887
|
+
plane: "management",
|
|
1888
|
+
summary: "Update balance settings (alerts + auto top-up)",
|
|
1889
|
+
tags: ["admin-billing"]
|
|
1890
|
+
}),
|
|
1891
|
+
// ── Invoices ───────────────────────────────────────────────────────────
|
|
1892
|
+
listInvoices: defineEndpoint({
|
|
1893
|
+
method: "GET",
|
|
1894
|
+
path: "/operator/billing/invoices",
|
|
1895
|
+
query: AdminBillingListQuery,
|
|
1896
|
+
response: AdminBillingUnknownResult,
|
|
1897
|
+
plane: "management",
|
|
1898
|
+
summary: "List invoices across all orgs",
|
|
1899
|
+
tags: ["admin-billing"]
|
|
1900
|
+
}),
|
|
1901
|
+
getInvoice: defineEndpoint({
|
|
1902
|
+
method: "GET",
|
|
1903
|
+
path: "/operator/billing/invoices/:invoiceId",
|
|
1904
|
+
params: AdminBillingInvoiceParams,
|
|
1905
|
+
response: AdminBillingUnknownResult,
|
|
1906
|
+
plane: "management",
|
|
1907
|
+
summary: "Get invoice details",
|
|
1908
|
+
tags: ["admin-billing"]
|
|
1909
|
+
}),
|
|
1910
|
+
getOrgInvoices: defineEndpoint({
|
|
1911
|
+
method: "GET",
|
|
1912
|
+
path: "/operator/billing/orgs/:orgId/invoices",
|
|
1913
|
+
params: AdminBillingOrgParams,
|
|
1914
|
+
query: AdminBillingListQuery,
|
|
1915
|
+
response: AdminBillingUnknownResult,
|
|
1916
|
+
plane: "management",
|
|
1917
|
+
summary: "List invoices for a specific org",
|
|
1918
|
+
tags: ["admin-billing"]
|
|
1919
|
+
}),
|
|
1920
|
+
generateInvoice: defineEndpoint({
|
|
1921
|
+
method: "POST",
|
|
1922
|
+
path: "/operator/billing/orgs/:orgId/invoices",
|
|
1923
|
+
success: { status: 201 },
|
|
1924
|
+
params: AdminBillingOrgParams,
|
|
1925
|
+
body: AdminBillingGenerateInvoiceInput,
|
|
1926
|
+
response: AdminBillingUnknownResult,
|
|
1927
|
+
plane: "management",
|
|
1928
|
+
summary: "Generate a manual invoice for an org",
|
|
1929
|
+
tags: ["admin-billing"]
|
|
1930
|
+
}),
|
|
1931
|
+
finalizeInvoice: defineEndpoint({
|
|
1932
|
+
method: "POST",
|
|
1933
|
+
path: "/operator/billing/invoices/:invoiceId/finalize",
|
|
1934
|
+
params: AdminBillingInvoiceParams,
|
|
1935
|
+
response: AdminBillingUnknownResult,
|
|
1936
|
+
plane: "management",
|
|
1937
|
+
summary: "Finalize a draft invoice",
|
|
1938
|
+
tags: ["admin-billing"]
|
|
1939
|
+
}),
|
|
1940
|
+
// ── Pricing ────────────────────────────────────────────────────────────
|
|
1941
|
+
getPricing: defineEndpoint({
|
|
1942
|
+
method: "GET",
|
|
1943
|
+
path: "/operator/billing/pricing",
|
|
1944
|
+
response: AdminBillingUnknownResult,
|
|
1945
|
+
plane: "management",
|
|
1946
|
+
summary: "Get pricing configuration",
|
|
1947
|
+
tags: ["admin-billing"]
|
|
1948
|
+
}),
|
|
1949
|
+
updatePricing: defineEndpoint({
|
|
1950
|
+
method: "PATCH",
|
|
1951
|
+
path: "/operator/billing/pricing",
|
|
1952
|
+
body: AdminBillingUpdatePricingInput,
|
|
1953
|
+
response: AdminBillingUnknownResult,
|
|
1954
|
+
plane: "management",
|
|
1955
|
+
summary: "Update pricing configuration",
|
|
1956
|
+
tags: ["admin-billing"]
|
|
1957
|
+
}),
|
|
1958
|
+
// ── Analysis ───────────────────────────────────────────────────────────
|
|
1959
|
+
costAnalysis: defineEndpoint({
|
|
1960
|
+
method: "GET",
|
|
1961
|
+
path: "/operator/billing/analysis/costs",
|
|
1962
|
+
response: AdminBillingUnknownResult,
|
|
1963
|
+
plane: "management",
|
|
1964
|
+
summary: "Platform-wide cost analysis",
|
|
1965
|
+
tags: ["admin-billing"]
|
|
1966
|
+
}),
|
|
1967
|
+
topConsumers: defineEndpoint({
|
|
1968
|
+
method: "GET",
|
|
1969
|
+
path: "/operator/billing/analysis/top-consumers",
|
|
1970
|
+
response: AdminBillingUnknownResult,
|
|
1971
|
+
plane: "management",
|
|
1972
|
+
summary: "Ranked list of top resource consumers",
|
|
1973
|
+
tags: ["admin-billing"]
|
|
1974
|
+
})
|
|
1975
|
+
};
|
|
1976
|
+
}
|
|
1977
|
+
});
|
|
1978
|
+
|
|
1712
1979
|
// ../contract/dist/schemas/admin-bootstrap.js
|
|
1713
1980
|
import { Schema as Schema8 } from "effect";
|
|
1714
1981
|
var ResetBootstrapWindowInput, ResetBootstrapWindowResult;
|
|
@@ -2384,6 +2651,124 @@ var init_admin_config = __esm({
|
|
|
2384
2651
|
}
|
|
2385
2652
|
});
|
|
2386
2653
|
|
|
2654
|
+
// ../contract/dist/endpoints/admin-config.js
|
|
2655
|
+
var adminConfigEndpoints;
|
|
2656
|
+
var init_admin_config2 = __esm({
|
|
2657
|
+
"../contract/dist/endpoints/admin-config.js"() {
|
|
2658
|
+
"use strict";
|
|
2659
|
+
init_endpoint();
|
|
2660
|
+
init_admin_config();
|
|
2661
|
+
adminConfigEndpoints = {
|
|
2662
|
+
getReferralConfig: defineEndpoint({
|
|
2663
|
+
method: "GET",
|
|
2664
|
+
path: "/operator/config/projects/:projectId/referral-config",
|
|
2665
|
+
params: AdminConfigProjectParams,
|
|
2666
|
+
response: AdminGetReferralConfigResult,
|
|
2667
|
+
plane: "management",
|
|
2668
|
+
summary: "Get referral program config for a project",
|
|
2669
|
+
tags: ["admin-config"]
|
|
2670
|
+
}),
|
|
2671
|
+
updateReferralConfig: defineEndpoint({
|
|
2672
|
+
method: "PATCH",
|
|
2673
|
+
path: "/operator/config/projects/:projectId/referral-config",
|
|
2674
|
+
params: AdminConfigProjectParams,
|
|
2675
|
+
body: AdminUpdateReferralConfigInput,
|
|
2676
|
+
response: AdminUpdateReferralConfigResult,
|
|
2677
|
+
plane: "management",
|
|
2678
|
+
summary: "Update referral program config",
|
|
2679
|
+
tags: ["admin-config"]
|
|
2680
|
+
}),
|
|
2681
|
+
getConsentConfig: defineEndpoint({
|
|
2682
|
+
method: "GET",
|
|
2683
|
+
path: "/operator/config/projects/:projectId/consent-config",
|
|
2684
|
+
params: AdminConfigProjectParams,
|
|
2685
|
+
response: AdminGetConsentConfigResult,
|
|
2686
|
+
plane: "management",
|
|
2687
|
+
summary: "Get consent banner config for a project",
|
|
2688
|
+
tags: ["admin-config"]
|
|
2689
|
+
}),
|
|
2690
|
+
updateConsentConfig: defineEndpoint({
|
|
2691
|
+
method: "PATCH",
|
|
2692
|
+
path: "/operator/config/projects/:projectId/consent-config",
|
|
2693
|
+
params: AdminConfigProjectParams,
|
|
2694
|
+
body: AdminUpdateConsentConfigInput,
|
|
2695
|
+
response: AdminUpdateConsentConfigResult,
|
|
2696
|
+
plane: "management",
|
|
2697
|
+
summary: "Update consent banner config",
|
|
2698
|
+
tags: ["admin-config"]
|
|
2699
|
+
}),
|
|
2700
|
+
getPushCredentials: defineEndpoint({
|
|
2701
|
+
method: "GET",
|
|
2702
|
+
path: "/operator/config/projects/:projectId/push-credentials",
|
|
2703
|
+
params: AdminConfigProjectParams,
|
|
2704
|
+
response: AdminGetPushCredentialsResult,
|
|
2705
|
+
plane: "management",
|
|
2706
|
+
summary: "Get push credentials (secrets redacted)",
|
|
2707
|
+
tags: ["admin-config"]
|
|
2708
|
+
}),
|
|
2709
|
+
updatePushCredentials: defineEndpoint({
|
|
2710
|
+
method: "PATCH",
|
|
2711
|
+
path: "/operator/config/projects/:projectId/push-credentials",
|
|
2712
|
+
params: AdminConfigProjectParams,
|
|
2713
|
+
body: AdminUpdatePushCredentialsInput,
|
|
2714
|
+
response: AdminUpdatePushCredentialsResult,
|
|
2715
|
+
plane: "management",
|
|
2716
|
+
summary: "Update push credentials",
|
|
2717
|
+
tags: ["admin-config"]
|
|
2718
|
+
}),
|
|
2719
|
+
exportUsers: defineEndpoint({
|
|
2720
|
+
method: "POST",
|
|
2721
|
+
path: "/operator/config/projects/:projectId/users/export",
|
|
2722
|
+
params: AdminConfigProjectParams,
|
|
2723
|
+
response: AdminExportUsersResult,
|
|
2724
|
+
plane: "management",
|
|
2725
|
+
summary: "Export app users as CSV",
|
|
2726
|
+
tags: ["admin-config"]
|
|
2727
|
+
}),
|
|
2728
|
+
getOAuthProviders: defineEndpoint({
|
|
2729
|
+
method: "GET",
|
|
2730
|
+
path: "/operator/config/oauth-providers",
|
|
2731
|
+
response: AdminOAuthProvidersResult,
|
|
2732
|
+
plane: "management",
|
|
2733
|
+
summary: "List platform OAuth providers configured by environment",
|
|
2734
|
+
tags: ["admin-config"]
|
|
2735
|
+
}),
|
|
2736
|
+
notificationsOverview: defineEndpoint({
|
|
2737
|
+
method: "GET",
|
|
2738
|
+
path: "/operator/config/notifications/overview",
|
|
2739
|
+
response: AdminOverviewResult,
|
|
2740
|
+
plane: "management",
|
|
2741
|
+
summary: "Platform-wide push notification stats",
|
|
2742
|
+
tags: ["admin-config"]
|
|
2743
|
+
}),
|
|
2744
|
+
referralsOverview: defineEndpoint({
|
|
2745
|
+
method: "GET",
|
|
2746
|
+
path: "/operator/config/referrals/overview",
|
|
2747
|
+
response: AdminOverviewResult,
|
|
2748
|
+
plane: "management",
|
|
2749
|
+
summary: "Platform-wide referral program stats",
|
|
2750
|
+
tags: ["admin-config"]
|
|
2751
|
+
}),
|
|
2752
|
+
flagsOverview: defineEndpoint({
|
|
2753
|
+
method: "GET",
|
|
2754
|
+
path: "/operator/config/flags/overview",
|
|
2755
|
+
response: AdminOverviewResult,
|
|
2756
|
+
plane: "management",
|
|
2757
|
+
summary: "Platform-wide feature flags overview",
|
|
2758
|
+
tags: ["admin-config"]
|
|
2759
|
+
}),
|
|
2760
|
+
webhooksOverview: defineEndpoint({
|
|
2761
|
+
method: "GET",
|
|
2762
|
+
path: "/operator/config/webhooks/overview",
|
|
2763
|
+
response: AdminOverviewResult,
|
|
2764
|
+
plane: "management",
|
|
2765
|
+
summary: "Platform-wide webhook delivery stats (7 day)",
|
|
2766
|
+
tags: ["admin-config"]
|
|
2767
|
+
})
|
|
2768
|
+
};
|
|
2769
|
+
}
|
|
2770
|
+
});
|
|
2771
|
+
|
|
2387
2772
|
// ../contract/dist/schemas/admin-consent.js
|
|
2388
2773
|
import { Schema as Schema15 } from "effect";
|
|
2389
2774
|
var AdminConsentCategory, AdminConsentType, AdminConsentProjectParams, AdminConsentTypeParams, AdminCreateConsentTypeInput, AdminUpdateConsentTypeInput, AdminReorderConsentTypesInput, AdminBulkDeleteConsentTypesInput, AdminListConsentTypesQuery, AdminListUserConsentsQuery, AdminExportUserConsentsQuery, AdminConsentTypeWithStats, AdminListConsentTypesResult, AdminConsentTypeResult, AdminConsentSuccessResult, AdminBulkDeleteConsentTypesResult, AdminConsentStatsResult, AdminConsentProjectOverviewResult, AdminUserConsentRecord, AdminListUserConsentsResult, AdminExportUserConsentsResult, AdminConsentUnknownResult;
|
|
@@ -2525,6 +2910,136 @@ var init_admin_consent = __esm({
|
|
|
2525
2910
|
}
|
|
2526
2911
|
});
|
|
2527
2912
|
|
|
2913
|
+
// ../contract/dist/endpoints/admin-consent.js
|
|
2914
|
+
var adminConsentEndpoints;
|
|
2915
|
+
var init_admin_consent2 = __esm({
|
|
2916
|
+
"../contract/dist/endpoints/admin-consent.js"() {
|
|
2917
|
+
"use strict";
|
|
2918
|
+
init_endpoint();
|
|
2919
|
+
init_admin_consent();
|
|
2920
|
+
adminConsentEndpoints = {
|
|
2921
|
+
// ── Consent types ──────────────────────────────────────────────────────
|
|
2922
|
+
listTypes: defineEndpoint({
|
|
2923
|
+
method: "GET",
|
|
2924
|
+
path: "/operator/consent/projects/:projectId/consent-types",
|
|
2925
|
+
params: AdminConsentProjectParams,
|
|
2926
|
+
query: AdminListConsentTypesQuery,
|
|
2927
|
+
response: AdminListConsentTypesResult,
|
|
2928
|
+
plane: "management",
|
|
2929
|
+
summary: "List consent types for a project",
|
|
2930
|
+
tags: ["admin-consent"]
|
|
2931
|
+
}),
|
|
2932
|
+
createType: defineEndpoint({
|
|
2933
|
+
method: "POST",
|
|
2934
|
+
path: "/operator/consent/projects/:projectId/consent-types",
|
|
2935
|
+
success: { status: 201 },
|
|
2936
|
+
params: AdminConsentProjectParams,
|
|
2937
|
+
body: AdminCreateConsentTypeInput,
|
|
2938
|
+
response: AdminConsentType,
|
|
2939
|
+
plane: "management",
|
|
2940
|
+
summary: "Create a consent type",
|
|
2941
|
+
tags: ["admin-consent"]
|
|
2942
|
+
}),
|
|
2943
|
+
updateType: defineEndpoint({
|
|
2944
|
+
method: "PATCH",
|
|
2945
|
+
path: "/operator/consent/projects/:projectId/consent-types/:typeId",
|
|
2946
|
+
params: AdminConsentTypeParams,
|
|
2947
|
+
body: AdminUpdateConsentTypeInput,
|
|
2948
|
+
response: AdminConsentType,
|
|
2949
|
+
plane: "management",
|
|
2950
|
+
summary: "Update a consent type",
|
|
2951
|
+
tags: ["admin-consent"]
|
|
2952
|
+
}),
|
|
2953
|
+
deleteType: defineEndpoint({
|
|
2954
|
+
method: "DELETE",
|
|
2955
|
+
path: "/operator/consent/projects/:projectId/consent-types/:typeId",
|
|
2956
|
+
params: AdminConsentTypeParams,
|
|
2957
|
+
response: AdminConsentSuccessResult,
|
|
2958
|
+
plane: "management",
|
|
2959
|
+
summary: "Soft-delete a consent type",
|
|
2960
|
+
tags: ["admin-consent"]
|
|
2961
|
+
}),
|
|
2962
|
+
reactivateType: defineEndpoint({
|
|
2963
|
+
method: "POST",
|
|
2964
|
+
path: "/operator/consent/projects/:projectId/consent-types/:typeId/reactivate",
|
|
2965
|
+
params: AdminConsentTypeParams,
|
|
2966
|
+
response: AdminConsentSuccessResult,
|
|
2967
|
+
plane: "management",
|
|
2968
|
+
summary: "Reactivate a soft-deleted consent type",
|
|
2969
|
+
tags: ["admin-consent"]
|
|
2970
|
+
}),
|
|
2971
|
+
reorderTypes: defineEndpoint({
|
|
2972
|
+
method: "POST",
|
|
2973
|
+
path: "/operator/consent/projects/:projectId/consent-types/reorder",
|
|
2974
|
+
params: AdminConsentProjectParams,
|
|
2975
|
+
body: AdminReorderConsentTypesInput,
|
|
2976
|
+
response: AdminConsentSuccessResult,
|
|
2977
|
+
plane: "management",
|
|
2978
|
+
summary: "Reorder consent types",
|
|
2979
|
+
tags: ["admin-consent"]
|
|
2980
|
+
}),
|
|
2981
|
+
bulkDeleteTypes: defineEndpoint({
|
|
2982
|
+
method: "POST",
|
|
2983
|
+
path: "/operator/consent/projects/:projectId/consent-types/bulk-delete",
|
|
2984
|
+
params: AdminConsentProjectParams,
|
|
2985
|
+
body: AdminBulkDeleteConsentTypesInput,
|
|
2986
|
+
response: AdminBulkDeleteConsentTypesResult,
|
|
2987
|
+
plane: "management",
|
|
2988
|
+
summary: "Bulk soft-delete consent types",
|
|
2989
|
+
tags: ["admin-consent"]
|
|
2990
|
+
}),
|
|
2991
|
+
// ── User consents ──────────────────────────────────────────────────────
|
|
2992
|
+
listUserConsents: defineEndpoint({
|
|
2993
|
+
method: "GET",
|
|
2994
|
+
path: "/operator/consent/projects/:projectId/user-consents",
|
|
2995
|
+
params: AdminConsentProjectParams,
|
|
2996
|
+
query: AdminListUserConsentsQuery,
|
|
2997
|
+
response: AdminListUserConsentsResult,
|
|
2998
|
+
plane: "management",
|
|
2999
|
+
summary: "List user consent records for a project",
|
|
3000
|
+
tags: ["admin-consent"]
|
|
3001
|
+
}),
|
|
3002
|
+
exportUserConsents: defineEndpoint({
|
|
3003
|
+
method: "POST",
|
|
3004
|
+
path: "/operator/consent/projects/:projectId/user-consents/export",
|
|
3005
|
+
params: AdminConsentProjectParams,
|
|
3006
|
+
query: AdminExportUserConsentsQuery,
|
|
3007
|
+
response: AdminExportUserConsentsResult,
|
|
3008
|
+
plane: "management",
|
|
3009
|
+
summary: "Export user consent records as CSV (GDPR compliance)",
|
|
3010
|
+
tags: ["admin-consent"]
|
|
3011
|
+
}),
|
|
3012
|
+
// ── Stats / overview ───────────────────────────────────────────────────
|
|
3013
|
+
stats: defineEndpoint({
|
|
3014
|
+
method: "GET",
|
|
3015
|
+
path: "/operator/consent/projects/:projectId/consent-stats",
|
|
3016
|
+
params: AdminConsentProjectParams,
|
|
3017
|
+
response: AdminConsentStatsResult,
|
|
3018
|
+
plane: "management",
|
|
3019
|
+
summary: "Per-project consent stats",
|
|
3020
|
+
tags: ["admin-consent"]
|
|
3021
|
+
}),
|
|
3022
|
+
projectOverview: defineEndpoint({
|
|
3023
|
+
method: "GET",
|
|
3024
|
+
path: "/operator/consent/projects/:projectId/consent-overview",
|
|
3025
|
+
params: AdminConsentProjectParams,
|
|
3026
|
+
response: AdminConsentProjectOverviewResult,
|
|
3027
|
+
plane: "management",
|
|
3028
|
+
summary: "Per-project consent overview dashboard",
|
|
3029
|
+
tags: ["admin-consent"]
|
|
3030
|
+
}),
|
|
3031
|
+
platformOverview: defineEndpoint({
|
|
3032
|
+
method: "GET",
|
|
3033
|
+
path: "/operator/consent/overview",
|
|
3034
|
+
response: AdminConsentUnknownResult,
|
|
3035
|
+
plane: "management",
|
|
3036
|
+
summary: "Platform-wide consent overview",
|
|
3037
|
+
tags: ["admin-consent"]
|
|
3038
|
+
})
|
|
3039
|
+
};
|
|
3040
|
+
}
|
|
3041
|
+
});
|
|
3042
|
+
|
|
2528
3043
|
// ../contract/dist/schemas/admin-env-services.js
|
|
2529
3044
|
import { Schema as Schema16 } from "effect";
|
|
2530
3045
|
var Reason3, ImageDigest2, EnvId, ServiceName, AdminEnvServiceRepointInput, AdminEnvServiceRepointResult;
|
|
@@ -12146,7 +12661,7 @@ function validateServiceInstanceRange(service) {
|
|
|
12146
12661
|
}
|
|
12147
12662
|
return true;
|
|
12148
12663
|
}
|
|
12149
|
-
var Slug2, ManifestEnvName, ManifestRegion, MachineSize, BuildMachineSize, BuildpackName, BuildStrategy, ServiceType, ManifestServiceInstanceCount, DeployStrategy, WwwRedirect, ManifestProjectSection, ManifestBuildSection, ManifestDeploySection, ManifestServiceBuildSection, ManifestServiceHealthSection, ManifestServiceSection, ManifestMigrationEngine, ManifestMigrationDestructivePolicy, ManifestMigrationsSection, ManifestDatabaseSection, ManifestEnvValue, ManifestDomainSection, ManifestManagedResourceTier, PostgresTier, PostgresVersion, SearchTier, KvTier, ManifestVolumeTier, ManifestVolumeSharing, ManifestDatabaseEngine, ManifestDatabaseResource, ManifestKvResource, ManifestSearchResource, ManifestVolumeResource, ManifestResourcesSection, ManifestCiSection, ManifestServiceOverride, ManifestEnvironmentOverride, ManifestEnvironmentsMap, SylphxManifest;
|
|
12664
|
+
var Slug2, ManifestEnvName, ManifestRegion, MachineSize, BuildMachineSize, BuildpackName, BuildStrategy, ServiceType, ManifestServiceInstanceCount, DeployStrategy, WwwRedirect, ManifestProjectSection, ManifestBuildSection, ManifestImageBuildSection, ManifestDeploySection, ManifestServiceBuildSection, ManifestServiceHealthSection, ManifestServiceSection, ManifestMigrationEngine, ManifestMigrationDestructivePolicy, ManifestMigrationsSection, ManifestDatabaseSection, ManifestEnvValue, ManifestDomainSection, ManifestManagedResourceTier, PostgresTier, PostgresVersion, SearchTier, KvTier, ManifestVolumeTier, ManifestVolumeSharing, ManifestDatabaseEngine, ManifestDatabaseResource, ManifestKvResource, ManifestSearchResource, ManifestVolumeResource, ManifestResourcesSection, ManifestCiSection, ManifestServiceOverride, ManifestEnvironmentOverride, ManifestEnvironmentsMap, SylphxManifest;
|
|
12150
12665
|
var init_project_manifest = __esm({
|
|
12151
12666
|
"../contract/dist/schemas/project-manifest.js"() {
|
|
12152
12667
|
"use strict";
|
|
@@ -12207,6 +12722,13 @@ var init_project_manifest = __esm({
|
|
|
12207
12722
|
/** Reserved for reproducible-builds (ADR-069) metadata. */
|
|
12208
12723
|
reproducible: Schema91.optional(Schema91.Boolean)
|
|
12209
12724
|
});
|
|
12725
|
+
ManifestImageBuildSection = Schema91.Struct({
|
|
12726
|
+
strategy: Schema91.optional(BuildStrategy),
|
|
12727
|
+
dockerfile: Schema91.optional(Schema91.String),
|
|
12728
|
+
context: Schema91.optional(Schema91.String),
|
|
12729
|
+
docker_context: Schema91.optional(Schema91.String),
|
|
12730
|
+
build_command: Schema91.optional(Schema91.String)
|
|
12731
|
+
});
|
|
12210
12732
|
ManifestDeploySection = Schema91.Struct({
|
|
12211
12733
|
/**
|
|
12212
12734
|
* Command run before traffic cutover (DB migrations via expand-and-
|
|
@@ -12222,13 +12744,7 @@ var init_project_manifest = __esm({
|
|
|
12222
12744
|
/** Grace period before SIGKILL (seconds). */
|
|
12223
12745
|
graceful_shutdown: Schema91.optional(Schema91.Number.pipe(Schema91.int(), Schema91.between(0, 300)))
|
|
12224
12746
|
});
|
|
12225
|
-
ManifestServiceBuildSection =
|
|
12226
|
-
strategy: Schema91.optional(BuildStrategy),
|
|
12227
|
-
dockerfile: Schema91.optional(Schema91.String),
|
|
12228
|
-
context: Schema91.optional(Schema91.String),
|
|
12229
|
-
docker_context: Schema91.optional(Schema91.String),
|
|
12230
|
-
build_command: Schema91.optional(Schema91.String)
|
|
12231
|
-
});
|
|
12747
|
+
ManifestServiceBuildSection = ManifestImageBuildSection;
|
|
12232
12748
|
ManifestServiceHealthSection = Schema91.Struct({
|
|
12233
12749
|
mode: Schema91.optional(Schema91.Literal("http", "tcp", "command")),
|
|
12234
12750
|
path: Schema91.optional(Schema91.String),
|
|
@@ -12299,7 +12815,9 @@ var init_project_manifest = __esm({
|
|
|
12299
12815
|
image: Slug2,
|
|
12300
12816
|
command: Schema91.String.pipe(Schema91.minLength(1)),
|
|
12301
12817
|
timeout: Schema91.optional(Schema91.String),
|
|
12302
|
-
destructive_policy: Schema91.optional(ManifestMigrationDestructivePolicy)
|
|
12818
|
+
destructive_policy: Schema91.optional(ManifestMigrationDestructivePolicy),
|
|
12819
|
+
build: Schema91.optional(ManifestImageBuildSection),
|
|
12820
|
+
watch_paths: Schema91.optional(Schema91.Array(Schema91.String))
|
|
12303
12821
|
});
|
|
12304
12822
|
ManifestDatabaseSection = Schema91.Struct({
|
|
12305
12823
|
migrations: Schema91.optional(ManifestMigrationsSection)
|
|
@@ -14956,17 +15474,17 @@ var init_webhooks = __esm({
|
|
|
14956
15474
|
|
|
14957
15475
|
// ../contract/dist/schemas/workspaces.js
|
|
14958
15476
|
import { Schema as Schema112 } from "effect";
|
|
14959
|
-
var WorkspaceStatus,
|
|
15477
|
+
var WorkspaceStatus, WorkspaceStorageSharing, WorkspaceStorageStatus, ManagedWorkspaceStorage, ManagedWorkspace, WorkspaceProjectParams, WorkspaceProjectIdParams, WorkspaceIdParams, CreateWorkspaceInput, ForkWorkspaceInput, ListWorkspacesResult, WorkspaceResult, DeleteWorkspaceResult;
|
|
14960
15478
|
var init_workspaces = __esm({
|
|
14961
15479
|
"../contract/dist/schemas/workspaces.js"() {
|
|
14962
15480
|
"use strict";
|
|
14963
15481
|
init_ids();
|
|
14964
15482
|
WorkspaceStatus = Schema112.Literal("provisioning", "ready", "error", "archived");
|
|
14965
|
-
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
-
sharing:
|
|
14969
|
-
status:
|
|
15483
|
+
WorkspaceStorageSharing = Schema112.Literal("single-writer", "shared");
|
|
15484
|
+
WorkspaceStorageStatus = Schema112.Literal("provisioning", "active", "error");
|
|
15485
|
+
ManagedWorkspaceStorage = Schema112.Struct({
|
|
15486
|
+
sharing: WorkspaceStorageSharing,
|
|
15487
|
+
status: WorkspaceStorageStatus
|
|
14970
15488
|
});
|
|
14971
15489
|
ManagedWorkspace = Schema112.Struct({
|
|
14972
15490
|
id: WorkspaceId,
|
|
@@ -14980,7 +15498,7 @@ var init_workspaces = __esm({
|
|
|
14980
15498
|
statusMessage: Schema112.optional(Schema112.NullOr(Schema112.String)),
|
|
14981
15499
|
createdAt: Schema112.String,
|
|
14982
15500
|
updatedAt: Schema112.String,
|
|
14983
|
-
|
|
15501
|
+
storage: Schema112.optional(ManagedWorkspaceStorage)
|
|
14984
15502
|
});
|
|
14985
15503
|
WorkspaceProjectParams = Schema112.Struct({ projectId: ProjectId });
|
|
14986
15504
|
WorkspaceProjectIdParams = Schema112.Struct({
|
|
@@ -15427,10 +15945,14 @@ var init_dist = __esm({
|
|
|
15427
15945
|
"use strict";
|
|
15428
15946
|
init_compute();
|
|
15429
15947
|
init_endpoint();
|
|
15948
|
+
init_admin_anomalies2();
|
|
15430
15949
|
init_admin_audit2();
|
|
15950
|
+
init_admin_billing2();
|
|
15431
15951
|
init_admin_bootstrap2();
|
|
15432
15952
|
init_admin_branch_databases2();
|
|
15433
15953
|
init_admin_builds2();
|
|
15954
|
+
init_admin_config2();
|
|
15955
|
+
init_admin_consent2();
|
|
15434
15956
|
init_admin_env_services2();
|
|
15435
15957
|
init_admin_envs_spec2();
|
|
15436
15958
|
init_admin_invitations2();
|
|
@@ -15671,12 +16193,23 @@ __export(admin_exports, {
|
|
|
15671
16193
|
acknowledgeQuotaAlert: () => acknowledgeQuotaAlert,
|
|
15672
16194
|
createInvitation: () => createInvitation,
|
|
15673
16195
|
deleteUser: () => deleteUser,
|
|
16196
|
+
getAnalyticsOverview: () => getAnalyticsOverview,
|
|
15674
16197
|
getAuditActivity: () => getAuditActivity,
|
|
15675
16198
|
getAuditLogs: () => getAuditLogs,
|
|
16199
|
+
getBillingStats: () => getBillingStats,
|
|
16200
|
+
getConsentOverview: () => getConsentOverview,
|
|
16201
|
+
getDashboardCharts: () => getDashboardCharts,
|
|
16202
|
+
getDashboardHealth: () => getDashboardHealth,
|
|
16203
|
+
getDashboardStats: () => getDashboardStats,
|
|
16204
|
+
getErrorsOverview: () => getErrorsOverview,
|
|
16205
|
+
getFlagsOverview: () => getFlagsOverview,
|
|
16206
|
+
getNotificationsOverview: () => getNotificationsOverview,
|
|
15676
16207
|
getProjectQuotas: () => getProjectQuotas,
|
|
15677
16208
|
getQuotaAlerts: () => getQuotaAlerts,
|
|
15678
16209
|
getQuotaStats: () => getQuotaStats,
|
|
16210
|
+
getReferralsOverview: () => getReferralsOverview,
|
|
15679
16211
|
getUser: () => getUser,
|
|
16212
|
+
getWebhooksOverview: () => getWebhooksOverview,
|
|
15680
16213
|
listInvitations: () => listInvitations,
|
|
15681
16214
|
listJwtKeys: () => listJwtKeys,
|
|
15682
16215
|
listUsers: () => listUsers,
|
|
@@ -15691,12 +16224,56 @@ __export(admin_exports, {
|
|
|
15691
16224
|
updateUserRole: () => updateUserRole,
|
|
15692
16225
|
verifyUserEmail: () => verifyUserEmail
|
|
15693
16226
|
});
|
|
15694
|
-
var getProjectQuotas, getQuotaStats, getQuotaAlerts, updateProjectQuotas, acknowledgeQuotaAlert, getAuditLogs, getAuditActivity, listInvitations, createInvitation, revokeInvitation, resendInvitation, listJwtKeys, rotateJwtKeys, retireJwtKey, migrateProject, regenerateEnvironmentKey, listUsers, getUser, updateUserRole, verifyUserEmail, deleteUser, revokeUserSessions;
|
|
16227
|
+
var getDashboardStats, getDashboardCharts, getDashboardHealth, getFlagsOverview, getNotificationsOverview, getErrorsOverview, getAnalyticsOverview, getBillingStats, getConsentOverview, getReferralsOverview, getWebhooksOverview, getProjectQuotas, getQuotaStats, getQuotaAlerts, updateProjectQuotas, acknowledgeQuotaAlert, getAuditLogs, getAuditActivity, listInvitations, createInvitation, revokeInvitation, resendInvitation, listJwtKeys, rotateJwtKeys, retireJwtKey, migrateProject, regenerateEnvironmentKey, listUsers, getUser, updateUserRole, verifyUserEmail, deleteUser, revokeUserSessions;
|
|
15695
16228
|
var init_admin = __esm({
|
|
15696
16229
|
"../management/dist/admin.js"() {
|
|
15697
16230
|
"use strict";
|
|
15698
16231
|
init_dist();
|
|
15699
16232
|
init_http();
|
|
16233
|
+
getDashboardStats = (client) => {
|
|
16234
|
+
const { method, path: path7 } = adminAuditEndpoints.dashboard;
|
|
16235
|
+
return request(client, method, path7);
|
|
16236
|
+
};
|
|
16237
|
+
getDashboardCharts = (client) => {
|
|
16238
|
+
const { method, path: path7 } = adminAuditEndpoints.charts;
|
|
16239
|
+
return request(client, method, path7);
|
|
16240
|
+
};
|
|
16241
|
+
getDashboardHealth = (client) => {
|
|
16242
|
+
const { method, path: path7 } = adminAuditEndpoints.health;
|
|
16243
|
+
return request(client, method, path7);
|
|
16244
|
+
};
|
|
16245
|
+
getFlagsOverview = (client) => {
|
|
16246
|
+
const { method, path: path7 } = adminConfigEndpoints.flagsOverview;
|
|
16247
|
+
return request(client, method, path7);
|
|
16248
|
+
};
|
|
16249
|
+
getNotificationsOverview = (client) => {
|
|
16250
|
+
const { method, path: path7 } = adminConfigEndpoints.notificationsOverview;
|
|
16251
|
+
return request(client, method, path7);
|
|
16252
|
+
};
|
|
16253
|
+
getErrorsOverview = (client) => {
|
|
16254
|
+
const { method, path: path7 } = adminAnomaliesEndpoints.errorsOverview;
|
|
16255
|
+
return request(client, method, path7);
|
|
16256
|
+
};
|
|
16257
|
+
getAnalyticsOverview = (client) => {
|
|
16258
|
+
const { method, path: path7 } = adminAuditEndpoints.analytics;
|
|
16259
|
+
return request(client, method, path7);
|
|
16260
|
+
};
|
|
16261
|
+
getBillingStats = (client) => {
|
|
16262
|
+
const { method, path: path7 } = adminBillingEndpoints.stats;
|
|
16263
|
+
return request(client, method, path7);
|
|
16264
|
+
};
|
|
16265
|
+
getConsentOverview = (client) => {
|
|
16266
|
+
const { method, path: path7 } = adminConsentEndpoints.platformOverview;
|
|
16267
|
+
return request(client, method, path7);
|
|
16268
|
+
};
|
|
16269
|
+
getReferralsOverview = (client) => {
|
|
16270
|
+
const { method, path: path7 } = adminConfigEndpoints.referralsOverview;
|
|
16271
|
+
return request(client, method, path7);
|
|
16272
|
+
};
|
|
16273
|
+
getWebhooksOverview = (client) => {
|
|
16274
|
+
const { method, path: path7 } = adminConfigEndpoints.webhooksOverview;
|
|
16275
|
+
return request(client, method, path7);
|
|
16276
|
+
};
|
|
15700
16277
|
getProjectQuotas = (client, projectId) => {
|
|
15701
16278
|
const { method, path: path7 } = adminQuotasEndpoints.getProjectQuotas;
|
|
15702
16279
|
return request(client, method, interpolatePath(path7, { projectId }));
|
|
@@ -18363,7 +18940,13 @@ function renderManifestToml(manifest) {
|
|
|
18363
18940
|
}
|
|
18364
18941
|
if (manifest.database?.migrations) {
|
|
18365
18942
|
parts.push("[database.migrations]");
|
|
18366
|
-
|
|
18943
|
+
const { build, ...migrations } = manifest.database.migrations;
|
|
18944
|
+
parts.push(...kv(migrations));
|
|
18945
|
+
if (build) {
|
|
18946
|
+
parts.push("");
|
|
18947
|
+
parts.push("[database.migrations.build]");
|
|
18948
|
+
parts.push(...kv(build));
|
|
18949
|
+
}
|
|
18367
18950
|
parts.push("");
|
|
18368
18951
|
}
|
|
18369
18952
|
if (manifest.services) {
|