@stacksjs/actions 0.70.13 → 0.70.14
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-hcfsx7e0.js → chunk-4en18v46.js} +17 -21
- package/dist/{chunk-6xeh1279.js → chunk-76zhb40c.js} +6 -7
- package/dist/{chunk-bh25aaf7.js → chunk-7s5qcjkt.js} +9 -17
- package/dist/{chunk-h46e5ha3.js → chunk-8fx9wfmd.js} +70 -71
- package/dist/{chunk-f48dj1dk.js → chunk-8pskhtbf.js} +3 -3
- package/dist/{chunk-hd6fdt5s.js → chunk-9fyrxvr0.js} +5 -7
- package/dist/{chunk-6vn0j49q.js → chunk-9vr8gng2.js} +12 -15
- package/dist/{chunk-ghp9nh6b.js → chunk-arh0hbb9.js} +25 -34
- package/dist/{chunk-a7k3cdby.js → chunk-at51p2va.js} +1 -1
- package/dist/{chunk-q3gghmwn.js → chunk-b63wvdr0.js} +19 -19
- package/dist/{chunk-xt9exr2c.js → chunk-dkcsykt8.js} +6 -25
- package/dist/{chunk-ad9b7jvj.js → chunk-dwkdjy0f.js} +6 -7
- package/dist/{chunk-f1cxwjkf.js → chunk-kthq483f.js} +5 -6
- package/dist/{chunk-030apzv1.js → chunk-nmb4zt0g.js} +9 -9
- package/dist/{chunk-8dsect0a.js → chunk-qkm8e752.js} +4 -5
- package/dist/{chunk-gdzs9jf4.js → chunk-ry125mbz.js} +6 -7
- package/dist/{chunk-9menqd9a.js → chunk-t5em30ak.js} +16 -24
- package/dist/{chunk-hcra1987.js → chunk-vd0p1aye.js} +9 -9
- package/dist/{chunk-kbw02372.js → chunk-ve9vn4xg.js} +33 -36
- package/dist/{chunk-0crtxf8d.js → chunk-xeyhm37p.js} +158 -21
- package/dist/chunk-zzerxbrm.js +107 -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 +1 -1
- package/dist/chunk-2m04vhea.js +0 -145
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-8pskhtbf.js";
|
|
5
|
+
import"./chunk-8fx9wfmd.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-qkm8e752.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-ve9vn4xg.js";
|
|
13
|
+
import"./chunk-7s5qcjkt.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-dkcsykt8.js";
|
|
16
|
+
import"./chunk-zzerxbrm.js";
|
|
17
|
+
import"./chunk-xeyhm37p.js";
|
|
18
|
+
import"./chunk-at51p2va.js";
|
|
18
19
|
import"./chunk-frw3va9v.js";
|
|
19
20
|
import"./chunk-saqpg5nd.js";
|
|
20
|
-
import"./chunk-2m04vhea.js";
|
|
21
21
|
import"./chunk-2dvnt46s.js";
|
|
22
22
|
import"./chunk-w6fdq4hk.js";
|
|
23
23
|
import"./chunk-wkwtsvym.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig,
|
|
3
3
|
parseUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7s5qcjkt.js";
|
|
5
5
|
import {
|
|
6
6
|
CONFIG_PREFIX_SEPARATOR
|
|
7
7
|
} from "./chunk-bf8bq8pc.js";
|
|
@@ -9,22 +9,21 @@ import {
|
|
|
9
9
|
HttpRequest,
|
|
10
10
|
HttpResponse,
|
|
11
11
|
NoOpLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-dkcsykt8.js";
|
|
13
|
+
import {
|
|
14
|
+
memoize
|
|
15
|
+
} from "./chunk-zzerxbrm.js";
|
|
13
16
|
import {
|
|
14
17
|
require_dist,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./chunk-0crtxf8d.js";
|
|
18
|
+
require_dist_cjs2 as require_dist_cjs3,
|
|
19
|
+
require_dist_cjs5 as require_dist_cjs4
|
|
20
|
+
} from "./chunk-xeyhm37p.js";
|
|
19
21
|
import {
|
|
20
|
-
require_dist_cjs1 as
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
require_dist_cjs1 as require_dist_cjs2
|
|
23
|
+
} from "./chunk-at51p2va.js";
|
|
22
24
|
import {
|
|
23
25
|
require_dist_cjs
|
|
24
26
|
} from "./chunk-saqpg5nd.js";
|
|
25
|
-
import {
|
|
26
|
-
require_dist_cjs as require_dist_cjs5
|
|
27
|
-
} from "./chunk-2m04vhea.js";
|
|
28
27
|
import {
|
|
29
28
|
__require,
|
|
30
29
|
__toESM
|
|
@@ -143,7 +142,7 @@ var getRecursionDetectionPlugin = (options) => ({
|
|
|
143
142
|
});
|
|
144
143
|
|
|
145
144
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
146
|
-
var import_core = __toESM(
|
|
145
|
+
var import_core = __toESM(require_dist_cjs3(), 1);
|
|
147
146
|
var DEFAULT_UA_APP_ID = undefined;
|
|
148
147
|
function isValidUserAgentAppId(appId) {
|
|
149
148
|
if (appId === undefined) {
|
|
@@ -949,7 +948,7 @@ var awsEndpointFunctions = {
|
|
|
949
948
|
};
|
|
950
949
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
951
950
|
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
952
|
-
var import_core2 = __toESM(
|
|
951
|
+
var import_core2 = __toESM(require_dist_cjs4(), 1);
|
|
953
952
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
954
953
|
async function checkFeatures(context, config, args) {
|
|
955
954
|
const request = args.request;
|
|
@@ -1155,10 +1154,16 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
1155
1154
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
1156
1155
|
default: false
|
|
1157
1156
|
};
|
|
1158
|
-
// ../../../../node_modules/@smithy/
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1161
|
-
|
|
1157
|
+
// ../../../../node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
1158
|
+
var import_types12 = __toESM(require_dist_cjs(), 1);
|
|
1159
|
+
var getSmithyContext = (context) => context[import_types12.SMITHY_CONTEXT_KEY] || (context[import_types12.SMITHY_CONTEXT_KEY] = {});
|
|
1160
|
+
// ../../../../node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
1161
|
+
var normalizeProvider2 = (input) => {
|
|
1162
|
+
if (typeof input === "function")
|
|
1163
|
+
return input;
|
|
1164
|
+
const promisified = Promise.resolve(input);
|
|
1165
|
+
return () => promisified;
|
|
1166
|
+
};
|
|
1162
1167
|
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
1163
1168
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
1164
1169
|
var REGION_INI_NAME = "region";
|
|
@@ -1277,8 +1282,7 @@ function getSerdePlugin(config2, serializer, deserializer) {
|
|
|
1277
1282
|
};
|
|
1278
1283
|
}
|
|
1279
1284
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
1280
|
-
var import_core3 = __toESM(
|
|
1281
|
-
var import_util_middleware3 = __toESM(require_dist_cjs2(), 1);
|
|
1285
|
+
var import_core3 = __toESM(require_dist_cjs3(), 1);
|
|
1282
1286
|
|
|
1283
1287
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
1284
1288
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1467,7 +1471,7 @@ var endpointMiddleware = ({ config: config2, instructions }) => {
|
|
|
1467
1471
|
if (authScheme) {
|
|
1468
1472
|
context["signing_region"] = authScheme.signingRegion;
|
|
1469
1473
|
context["signing_service"] = authScheme.signingName;
|
|
1470
|
-
const smithyContext =
|
|
1474
|
+
const smithyContext = getSmithyContext(context);
|
|
1471
1475
|
const httpAuthOption = smithyContext?.selectedHttpAuthScheme?.httpAuthOption;
|
|
1472
1476
|
if (httpAuthOption) {
|
|
1473
1477
|
httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
|
|
@@ -1504,18 +1508,17 @@ var getEndpointPlugin = (config2, instructions) => ({
|
|
|
1504
1508
|
});
|
|
1505
1509
|
|
|
1506
1510
|
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
1507
|
-
var import_util_middleware4 = __toESM(require_dist_cjs2(), 1);
|
|
1508
1511
|
var resolveEndpointConfig = (input) => {
|
|
1509
1512
|
const tls = input.tls ?? true;
|
|
1510
1513
|
const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
1511
|
-
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await
|
|
1514
|
+
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await normalizeProvider2(endpoint)()) : undefined;
|
|
1512
1515
|
const isCustomEndpoint = !!endpoint;
|
|
1513
1516
|
const resolvedConfig = Object.assign(input, {
|
|
1514
1517
|
endpoint: customEndpointProvider,
|
|
1515
1518
|
tls,
|
|
1516
1519
|
isCustomEndpoint,
|
|
1517
|
-
useDualstackEndpoint:
|
|
1518
|
-
useFipsEndpoint:
|
|
1520
|
+
useDualstackEndpoint: normalizeProvider2(useDualstackEndpoint ?? false),
|
|
1521
|
+
useFipsEndpoint: normalizeProvider2(useFipsEndpoint ?? false)
|
|
1519
1522
|
});
|
|
1520
1523
|
let configuredEndpointPromise = undefined;
|
|
1521
1524
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -1526,9 +1529,6 @@ var resolveEndpointConfig = (input) => {
|
|
|
1526
1529
|
};
|
|
1527
1530
|
return resolvedConfig;
|
|
1528
1531
|
};
|
|
1529
|
-
// ../../../../node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
1530
|
-
var import_util_middleware5 = __toESM(require_dist_cjs2(), 1);
|
|
1531
|
-
|
|
1532
1532
|
// ../../../../node_modules/@smithy/util-retry/dist-es/config.js
|
|
1533
1533
|
var RETRY_MODES;
|
|
1534
1534
|
(function(RETRY_MODES2) {
|
|
@@ -1820,14 +1820,14 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
1820
1820
|
};
|
|
1821
1821
|
var resolveRetryConfig = (input) => {
|
|
1822
1822
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
1823
|
-
const maxAttempts =
|
|
1823
|
+
const maxAttempts = normalizeProvider2(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
1824
1824
|
return Object.assign(input, {
|
|
1825
1825
|
maxAttempts,
|
|
1826
1826
|
retryStrategy: async () => {
|
|
1827
1827
|
if (retryStrategy) {
|
|
1828
1828
|
return retryStrategy;
|
|
1829
1829
|
}
|
|
1830
|
-
const retryMode = await
|
|
1830
|
+
const retryMode = await normalizeProvider2(_retryMode)();
|
|
1831
1831
|
if (retryMode === RETRY_MODES.ADAPTIVE) {
|
|
1832
1832
|
return new AdaptiveRetryStrategy(maxAttempts);
|
|
1833
1833
|
}
|
|
@@ -2024,7 +2024,7 @@ var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
|
2024
2024
|
default: DEFAULT_UA_APP_ID
|
|
2025
2025
|
};
|
|
2026
2026
|
// ../../../../node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
2027
|
-
var import_is_array_buffer = __toESM(
|
|
2027
|
+
var import_is_array_buffer = __toESM(require_dist_cjs2(), 1);
|
|
2028
2028
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
2029
2029
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
2030
2030
|
if (!import_is_array_buffer.isArrayBuffer(input)) {
|
|
@@ -2118,9 +2118,6 @@ var calculateBodyLength = (body) => {
|
|
|
2118
2118
|
}
|
|
2119
2119
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
2120
2120
|
};
|
|
2121
|
-
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2122
|
-
var import_property_provider = __toESM(require_dist_cjs5(), 1);
|
|
2123
|
-
|
|
2124
2121
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
2125
2122
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
2126
2123
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
@@ -2143,7 +2140,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
2143
2140
|
};
|
|
2144
2141
|
|
|
2145
2142
|
// ../../../../node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
2146
|
-
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) =>
|
|
2143
|
+
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
2147
2144
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
2148
2145
|
switch (mode?.toLowerCase()) {
|
|
2149
2146
|
case "auto":
|
|
@@ -2181,7 +2178,7 @@ var inferPhysicalRegion = async () => {
|
|
|
2181
2178
|
}
|
|
2182
2179
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
2183
2180
|
try {
|
|
2184
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-
|
|
2181
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import("./chunk-t5em30ak.js");
|
|
2185
2182
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
2186
2183
|
return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString();
|
|
2187
2184
|
} catch (e) {}
|
|
@@ -2229,4 +2226,4 @@ var toBase64 = (_input) => {
|
|
|
2229
2226
|
}
|
|
2230
2227
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
2231
2228
|
};
|
|
2232
|
-
export { resolveHostHeaderConfig, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, resolveUserAgentConfig, EndpointCache, customEndpointFunctions, resolveEndpoint, awsEndpointFunctions, getUserAgentPlugin, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig, getContentLengthPlugin, getSerdePlugin, getEndpointPlugin, resolveEndpointConfig, DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, NODE_RETRY_MODE_CONFIG_OPTIONS, getRetryPlugin, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, fromUtf8, toUtf8, Hash, calculateBodyLength, fromBase64, toBase64, resolveDefaultsModeConfig, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration };
|
|
2229
|
+
export { resolveHostHeaderConfig, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, resolveUserAgentConfig, EndpointCache, customEndpointFunctions, resolveEndpoint, awsEndpointFunctions, getUserAgentPlugin, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, getSmithyContext, normalizeProvider2 as normalizeProvider, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig, getContentLengthPlugin, getSerdePlugin, getEndpointPlugin, resolveEndpointConfig, DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, NODE_RETRY_MODE_CONFIG_OPTIONS, getRetryPlugin, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, fromUtf8, toUtf8, Hash, calculateBodyLength, fromBase64, toBase64, resolveDefaultsModeConfig, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration };
|
|
@@ -3,25 +3,22 @@ import {
|
|
|
3
3
|
require_dist_cjs1 as require_dist_cjs3,
|
|
4
4
|
require_dist_cjs3 as require_dist_cjs4,
|
|
5
5
|
require_dist_cjs5,
|
|
6
|
-
|
|
6
|
+
require_dist_cjs8 as require_dist_cjs6,
|
|
7
7
|
require_protocols
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-at51p2va.js";
|
|
9
9
|
import {
|
|
10
10
|
require_client
|
|
11
11
|
} from "./chunk-frw3va9v.js";
|
|
12
12
|
import {
|
|
13
13
|
require_dist_cjs
|
|
14
14
|
} from "./chunk-saqpg5nd.js";
|
|
15
|
-
import {
|
|
16
|
-
require_dist_cjs as require_dist_cjs7
|
|
17
|
-
} from "./chunk-2m04vhea.js";
|
|
18
15
|
import {
|
|
19
16
|
__commonJS,
|
|
20
17
|
__require
|
|
21
18
|
} from "./chunk-9v6qtbez.js";
|
|
22
19
|
|
|
23
20
|
// ../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js
|
|
24
|
-
var
|
|
21
|
+
var require_dist_cjs7 = __commonJS((exports, module) => {
|
|
25
22
|
var __defProp = Object.defineProperty;
|
|
26
23
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
27
24
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -117,7 +114,7 @@ var require_dist_cjs8 = __commonJS((exports, module) => {
|
|
|
117
114
|
});
|
|
118
115
|
|
|
119
116
|
// ../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js
|
|
120
|
-
var
|
|
117
|
+
var require_dist_cjs8 = __commonJS((exports, module) => {
|
|
121
118
|
var __defProp = Object.defineProperty;
|
|
122
119
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
123
120
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -153,7 +150,7 @@ var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
|
153
150
|
});
|
|
154
151
|
|
|
155
152
|
// ../../../../node_modules/@smithy/core/dist-cjs/index.js
|
|
156
|
-
var
|
|
153
|
+
var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
157
154
|
var __defProp = Object.defineProperty;
|
|
158
155
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
159
156
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -200,7 +197,7 @@ var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
|
200
197
|
module.exports = __toCommonJS(src_exports);
|
|
201
198
|
var import_types = require_dist_cjs();
|
|
202
199
|
var getSmithyContext = /* @__PURE__ */ __name((context) => context[import_types.SMITHY_CONTEXT_KEY] || (context[import_types.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
203
|
-
var import_util_middleware =
|
|
200
|
+
var import_util_middleware = require_dist_cjs8();
|
|
204
201
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
205
202
|
const map = /* @__PURE__ */ new Map;
|
|
206
203
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -260,7 +257,7 @@ var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
|
260
257
|
}), httpAuthSchemeEndpointRuleSetMiddlewareOptions);
|
|
261
258
|
}
|
|
262
259
|
}), "getHttpAuthSchemeEndpointRuleSetPlugin");
|
|
263
|
-
var import_middleware_serde =
|
|
260
|
+
var import_middleware_serde = require_dist_cjs7();
|
|
264
261
|
var httpAuthSchemeMiddlewareOptions = {
|
|
265
262
|
step: "serialize",
|
|
266
263
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -499,7 +496,7 @@ var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
|
499
496
|
});
|
|
500
497
|
|
|
501
498
|
// ../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js
|
|
502
|
-
var
|
|
499
|
+
var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
503
500
|
var __defProp = Object.defineProperty;
|
|
504
501
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
505
502
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -789,7 +786,7 @@ var require_dist_cjs11 = __commonJS((exports, module) => {
|
|
|
789
786
|
});
|
|
790
787
|
|
|
791
788
|
// ../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
792
|
-
var
|
|
789
|
+
var require_dist_cjs11 = __commonJS((exports, module) => {
|
|
793
790
|
var __defProp = Object.defineProperty;
|
|
794
791
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
795
792
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -873,7 +870,7 @@ var require_dist_cjs12 = __commonJS((exports, module) => {
|
|
|
873
870
|
withBaseException: () => withBaseException
|
|
874
871
|
});
|
|
875
872
|
module.exports = __toCommonJS(src_exports);
|
|
876
|
-
var import_middleware_stack =
|
|
873
|
+
var import_middleware_stack = require_dist_cjs10();
|
|
877
874
|
var Client = class {
|
|
878
875
|
constructor(config) {
|
|
879
876
|
this.config = config;
|
|
@@ -2470,6 +2467,146 @@ var require_tslib = __commonJS((exports, module) => {
|
|
|
2470
2467
|
});
|
|
2471
2468
|
});
|
|
2472
2469
|
|
|
2470
|
+
// ../../../../node_modules/@smithy/property-provider/dist-cjs/index.js
|
|
2471
|
+
var require_dist_cjs12 = __commonJS((exports, module) => {
|
|
2472
|
+
var __defProp = Object.defineProperty;
|
|
2473
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
2474
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
2475
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
2476
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
2477
|
+
var __export = (target, all) => {
|
|
2478
|
+
for (var name in all)
|
|
2479
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
2480
|
+
};
|
|
2481
|
+
var __copyProps = (to, from, except, desc) => {
|
|
2482
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
2483
|
+
for (let key of __getOwnPropNames(from))
|
|
2484
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
2485
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
2486
|
+
}
|
|
2487
|
+
return to;
|
|
2488
|
+
};
|
|
2489
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
2490
|
+
var src_exports = {};
|
|
2491
|
+
__export(src_exports, {
|
|
2492
|
+
CredentialsProviderError: () => CredentialsProviderError,
|
|
2493
|
+
ProviderError: () => ProviderError,
|
|
2494
|
+
TokenProviderError: () => TokenProviderError,
|
|
2495
|
+
chain: () => chain,
|
|
2496
|
+
fromStatic: () => fromStatic,
|
|
2497
|
+
memoize: () => memoize
|
|
2498
|
+
});
|
|
2499
|
+
module.exports = __toCommonJS(src_exports);
|
|
2500
|
+
var ProviderError = class _ProviderError extends Error {
|
|
2501
|
+
constructor(message, options = true) {
|
|
2502
|
+
let logger;
|
|
2503
|
+
let tryNextLink = true;
|
|
2504
|
+
if (typeof options === "boolean") {
|
|
2505
|
+
logger = undefined;
|
|
2506
|
+
tryNextLink = options;
|
|
2507
|
+
} else if (options != null && typeof options === "object") {
|
|
2508
|
+
logger = options.logger;
|
|
2509
|
+
tryNextLink = options.tryNextLink ?? true;
|
|
2510
|
+
}
|
|
2511
|
+
super(message);
|
|
2512
|
+
this.name = "ProviderError";
|
|
2513
|
+
this.tryNextLink = tryNextLink;
|
|
2514
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
2515
|
+
logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
|
|
2516
|
+
}
|
|
2517
|
+
static {
|
|
2518
|
+
__name(this, "ProviderError");
|
|
2519
|
+
}
|
|
2520
|
+
static from(error, options = true) {
|
|
2521
|
+
return Object.assign(new this(error.message, options), error);
|
|
2522
|
+
}
|
|
2523
|
+
};
|
|
2524
|
+
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
2525
|
+
constructor(message, options = true) {
|
|
2526
|
+
super(message, options);
|
|
2527
|
+
this.name = "CredentialsProviderError";
|
|
2528
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
2529
|
+
}
|
|
2530
|
+
static {
|
|
2531
|
+
__name(this, "CredentialsProviderError");
|
|
2532
|
+
}
|
|
2533
|
+
};
|
|
2534
|
+
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
2535
|
+
constructor(message, options = true) {
|
|
2536
|
+
super(message, options);
|
|
2537
|
+
this.name = "TokenProviderError";
|
|
2538
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
2539
|
+
}
|
|
2540
|
+
static {
|
|
2541
|
+
__name(this, "TokenProviderError");
|
|
2542
|
+
}
|
|
2543
|
+
};
|
|
2544
|
+
var chain = /* @__PURE__ */ __name((...providers) => async () => {
|
|
2545
|
+
if (providers.length === 0) {
|
|
2546
|
+
throw new ProviderError("No providers in chain");
|
|
2547
|
+
}
|
|
2548
|
+
let lastProviderError;
|
|
2549
|
+
for (const provider of providers) {
|
|
2550
|
+
try {
|
|
2551
|
+
const credentials = await provider();
|
|
2552
|
+
return credentials;
|
|
2553
|
+
} catch (err) {
|
|
2554
|
+
lastProviderError = err;
|
|
2555
|
+
if (err?.tryNextLink) {
|
|
2556
|
+
continue;
|
|
2557
|
+
}
|
|
2558
|
+
throw err;
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
throw lastProviderError;
|
|
2562
|
+
}, "chain");
|
|
2563
|
+
var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic");
|
|
2564
|
+
var memoize = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => {
|
|
2565
|
+
let resolved;
|
|
2566
|
+
let pending;
|
|
2567
|
+
let hasResult;
|
|
2568
|
+
let isConstant = false;
|
|
2569
|
+
const coalesceProvider = /* @__PURE__ */ __name(async () => {
|
|
2570
|
+
if (!pending) {
|
|
2571
|
+
pending = provider();
|
|
2572
|
+
}
|
|
2573
|
+
try {
|
|
2574
|
+
resolved = await pending;
|
|
2575
|
+
hasResult = true;
|
|
2576
|
+
isConstant = false;
|
|
2577
|
+
} finally {
|
|
2578
|
+
pending = undefined;
|
|
2579
|
+
}
|
|
2580
|
+
return resolved;
|
|
2581
|
+
}, "coalesceProvider");
|
|
2582
|
+
if (isExpired === undefined) {
|
|
2583
|
+
return async (options) => {
|
|
2584
|
+
if (!hasResult || options?.forceRefresh) {
|
|
2585
|
+
resolved = await coalesceProvider();
|
|
2586
|
+
}
|
|
2587
|
+
return resolved;
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
return async (options) => {
|
|
2591
|
+
if (!hasResult || options?.forceRefresh) {
|
|
2592
|
+
resolved = await coalesceProvider();
|
|
2593
|
+
}
|
|
2594
|
+
if (isConstant) {
|
|
2595
|
+
return resolved;
|
|
2596
|
+
}
|
|
2597
|
+
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
2598
|
+
isConstant = true;
|
|
2599
|
+
return resolved;
|
|
2600
|
+
}
|
|
2601
|
+
if (isExpired(resolved)) {
|
|
2602
|
+
await coalesceProvider();
|
|
2603
|
+
return resolved;
|
|
2604
|
+
}
|
|
2605
|
+
return resolved;
|
|
2606
|
+
};
|
|
2607
|
+
}, "memoize");
|
|
2608
|
+
});
|
|
2609
|
+
|
|
2473
2610
|
// ../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
2474
2611
|
var require_dist_cjs13 = __commonJS((exports, module) => {
|
|
2475
2612
|
var __defProp = Object.defineProperty;
|
|
@@ -2503,7 +2640,7 @@ var require_dist_cjs13 = __commonJS((exports, module) => {
|
|
|
2503
2640
|
prepareRequest: () => prepareRequest
|
|
2504
2641
|
});
|
|
2505
2642
|
module.exports = __toCommonJS(src_exports);
|
|
2506
|
-
var import_util_middleware =
|
|
2643
|
+
var import_util_middleware = require_dist_cjs8();
|
|
2507
2644
|
var import_util_utf84 = require_dist_cjs4();
|
|
2508
2645
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
2509
2646
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
@@ -3126,8 +3263,8 @@ var require_httpAuthSchemes = __commonJS((exports, module) => {
|
|
|
3126
3263
|
return signedRequest;
|
|
3127
3264
|
}
|
|
3128
3265
|
};
|
|
3129
|
-
var import_core =
|
|
3130
|
-
var import_property_provider =
|
|
3266
|
+
var import_core = require_dist_cjs9();
|
|
3267
|
+
var import_property_provider = require_dist_cjs12();
|
|
3131
3268
|
var resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {
|
|
3132
3269
|
config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);
|
|
3133
3270
|
return config;
|
|
@@ -3152,7 +3289,7 @@ var require_httpAuthSchemes = __commonJS((exports, module) => {
|
|
|
3152
3289
|
default: undefined
|
|
3153
3290
|
};
|
|
3154
3291
|
var import_client = require_client();
|
|
3155
|
-
var import_core2 =
|
|
3292
|
+
var import_core2 = require_dist_cjs9();
|
|
3156
3293
|
var import_signature_v4 = require_dist_cjs13();
|
|
3157
3294
|
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
3158
3295
|
let inputCredentials = config.credentials;
|
|
@@ -5025,7 +5162,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5025
5162
|
}
|
|
5026
5163
|
return val2;
|
|
5027
5164
|
}, "_toNum");
|
|
5028
|
-
var import_smithy_client =
|
|
5165
|
+
var import_smithy_client = require_dist_cjs11();
|
|
5029
5166
|
var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
|
5030
5167
|
if (value == null) {
|
|
5031
5168
|
return;
|
|
@@ -5035,7 +5172,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5035
5172
|
}
|
|
5036
5173
|
return (0, import_smithy_client.expectUnion)(value);
|
|
5037
5174
|
}, "awsExpectUnion");
|
|
5038
|
-
var import_smithy_client2 =
|
|
5175
|
+
var import_smithy_client2 = require_dist_cjs11();
|
|
5039
5176
|
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
5040
5177
|
var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5041
5178
|
if (encoded.length) {
|
|
@@ -5086,7 +5223,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5086
5223
|
return sanitizeErrorCode(data["__type"]);
|
|
5087
5224
|
}
|
|
5088
5225
|
}, "loadRestJsonErrorCode");
|
|
5089
|
-
var import_smithy_client3 =
|
|
5226
|
+
var import_smithy_client3 = require_dist_cjs11();
|
|
5090
5227
|
var import_fast_xml_parser = require_fxp();
|
|
5091
5228
|
var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5092
5229
|
if (encoded.length) {
|
|
@@ -5624,4 +5761,4 @@ var require_dist = __commonJS((exports) => {
|
|
|
5624
5761
|
}
|
|
5625
5762
|
});
|
|
5626
5763
|
|
|
5627
|
-
export {
|
|
5764
|
+
export { require_dist_cjs8 as require_dist_cjs, require_dist_cjs7 as require_dist_cjs1, require_dist_cjs9 as require_dist_cjs2, require_tslib, require_dist_cjs12 as require_dist_cjs3, require_dist_cjs11 as require_dist_cjs4, require_dist_cjs14 as require_dist_cjs5, require_dist };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/ProviderError.js
|
|
2
|
+
class ProviderError extends Error {
|
|
3
|
+
constructor(message, options = true) {
|
|
4
|
+
let logger;
|
|
5
|
+
let tryNextLink = true;
|
|
6
|
+
if (typeof options === "boolean") {
|
|
7
|
+
logger = undefined;
|
|
8
|
+
tryNextLink = options;
|
|
9
|
+
} else if (options != null && typeof options === "object") {
|
|
10
|
+
logger = options.logger;
|
|
11
|
+
tryNextLink = options.tryNextLink ?? true;
|
|
12
|
+
}
|
|
13
|
+
super(message);
|
|
14
|
+
this.name = "ProviderError";
|
|
15
|
+
this.tryNextLink = tryNextLink;
|
|
16
|
+
Object.setPrototypeOf(this, ProviderError.prototype);
|
|
17
|
+
logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
|
|
18
|
+
}
|
|
19
|
+
static from(error, options = true) {
|
|
20
|
+
return Object.assign(new this(error.message, options), error);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
|
|
25
|
+
class CredentialsProviderError extends ProviderError {
|
|
26
|
+
constructor(message, options = true) {
|
|
27
|
+
super(message, options);
|
|
28
|
+
this.name = "CredentialsProviderError";
|
|
29
|
+
Object.setPrototypeOf(this, CredentialsProviderError.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
|
|
33
|
+
class TokenProviderError extends ProviderError {
|
|
34
|
+
constructor(message, options = true) {
|
|
35
|
+
super(message, options);
|
|
36
|
+
this.name = "TokenProviderError";
|
|
37
|
+
Object.setPrototypeOf(this, TokenProviderError.prototype);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/chain.js
|
|
41
|
+
var chain = (...providers) => async () => {
|
|
42
|
+
if (providers.length === 0) {
|
|
43
|
+
throw new ProviderError("No providers in chain");
|
|
44
|
+
}
|
|
45
|
+
let lastProviderError;
|
|
46
|
+
for (const provider of providers) {
|
|
47
|
+
try {
|
|
48
|
+
const credentials = await provider();
|
|
49
|
+
return credentials;
|
|
50
|
+
} catch (err) {
|
|
51
|
+
lastProviderError = err;
|
|
52
|
+
if (err?.tryNextLink) {
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
throw err;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
throw lastProviderError;
|
|
59
|
+
};
|
|
60
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/fromStatic.js
|
|
61
|
+
var fromStatic = (staticValue) => () => Promise.resolve(staticValue);
|
|
62
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/memoize.js
|
|
63
|
+
var memoize = (provider, isExpired, requiresRefresh) => {
|
|
64
|
+
let resolved;
|
|
65
|
+
let pending;
|
|
66
|
+
let hasResult;
|
|
67
|
+
let isConstant = false;
|
|
68
|
+
const coalesceProvider = async () => {
|
|
69
|
+
if (!pending) {
|
|
70
|
+
pending = provider();
|
|
71
|
+
}
|
|
72
|
+
try {
|
|
73
|
+
resolved = await pending;
|
|
74
|
+
hasResult = true;
|
|
75
|
+
isConstant = false;
|
|
76
|
+
} finally {
|
|
77
|
+
pending = undefined;
|
|
78
|
+
}
|
|
79
|
+
return resolved;
|
|
80
|
+
};
|
|
81
|
+
if (isExpired === undefined) {
|
|
82
|
+
return async (options) => {
|
|
83
|
+
if (!hasResult || options?.forceRefresh) {
|
|
84
|
+
resolved = await coalesceProvider();
|
|
85
|
+
}
|
|
86
|
+
return resolved;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
return async (options) => {
|
|
90
|
+
if (!hasResult || options?.forceRefresh) {
|
|
91
|
+
resolved = await coalesceProvider();
|
|
92
|
+
}
|
|
93
|
+
if (isConstant) {
|
|
94
|
+
return resolved;
|
|
95
|
+
}
|
|
96
|
+
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
97
|
+
isConstant = true;
|
|
98
|
+
return resolved;
|
|
99
|
+
}
|
|
100
|
+
if (isExpired(resolved)) {
|
|
101
|
+
await coalesceProvider();
|
|
102
|
+
return resolved;
|
|
103
|
+
}
|
|
104
|
+
return resolved;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export { ProviderError, CredentialsProviderError, TokenProviderError, chain, fromStatic, memoize };
|
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-8fx9wfmd.js";
|
|
5
5
|
import"../chunk-mdj7x1vs.js";
|
|
6
6
|
import"../chunk-p0c688mg.js";
|
|
7
|
-
import"../chunk-
|
|
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-
|
|
11
|
+
import"../chunk-ve9vn4xg.js";
|
|
12
|
+
import"../chunk-7s5qcjkt.js";
|
|
13
13
|
import"../chunk-bf8bq8pc.js";
|
|
14
|
-
import"../chunk-
|
|
15
|
-
import"../chunk-
|
|
16
|
-
import"../chunk-
|
|
14
|
+
import"../chunk-dkcsykt8.js";
|
|
15
|
+
import"../chunk-zzerxbrm.js";
|
|
16
|
+
import"../chunk-xeyhm37p.js";
|
|
17
|
+
import"../chunk-at51p2va.js";
|
|
17
18
|
import"../chunk-frw3va9v.js";
|
|
18
19
|
import"../chunk-saqpg5nd.js";
|
|
19
|
-
import"../chunk-2m04vhea.js";
|
|
20
20
|
import"../chunk-2dvnt46s.js";
|
|
21
21
|
import"../chunk-w6fdq4hk.js";
|
|
22
22
|
import"../chunk-wkwtsvym.js";
|