@stacksjs/actions 0.70.22 → 0.70.23
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/build.js +9 -9
- package/dist/chunk-4axj3j8y.js +34 -0
- package/dist/{chunk-y08qabyb.js → chunk-56ar3gp7.js} +15 -13
- package/dist/{chunk-8qsrwjam.js → chunk-76zhb40c.js} +2 -2
- package/dist/{chunk-hqmjfnnn.js → chunk-7s5qcjkt.js} +1 -1
- package/dist/{chunk-90y2wmyz.js → chunk-a7k3cdby.js} +4 -114
- package/dist/{chunk-23btgw5e.js → chunk-b5g5w1hh.js} +108 -28
- package/dist/{chunk-yyvh669b.js → chunk-bf8bq8pc.js} +14 -6
- package/dist/{chunk-0m948f1p.js → chunk-ccnf3w1b.js} +102 -51
- package/dist/{chunk-qka5w6cv.js → chunk-dvkgakrr.js} +13 -12
- package/dist/{chunk-ddw2jq8f.js → chunk-hvfeg6n6.js} +59 -61
- package/dist/{chunk-bz3nmjmp.js → chunk-mmskr8ar.js} +9 -9
- package/dist/{chunk-zhrbz0qv.js → chunk-nrr524a7.js} +29 -32
- package/dist/{chunk-5wdfth6e.js → chunk-pacq2bz6.js} +11 -10
- package/dist/{chunk-3y8t4qyf.js → chunk-psa9yf21.js} +1 -1
- package/dist/{chunk-rfdmx5yh.js → chunk-q81mf99q.js} +7 -8
- package/dist/chunk-saqpg5nd.js +118 -0
- package/dist/{chunk-92e6scf8.js → chunk-t5em30ak.js} +3 -3
- package/dist/{chunk-atahpwz7.js → chunk-veja9rez.js} +9 -7
- package/dist/{chunk-s3xxrvrk.js → chunk-w4bfpxhm.js} +5 -5
- package/dist/{chunk-jq06qn43.js → chunk-xgsmf4cy.js} +5 -5
- package/dist/chunk-ykb33tkv.js +177 -0
- package/dist/database/seed.js +8 -8
- package/dist/generate/index.js +9 -9
- package/dist/index.js +9 -9
- package/dist/release.js +9 -9
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-mbvdyeyw.js +0 -50
- package/dist/chunk-ny592jcd.js +0 -133
- package/dist/chunk-rbsehxzg.js +0 -65
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-9v6qtbez.js";
|
|
4
|
+
|
|
5
|
+
// ../../../../node_modules/@smithy/types/dist-cjs/index.js
|
|
6
|
+
var require_dist_cjs = __commonJS((exports, module) => {
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
12
|
+
var __export = (target, all) => {
|
|
13
|
+
for (var name in all)
|
|
14
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
15
|
+
};
|
|
16
|
+
var __copyProps = (to, from, except, desc) => {
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
+
for (let key of __getOwnPropNames(from))
|
|
19
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
var src_exports = {};
|
|
26
|
+
__export(src_exports, {
|
|
27
|
+
AlgorithmId: () => AlgorithmId,
|
|
28
|
+
EndpointURLScheme: () => EndpointURLScheme,
|
|
29
|
+
FieldPosition: () => FieldPosition,
|
|
30
|
+
HttpApiKeyAuthLocation: () => HttpApiKeyAuthLocation,
|
|
31
|
+
HttpAuthLocation: () => HttpAuthLocation,
|
|
32
|
+
IniSectionType: () => IniSectionType,
|
|
33
|
+
RequestHandlerProtocol: () => RequestHandlerProtocol,
|
|
34
|
+
SMITHY_CONTEXT_KEY: () => SMITHY_CONTEXT_KEY,
|
|
35
|
+
getDefaultClientConfiguration: () => getDefaultClientConfiguration,
|
|
36
|
+
resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(src_exports);
|
|
39
|
+
var HttpAuthLocation = /* @__PURE__ */ ((HttpAuthLocation2) => {
|
|
40
|
+
HttpAuthLocation2["HEADER"] = "header";
|
|
41
|
+
HttpAuthLocation2["QUERY"] = "query";
|
|
42
|
+
return HttpAuthLocation2;
|
|
43
|
+
})(HttpAuthLocation || {});
|
|
44
|
+
var HttpApiKeyAuthLocation = /* @__PURE__ */ ((HttpApiKeyAuthLocation2) => {
|
|
45
|
+
HttpApiKeyAuthLocation2["HEADER"] = "header";
|
|
46
|
+
HttpApiKeyAuthLocation2["QUERY"] = "query";
|
|
47
|
+
return HttpApiKeyAuthLocation2;
|
|
48
|
+
})(HttpApiKeyAuthLocation || {});
|
|
49
|
+
var EndpointURLScheme = /* @__PURE__ */ ((EndpointURLScheme2) => {
|
|
50
|
+
EndpointURLScheme2["HTTP"] = "http";
|
|
51
|
+
EndpointURLScheme2["HTTPS"] = "https";
|
|
52
|
+
return EndpointURLScheme2;
|
|
53
|
+
})(EndpointURLScheme || {});
|
|
54
|
+
var AlgorithmId = /* @__PURE__ */ ((AlgorithmId2) => {
|
|
55
|
+
AlgorithmId2["MD5"] = "md5";
|
|
56
|
+
AlgorithmId2["CRC32"] = "crc32";
|
|
57
|
+
AlgorithmId2["CRC32C"] = "crc32c";
|
|
58
|
+
AlgorithmId2["SHA1"] = "sha1";
|
|
59
|
+
AlgorithmId2["SHA256"] = "sha256";
|
|
60
|
+
return AlgorithmId2;
|
|
61
|
+
})(AlgorithmId || {});
|
|
62
|
+
var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
63
|
+
const checksumAlgorithms = [];
|
|
64
|
+
if (runtimeConfig.sha256 !== undefined) {
|
|
65
|
+
checksumAlgorithms.push({
|
|
66
|
+
algorithmId: () => "sha256",
|
|
67
|
+
checksumConstructor: () => runtimeConfig.sha256
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
if (runtimeConfig.md5 != null) {
|
|
71
|
+
checksumAlgorithms.push({
|
|
72
|
+
algorithmId: () => "md5",
|
|
73
|
+
checksumConstructor: () => runtimeConfig.md5
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
addChecksumAlgorithm(algo) {
|
|
78
|
+
checksumAlgorithms.push(algo);
|
|
79
|
+
},
|
|
80
|
+
checksumAlgorithms() {
|
|
81
|
+
return checksumAlgorithms;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}, "getChecksumConfiguration");
|
|
85
|
+
var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
|
|
86
|
+
const runtimeConfig = {};
|
|
87
|
+
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
88
|
+
runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
|
|
89
|
+
});
|
|
90
|
+
return runtimeConfig;
|
|
91
|
+
}, "resolveChecksumRuntimeConfig");
|
|
92
|
+
var getDefaultClientConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
93
|
+
return getChecksumConfiguration(runtimeConfig);
|
|
94
|
+
}, "getDefaultClientConfiguration");
|
|
95
|
+
var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
96
|
+
return resolveChecksumRuntimeConfig(config);
|
|
97
|
+
}, "resolveDefaultRuntimeConfig");
|
|
98
|
+
var FieldPosition = /* @__PURE__ */ ((FieldPosition2) => {
|
|
99
|
+
FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
|
|
100
|
+
FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER";
|
|
101
|
+
return FieldPosition2;
|
|
102
|
+
})(FieldPosition || {});
|
|
103
|
+
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
104
|
+
var IniSectionType = /* @__PURE__ */ ((IniSectionType2) => {
|
|
105
|
+
IniSectionType2["PROFILE"] = "profile";
|
|
106
|
+
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
107
|
+
IniSectionType2["SERVICES"] = "services";
|
|
108
|
+
return IniSectionType2;
|
|
109
|
+
})(IniSectionType || {});
|
|
110
|
+
var RequestHandlerProtocol = /* @__PURE__ */ ((RequestHandlerProtocol2) => {
|
|
111
|
+
RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
|
|
112
|
+
RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0";
|
|
113
|
+
RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0";
|
|
114
|
+
return RequestHandlerProtocol2;
|
|
115
|
+
})(RequestHandlerProtocol || {});
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
export { require_dist_cjs };
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
loadConfig,
|
|
4
4
|
parseUrl
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-mbvdyeyw.js";
|
|
5
|
+
} from "./chunk-7s5qcjkt.js";
|
|
6
|
+
import"./chunk-bf8bq8pc.js";
|
|
8
7
|
import {
|
|
9
8
|
CredentialsProviderError,
|
|
10
9
|
ProviderError
|
|
11
10
|
} from "./chunk-zzerxbrm.js";
|
|
11
|
+
import"./chunk-saqpg5nd.js";
|
|
12
12
|
import"./chunk-9v6qtbez.js";
|
|
13
13
|
|
|
14
14
|
// ../../../../node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
require_dist_cjs,
|
|
3
|
-
require_dist_cjs1 as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
require_dist_cjs8 as require_dist_cjs6,
|
|
2
|
+
require_dist_cjs as require_dist_cjs2,
|
|
3
|
+
require_dist_cjs1 as require_dist_cjs3,
|
|
4
|
+
require_dist_cjs3 as require_dist_cjs4,
|
|
5
|
+
require_dist_cjs5,
|
|
6
|
+
require_dist_cjs7 as require_dist_cjs6,
|
|
8
7
|
require_protocols
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-a7k3cdby.js";
|
|
10
9
|
import {
|
|
11
10
|
require_client
|
|
12
11
|
} from "./chunk-frw3va9v.js";
|
|
12
|
+
import {
|
|
13
|
+
require_dist_cjs
|
|
14
|
+
} from "./chunk-saqpg5nd.js";
|
|
13
15
|
import {
|
|
14
16
|
__commonJS,
|
|
15
17
|
__require
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
getSSOTokenFromFile,
|
|
6
6
|
loadSsoSessionData,
|
|
7
7
|
parseKnownFiles
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import"./chunk-mbvdyeyw.js";
|
|
8
|
+
} from "./chunk-bf8bq8pc.js";
|
|
10
9
|
import {
|
|
11
10
|
CredentialsProviderError,
|
|
12
11
|
TokenProviderError
|
|
@@ -14,6 +13,7 @@ import {
|
|
|
14
13
|
import {
|
|
15
14
|
require_client
|
|
16
15
|
} from "./chunk-frw3va9v.js";
|
|
16
|
+
import"./chunk-saqpg5nd.js";
|
|
17
17
|
import {
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
@@ -31,7 +31,7 @@ var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the
|
|
|
31
31
|
|
|
32
32
|
// ../../../../node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
33
33
|
var getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
34
|
-
const { SSOOIDCClient } = await import("./chunk-
|
|
34
|
+
const { SSOOIDCClient } = await import("./chunk-pacq2bz6.js");
|
|
35
35
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
36
36
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
37
37
|
logger: init.clientConfig?.logger ?? init.parentClientConfig?.logger
|
|
@@ -41,7 +41,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
|
41
41
|
|
|
42
42
|
// ../../../../node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
43
43
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}) => {
|
|
44
|
-
const { CreateTokenCommand } = await import("./chunk-
|
|
44
|
+
const { CreateTokenCommand } = await import("./chunk-pacq2bz6.js");
|
|
45
45
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);
|
|
46
46
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
47
47
|
clientId: ssoToken.clientId,
|
|
@@ -187,7 +187,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
const { accessToken } = token;
|
|
190
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./chunk-
|
|
190
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./chunk-nrr524a7.js");
|
|
191
191
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
192
192
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
193
193
|
region: clientConfig?.region ?? ssoRegion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
db
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-hvfeg6n6.js";
|
|
4
4
|
import {
|
|
5
5
|
customValidate,
|
|
6
6
|
isObjectNotEmpty,
|
|
@@ -26,7 +26,7 @@ import { userMiddlewarePath } from "@stacksjs/path";
|
|
|
26
26
|
// ../router/src/request.ts
|
|
27
27
|
class Request {
|
|
28
28
|
query = {};
|
|
29
|
-
params =
|
|
29
|
+
params = {};
|
|
30
30
|
headers = {};
|
|
31
31
|
addQuery(url) {
|
|
32
32
|
this.query = Object.fromEntries(url.searchParams);
|
|
@@ -75,7 +75,7 @@ class Request {
|
|
|
75
75
|
return this.headers.get(headerParam);
|
|
76
76
|
}
|
|
77
77
|
getParam(key) {
|
|
78
|
-
return this.params
|
|
78
|
+
return this.params[key];
|
|
79
79
|
}
|
|
80
80
|
route(key) {
|
|
81
81
|
return this.getParam(key);
|
|
@@ -319,8 +319,8 @@ class Router {
|
|
|
319
319
|
return this.routes;
|
|
320
320
|
}
|
|
321
321
|
async importRoutes() {
|
|
322
|
-
await import("./chunk-
|
|
323
|
-
await import("./chunk-
|
|
322
|
+
await import("./chunk-ykb33tkv.js");
|
|
323
|
+
await import("./chunk-4axj3j8y.js");
|
|
324
324
|
}
|
|
325
325
|
async resolveCallback(callback) {
|
|
326
326
|
if (callback instanceof Promise) {
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
route
|
|
4
|
+
} from "./chunk-xgsmf4cy.js";
|
|
5
|
+
import"./chunk-hvfeg6n6.js";
|
|
6
|
+
import"./chunk-mdj7x1vs.js";
|
|
7
|
+
import"./chunk-p0c688mg.js";
|
|
8
|
+
import"./chunk-qkm8e752.js";
|
|
9
|
+
import"./chunk-a13x0e43.js";
|
|
10
|
+
import"./chunk-mdqphqep.js";
|
|
11
|
+
import"./chunk-qhh0v93n.js";
|
|
12
|
+
import"./chunk-ccnf3w1b.js";
|
|
13
|
+
import"./chunk-7s5qcjkt.js";
|
|
14
|
+
import"./chunk-bf8bq8pc.js";
|
|
15
|
+
import"./chunk-b5g5w1hh.js";
|
|
16
|
+
import"./chunk-zzerxbrm.js";
|
|
17
|
+
import"./chunk-veja9rez.js";
|
|
18
|
+
import"./chunk-a7k3cdby.js";
|
|
19
|
+
import"./chunk-frw3va9v.js";
|
|
20
|
+
import"./chunk-saqpg5nd.js";
|
|
21
|
+
import"./chunk-2dvnt46s.js";
|
|
22
|
+
import"./chunk-w6fdq4hk.js";
|
|
23
|
+
import"./chunk-wkwtsvym.js";
|
|
24
|
+
import"./chunk-9v6qtbez.js";
|
|
25
|
+
|
|
26
|
+
// ../../../../routes/api.ts
|
|
27
|
+
route.get("/foo/bar/{id}", () => "hello world, foo bar");
|
|
28
|
+
route.get("/", () => "hello world");
|
|
29
|
+
route.get("/hello/world", () => "hello world, buddy");
|
|
30
|
+
route.post("/email/subscribe", "Actions/SubscriberEmailAction");
|
|
31
|
+
route.post("/login", "Actions/LoginAction");
|
|
32
|
+
route.get("/generate-registration-options", "Actions/Auth/GenerateRegistrationAction");
|
|
33
|
+
route.post("/verify-registration", "Actions/Auth/VerifyRegistrationAction");
|
|
34
|
+
route.get("/generate-authentication-options", "Actions/Auth/GenerateAuthenticationAction");
|
|
35
|
+
route.post("/verify-authentication", "Actions/Auth/VerifyAuthenticationAction");
|
|
36
|
+
route.health();
|
|
37
|
+
route.get("/install", "Actions/InstallAction");
|
|
38
|
+
route.post("/ai/ask", "Actions/AI/AskAction");
|
|
39
|
+
route.post("/ai/summary", "Actions/AI/SummaryAction");
|
|
40
|
+
route.group({ prefix: "/payments" }, async () => {
|
|
41
|
+
route.get("/fetch-customer/{id}", "Actions/Payment/FetchPaymentCustomerAction");
|
|
42
|
+
route.get("/fetch-transaction-history/{id}", "Actions/Payment/FetchTransactionHistoryAction");
|
|
43
|
+
route.get("/fetch-user-subscriptions/{id}", "Actions/Payment/FetchUserSubscriptionsAction");
|
|
44
|
+
route.get("/fetch-active-subscription/{id}", "Actions/Payment/FetchActiveSubscriptionAction");
|
|
45
|
+
route.get("/default-payment-method/{id}", "Actions/Payment/FetchDefaultPaymentMethodAction");
|
|
46
|
+
route.get("/payment-methods/{id}", "Actions/Payment/FetchPaymentMethodsAction");
|
|
47
|
+
route.get("/create-setup-intent/{id}", "Actions/Payment/CreateSetupIntentAction");
|
|
48
|
+
route.delete("/delete-payment-method/{id}", "Actions/Payment/DeleteDefaultPaymentAction");
|
|
49
|
+
route.put("/update-default-payment-method/{id}", "Actions/Payment/UpdateDefaultPaymentMethodAction");
|
|
50
|
+
route.post("/set-default-payment-method/{id}", "Actions/Payment/SetDefaultPaymentAction");
|
|
51
|
+
route.post("/user-default-payment-method/{id}", "Actions/Payment/SetUserDefaultPaymentAction");
|
|
52
|
+
route.post("/payment-method/{id}", "Actions/Payment/StorePaymentMethodAction");
|
|
53
|
+
route.post("/create-payment-intent/{id}", "Actions/Payment/CreatePaymentIntentAction");
|
|
54
|
+
route.post("/create-subscription/{id}", "Actions/Payment/CreateSubscriptionAction");
|
|
55
|
+
route.post("/update-subscription/{id}", "Actions/Payment/UpdateSubscriptionAction");
|
|
56
|
+
route.post("/cancel-subscription/{id}", "Actions/Payment/CancelSubscriptionAction");
|
|
57
|
+
route.post("/create-invoice-subscription/{id}", "Actions/Payment/CreateInvoiceSubscription");
|
|
58
|
+
route.patch("/update-customer/{id}", "Actions/Payment/UpdateCustomerAction");
|
|
59
|
+
route.post("/checkout/{id}", "Actions/Payment/CreateCheckoutAction");
|
|
60
|
+
route.get("/fetch-product/{id}", "Actions/Payment/FetchProductAction");
|
|
61
|
+
route.post("/store-transaction/{id}", "Actions/Payment/StoreTransactionAction");
|
|
62
|
+
});
|
|
63
|
+
route.group({ prefix: "/commerce" }, async () => {
|
|
64
|
+
route.get("/customers", "Actions/Commerce/CustomersAction");
|
|
65
|
+
route.get("/print-devices", "Actions/Commerce/PrintDeviceIndexOrmAction");
|
|
66
|
+
route.post("/print-devices", "Actions/Commerce/PrintDeviceStoreOrmAction");
|
|
67
|
+
route.get("/print-devices/{id}", "Actions/Commerce/PrintDeviceShowOrmAction");
|
|
68
|
+
route.patch("/print-devices/{id}", "Actions/Commerce/PrintDeviceUpdateOrmAction");
|
|
69
|
+
route.delete("/print-devices/{id}", "Actions/Commerce/PrintDeviceDestroyOrmAction");
|
|
70
|
+
route.get("/product-categories", "Actions/Commerce/CategoryIndexOrmAction");
|
|
71
|
+
route.post("/product-categories", "Actions/Commerce/CategoryStoreOrmAction");
|
|
72
|
+
route.get("/product-categories/{id}", "Actions/Commerce/CategoryShowOrmAction");
|
|
73
|
+
route.get("/payments", "Actions/Commerce/PaymentIndexOrmAction");
|
|
74
|
+
route.post("/payments", "Actions/Commerce/PaymentStoreOrmAction");
|
|
75
|
+
route.get("/payments/{id}", "Actions/Commerce/PaymentShowOrmAction");
|
|
76
|
+
route.get("/drivers", "Actions/Commerce/DriverIndexOrmAction");
|
|
77
|
+
route.post("/drivers", "Actions/Commerce/DriverStoreOrmAction");
|
|
78
|
+
route.get("/drivers/{id}", "Actions/Commerce/DriverShowOrmAction");
|
|
79
|
+
route.patch("/drivers/{id}", "Actions/Commerce/DriverUpdateOrmAction");
|
|
80
|
+
route.delete("/drivers/{id}", "Actions/Commerce/DriverDestroyOrmAction");
|
|
81
|
+
route.get("/waitlist-products", "Actions/Commerce/WaitlistProductIndexOrmAction");
|
|
82
|
+
route.post("/waitlist-products", "Actions/Commerce/WaitlistProductStoreOrmAction");
|
|
83
|
+
route.get("/waitlist-products/{id}", "Actions/Commerce/WaitlistProductShowOrmAction");
|
|
84
|
+
route.patch("/waitlist-products/{id}", "Actions/Commerce/WaitlistProductUpdateOrmAction");
|
|
85
|
+
route.delete("/waitlist-products/{id}", "Actions/Commerce/WaitlistProductDestroyOrmAction");
|
|
86
|
+
route.get("/digital-deliveries", "Actions/Commerce/DigitalDeliveryIndexOrmAction");
|
|
87
|
+
route.post("/digital-deliveries", "Actions/Commerce/DigitalDeliveryStoreOrmAction");
|
|
88
|
+
route.get("/digital-deliveries/{id}", "Actions/Commerce/DigitalDeliveryShowOrmAction");
|
|
89
|
+
route.patch("/digital-deliveries/{id}", "Actions/Commerce/DigitalDeliveryUpdateOrmAction");
|
|
90
|
+
route.delete("/digital-deliveries/{id}", "Actions/Commerce/DigitalDeliveryDestroyOrmAction");
|
|
91
|
+
route.get("/product-manufacturers", "Actions/Commerce/ManufacturerIndexOrmAction");
|
|
92
|
+
route.post("/product-manufacturers", "Actions/Commerce/ManufacturerStoreOrmAction");
|
|
93
|
+
route.get("/product-manufacturers/{id}", "Actions/Commerce/ManufacturerShowOrmAction");
|
|
94
|
+
route.get("/shipping-zones", "Actions/Commerce/ShippingZoneIndexOrmAction");
|
|
95
|
+
route.post("/shipping-zones", "Actions/Commerce/ShippingZoneStoreOrmAction");
|
|
96
|
+
route.get("/shipping-zones/{id}", "Actions/Commerce/ShippingZoneShowOrmAction");
|
|
97
|
+
route.patch("/shipping-zones/{id}", "Actions/Commerce/ShippingZoneUpdateOrmAction");
|
|
98
|
+
route.delete("/shipping-zones/{id}", "Actions/Commerce/ShippingZoneDestroyOrmAction");
|
|
99
|
+
route.get("/customers", "Actions/Commerce/CustomerIndexOrmAction");
|
|
100
|
+
route.post("/customers", "Actions/Commerce/CustomerStoreOrmAction");
|
|
101
|
+
route.get("/customers/{id}", "Actions/Commerce/CustomerShowOrmAction");
|
|
102
|
+
route.patch("/customers/{id}", "Actions/Commerce/CustomerUpdateOrmAction");
|
|
103
|
+
route.delete("/customers/{id}", "Actions/Commerce/CustomerDestroyOrmAction");
|
|
104
|
+
route.get("/products", "Actions/Commerce/ProductIndexOrmAction");
|
|
105
|
+
route.post("/products", "Actions/Commerce/ProductStoreOrmAction");
|
|
106
|
+
route.get("/products/{id}", "Actions/Commerce/ProductShowOrmAction");
|
|
107
|
+
route.get("/print-logs", "Actions/Commerce/ReceiptIndexOrmAction");
|
|
108
|
+
route.post("/print-logs", "Actions/Commerce/ReceiptStoreOrmAction");
|
|
109
|
+
route.get("/print-logs/{id}", "Actions/Commerce/ReceiptShowOrmAction");
|
|
110
|
+
route.patch("/print-logs/{id}", "Actions/Commerce/ReceiptUpdateOrmAction");
|
|
111
|
+
route.delete("/print-logs/{id}", "Actions/Commerce/ReceiptDestroyOrmAction");
|
|
112
|
+
route.get("/product-variants", "Actions/Commerce/ProductVariantIndexOrmAction");
|
|
113
|
+
route.post("/product-variants", "Actions/Commerce/ProductVariantStoreOrmAction");
|
|
114
|
+
route.get("/product-variants/{id}", "Actions/Commerce/ProductVariantShowOrmAction");
|
|
115
|
+
route.patch("/product-variants/{id}", "Actions/Commerce/ProductVariantUpdateOrmAction");
|
|
116
|
+
route.delete("/product-variants/{id}", "Actions/Commerce/ProductVariantDestroyOrmAction");
|
|
117
|
+
route.get("/license-keys", "Actions/Commerce/LicenseKeyIndexOrmAction");
|
|
118
|
+
route.post("/license-keys", "Actions/Commerce/LicenseKeyStoreOrmAction");
|
|
119
|
+
route.get("/license-keys/{id}", "Actions/Commerce/LicenseKeyShowOrmAction");
|
|
120
|
+
route.patch("/license-keys/{id}", "Actions/Commerce/LicenseKeyUpdateOrmAction");
|
|
121
|
+
route.delete("/license-keys/{id}", "Actions/Commerce/LicenseKeyDestroyOrmAction");
|
|
122
|
+
route.get("/waitlist-restaurants", "Actions/Commerce/WaitlistRestaurantIndexOrmAction");
|
|
123
|
+
route.post("/waitlist-restaurants", "Actions/Commerce/WaitlistRestaurantStoreOrmAction");
|
|
124
|
+
route.get("/waitlist-restaurants/{id}", "Actions/Commerce/WaitlistRestaurantShowOrmAction");
|
|
125
|
+
route.patch("/waitlist-restaurants/{id}", "Actions/Commerce/WaitlistRestaurantUpdateOrmAction");
|
|
126
|
+
route.delete("/waitlist-restaurants/{id}", "Actions/Commerce/WaitlistRestaurantDestroyOrmAction");
|
|
127
|
+
route.get("/product-reviews", "Actions/Commerce/ReviewIndexOrmAction");
|
|
128
|
+
route.post("/product-reviews", "Actions/Commerce/ReviewStoreOrmAction");
|
|
129
|
+
route.get("/product-reviews/{id}", "Actions/Commerce/ReviewShowOrmAction");
|
|
130
|
+
route.get("/product-units", "Actions/Commerce/ProductUnitIndexOrmAction");
|
|
131
|
+
route.post("/product-units", "Actions/Commerce/ProductUnitStoreOrmAction");
|
|
132
|
+
route.get("/product-units/{id}", "Actions/Commerce/ProductUnitShowOrmAction");
|
|
133
|
+
route.get("/gift-cards", "Actions/Commerce/GiftCardIndexOrmAction");
|
|
134
|
+
route.post("/gift-cards", "Actions/Commerce/GiftCardStoreOrmAction");
|
|
135
|
+
route.get("/gift-cards/{id}", "Actions/Commerce/GiftCardShowOrmAction");
|
|
136
|
+
route.get("/orders", "Actions/Commerce/OrderIndexOrmAction");
|
|
137
|
+
route.post("/orders", "Actions/Commerce/OrderStoreOrmAction");
|
|
138
|
+
route.get("/orders/{id}", "Actions/Commerce/OrderShowOrmAction");
|
|
139
|
+
route.get("/coupons", "Actions/Commerce/CouponIndexOrmAction");
|
|
140
|
+
route.post("/coupons", "Actions/Commerce/CouponStoreOrmAction");
|
|
141
|
+
route.get("/coupons/{id}", "Actions/Commerce/CouponShowOrmAction");
|
|
142
|
+
route.get("/tax-rates", "Actions/Commerce/TaxRateIndexOrmAction");
|
|
143
|
+
route.post("/tax-rates", "Actions/Commerce/TaxRateStoreOrmAction");
|
|
144
|
+
route.get("/tax-rates/{id}", "Actions/Commerce/TaxRateShowOrmAction");
|
|
145
|
+
route.patch("/tax-rates/{id}", "Actions/Commerce/TaxRateUpdateOrmAction");
|
|
146
|
+
route.delete("/tax-rates/{id}", "Actions/Commerce/TaxRateDestroyOrmAction");
|
|
147
|
+
route.get("/transactions", "Actions/Commerce/TransactionIndexOrmAction");
|
|
148
|
+
route.post("/transactions", "Actions/Commerce/TransactionStoreOrmAction");
|
|
149
|
+
route.get("/transactions/{id}", "Actions/Commerce/TransactionShowOrmAction");
|
|
150
|
+
route.get("/loyalty-points", "Actions/Commerce/LoyaltyPointIndexOrmAction");
|
|
151
|
+
route.post("/loyalty-points", "Actions/Commerce/LoyaltyPointStoreOrmAction");
|
|
152
|
+
route.get("/loyalty-points/{id}", "Actions/Commerce/LoyaltyPointShowOrmAction");
|
|
153
|
+
route.get("/product-items", "Actions/Commerce/ProductItemIndexOrmAction");
|
|
154
|
+
route.post("/product-items", "Actions/Commerce/ProductItemStoreOrmAction");
|
|
155
|
+
route.get("/product-items/{id}", "Actions/Commerce/ProductItemShowOrmAction");
|
|
156
|
+
route.get("/loyalty-rewards", "Actions/Commerce/LoyaltyRewardIndexOrmAction");
|
|
157
|
+
route.post("/loyalty-rewards", "Actions/Commerce/LoyaltyRewardStoreOrmAction");
|
|
158
|
+
route.get("/loyalty-rewards/{id}", "Actions/Commerce/LoyaltyRewardShowOrmAction");
|
|
159
|
+
route.get("/shipping-methods", "Actions/Commerce/ShippingMethodIndexOrmAction");
|
|
160
|
+
route.post("/shipping-methods", "Actions/Commerce/ShippingMethodStoreOrmAction");
|
|
161
|
+
route.get("/shipping-methods/{id}", "Actions/Commerce/ShippingMethodShowOrmAction");
|
|
162
|
+
route.patch("/shipping-methods/{id}", "Actions/Commerce/ShippingMethodUpdateOrmAction");
|
|
163
|
+
route.delete("/shipping-methods/{id}", "Actions/Commerce/ShippingMethodDestroyOrmAction");
|
|
164
|
+
route.get("/shipping-rates", "Actions/Commerce/ShippingRateIndexOrmAction");
|
|
165
|
+
route.post("/shipping-rates", "Actions/Commerce/ShippingRateStoreOrmAction");
|
|
166
|
+
route.get("/shipping-rates/{id}", "Actions/Commerce/ShippingRateShowOrmAction");
|
|
167
|
+
route.patch("/shipping-rates/{id}", "Actions/Commerce/ShippingRateUpdateOrmAction");
|
|
168
|
+
route.delete("/shipping-rates/{id}", "Actions/Commerce/ShippingRateDestroyOrmAction");
|
|
169
|
+
route.get("/delivery-routes", "Actions/Commerce/DeliveryRouteIndexOrmAction");
|
|
170
|
+
route.post("/delivery-routes", "Actions/Commerce/DeliveryRouteStoreOrmAction");
|
|
171
|
+
route.get("/delivery-routes/{id}", "Actions/Commerce/DeliveryRouteShowOrmAction");
|
|
172
|
+
route.patch("/delivery-routes/{id}", "Actions/Commerce/DeliveryRouteUpdateOrmAction");
|
|
173
|
+
route.delete("/delivery-routes/{id}", "Actions/Commerce/DeliveryRouteDestroyOrmAction");
|
|
174
|
+
});
|
|
175
|
+
route.group({ prefix: "/queues" }, async () => {
|
|
176
|
+
route.get("/", "Actions/Queue/FetchQueuesAction");
|
|
177
|
+
});
|
package/dist/database/seed.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
seed
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-hvfeg6n6.js";
|
|
5
5
|
import"../chunk-mdj7x1vs.js";
|
|
6
6
|
import"../chunk-p0c688mg.js";
|
|
7
7
|
import"../chunk-qkm8e752.js";
|
|
8
8
|
import"../chunk-a13x0e43.js";
|
|
9
9
|
import"../chunk-mdqphqep.js";
|
|
10
10
|
import"../chunk-qhh0v93n.js";
|
|
11
|
-
import"../chunk-
|
|
12
|
-
import"../chunk-
|
|
13
|
-
import"../chunk-
|
|
14
|
-
import"../chunk-
|
|
15
|
-
import"../chunk-mbvdyeyw.js";
|
|
11
|
+
import"../chunk-ccnf3w1b.js";
|
|
12
|
+
import"../chunk-7s5qcjkt.js";
|
|
13
|
+
import"../chunk-bf8bq8pc.js";
|
|
14
|
+
import"../chunk-b5g5w1hh.js";
|
|
16
15
|
import"../chunk-zzerxbrm.js";
|
|
17
|
-
import"../chunk-
|
|
18
|
-
import"../chunk-
|
|
16
|
+
import"../chunk-veja9rez.js";
|
|
17
|
+
import"../chunk-a7k3cdby.js";
|
|
19
18
|
import"../chunk-frw3va9v.js";
|
|
19
|
+
import"../chunk-saqpg5nd.js";
|
|
20
20
|
import"../chunk-2dvnt46s.js";
|
|
21
21
|
import"../chunk-w6fdq4hk.js";
|
|
22
22
|
import"../chunk-wkwtsvym.js";
|
package/dist/generate/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-xgsmf4cy.js";
|
|
5
5
|
import {
|
|
6
6
|
generateVsCodeCustomData
|
|
7
7
|
} from "../helpers/vscode-custom-data.js";
|
|
8
8
|
import"../chunk-494jp8d5.js";
|
|
9
9
|
import {
|
|
10
10
|
generateModelFiles
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-hvfeg6n6.js";
|
|
12
12
|
import"../chunk-mdj7x1vs.js";
|
|
13
13
|
import"../chunk-p0c688mg.js";
|
|
14
14
|
import"../chunk-qkm8e752.js";
|
|
15
15
|
import"../chunk-a13x0e43.js";
|
|
16
16
|
import"../chunk-mdqphqep.js";
|
|
17
17
|
import"../chunk-qhh0v93n.js";
|
|
18
|
-
import"../chunk-
|
|
19
|
-
import"../chunk-
|
|
20
|
-
import"../chunk-
|
|
21
|
-
import"../chunk-
|
|
22
|
-
import"../chunk-mbvdyeyw.js";
|
|
18
|
+
import"../chunk-ccnf3w1b.js";
|
|
19
|
+
import"../chunk-7s5qcjkt.js";
|
|
20
|
+
import"../chunk-bf8bq8pc.js";
|
|
21
|
+
import"../chunk-b5g5w1hh.js";
|
|
23
22
|
import"../chunk-zzerxbrm.js";
|
|
24
|
-
import"../chunk-
|
|
25
|
-
import"../chunk-
|
|
23
|
+
import"../chunk-veja9rez.js";
|
|
24
|
+
import"../chunk-a7k3cdby.js";
|
|
26
25
|
import"../chunk-frw3va9v.js";
|
|
26
|
+
import"../chunk-saqpg5nd.js";
|
|
27
27
|
import"../chunk-2dvnt46s.js";
|
|
28
28
|
import"../chunk-w6fdq4hk.js";
|
|
29
29
|
import"../chunk-wkwtsvym.js";
|
package/dist/index.js
CHANGED
|
@@ -41,25 +41,25 @@ import {
|
|
|
41
41
|
generateWebTypes,
|
|
42
42
|
invoke
|
|
43
43
|
} from "./generate/index.js";
|
|
44
|
-
import"./chunk-
|
|
44
|
+
import"./chunk-xgsmf4cy.js";
|
|
45
45
|
import"./helpers/vscode-custom-data.js";
|
|
46
46
|
import"./chunk-494jp8d5.js";
|
|
47
|
-
import"./chunk-
|
|
47
|
+
import"./chunk-hvfeg6n6.js";
|
|
48
48
|
import"./chunk-mdj7x1vs.js";
|
|
49
49
|
import"./chunk-p0c688mg.js";
|
|
50
50
|
import"./chunk-qkm8e752.js";
|
|
51
51
|
import"./chunk-a13x0e43.js";
|
|
52
52
|
import"./chunk-mdqphqep.js";
|
|
53
53
|
import"./chunk-qhh0v93n.js";
|
|
54
|
-
import"./chunk-
|
|
55
|
-
import"./chunk-
|
|
56
|
-
import"./chunk-
|
|
57
|
-
import"./chunk-
|
|
58
|
-
import"./chunk-mbvdyeyw.js";
|
|
54
|
+
import"./chunk-ccnf3w1b.js";
|
|
55
|
+
import"./chunk-7s5qcjkt.js";
|
|
56
|
+
import"./chunk-bf8bq8pc.js";
|
|
57
|
+
import"./chunk-b5g5w1hh.js";
|
|
59
58
|
import"./chunk-zzerxbrm.js";
|
|
60
|
-
import"./chunk-
|
|
61
|
-
import"./chunk-
|
|
59
|
+
import"./chunk-veja9rez.js";
|
|
60
|
+
import"./chunk-a7k3cdby.js";
|
|
62
61
|
import"./chunk-frw3va9v.js";
|
|
62
|
+
import"./chunk-saqpg5nd.js";
|
|
63
63
|
import"./chunk-2dvnt46s.js";
|
|
64
64
|
import"./chunk-w6fdq4hk.js";
|
|
65
65
|
import"./chunk-wkwtsvym.js";
|
package/dist/release.js
CHANGED
|
@@ -5,25 +5,25 @@ import"./commit.js";
|
|
|
5
5
|
import"./make.js";
|
|
6
6
|
import"./add.js";
|
|
7
7
|
import"./generate/index.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-xgsmf4cy.js";
|
|
9
9
|
import"./helpers/vscode-custom-data.js";
|
|
10
10
|
import"./chunk-494jp8d5.js";
|
|
11
|
-
import"./chunk-
|
|
11
|
+
import"./chunk-hvfeg6n6.js";
|
|
12
12
|
import"./chunk-mdj7x1vs.js";
|
|
13
13
|
import"./chunk-p0c688mg.js";
|
|
14
14
|
import"./chunk-qkm8e752.js";
|
|
15
15
|
import"./chunk-a13x0e43.js";
|
|
16
16
|
import"./chunk-mdqphqep.js";
|
|
17
17
|
import"./chunk-qhh0v93n.js";
|
|
18
|
-
import"./chunk-
|
|
19
|
-
import"./chunk-
|
|
20
|
-
import"./chunk-
|
|
21
|
-
import"./chunk-
|
|
22
|
-
import"./chunk-mbvdyeyw.js";
|
|
18
|
+
import"./chunk-ccnf3w1b.js";
|
|
19
|
+
import"./chunk-7s5qcjkt.js";
|
|
20
|
+
import"./chunk-bf8bq8pc.js";
|
|
21
|
+
import"./chunk-b5g5w1hh.js";
|
|
23
22
|
import"./chunk-zzerxbrm.js";
|
|
24
|
-
import"./chunk-
|
|
25
|
-
import"./chunk-
|
|
23
|
+
import"./chunk-veja9rez.js";
|
|
24
|
+
import"./chunk-a7k3cdby.js";
|
|
26
25
|
import"./chunk-frw3va9v.js";
|
|
26
|
+
import"./chunk-saqpg5nd.js";
|
|
27
27
|
import"./chunk-2dvnt46s.js";
|
|
28
28
|
import"./chunk-w6fdq4hk.js";
|
|
29
29
|
import"./chunk-wkwtsvym.js";
|
package/dist/upgrade.js
CHANGED
|
@@ -9,7 +9,7 @@ import { log } from "@stacksjs/logging";
|
|
|
9
9
|
import { projectPath } from "@stacksjs/path";
|
|
10
10
|
import * as storage from "@stacksjs/storage";
|
|
11
11
|
// package.json
|
|
12
|
-
var version = "0.70.
|
|
12
|
+
var version = "0.70.23";
|
|
13
13
|
|
|
14
14
|
// src/upgrade.ts
|
|
15
15
|
function checkForUncommittedChanges(options) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.23",
|
|
5
5
|
"description": "The Stacks actions.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"prepublishOnly": "bun run build"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@stacksjs/api": "0.70.
|
|
46
|
-
"@stacksjs/cli": "0.70.
|
|
47
|
-
"@stacksjs/config": "0.70.
|
|
48
|
-
"@stacksjs/database": "0.70.
|
|
49
|
-
"@stacksjs/development": "0.70.
|
|
50
|
-
"@stacksjs/dns": "0.70.
|
|
51
|
-
"@stacksjs/enums": "0.70.
|
|
52
|
-
"@stacksjs/env": "0.70.
|
|
53
|
-
"@stacksjs/error-handling": "0.70.
|
|
54
|
-
"@stacksjs/logging": "0.70.
|
|
55
|
-
"@stacksjs/path": "0.70.
|
|
56
|
-
"@stacksjs/security": "0.70.
|
|
57
|
-
"@stacksjs/storage": "0.70.
|
|
58
|
-
"@stacksjs/strings": "0.70.
|
|
59
|
-
"@stacksjs/utils": "0.70.
|
|
60
|
-
"@stacksjs/validation": "0.70.
|
|
45
|
+
"@stacksjs/api": "0.70.22",
|
|
46
|
+
"@stacksjs/cli": "0.70.22",
|
|
47
|
+
"@stacksjs/config": "0.70.22",
|
|
48
|
+
"@stacksjs/database": "0.70.22",
|
|
49
|
+
"@stacksjs/development": "0.70.22",
|
|
50
|
+
"@stacksjs/dns": "0.70.22",
|
|
51
|
+
"@stacksjs/enums": "0.70.22",
|
|
52
|
+
"@stacksjs/env": "0.70.22",
|
|
53
|
+
"@stacksjs/error-handling": "0.70.22",
|
|
54
|
+
"@stacksjs/logging": "0.70.22",
|
|
55
|
+
"@stacksjs/path": "0.70.22",
|
|
56
|
+
"@stacksjs/security": "0.70.22",
|
|
57
|
+
"@stacksjs/storage": "0.70.22",
|
|
58
|
+
"@stacksjs/strings": "0.70.22",
|
|
59
|
+
"@stacksjs/utils": "0.70.22",
|
|
60
|
+
"@stacksjs/validation": "0.70.22",
|
|
61
61
|
"markdown-it": "^14.1.0",
|
|
62
62
|
"vue-component-meta": "^2.2.8"
|
|
63
63
|
}
|