@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
|
@@ -22,6 +22,8 @@ import {
|
|
|
22
22
|
calculateBodyLength,
|
|
23
23
|
createDefaultUserAgentProvider,
|
|
24
24
|
customEndpointFunctions,
|
|
25
|
+
fromBase64,
|
|
26
|
+
fromUtf8,
|
|
25
27
|
getAwsRegionExtensionConfiguration,
|
|
26
28
|
getContentLengthPlugin,
|
|
27
29
|
getEndpointPlugin,
|
|
@@ -40,18 +42,21 @@ import {
|
|
|
40
42
|
resolveHostHeaderConfig,
|
|
41
43
|
resolveRegionConfig,
|
|
42
44
|
resolveRetryConfig,
|
|
43
|
-
resolveUserAgentConfig
|
|
44
|
-
|
|
45
|
+
resolveUserAgentConfig,
|
|
46
|
+
toBase64,
|
|
47
|
+
toUtf8
|
|
48
|
+
} from "./chunk-ccnf3w1b.js";
|
|
45
49
|
import {
|
|
46
50
|
loadConfig,
|
|
47
51
|
parseUrl
|
|
48
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7s5qcjkt.js";
|
|
49
53
|
import {
|
|
50
54
|
ENV_PROFILE
|
|
51
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-bf8bq8pc.js";
|
|
52
56
|
import {
|
|
53
57
|
Client,
|
|
54
58
|
Command,
|
|
59
|
+
HttpRequest,
|
|
55
60
|
NoOpLogger,
|
|
56
61
|
NodeHttpHandler,
|
|
57
62
|
ServiceException,
|
|
@@ -62,13 +67,15 @@ import {
|
|
|
62
67
|
expectInt32,
|
|
63
68
|
expectString,
|
|
64
69
|
getDefaultExtensionConfiguration,
|
|
70
|
+
getHttpHandlerExtensionConfiguration,
|
|
65
71
|
limitedParseDouble,
|
|
66
72
|
loadConfigsForDefaultMode,
|
|
67
73
|
resolveDefaultRuntimeConfig,
|
|
74
|
+
resolveHttpHandlerRuntimeConfig,
|
|
68
75
|
streamCollector,
|
|
69
76
|
take,
|
|
70
77
|
withBaseException
|
|
71
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-b5g5w1hh.js";
|
|
72
79
|
import {
|
|
73
80
|
CredentialsProviderError,
|
|
74
81
|
chain,
|
|
@@ -76,14 +83,9 @@ import {
|
|
|
76
83
|
} from "./chunk-zzerxbrm.js";
|
|
77
84
|
import {
|
|
78
85
|
require_dist_cjs,
|
|
79
|
-
require_dist_cjs2
|
|
80
|
-
require_dist_cjs5 as
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import {
|
|
83
|
-
require_dist_cjs1 as require_dist_cjs2,
|
|
84
|
-
require_dist_cjs4 as require_dist_cjs3,
|
|
85
|
-
require_dist_cjs5 as require_dist_cjs4
|
|
86
|
-
} from "./chunk-90y2wmyz.js";
|
|
86
|
+
require_dist_cjs2,
|
|
87
|
+
require_dist_cjs5 as require_dist_cjs3
|
|
88
|
+
} from "./chunk-veja9rez.js";
|
|
87
89
|
import {
|
|
88
90
|
isString,
|
|
89
91
|
make
|
|
@@ -77250,7 +77252,7 @@ import { validateField, customValidate, type schema } from '@stacksjs/validation
|
|
|
77250
77252
|
`;
|
|
77251
77253
|
const entityGroups = {};
|
|
77252
77254
|
for (const attribute of attributes) {
|
|
77253
|
-
const entity = attribute.fieldArray?.entity === "enum" ? "string[]" : attribute.fieldArray?.entity;
|
|
77255
|
+
const entity = attribute.fieldArray?.entity === "enum" ? "string[] | string" : attribute.fieldArray?.entity;
|
|
77254
77256
|
let defaultValue = `''`;
|
|
77255
77257
|
if (attribute.fieldArray?.entity === "boolean")
|
|
77256
77258
|
defaultValue = false;
|
|
@@ -77363,7 +77365,7 @@ async function writeOrmActions(apiRoute, modelName, actionPath) {
|
|
|
77363
77365
|
let handleString = ``;
|
|
77364
77366
|
if (apiRoute === "index") {
|
|
77365
77367
|
handleString += `async handle() {
|
|
77366
|
-
const results = ${modelName}.all()
|
|
77368
|
+
const results = await ${modelName}.all()
|
|
77367
77369
|
|
|
77368
77370
|
return response.json(results)
|
|
77369
77371
|
},`;
|
|
@@ -91676,42 +91678,46 @@ import { HttpError as HttpError22 } from "@stacksjs/error-handling";
|
|
|
91676
91678
|
import { HttpError as HttpError23 } from "@stacksjs/error-handling";
|
|
91677
91679
|
// ../../orm/src/models/Post.ts
|
|
91678
91680
|
import { HttpError as HttpError24 } from "@stacksjs/error-handling";
|
|
91679
|
-
// ../../orm/src/models/
|
|
91681
|
+
// ../../orm/src/models/PrintDevice.ts
|
|
91680
91682
|
import { HttpError as HttpError25 } from "@stacksjs/error-handling";
|
|
91681
|
-
// ../../orm/src/models/
|
|
91683
|
+
// ../../orm/src/models/Product.ts
|
|
91682
91684
|
import { HttpError as HttpError26 } from "@stacksjs/error-handling";
|
|
91683
|
-
// ../../orm/src/models/
|
|
91685
|
+
// ../../orm/src/models/ProductItem.ts
|
|
91684
91686
|
import { HttpError as HttpError27 } from "@stacksjs/error-handling";
|
|
91685
|
-
// ../../orm/src/models/
|
|
91687
|
+
// ../../orm/src/models/ProductUnit.ts
|
|
91686
91688
|
import { HttpError as HttpError28 } from "@stacksjs/error-handling";
|
|
91687
|
-
// ../../orm/src/models/
|
|
91689
|
+
// ../../orm/src/models/ProductVariant.ts
|
|
91688
91690
|
import { HttpError as HttpError29 } from "@stacksjs/error-handling";
|
|
91689
|
-
// ../../orm/src/models/
|
|
91691
|
+
// ../../orm/src/models/Project.ts
|
|
91690
91692
|
import { HttpError as HttpError30 } from "@stacksjs/error-handling";
|
|
91691
|
-
// ../../orm/src/models/
|
|
91693
|
+
// ../../orm/src/models/Receipt.ts
|
|
91692
91694
|
import { HttpError as HttpError31 } from "@stacksjs/error-handling";
|
|
91693
|
-
// ../../orm/src/models/
|
|
91695
|
+
// ../../orm/src/models/Release.ts
|
|
91694
91696
|
import { HttpError as HttpError32 } from "@stacksjs/error-handling";
|
|
91695
|
-
// ../../orm/src/models/
|
|
91697
|
+
// ../../orm/src/models/Request.ts
|
|
91696
91698
|
import { HttpError as HttpError33 } from "@stacksjs/error-handling";
|
|
91697
|
-
// ../../orm/src/models/
|
|
91699
|
+
// ../../orm/src/models/Review.ts
|
|
91698
91700
|
import { HttpError as HttpError34 } from "@stacksjs/error-handling";
|
|
91699
|
-
// ../../orm/src/models/
|
|
91701
|
+
// ../../orm/src/models/ShippingMethod.ts
|
|
91700
91702
|
import { HttpError as HttpError35 } from "@stacksjs/error-handling";
|
|
91701
|
-
// ../../orm/src/models/
|
|
91703
|
+
// ../../orm/src/models/ShippingRate.ts
|
|
91702
91704
|
import { HttpError as HttpError36 } from "@stacksjs/error-handling";
|
|
91703
|
-
// ../../orm/src/models/
|
|
91705
|
+
// ../../orm/src/models/ShippingZone.ts
|
|
91704
91706
|
import { HttpError as HttpError37 } from "@stacksjs/error-handling";
|
|
91705
|
-
// ../../orm/src/models/
|
|
91707
|
+
// ../../orm/src/models/Subscriber.ts
|
|
91706
91708
|
import { HttpError as HttpError38 } from "@stacksjs/error-handling";
|
|
91707
|
-
// ../../orm/src/models/
|
|
91709
|
+
// ../../orm/src/models/SubscriberEmail.ts
|
|
91708
91710
|
import { HttpError as HttpError39 } from "@stacksjs/error-handling";
|
|
91709
|
-
// ../../orm/src/models/
|
|
91711
|
+
// ../../orm/src/models/Subscription.ts
|
|
91710
91712
|
import { HttpError as HttpError40 } from "@stacksjs/error-handling";
|
|
91711
|
-
// ../../orm/src/models/
|
|
91713
|
+
// ../../orm/src/models/TaxRate.ts
|
|
91712
91714
|
import { HttpError as HttpError41 } from "@stacksjs/error-handling";
|
|
91713
|
-
// ../../orm/src/models/
|
|
91715
|
+
// ../../orm/src/models/Team.ts
|
|
91714
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";
|
|
91715
91721
|
|
|
91716
91722
|
// ../payments/src/billable/charge.ts
|
|
91717
91723
|
import { log as log15 } from "@stacksjs/logging";
|
|
@@ -94737,8 +94743,6 @@ var NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = {
|
|
|
94737
94743
|
},
|
|
94738
94744
|
default: undefined
|
|
94739
94745
|
};
|
|
94740
|
-
// ../../../../node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/endpointDiscoveryMiddleware.js
|
|
94741
|
-
var import_protocol_http = __toESM(require_dist_cjs2(), 1);
|
|
94742
94746
|
// ../../../../node_modules/@aws-sdk/endpoint-cache/dist-es/EndpointCache.js
|
|
94743
94747
|
var import_lru_cache = __toESM(require_lru_cache2(), 1);
|
|
94744
94748
|
|
|
@@ -94806,10 +94810,10 @@ var resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) =
|
|
|
94806
94810
|
});
|
|
94807
94811
|
};
|
|
94808
94812
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
94809
|
-
var import_core6 = __toESM(
|
|
94813
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
94810
94814
|
|
|
94811
94815
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js
|
|
94812
|
-
var import_core2 = __toESM(
|
|
94816
|
+
var import_core2 = __toESM(require_dist_cjs3(), 1);
|
|
94813
94817
|
var defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
94814
94818
|
return {
|
|
94815
94819
|
operation: getSmithyContext(context).operation,
|
|
@@ -94865,8 +94869,7 @@ var commonParams = {
|
|
|
94865
94869
|
};
|
|
94866
94870
|
|
|
94867
94871
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js
|
|
94868
|
-
var import_core3 = __toESM(
|
|
94869
|
-
var import_protocol_http2 = __toESM(require_dist_cjs2(), 1);
|
|
94872
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
94870
94873
|
|
|
94871
94874
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
94872
94875
|
class DynamoDBServiceException extends ServiceException {
|
|
@@ -96364,7 +96367,7 @@ var buildHttpRpcRequest = async (context, headers, path11, resolvedHostname, bod
|
|
|
96364
96367
|
if (body !== undefined) {
|
|
96365
96368
|
contents.body = body;
|
|
96366
96369
|
}
|
|
96367
|
-
return new
|
|
96370
|
+
return new HttpRequest(contents);
|
|
96368
96371
|
};
|
|
96369
96372
|
function sharedHeaders(operation) {
|
|
96370
96373
|
return {
|
|
@@ -96487,16 +96490,16 @@ var package_default = {
|
|
|
96487
96490
|
};
|
|
96488
96491
|
|
|
96489
96492
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js
|
|
96490
|
-
var import_core5 = __toESM(
|
|
96493
|
+
var import_core5 = __toESM(require_dist_cjs3(), 1);
|
|
96491
96494
|
var import_account_id_endpoint = __toESM(require_account_id_endpoint(), 1);
|
|
96492
96495
|
|
|
96493
96496
|
// ../../../../node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
96494
96497
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
96495
96498
|
var remoteProvider = async (init2) => {
|
|
96496
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-
|
|
96499
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
96497
96500
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
96498
96501
|
init2.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
96499
|
-
const { fromHttp } = await import("./chunk-
|
|
96502
|
+
const { fromHttp } = await import("./chunk-q81mf99q.js");
|
|
96500
96503
|
return chain(fromHttp(init2), fromContainerMetadata(init2));
|
|
96501
96504
|
}
|
|
96502
96505
|
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
@@ -96542,19 +96545,19 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96542
96545
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
96543
96546
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init2.logger });
|
|
96544
96547
|
}
|
|
96545
|
-
const { fromSSO } = await import("./chunk-
|
|
96548
|
+
const { fromSSO } = await import("./chunk-w4bfpxhm.js");
|
|
96546
96549
|
return fromSSO(init2)();
|
|
96547
96550
|
}, async () => {
|
|
96548
96551
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
96549
|
-
const { fromIni } = await import("./chunk-
|
|
96552
|
+
const { fromIni } = await import("./chunk-mmskr8ar.js");
|
|
96550
96553
|
return fromIni(init2)();
|
|
96551
96554
|
}, async () => {
|
|
96552
96555
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
96553
|
-
const { fromProcess } = await import("./chunk-
|
|
96556
|
+
const { fromProcess } = await import("./chunk-76zhb40c.js");
|
|
96554
96557
|
return fromProcess(init2)();
|
|
96555
96558
|
}, async () => {
|
|
96556
96559
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
96557
|
-
const { fromTokenFile } = await import("./chunk-
|
|
96560
|
+
const { fromTokenFile } = await import("./chunk-psa9yf21.js");
|
|
96558
96561
|
return fromTokenFile(init2)();
|
|
96559
96562
|
}, async () => {
|
|
96560
96563
|
init2.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
@@ -96568,9 +96571,7 @@ var defaultProvider = (init2 = {}) => memoize(chain(async () => {
|
|
|
96568
96571
|
var credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;
|
|
96569
96572
|
var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
|
|
96570
96573
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js
|
|
96571
|
-
var import_core4 = __toESM(
|
|
96572
|
-
var import_util_base64 = __toESM(require_dist_cjs4(), 1);
|
|
96573
|
-
var import_util_utf8 = __toESM(require_dist_cjs3(), 1);
|
|
96574
|
+
var import_core4 = __toESM(require_dist_cjs3(), 1);
|
|
96574
96575
|
|
|
96575
96576
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js
|
|
96576
96577
|
var S3 = "required";
|
|
@@ -96653,8 +96654,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
96653
96654
|
var getRuntimeConfig = (config) => {
|
|
96654
96655
|
return {
|
|
96655
96656
|
apiVersion: "2012-08-10",
|
|
96656
|
-
base64Decoder: config?.base64Decoder ??
|
|
96657
|
-
base64Encoder: config?.base64Encoder ??
|
|
96657
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
96658
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
96658
96659
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
96659
96660
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
96660
96661
|
extensions: config?.extensions ?? [],
|
|
@@ -96669,8 +96670,8 @@ var getRuntimeConfig = (config) => {
|
|
|
96669
96670
|
logger: config?.logger ?? new NoOpLogger,
|
|
96670
96671
|
serviceId: config?.serviceId ?? "DynamoDB",
|
|
96671
96672
|
urlParser: config?.urlParser ?? parseUrl,
|
|
96672
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
96673
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
96673
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
96674
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
96674
96675
|
};
|
|
96675
96676
|
};
|
|
96676
96677
|
|
|
@@ -96707,9 +96708,6 @@ var getRuntimeConfig2 = (config) => {
|
|
|
96707
96708
|
};
|
|
96708
96709
|
};
|
|
96709
96710
|
|
|
96710
|
-
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js
|
|
96711
|
-
var import_protocol_http3 = __toESM(require_dist_cjs2(), 1);
|
|
96712
|
-
|
|
96713
96711
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
96714
96712
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
96715
96713
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
@@ -96751,9 +96749,9 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
96751
96749
|
|
|
96752
96750
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js
|
|
96753
96751
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
96754
|
-
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig),
|
|
96752
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
96755
96753
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
96756
|
-
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
96754
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
96757
96755
|
};
|
|
96758
96756
|
|
|
96759
96757
|
// ../../../../node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js
|
|
@@ -179231,9 +179229,9 @@ var invoices = (() => {
|
|
|
179231
179229
|
return { retrieve, list: list2, create: create2, delete: deleteInvoice, pay };
|
|
179232
179230
|
})();
|
|
179233
179231
|
// ../../orm/src/models/WaitlistProduct.ts
|
|
179234
|
-
import { HttpError as
|
|
179232
|
+
import { HttpError as HttpError45 } from "@stacksjs/error-handling";
|
|
179235
179233
|
// ../../orm/src/models/WaitlistRestaurant.ts
|
|
179236
|
-
import { HttpError as
|
|
179234
|
+
import { HttpError as HttpError46 } from "@stacksjs/error-handling";
|
|
179237
179235
|
// ../orm/src/db.ts
|
|
179238
179236
|
class DB {
|
|
179239
179237
|
static dbInstance = null;
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
getProfileName,
|
|
4
4
|
parseKnownFiles
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-mbvdyeyw.js";
|
|
5
|
+
} from "./chunk-bf8bq8pc.js";
|
|
7
6
|
import {
|
|
8
7
|
CredentialsProviderError,
|
|
9
8
|
chain
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
import {
|
|
12
11
|
require_client
|
|
13
12
|
} from "./chunk-frw3va9v.js";
|
|
13
|
+
import"./chunk-saqpg5nd.js";
|
|
14
14
|
import {
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
@@ -24,14 +24,14 @@ 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-
|
|
28
|
-
const { fromContainerMetadata } = await import("./chunk-
|
|
27
|
+
const { fromHttp } = await import("./chunk-q81mf99q.js");
|
|
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);
|
|
31
31
|
},
|
|
32
32
|
Ec2InstanceMetadata: async (options) => {
|
|
33
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
34
|
-
const { fromInstanceMetadata } = await import("./chunk-
|
|
34
|
+
const { fromInstanceMetadata } = await import("./chunk-t5em30ak.js");
|
|
35
35
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
36
36
|
},
|
|
37
37
|
Environment: async (options) => {
|
|
@@ -71,7 +71,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, visite
|
|
|
71
71
|
const profileData = profiles[profileName];
|
|
72
72
|
const { source_profile, region } = profileData;
|
|
73
73
|
if (!options.roleAssumer) {
|
|
74
|
-
const { getDefaultRoleAssumer } = await import("./chunk-
|
|
74
|
+
const { getDefaultRoleAssumer } = await import("./chunk-dvkgakrr.js");
|
|
75
75
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
76
76
|
...options.clientConfig,
|
|
77
77
|
credentialProviderLogger: options.logger,
|
|
@@ -117,7 +117,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
117
117
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
118
118
|
var import_client3 = __toESM(require_client(), 1);
|
|
119
119
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
120
|
-
var resolveProcessCredentials = async (options, profile) => import("./chunk-
|
|
120
|
+
var resolveProcessCredentials = async (options, profile) => import("./chunk-76zhb40c.js").then(({ fromProcess }) => fromProcess({
|
|
121
121
|
...options,
|
|
122
122
|
profile
|
|
123
123
|
})().then((creds) => import_client3.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
@@ -125,7 +125,7 @@ var resolveProcessCredentials = async (options, profile) => import("./chunk-8qsr
|
|
|
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,
|
|
@@ -159,7 +159,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
159
159
|
// ../../../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
160
160
|
var import_client6 = __toESM(require_client(), 1);
|
|
161
161
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
162
|
-
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-
|
|
162
|
+
var resolveWebIdentityCredentials = async (profile, options) => import("./chunk-psa9yf21.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
163
163
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
164
164
|
roleArn: profile.role_arn,
|
|
165
165
|
roleSessionName: profile.role_session_name,
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
calculateBodyLength,
|
|
15
15
|
createDefaultUserAgentProvider,
|
|
16
16
|
customEndpointFunctions,
|
|
17
|
+
fromBase64,
|
|
18
|
+
fromUtf8,
|
|
17
19
|
getAwsRegionExtensionConfiguration,
|
|
18
20
|
getContentLengthPlugin,
|
|
19
21
|
getEndpointPlugin,
|
|
@@ -32,13 +34,15 @@ import {
|
|
|
32
34
|
resolveHostHeaderConfig,
|
|
33
35
|
resolveRegionConfig,
|
|
34
36
|
resolveRetryConfig,
|
|
35
|
-
resolveUserAgentConfig
|
|
36
|
-
|
|
37
|
+
resolveUserAgentConfig,
|
|
38
|
+
toBase64,
|
|
39
|
+
toUtf8
|
|
40
|
+
} from "./chunk-ccnf3w1b.js";
|
|
37
41
|
import {
|
|
38
42
|
loadConfig,
|
|
39
43
|
parseUrl
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import"./chunk-
|
|
44
|
+
} from "./chunk-7s5qcjkt.js";
|
|
45
|
+
import"./chunk-bf8bq8pc.js";
|
|
42
46
|
import {
|
|
43
47
|
Client,
|
|
44
48
|
Command,
|
|
@@ -53,35 +57,33 @@ import {
|
|
|
53
57
|
expectObject,
|
|
54
58
|
expectString,
|
|
55
59
|
getDefaultExtensionConfiguration,
|
|
60
|
+
getHttpHandlerExtensionConfiguration,
|
|
56
61
|
isSerializableHeaderValue,
|
|
57
62
|
loadConfigsForDefaultMode,
|
|
58
63
|
map,
|
|
59
64
|
resolveDefaultRuntimeConfig,
|
|
65
|
+
resolveHttpHandlerRuntimeConfig,
|
|
60
66
|
streamCollector,
|
|
61
67
|
take,
|
|
62
68
|
withBaseException
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import"./chunk-mbvdyeyw.js";
|
|
69
|
+
} from "./chunk-b5g5w1hh.js";
|
|
65
70
|
import"./chunk-zzerxbrm.js";
|
|
66
71
|
import {
|
|
67
|
-
require_dist_cjs2 as
|
|
68
|
-
require_dist_cjs5
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import
|
|
71
|
-
require_dist_cjs1 as require_dist_cjs,
|
|
72
|
-
require_dist_cjs4 as require_dist_cjs2,
|
|
73
|
-
require_dist_cjs5 as require_dist_cjs3
|
|
74
|
-
} from "./chunk-90y2wmyz.js";
|
|
72
|
+
require_dist_cjs2 as require_dist_cjs,
|
|
73
|
+
require_dist_cjs5 as require_dist_cjs2
|
|
74
|
+
} from "./chunk-veja9rez.js";
|
|
75
|
+
import"./chunk-a7k3cdby.js";
|
|
75
76
|
import"./chunk-frw3va9v.js";
|
|
77
|
+
import"./chunk-saqpg5nd.js";
|
|
76
78
|
import {
|
|
77
79
|
__toESM
|
|
78
80
|
} from "./chunk-9v6qtbez.js";
|
|
79
81
|
|
|
80
82
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
|
|
81
|
-
var import_core5 = __toESM(
|
|
83
|
+
var import_core5 = __toESM(require_dist_cjs(), 1);
|
|
82
84
|
|
|
83
85
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js
|
|
84
|
-
var import_core = __toESM(
|
|
86
|
+
var import_core = __toESM(require_dist_cjs2(), 1);
|
|
85
87
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
86
88
|
return {
|
|
87
89
|
operation: getSmithyContext(context).operation,
|
|
@@ -255,13 +257,11 @@ var package_default = {
|
|
|
255
257
|
};
|
|
256
258
|
|
|
257
259
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js
|
|
258
|
-
var import_core4 = __toESM(
|
|
260
|
+
var import_core4 = __toESM(require_dist_cjs2(), 1);
|
|
259
261
|
|
|
260
262
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js
|
|
261
|
-
var import_core2 = __toESM(
|
|
262
|
-
var import_core3 = __toESM(
|
|
263
|
-
var import_util_base64 = __toESM(require_dist_cjs3(), 1);
|
|
264
|
-
var import_util_utf8 = __toESM(require_dist_cjs2(), 1);
|
|
263
|
+
var import_core2 = __toESM(require_dist_cjs2(), 1);
|
|
264
|
+
var import_core3 = __toESM(require_dist_cjs(), 1);
|
|
265
265
|
|
|
266
266
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js
|
|
267
267
|
var u = "required";
|
|
@@ -308,8 +308,8 @@ customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
308
308
|
var getRuntimeConfig = (config) => {
|
|
309
309
|
return {
|
|
310
310
|
apiVersion: "2019-06-10",
|
|
311
|
-
base64Decoder: config?.base64Decoder ??
|
|
312
|
-
base64Encoder: config?.base64Encoder ??
|
|
311
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
312
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
313
313
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
314
314
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
315
315
|
extensions: config?.extensions ?? [],
|
|
@@ -329,8 +329,8 @@ var getRuntimeConfig = (config) => {
|
|
|
329
329
|
logger: config?.logger ?? new NoOpLogger,
|
|
330
330
|
serviceId: config?.serviceId ?? "SSO",
|
|
331
331
|
urlParser: config?.urlParser ?? parseUrl,
|
|
332
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
333
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
332
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
333
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
|
|
@@ -364,9 +364,6 @@ var getRuntimeConfig2 = (config) => {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js
|
|
368
|
-
var import_protocol_http = __toESM(require_dist_cjs(), 1);
|
|
369
|
-
|
|
370
367
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
371
368
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
372
369
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
@@ -408,9 +405,9 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
408
405
|
|
|
409
406
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js
|
|
410
407
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
411
|
-
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig),
|
|
408
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
412
409
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
413
|
-
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
410
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
414
411
|
};
|
|
415
412
|
|
|
416
413
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js
|
|
@@ -523,8 +520,8 @@ var GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
|
|
|
523
520
|
});
|
|
524
521
|
|
|
525
522
|
// ../../../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js
|
|
526
|
-
var import_core6 = __toESM(
|
|
527
|
-
var import_core7 = __toESM(
|
|
523
|
+
var import_core6 = __toESM(require_dist_cjs2(), 1);
|
|
524
|
+
var import_core7 = __toESM(require_dist_cjs(), 1);
|
|
528
525
|
var se_GetRoleCredentialsCommand = async (input, context) => {
|
|
529
526
|
const b2 = import_core7.requestBuilder(input, context);
|
|
530
527
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -19,22 +19,23 @@ import {
|
|
|
19
19
|
require_dist_cjs8 as require_dist_cjs18,
|
|
20
20
|
require_dist_cjs9 as require_dist_cjs19,
|
|
21
21
|
require_package
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-56ar3gp7.js";
|
|
23
23
|
import {
|
|
24
24
|
require_dist_cjs,
|
|
25
|
-
require_dist_cjs1 as
|
|
25
|
+
require_dist_cjs1 as require_dist_cjs2,
|
|
26
26
|
require_dist_cjs2 as require_dist_cjs7,
|
|
27
27
|
require_dist_cjs4 as require_dist_cjs8,
|
|
28
28
|
require_dist_cjs5 as require_dist_cjs9,
|
|
29
29
|
require_tslib
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-veja9rez.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
require_dist_cjs4,
|
|
34
|
-
require_dist_cjs5,
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
32
|
+
require_dist_cjs as require_dist_cjs3,
|
|
33
|
+
require_dist_cjs3 as require_dist_cjs4,
|
|
34
|
+
require_dist_cjs4 as require_dist_cjs5,
|
|
35
|
+
require_dist_cjs6
|
|
36
|
+
} from "./chunk-a7k3cdby.js";
|
|
37
37
|
import"./chunk-frw3va9v.js";
|
|
38
|
+
import"./chunk-saqpg5nd.js";
|
|
38
39
|
import {
|
|
39
40
|
__commonJS
|
|
40
41
|
} from "./chunk-9v6qtbez.js";
|
|
@@ -310,7 +311,7 @@ var require_sso_oidc = __commonJS((exports, module) => {
|
|
|
310
311
|
};
|
|
311
312
|
var import_runtimeConfig = require_runtimeConfig();
|
|
312
313
|
var import_region_config_resolver = require_dist_cjs27();
|
|
313
|
-
var import_protocol_http =
|
|
314
|
+
var import_protocol_http = require_dist_cjs3();
|
|
314
315
|
var import_smithy_client = require_dist_cjs8();
|
|
315
316
|
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
316
317
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
@@ -392,7 +393,7 @@ var require_sso_oidc = __commonJS((exports, module) => {
|
|
|
392
393
|
};
|
|
393
394
|
var import_smithy_client7 = require_dist_cjs8();
|
|
394
395
|
var import_middleware_endpoint2 = require_dist_cjs20();
|
|
395
|
-
var import_middleware_serde =
|
|
396
|
+
var import_middleware_serde = require_dist_cjs2();
|
|
396
397
|
var import_smithy_client6 = require_dist_cjs8();
|
|
397
398
|
var import_smithy_client4 = require_dist_cjs8();
|
|
398
399
|
var import_smithy_client3 = require_dist_cjs8();
|
|
@@ -20,7 +20,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
20
20
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
21
21
|
let { roleAssumerWithWebIdentity } = init;
|
|
22
22
|
if (!roleAssumerWithWebIdentity) {
|
|
23
|
-
const { getDefaultRoleAssumerWithWebIdentity } = await import("./chunk-
|
|
23
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import("./chunk-dvkgakrr.js");
|
|
24
24
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
25
25
|
...init.clientConfig,
|
|
26
26
|
credentialProviderLogger: init.logger,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
HttpRequest,
|
|
3
4
|
NodeHttpHandler,
|
|
4
5
|
parseRfc3339DateTime
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-mbvdyeyw.js";
|
|
6
|
+
} from "./chunk-b5g5w1hh.js";
|
|
7
7
|
import {
|
|
8
8
|
CredentialsProviderError
|
|
9
9
|
} from "./chunk-zzerxbrm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./chunk-90y2wmyz.js";
|
|
11
|
+
require_dist_cjs8 as require_dist_cjs
|
|
12
|
+
} from "./chunk-a7k3cdby.js";
|
|
14
13
|
import {
|
|
15
14
|
require_client
|
|
16
15
|
} from "./chunk-frw3va9v.js";
|
|
16
|
+
import"./chunk-saqpg5nd.js";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./chunk-9v6qtbez.js";
|
|
@@ -57,10 +57,9 @@ var checkUrl = (url, logger) => {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
// ../../../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
|
|
60
|
-
var
|
|
61
|
-
var import_util_stream = __toESM(require_dist_cjs2(), 1);
|
|
60
|
+
var import_util_stream = __toESM(require_dist_cjs(), 1);
|
|
62
61
|
function createGetRequest(url) {
|
|
63
|
-
return new
|
|
62
|
+
return new HttpRequest({
|
|
64
63
|
protocol: url.protocol,
|
|
65
64
|
hostname: url.hostname,
|
|
66
65
|
port: Number(url.port),
|