drizzle-kit 0.28.1-6f7d345 → 0.28.1-7f37974
Sign up to get free protection for your applications and to get access to all the features.
- package/api.js +2490 -1621
- package/api.mjs +2490 -1621
- package/bin.cjs +51 -49
- package/package.json +1 -1
package/bin.cjs
CHANGED
@@ -8959,7 +8959,7 @@ var init_utils2 = __esm({
|
|
8959
8959
|
assertOrmCoreVersion = async () => {
|
8960
8960
|
try {
|
8961
8961
|
const { compatibilityVersion } = await import("drizzle-orm/version");
|
8962
|
-
await import("drizzle-orm/
|
8962
|
+
await import("drizzle-orm/_relations");
|
8963
8963
|
if (compatibilityVersion && compatibilityVersion === requiredApiVersion) {
|
8964
8964
|
return;
|
8965
8965
|
}
|
@@ -71324,9 +71324,9 @@ var require_dist_cjs46 = __commonJS({
|
|
71324
71324
|
}
|
71325
71325
|
});
|
71326
71326
|
|
71327
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71327
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js
|
71328
71328
|
var require_httpAuthSchemeProvider3 = __commonJS({
|
71329
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71329
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
71330
71330
|
"use strict";
|
71331
71331
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
71332
71332
|
exports2.resolveHttpAuthSchemeConfig = exports2.defaultSSOOIDCHttpAuthSchemeProvider = exports2.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0;
|
@@ -71393,9 +71393,9 @@ var require_httpAuthSchemeProvider3 = __commonJS({
|
|
71393
71393
|
}
|
71394
71394
|
});
|
71395
71395
|
|
71396
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71396
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
|
71397
71397
|
var require_package4 = __commonJS({
|
71398
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71398
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"(exports2, module2) {
|
71399
71399
|
module2.exports = {
|
71400
71400
|
name: "@aws-sdk/client-sso-oidc",
|
71401
71401
|
description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
@@ -71499,9 +71499,9 @@ var require_package4 = __commonJS({
|
|
71499
71499
|
}
|
71500
71500
|
});
|
71501
71501
|
|
71502
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71502
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js
|
71503
71503
|
var require_ruleset2 = __commonJS({
|
71504
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71504
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/ruleset.js"(exports2) {
|
71505
71505
|
"use strict";
|
71506
71506
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
71507
71507
|
exports2.ruleSet = void 0;
|
@@ -71534,9 +71534,9 @@ var require_ruleset2 = __commonJS({
|
|
71534
71534
|
}
|
71535
71535
|
});
|
71536
71536
|
|
71537
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71537
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js
|
71538
71538
|
var require_endpointResolver2 = __commonJS({
|
71539
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71539
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
71540
71540
|
"use strict";
|
71541
71541
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
71542
71542
|
exports2.defaultEndpointResolver = void 0;
|
@@ -71554,9 +71554,9 @@ var require_endpointResolver2 = __commonJS({
|
|
71554
71554
|
}
|
71555
71555
|
});
|
71556
71556
|
|
71557
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71557
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js
|
71558
71558
|
var require_runtimeConfig_shared2 = __commonJS({
|
71559
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71559
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
71560
71560
|
"use strict";
|
71561
71561
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
71562
71562
|
exports2.getRuntimeConfig = void 0;
|
@@ -71600,9 +71600,9 @@ var require_runtimeConfig_shared2 = __commonJS({
|
|
71600
71600
|
}
|
71601
71601
|
});
|
71602
71602
|
|
71603
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71603
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js
|
71604
71604
|
var require_runtimeConfig2 = __commonJS({
|
71605
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71605
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js"(exports2) {
|
71606
71606
|
"use strict";
|
71607
71607
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
71608
71608
|
exports2.getRuntimeConfig = void 0;
|
@@ -71653,9 +71653,9 @@ var require_runtimeConfig2 = __commonJS({
|
|
71653
71653
|
}
|
71654
71654
|
});
|
71655
71655
|
|
71656
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71656
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js
|
71657
71657
|
var require_dist_cjs47 = __commonJS({
|
71658
|
-
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.
|
71658
|
+
"../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js"(exports2, module2) {
|
71659
71659
|
"use strict";
|
71660
71660
|
var __defProp3 = Object.defineProperty;
|
71661
71661
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
@@ -73001,9 +73001,9 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
73001
73001
|
}
|
73002
73002
|
});
|
73003
73003
|
|
73004
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js
|
73004
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js
|
73005
73005
|
var require_httpAuthSchemeProvider4 = __commonJS({
|
73006
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
73006
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js"(exports2) {
|
73007
73007
|
"use strict";
|
73008
73008
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73009
73009
|
exports2.resolveHttpAuthSchemeConfig = exports2.resolveStsAuthConfig = exports2.defaultSTSHttpAuthSchemeProvider = exports2.defaultSTSHttpAuthSchemeParametersProvider = void 0;
|
@@ -73073,9 +73073,9 @@ var require_httpAuthSchemeProvider4 = __commonJS({
|
|
73073
73073
|
}
|
73074
73074
|
});
|
73075
73075
|
|
73076
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js
|
73076
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js
|
73077
73077
|
var require_EndpointParameters = __commonJS({
|
73078
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports2) {
|
73078
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports2) {
|
73079
73079
|
"use strict";
|
73080
73080
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73081
73081
|
exports2.commonParams = exports2.resolveClientEndpointParameters = void 0;
|
@@ -73099,9 +73099,9 @@ var require_EndpointParameters = __commonJS({
|
|
73099
73099
|
}
|
73100
73100
|
});
|
73101
73101
|
|
73102
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json
|
73102
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/package.json
|
73103
73103
|
var require_package5 = __commonJS({
|
73104
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json"(exports2, module2) {
|
73104
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/package.json"(exports2, module2) {
|
73105
73105
|
module2.exports = {
|
73106
73106
|
name: "@aws-sdk/client-sts",
|
73107
73107
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
@@ -73207,9 +73207,9 @@ var require_package5 = __commonJS({
|
|
73207
73207
|
}
|
73208
73208
|
});
|
73209
73209
|
|
73210
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js
|
73210
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js
|
73211
73211
|
var require_ruleset3 = __commonJS({
|
73212
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports2) {
|
73212
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports2) {
|
73213
73213
|
"use strict";
|
73214
73214
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73215
73215
|
exports2.ruleSet = void 0;
|
@@ -73254,9 +73254,9 @@ var require_ruleset3 = __commonJS({
|
|
73254
73254
|
}
|
73255
73255
|
});
|
73256
73256
|
|
73257
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js
|
73257
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js
|
73258
73258
|
var require_endpointResolver3 = __commonJS({
|
73259
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
73259
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports2) {
|
73260
73260
|
"use strict";
|
73261
73261
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73262
73262
|
exports2.defaultEndpointResolver = void 0;
|
@@ -73274,9 +73274,9 @@ var require_endpointResolver3 = __commonJS({
|
|
73274
73274
|
}
|
73275
73275
|
});
|
73276
73276
|
|
73277
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js
|
73277
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js
|
73278
73278
|
var require_runtimeConfig_shared3 = __commonJS({
|
73279
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
73279
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports2) {
|
73280
73280
|
"use strict";
|
73281
73281
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73282
73282
|
exports2.getRuntimeConfig = void 0;
|
@@ -73320,9 +73320,9 @@ var require_runtimeConfig_shared3 = __commonJS({
|
|
73320
73320
|
}
|
73321
73321
|
});
|
73322
73322
|
|
73323
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
|
73323
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
|
73324
73324
|
var require_runtimeConfig3 = __commonJS({
|
73325
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports2) {
|
73325
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports2) {
|
73326
73326
|
"use strict";
|
73327
73327
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73328
73328
|
exports2.getRuntimeConfig = void 0;
|
@@ -73386,9 +73386,9 @@ var require_runtimeConfig3 = __commonJS({
|
|
73386
73386
|
}
|
73387
73387
|
});
|
73388
73388
|
|
73389
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js
|
73389
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js
|
73390
73390
|
var require_httpAuthExtensionConfiguration = __commonJS({
|
73391
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js"(exports2) {
|
73391
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthExtensionConfiguration.js"(exports2) {
|
73392
73392
|
"use strict";
|
73393
73393
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73394
73394
|
exports2.resolveHttpAuthRuntimeConfig = exports2.getHttpAuthExtensionConfiguration = void 0;
|
@@ -73434,9 +73434,9 @@ var require_httpAuthExtensionConfiguration = __commonJS({
|
|
73434
73434
|
}
|
73435
73435
|
});
|
73436
73436
|
|
73437
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js
|
73437
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js
|
73438
73438
|
var require_runtimeExtensions = __commonJS({
|
73439
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports2) {
|
73439
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js"(exports2) {
|
73440
73440
|
"use strict";
|
73441
73441
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73442
73442
|
exports2.resolveRuntimeExtensions = void 0;
|
@@ -73465,9 +73465,9 @@ var require_runtimeExtensions = __commonJS({
|
|
73465
73465
|
}
|
73466
73466
|
});
|
73467
73467
|
|
73468
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js
|
73468
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js
|
73469
73469
|
var require_STSClient = __commonJS({
|
73470
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports2) {
|
73470
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js"(exports2) {
|
73471
73471
|
"use strict";
|
73472
73472
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
73473
73473
|
exports2.STSClient = exports2.__Client = void 0;
|
@@ -73529,9 +73529,9 @@ var require_STSClient = __commonJS({
|
|
73529
73529
|
}
|
73530
73530
|
});
|
73531
73531
|
|
73532
|
-
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js
|
73532
|
+
// ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js
|
73533
73533
|
var require_dist_cjs50 = __commonJS({
|
73534
|
-
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports2, module2) {
|
73534
|
+
"../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports2, module2) {
|
73535
73535
|
"use strict";
|
73536
73536
|
var __defProp3 = Object.defineProperty;
|
73537
73537
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
@@ -76870,6 +76870,7 @@ var init_connections = __esm({
|
|
76870
76870
|
rdsClient,
|
76871
76871
|
new PgDialect2(),
|
76872
76872
|
void 0,
|
76873
|
+
void 0,
|
76873
76874
|
config,
|
76874
76875
|
void 0
|
76875
76876
|
);
|
@@ -81235,7 +81236,7 @@ var init_introspect_pg = __esm({
|
|
81235
81236
|
"src/introspect-pg.ts"() {
|
81236
81237
|
"use strict";
|
81237
81238
|
import_drizzle_orm7 = require("drizzle-orm");
|
81238
|
-
import_relations = require("drizzle-orm/
|
81239
|
+
import_relations = require("drizzle-orm/_relations");
|
81239
81240
|
init_utils3();
|
81240
81241
|
import_casing4 = require("drizzle-orm/casing");
|
81241
81242
|
init_global();
|
@@ -82494,7 +82495,7 @@ var init_introspect = __esm({
|
|
82494
82495
|
});
|
82495
82496
|
});
|
82496
82497
|
const uniqueImports = [...new Set(imports)];
|
82497
|
-
const importsTs = `import { relations } from "drizzle-orm/
|
82498
|
+
const importsTs = `import { relations } from "drizzle-orm/_relations";
|
82498
82499
|
import { ${uniqueImports.join(
|
82499
82500
|
", "
|
82500
82501
|
)} } from "./schema";
|
@@ -85858,7 +85859,7 @@ __export(studio_exports, {
|
|
85858
85859
|
prepareSQLiteSchema: () => prepareSQLiteSchema,
|
85859
85860
|
prepareServer: () => prepareServer
|
85860
85861
|
});
|
85861
|
-
var import_crypto9, import_drizzle_orm8, import_mysql_core3, import_pg_core3, import_sqlite_core3, import_fs12, import_node_https2, preparePgSchema, prepareMySqlSchema, prepareSQLiteSchema, getCustomDefaults, drizzleForPostgres, drizzleForMySQL, drizzleForSQLite, drizzleForLibSQL, extractRelations, init, proxySchema, defaultsSchema, schema4, jsonStringify, prepareServer;
|
85862
|
+
var import_crypto9, import_drizzle_orm8, import_relations2, import_mysql_core3, import_pg_core3, import_sqlite_core3, import_fs12, import_node_https2, preparePgSchema, prepareMySqlSchema, prepareSQLiteSchema, getCustomDefaults, drizzleForPostgres, drizzleForMySQL, drizzleForSQLite, drizzleForLibSQL, extractRelations, init, proxySchema, defaultsSchema, schema4, jsonStringify, prepareServer;
|
85862
85863
|
var init_studio2 = __esm({
|
85863
85864
|
"src/serializer/studio.ts"() {
|
85864
85865
|
"use strict";
|
@@ -85866,6 +85867,7 @@ var init_studio2 = __esm({
|
|
85866
85867
|
init_esm();
|
85867
85868
|
import_crypto9 = require("crypto");
|
85868
85869
|
import_drizzle_orm8 = require("drizzle-orm");
|
85870
|
+
import_relations2 = require("drizzle-orm/_relations");
|
85869
85871
|
import_mysql_core3 = require("drizzle-orm/mysql-core");
|
85870
85872
|
import_pg_core3 = require("drizzle-orm/pg-core");
|
85871
85873
|
import_sqlite_core3 = require("drizzle-orm/sqlite-core");
|
@@ -85899,7 +85901,7 @@ var init_studio2 = __esm({
|
|
85899
85901
|
pgSchema2[schema5] = pgSchema2[schema5] || {};
|
85900
85902
|
pgSchema2[schema5][k] = t2;
|
85901
85903
|
}
|
85902
|
-
if ((0, import_drizzle_orm8.is)(t2,
|
85904
|
+
if ((0, import_drizzle_orm8.is)(t2, import_relations2.Relations)) {
|
85903
85905
|
relations4[k] = t2;
|
85904
85906
|
}
|
85905
85907
|
});
|
@@ -85928,7 +85930,7 @@ var init_studio2 = __esm({
|
|
85928
85930
|
const schema5 = (0, import_mysql_core3.getTableConfig)(t2).schema || "public";
|
85929
85931
|
mysqlSchema3[schema5][k] = t2;
|
85930
85932
|
}
|
85931
|
-
if ((0, import_drizzle_orm8.is)(t2,
|
85933
|
+
if ((0, import_drizzle_orm8.is)(t2, import_relations2.Relations)) {
|
85932
85934
|
relations4[k] = t2;
|
85933
85935
|
}
|
85934
85936
|
});
|
@@ -85957,7 +85959,7 @@ var init_studio2 = __esm({
|
|
85957
85959
|
const schema5 = "public";
|
85958
85960
|
sqliteSchema2[schema5][k] = t2;
|
85959
85961
|
}
|
85960
|
-
if ((0, import_drizzle_orm8.is)(t2,
|
85962
|
+
if ((0, import_drizzle_orm8.is)(t2, import_relations2.Relations)) {
|
85961
85963
|
relations4[k] = t2;
|
85962
85964
|
}
|
85963
85965
|
});
|
@@ -86090,7 +86092,7 @@ var init_studio2 = __esm({
|
|
86090
86092
|
extractRelations = (tablesConfig) => {
|
86091
86093
|
const relations4 = Object.values(tablesConfig.tables).map(
|
86092
86094
|
(it) => Object.entries(it.relations).map(([name, relation]) => {
|
86093
|
-
const normalized = (0,
|
86095
|
+
const normalized = (0, import_relations2.normalizeRelation)(
|
86094
86096
|
tablesConfig.tables,
|
86095
86097
|
tablesConfig.tableNamesMap,
|
86096
86098
|
relation
|
@@ -86111,9 +86113,9 @@ var init_studio2 = __esm({
|
|
86111
86113
|
throw new Error("unsupported dialect");
|
86112
86114
|
}
|
86113
86115
|
let type;
|
86114
|
-
if ((0, import_drizzle_orm8.is)(rel,
|
86116
|
+
if ((0, import_drizzle_orm8.is)(rel, import_relations2.One)) {
|
86115
86117
|
type = "one";
|
86116
|
-
} else if ((0, import_drizzle_orm8.is)(rel,
|
86118
|
+
} else if ((0, import_drizzle_orm8.is)(rel, import_relations2.Many)) {
|
86117
86119
|
type = "many";
|
86118
86120
|
} else {
|
86119
86121
|
throw new Error("unsupported relation type");
|
@@ -86218,9 +86220,9 @@ var init_studio2 = __esm({
|
|
86218
86220
|
),
|
86219
86221
|
...relations4
|
86220
86222
|
};
|
86221
|
-
const relationsConfig = (0,
|
86223
|
+
const relationsConfig = (0, import_relations2.extractTablesRelationalConfig)(
|
86222
86224
|
relationalSchema,
|
86223
|
-
|
86225
|
+
import_relations2.createTableRelationsHelpers
|
86224
86226
|
);
|
86225
86227
|
app.post("/", zValidator("json", schema4), async (c) => {
|
86226
86228
|
const body = c.req.valid("json");
|
@@ -89644,7 +89646,7 @@ init_utils2();
|
|
89644
89646
|
var version2 = async () => {
|
89645
89647
|
const { npmVersion } = await ormCoreVersions();
|
89646
89648
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
89647
|
-
const envVersion = "0.28.1-
|
89649
|
+
const envVersion = "0.28.1-7f37974";
|
89648
89650
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
89649
89651
|
const versions = `drizzle-kit: ${kitVersion}
|
89650
89652
|
${ormVersion}`;
|