@stacksjs/actions 0.70.21 → 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 +4 -4
- package/dist/chunk-4axj3j8y.js +34 -0
- package/dist/{chunk-xt9exr2c.js → chunk-b5g5w1hh.js} +6 -5
- package/dist/{chunk-pnre7439.js → chunk-ccnf3w1b.js} +1 -1
- package/dist/{chunk-tsrpjtkt.js → chunk-hvfeg6n6.js} +31 -27
- package/dist/{chunk-mdb86mpr.js → chunk-mmskr8ar.js} +2 -2
- package/dist/{chunk-161fpm3p.js → chunk-nrr524a7.js} +2 -2
- package/dist/{chunk-e7mp4xy5.js → chunk-q81mf99q.js} +1 -1
- package/dist/{chunk-1vc5eq0h.js → chunk-w4bfpxhm.js} +1 -1
- package/dist/{chunk-7dp08yqh.js → chunk-xgsmf4cy.js} +5 -5
- package/dist/chunk-ykb33tkv.js +177 -0
- package/dist/database/seed.js +3 -3
- package/dist/generate/index.js +4 -4
- package/dist/index.js +4 -4
- package/dist/release.js +4 -4
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-adq5n04j.js +0 -133
- package/dist/chunk-b82x4201.js +0 -65
package/dist/build.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
generateTypes
|
|
4
4
|
} from "./generate/index.js";
|
|
5
|
-
import"./chunk-
|
|
5
|
+
import"./chunk-xgsmf4cy.js";
|
|
6
6
|
import"./helpers/vscode-custom-data.js";
|
|
7
7
|
import"./chunk-494jp8d5.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-hvfeg6n6.js";
|
|
9
9
|
import"./chunk-mdj7x1vs.js";
|
|
10
10
|
import"./chunk-p0c688mg.js";
|
|
11
11
|
import"./chunk-qkm8e752.js";
|
|
12
12
|
import"./chunk-a13x0e43.js";
|
|
13
13
|
import"./chunk-mdqphqep.js";
|
|
14
14
|
import"./chunk-qhh0v93n.js";
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-ccnf3w1b.js";
|
|
16
16
|
import"./chunk-7s5qcjkt.js";
|
|
17
17
|
import"./chunk-bf8bq8pc.js";
|
|
18
|
-
import"./chunk-
|
|
18
|
+
import"./chunk-b5g5w1hh.js";
|
|
19
19
|
import"./chunk-zzerxbrm.js";
|
|
20
20
|
import"./chunk-veja9rez.js";
|
|
21
21
|
import"./chunk-a7k3cdby.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
// ../../orm/routes.ts
|
|
27
|
+
route.get("users", "UserIndexOrmAction");
|
|
28
|
+
route.post("users", "UserStoreOrmAction");
|
|
29
|
+
route.get("users/{id}", "UserShowOrmAction");
|
|
30
|
+
route.get("requests", "storage/framework/actions/src/RequestIndexOrmAction.ts");
|
|
31
|
+
route.get("requests/{id}", "storage/framework/actions/src/RequestShowOrmAction.ts");
|
|
32
|
+
route.post("requests", "storage/framework/actions/src/RequestStoreOrmAction.ts");
|
|
33
|
+
route.patch("requests/{id}", "storage/framework/actions/src/RequestUpdateOrmAction.ts");
|
|
34
|
+
route.delete("requests/{id}", "storage/framework/actions/src/RequestDestroyOrmAction.ts");
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
require_dist_cjs5 as require_dist_cjs2,
|
|
3
2
|
require_protocols
|
|
4
3
|
} from "./chunk-a7k3cdby.js";
|
|
5
4
|
import {
|
|
@@ -1051,21 +1050,23 @@ class HttpResponse {
|
|
|
1051
1050
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
1052
1051
|
}
|
|
1053
1052
|
}
|
|
1053
|
+
// ../../../../node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
|
|
1054
|
+
var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
|
|
1055
|
+
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
1054
1056
|
// ../../../../node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
1055
|
-
var import_util_uri_escape = __toESM(require_dist_cjs2(), 1);
|
|
1056
1057
|
function buildQueryString(query) {
|
|
1057
1058
|
const parts = [];
|
|
1058
1059
|
for (let key of Object.keys(query).sort()) {
|
|
1059
1060
|
const value = query[key];
|
|
1060
|
-
key =
|
|
1061
|
+
key = escapeUri(key);
|
|
1061
1062
|
if (Array.isArray(value)) {
|
|
1062
1063
|
for (let i = 0, iLen = value.length;i < iLen; i++) {
|
|
1063
|
-
parts.push(`${key}=${
|
|
1064
|
+
parts.push(`${key}=${escapeUri(value[i])}`);
|
|
1064
1065
|
}
|
|
1065
1066
|
} else {
|
|
1066
1067
|
let qsEntry = key;
|
|
1067
1068
|
if (value || typeof value === "string") {
|
|
1068
|
-
qsEntry += `=${
|
|
1069
|
+
qsEntry += `=${escapeUri(value)}`;
|
|
1069
1070
|
}
|
|
1070
1071
|
parts.push(qsEntry);
|
|
1071
1072
|
}
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
resolveUserAgentConfig,
|
|
46
46
|
toBase64,
|
|
47
47
|
toUtf8
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ccnf3w1b.js";
|
|
49
49
|
import {
|
|
50
50
|
loadConfig,
|
|
51
51
|
parseUrl
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
streamCollector,
|
|
76
76
|
take,
|
|
77
77
|
withBaseException
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-b5g5w1hh.js";
|
|
79
79
|
import {
|
|
80
80
|
CredentialsProviderError,
|
|
81
81
|
chain,
|
|
@@ -77252,7 +77252,7 @@ import { validateField, customValidate, type schema } from '@stacksjs/validation
|
|
|
77252
77252
|
`;
|
|
77253
77253
|
const entityGroups = {};
|
|
77254
77254
|
for (const attribute of attributes) {
|
|
77255
|
-
const entity = attribute.fieldArray?.entity === "enum" ? "string[]" : attribute.fieldArray?.entity;
|
|
77255
|
+
const entity = attribute.fieldArray?.entity === "enum" ? "string[] | string" : attribute.fieldArray?.entity;
|
|
77256
77256
|
let defaultValue = `''`;
|
|
77257
77257
|
if (attribute.fieldArray?.entity === "boolean")
|
|
77258
77258
|
defaultValue = false;
|
|
@@ -77365,7 +77365,7 @@ async function writeOrmActions(apiRoute, modelName, actionPath) {
|
|
|
77365
77365
|
let handleString = ``;
|
|
77366
77366
|
if (apiRoute === "index") {
|
|
77367
77367
|
handleString += `async handle() {
|
|
77368
|
-
const results = ${modelName}.all()
|
|
77368
|
+
const results = await ${modelName}.all()
|
|
77369
77369
|
|
|
77370
77370
|
return response.json(results)
|
|
77371
77371
|
},`;
|
|
@@ -91678,42 +91678,46 @@ import { HttpError as HttpError22 } from "@stacksjs/error-handling";
|
|
|
91678
91678
|
import { HttpError as HttpError23 } from "@stacksjs/error-handling";
|
|
91679
91679
|
// ../../orm/src/models/Post.ts
|
|
91680
91680
|
import { HttpError as HttpError24 } from "@stacksjs/error-handling";
|
|
91681
|
-
// ../../orm/src/models/
|
|
91681
|
+
// ../../orm/src/models/PrintDevice.ts
|
|
91682
91682
|
import { HttpError as HttpError25 } from "@stacksjs/error-handling";
|
|
91683
|
-
// ../../orm/src/models/
|
|
91683
|
+
// ../../orm/src/models/Product.ts
|
|
91684
91684
|
import { HttpError as HttpError26 } from "@stacksjs/error-handling";
|
|
91685
|
-
// ../../orm/src/models/
|
|
91685
|
+
// ../../orm/src/models/ProductItem.ts
|
|
91686
91686
|
import { HttpError as HttpError27 } from "@stacksjs/error-handling";
|
|
91687
|
-
// ../../orm/src/models/
|
|
91687
|
+
// ../../orm/src/models/ProductUnit.ts
|
|
91688
91688
|
import { HttpError as HttpError28 } from "@stacksjs/error-handling";
|
|
91689
|
-
// ../../orm/src/models/
|
|
91689
|
+
// ../../orm/src/models/ProductVariant.ts
|
|
91690
91690
|
import { HttpError as HttpError29 } from "@stacksjs/error-handling";
|
|
91691
|
-
// ../../orm/src/models/
|
|
91691
|
+
// ../../orm/src/models/Project.ts
|
|
91692
91692
|
import { HttpError as HttpError30 } from "@stacksjs/error-handling";
|
|
91693
|
-
// ../../orm/src/models/
|
|
91693
|
+
// ../../orm/src/models/Receipt.ts
|
|
91694
91694
|
import { HttpError as HttpError31 } from "@stacksjs/error-handling";
|
|
91695
|
-
// ../../orm/src/models/
|
|
91695
|
+
// ../../orm/src/models/Release.ts
|
|
91696
91696
|
import { HttpError as HttpError32 } from "@stacksjs/error-handling";
|
|
91697
|
-
// ../../orm/src/models/
|
|
91697
|
+
// ../../orm/src/models/Request.ts
|
|
91698
91698
|
import { HttpError as HttpError33 } from "@stacksjs/error-handling";
|
|
91699
|
-
// ../../orm/src/models/
|
|
91699
|
+
// ../../orm/src/models/Review.ts
|
|
91700
91700
|
import { HttpError as HttpError34 } from "@stacksjs/error-handling";
|
|
91701
|
-
// ../../orm/src/models/
|
|
91701
|
+
// ../../orm/src/models/ShippingMethod.ts
|
|
91702
91702
|
import { HttpError as HttpError35 } from "@stacksjs/error-handling";
|
|
91703
|
-
// ../../orm/src/models/
|
|
91703
|
+
// ../../orm/src/models/ShippingRate.ts
|
|
91704
91704
|
import { HttpError as HttpError36 } from "@stacksjs/error-handling";
|
|
91705
|
-
// ../../orm/src/models/
|
|
91705
|
+
// ../../orm/src/models/ShippingZone.ts
|
|
91706
91706
|
import { HttpError as HttpError37 } from "@stacksjs/error-handling";
|
|
91707
|
-
// ../../orm/src/models/
|
|
91707
|
+
// ../../orm/src/models/Subscriber.ts
|
|
91708
91708
|
import { HttpError as HttpError38 } from "@stacksjs/error-handling";
|
|
91709
|
-
// ../../orm/src/models/
|
|
91709
|
+
// ../../orm/src/models/SubscriberEmail.ts
|
|
91710
91710
|
import { HttpError as HttpError39 } from "@stacksjs/error-handling";
|
|
91711
|
-
// ../../orm/src/models/
|
|
91711
|
+
// ../../orm/src/models/Subscription.ts
|
|
91712
91712
|
import { HttpError as HttpError40 } from "@stacksjs/error-handling";
|
|
91713
|
-
// ../../orm/src/models/
|
|
91713
|
+
// ../../orm/src/models/TaxRate.ts
|
|
91714
91714
|
import { HttpError as HttpError41 } from "@stacksjs/error-handling";
|
|
91715
|
-
// ../../orm/src/models/
|
|
91715
|
+
// ../../orm/src/models/Team.ts
|
|
91716
91716
|
import { HttpError as HttpError42 } from "@stacksjs/error-handling";
|
|
91717
|
+
// ../../orm/src/models/Transaction.ts
|
|
91718
|
+
import { HttpError as HttpError43 } from "@stacksjs/error-handling";
|
|
91719
|
+
// ../../orm/src/models/User.ts
|
|
91720
|
+
import { HttpError as HttpError44 } from "@stacksjs/error-handling";
|
|
91717
91721
|
|
|
91718
91722
|
// ../payments/src/billable/charge.ts
|
|
91719
91723
|
import { log as log15 } from "@stacksjs/logging";
|
|
@@ -96495,7 +96499,7 @@ var remoteProvider = async (init2) => {
|
|
|
96495
96499
|
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
96496
96500
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96497
96501
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96498
|
-
const { fromHttp } = await import("./chunk-
|
|
96502
|
+
const { fromHttp } = await import("./chunk-q81mf99q.js");
|
|
96499
96503
|
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96500
96504
|
}
|
|
96501
96505
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
@@ -96541,11 +96545,11 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96541
96545
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96542
96546
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96543
96547
|
}
|
|
96544
|
-
const { fromSSO } = await import("./chunk-
|
|
96548
|
+
const { fromSSO } = await import("./chunk-w4bfpxhm.js");
|
|
96545
96549
|
return fromSSO(init2)();
|
|
96546
96550
|
}, async () => {
|
|
96547
96551
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96548
|
-
const { fromIni } = await import("./chunk-
|
|
96552
|
+
const { fromIni } = await import("./chunk-mmskr8ar.js");
|
|
96549
96553
|
return fromIni(init2)();
|
|
96550
96554
|
}, async () => {
|
|
96551
96555
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
@@ -179225,9 +179229,9 @@ var invoices = (() => {
|
|
|
179225
179229
|
return { retrieve, list: list2, create: create2, delete: deleteInvoice, pay };
|
|
179226
179230
|
})();
|
|
179227
179231
|
// ../../orm/src/models/WaitlistProduct.ts
|
|
179228
|
-
import { HttpError as
|
|
179232
|
+
import { HttpError as HttpError45 } from "@stacksjs/error-handling";
|
|
179229
179233
|
// ../../orm/src/models/WaitlistRestaurant.ts
|
|
179230
|
-
import { HttpError as
|
|
179234
|
+
import { HttpError as HttpError46 } from "@stacksjs/error-handling";
|
|
179231
179235
|
// ../orm/src/db.ts
|
|
179232
179236
|
class DB {
|
|
179233
179237
|
static dbInstance = null;
|
|
@@ -24,7 +24,7 @@ var import_client = __toESM(require_client(), 1);
|
|
|
24
24
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
25
25
|
const sourceProvidersMap = {
|
|
26
26
|
EcsContainer: async (options) => {
|
|
27
|
-
const { fromHttp } = await import("./chunk-
|
|
27
|
+
const { fromHttp } = await import("./chunk-q81mf99q.js");
|
|
28
28
|
const { fromContainerMetadata } = await import("./chunk-t5em30ak.js");
|
|
29
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
30
30
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
@@ -125,7 +125,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-76zh
|
|
|
125
125
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
126
126
|
var import_client4 = __toESM(require_client(), 1);
|
|
127
127
|
var resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
128
|
-
const { fromSSO } = await import("./chunk-
|
|
128
|
+
const { fromSSO } = await import("./chunk-w4bfpxhm.js");
|
|
129
129
|
return fromSSO({
|
|
130
130
|
profile,
|
|
131
131
|
logger: options.logger,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
resolveUserAgentConfig,
|
|
38
38
|
toBase64,
|
|
39
39
|
toUtf8
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ccnf3w1b.js";
|
|
41
41
|
import {
|
|
42
42
|
loadConfig,
|
|
43
43
|
parseUrl
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
streamCollector,
|
|
67
67
|
take,
|
|
68
68
|
withBaseException
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-b5g5w1hh.js";
|
|
70
70
|
import"./chunk-zzerxbrm.js";
|
|
71
71
|
import {
|
|
72
72
|
require_dist_cjs2 as require_dist_cjs,
|
|
@@ -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,17 +1,17 @@
|
|
|
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-
|
|
11
|
+
import"../chunk-ccnf3w1b.js";
|
|
12
12
|
import"../chunk-7s5qcjkt.js";
|
|
13
13
|
import"../chunk-bf8bq8pc.js";
|
|
14
|
-
import"../chunk-
|
|
14
|
+
import"../chunk-b5g5w1hh.js";
|
|
15
15
|
import"../chunk-zzerxbrm.js";
|
|
16
16
|
import"../chunk-veja9rez.js";
|
|
17
17
|
import"../chunk-a7k3cdby.js";
|
package/dist/generate/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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-
|
|
18
|
+
import"../chunk-ccnf3w1b.js";
|
|
19
19
|
import"../chunk-7s5qcjkt.js";
|
|
20
20
|
import"../chunk-bf8bq8pc.js";
|
|
21
|
-
import"../chunk-
|
|
21
|
+
import"../chunk-b5g5w1hh.js";
|
|
22
22
|
import"../chunk-zzerxbrm.js";
|
|
23
23
|
import"../chunk-veja9rez.js";
|
|
24
24
|
import"../chunk-a7k3cdby.js";
|
package/dist/index.js
CHANGED
|
@@ -41,20 +41,20 @@ 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-
|
|
54
|
+
import"./chunk-ccnf3w1b.js";
|
|
55
55
|
import"./chunk-7s5qcjkt.js";
|
|
56
56
|
import"./chunk-bf8bq8pc.js";
|
|
57
|
-
import"./chunk-
|
|
57
|
+
import"./chunk-b5g5w1hh.js";
|
|
58
58
|
import"./chunk-zzerxbrm.js";
|
|
59
59
|
import"./chunk-veja9rez.js";
|
|
60
60
|
import"./chunk-a7k3cdby.js";
|
package/dist/release.js
CHANGED
|
@@ -5,20 +5,20 @@ 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-
|
|
18
|
+
import"./chunk-ccnf3w1b.js";
|
|
19
19
|
import"./chunk-7s5qcjkt.js";
|
|
20
20
|
import"./chunk-bf8bq8pc.js";
|
|
21
|
-
import"./chunk-
|
|
21
|
+
import"./chunk-b5g5w1hh.js";
|
|
22
22
|
import"./chunk-zzerxbrm.js";
|
|
23
23
|
import"./chunk-veja9rez.js";
|
|
24
24
|
import"./chunk-a7k3cdby.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
|
}
|
package/dist/chunk-adq5n04j.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
route
|
|
4
|
-
} from "./chunk-7dp08yqh.js";
|
|
5
|
-
import"./chunk-tsrpjtkt.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-pnre7439.js";
|
|
13
|
-
import"./chunk-7s5qcjkt.js";
|
|
14
|
-
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-xt9exr2c.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
|
-
// ../../orm/routes.ts
|
|
27
|
-
route.get("users", "UserIndexOrmAction");
|
|
28
|
-
route.post("users", "UserStoreOrmAction");
|
|
29
|
-
route.get("users/{id}", "UserShowOrmAction");
|
|
30
|
-
route.get("product-categories", "CategoryIndexOrmAction");
|
|
31
|
-
route.post("product-categories", "CategoryStoreOrmAction");
|
|
32
|
-
route.get("product-categories/{id}", "CategoryShowOrmAction");
|
|
33
|
-
route.get("payments", "PaymentIndexOrmAction");
|
|
34
|
-
route.post("payments", "PaymentStoreOrmAction");
|
|
35
|
-
route.get("payments/{id}", "PaymentShowOrmAction");
|
|
36
|
-
route.get("drivers", "DriverIndexOrmAction");
|
|
37
|
-
route.post("drivers", "DriverStoreOrmAction");
|
|
38
|
-
route.get("drivers/{id}", "DriverShowOrmAction");
|
|
39
|
-
route.patch("drivers/{id}", "DriverUpdateOrmAction");
|
|
40
|
-
route.delete("drivers/{id}", "DriverDestroyOrmAction");
|
|
41
|
-
route.get("waitlist-products", "WaitlistProductIndexOrmAction");
|
|
42
|
-
route.post("waitlist-products", "WaitlistProductStoreOrmAction");
|
|
43
|
-
route.get("waitlist-products/{id}", "WaitlistProductShowOrmAction");
|
|
44
|
-
route.patch("waitlist-products/{id}", "WaitlistProductUpdateOrmAction");
|
|
45
|
-
route.delete("waitlist-products/{id}", "WaitlistProductDestroyOrmAction");
|
|
46
|
-
route.get("digital-deliveries", "DigitalDeliveryIndexOrmAction");
|
|
47
|
-
route.post("digital-deliveries", "DigitalDeliveryStoreOrmAction");
|
|
48
|
-
route.get("digital-deliveries/{id}", "DigitalDeliveryShowOrmAction");
|
|
49
|
-
route.patch("digital-deliveries/{id}", "DigitalDeliveryUpdateOrmAction");
|
|
50
|
-
route.delete("digital-deliveries/{id}", "DigitalDeliveryDestroyOrmAction");
|
|
51
|
-
route.get("product-manufacturers", "ManufacturerIndexOrmAction");
|
|
52
|
-
route.post("product-manufacturers", "ManufacturerStoreOrmAction");
|
|
53
|
-
route.get("product-manufacturers/{id}", "ManufacturerShowOrmAction");
|
|
54
|
-
route.get("shipping-zones", "ShippingZoneIndexOrmAction");
|
|
55
|
-
route.post("shipping-zones", "ShippingZoneStoreOrmAction");
|
|
56
|
-
route.get("shipping-zones/{id}", "ShippingZoneShowOrmAction");
|
|
57
|
-
route.patch("shipping-zones/{id}", "ShippingZoneUpdateOrmAction");
|
|
58
|
-
route.delete("shipping-zones/{id}", "ShippingZoneDestroyOrmAction");
|
|
59
|
-
route.get("customers", "CustomerIndexOrmAction");
|
|
60
|
-
route.post("customers", "CustomerStoreOrmAction");
|
|
61
|
-
route.get("customers/{id}", "CustomerShowOrmAction");
|
|
62
|
-
route.patch("customers/{id}", "CustomerUpdateOrmAction");
|
|
63
|
-
route.delete("customers/{id}", "CustomerDestroyOrmAction");
|
|
64
|
-
route.get("products", "ProductIndexOrmAction");
|
|
65
|
-
route.post("products", "ProductStoreOrmAction");
|
|
66
|
-
route.get("products/{id}", "ProductShowOrmAction");
|
|
67
|
-
route.get("product-variants", "ProductVariantIndexOrmAction");
|
|
68
|
-
route.post("product-variants", "ProductVariantStoreOrmAction");
|
|
69
|
-
route.get("product-variants/{id}", "ProductVariantShowOrmAction");
|
|
70
|
-
route.patch("product-variants/{id}", "ProductVariantUpdateOrmAction");
|
|
71
|
-
route.delete("product-variants/{id}", "ProductVariantDestroyOrmAction");
|
|
72
|
-
route.get("license-keys", "LicenseKeyIndexOrmAction");
|
|
73
|
-
route.post("license-keys", "LicenseKeyStoreOrmAction");
|
|
74
|
-
route.get("license-keys/{id}", "LicenseKeyShowOrmAction");
|
|
75
|
-
route.patch("license-keys/{id}", "LicenseKeyUpdateOrmAction");
|
|
76
|
-
route.delete("license-keys/{id}", "LicenseKeyDestroyOrmAction");
|
|
77
|
-
route.get("waitlist-restaurants", "WaitlistRestaurantIndexOrmAction");
|
|
78
|
-
route.post("waitlist-restaurants", "WaitlistRestaurantStoreOrmAction");
|
|
79
|
-
route.get("waitlist-restaurants/{id}", "WaitlistRestaurantShowOrmAction");
|
|
80
|
-
route.patch("waitlist-restaurants/{id}", "WaitlistRestaurantUpdateOrmAction");
|
|
81
|
-
route.delete("waitlist-restaurants/{id}", "WaitlistRestaurantDestroyOrmAction");
|
|
82
|
-
route.get("product-reviews", "ReviewIndexOrmAction");
|
|
83
|
-
route.post("product-reviews", "ReviewStoreOrmAction");
|
|
84
|
-
route.get("product-reviews/{id}", "ReviewShowOrmAction");
|
|
85
|
-
route.get("product-units", "ProductUnitIndexOrmAction");
|
|
86
|
-
route.post("product-units", "ProductUnitStoreOrmAction");
|
|
87
|
-
route.get("product-units/{id}", "ProductUnitShowOrmAction");
|
|
88
|
-
route.get("gift-cards", "GiftCardIndexOrmAction");
|
|
89
|
-
route.post("gift-cards", "GiftCardStoreOrmAction");
|
|
90
|
-
route.get("gift-cards/{id}", "GiftCardShowOrmAction");
|
|
91
|
-
route.get("orders", "OrderIndexOrmAction");
|
|
92
|
-
route.post("orders", "OrderStoreOrmAction");
|
|
93
|
-
route.get("orders/{id}", "OrderShowOrmAction");
|
|
94
|
-
route.get("coupons", "CouponIndexOrmAction");
|
|
95
|
-
route.post("coupons", "CouponStoreOrmAction");
|
|
96
|
-
route.get("coupons/{id}", "CouponShowOrmAction");
|
|
97
|
-
route.get("tax-rates", "TaxRateIndexOrmAction");
|
|
98
|
-
route.post("tax-rates", "TaxRateStoreOrmAction");
|
|
99
|
-
route.get("tax-rates/{id}", "TaxRateShowOrmAction");
|
|
100
|
-
route.patch("tax-rates/{id}", "TaxRateUpdateOrmAction");
|
|
101
|
-
route.delete("tax-rates/{id}", "TaxRateDestroyOrmAction");
|
|
102
|
-
route.get("transactions", "TransactionIndexOrmAction");
|
|
103
|
-
route.post("transactions", "TransactionStoreOrmAction");
|
|
104
|
-
route.get("transactions/{id}", "TransactionShowOrmAction");
|
|
105
|
-
route.get("loyalty-points", "LoyaltyPointIndexOrmAction");
|
|
106
|
-
route.post("loyalty-points", "LoyaltyPointStoreOrmAction");
|
|
107
|
-
route.get("loyalty-points/{id}", "LoyaltyPointShowOrmAction");
|
|
108
|
-
route.get("product-items", "ProductItemIndexOrmAction");
|
|
109
|
-
route.post("product-items", "ProductItemStoreOrmAction");
|
|
110
|
-
route.get("product-items/{id}", "ProductItemShowOrmAction");
|
|
111
|
-
route.get("loyalty-rewards", "LoyaltyRewardIndexOrmAction");
|
|
112
|
-
route.post("loyalty-rewards", "LoyaltyRewardStoreOrmAction");
|
|
113
|
-
route.get("loyalty-rewards/{id}", "LoyaltyRewardShowOrmAction");
|
|
114
|
-
route.get("shipping-methods", "ShippingMethodIndexOrmAction");
|
|
115
|
-
route.post("shipping-methods", "ShippingMethodStoreOrmAction");
|
|
116
|
-
route.get("shipping-methods/{id}", "ShippingMethodShowOrmAction");
|
|
117
|
-
route.patch("shipping-methods/{id}", "ShippingMethodUpdateOrmAction");
|
|
118
|
-
route.delete("shipping-methods/{id}", "ShippingMethodDestroyOrmAction");
|
|
119
|
-
route.get("shipping-rates", "ShippingRateIndexOrmAction");
|
|
120
|
-
route.post("shipping-rates", "ShippingRateStoreOrmAction");
|
|
121
|
-
route.get("shipping-rates/{id}", "ShippingRateShowOrmAction");
|
|
122
|
-
route.patch("shipping-rates/{id}", "ShippingRateUpdateOrmAction");
|
|
123
|
-
route.delete("shipping-rates/{id}", "ShippingRateDestroyOrmAction");
|
|
124
|
-
route.get("delivery-routes", "DeliveryRouteIndexOrmAction");
|
|
125
|
-
route.post("delivery-routes", "DeliveryRouteStoreOrmAction");
|
|
126
|
-
route.get("delivery-routes/{id}", "DeliveryRouteShowOrmAction");
|
|
127
|
-
route.patch("delivery-routes/{id}", "DeliveryRouteUpdateOrmAction");
|
|
128
|
-
route.delete("delivery-routes/{id}", "DeliveryRouteDestroyOrmAction");
|
|
129
|
-
route.get("requests", "storage/framework/actions/src/RequestIndexOrmAction.ts");
|
|
130
|
-
route.get("requests/{id}", "storage/framework/actions/src/RequestShowOrmAction.ts");
|
|
131
|
-
route.post("requests", "storage/framework/actions/src/RequestStoreOrmAction.ts");
|
|
132
|
-
route.patch("requests/{id}", "storage/framework/actions/src/RequestUpdateOrmAction.ts");
|
|
133
|
-
route.delete("requests/{id}", "storage/framework/actions/src/RequestDestroyOrmAction.ts");
|
package/dist/chunk-b82x4201.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
route
|
|
4
|
-
} from "./chunk-7dp08yqh.js";
|
|
5
|
-
import"./chunk-tsrpjtkt.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-pnre7439.js";
|
|
13
|
-
import"./chunk-7s5qcjkt.js";
|
|
14
|
-
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-xt9exr2c.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: "/queues" }, async () => {
|
|
64
|
-
route.get("/", "Actions/Queue/FetchQueuesAction");
|
|
65
|
-
});
|