arkormx 2.0.11 → 2.1.1
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/README.md +5 -5
- package/dist/cli.mjs +113 -16
- package/dist/{index-BJDRQWuc.d.mts → index-BQyFSgj_.d.cts} +22 -3
- package/dist/{index-D2xzn3OX.d.cts → index-RvyusnXP.d.mts} +22 -3
- package/dist/index.cjs +153 -17
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +153 -18
- package/dist/relationship/index.cjs +1 -1
- package/dist/relationship/index.d.cts +1 -1
- package/dist/relationship/index.d.mts +1 -1
- package/dist/relationship/index.mjs +1 -1
- package/dist/{relationship-RG9V2vgd.mjs → relationship-BBMs-1iK.mjs} +4 -1
- package/dist/{relationship-CG78rqWf.cjs → relationship-BRQjsdj3.cjs} +9 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_relationship = require('./relationship-
|
|
2
|
+
const require_relationship = require('./relationship-BRQjsdj3.cjs');
|
|
3
|
+
let pg = require("pg");
|
|
3
4
|
let node_path = require("node:path");
|
|
4
5
|
let module$1 = require("module");
|
|
5
6
|
let fs = require("fs");
|
|
@@ -62,6 +63,25 @@ var KyselyDatabaseAdapter = class KyselyDatabaseAdapter {
|
|
|
62
63
|
rawWhere: true
|
|
63
64
|
};
|
|
64
65
|
}
|
|
66
|
+
resolveConfiguredDatabaseName(connectionString) {
|
|
67
|
+
const parsed = new URL(connectionString);
|
|
68
|
+
const database = decodeURIComponent(parsed.pathname.replace(/^\/+/, ""));
|
|
69
|
+
if (database.length === 0) throw new require_relationship.ArkormException("Unable to resolve the configured database name from the Kysely connection string.");
|
|
70
|
+
return database;
|
|
71
|
+
}
|
|
72
|
+
createMaintenanceConnectionString(connectionString) {
|
|
73
|
+
const parsed = new URL(connectionString);
|
|
74
|
+
parsed.pathname = "/postgres";
|
|
75
|
+
parsed.searchParams.delete("schema");
|
|
76
|
+
parsed.searchParams.delete("options");
|
|
77
|
+
return parsed.toString();
|
|
78
|
+
}
|
|
79
|
+
getMissingDatabaseNameFromError(error) {
|
|
80
|
+
const candidate = error;
|
|
81
|
+
const matched = (typeof candidate?.message === "string" ? candidate.message : "").match(/database "([^"]+)" does not exist/i);
|
|
82
|
+
if (candidate?.code === "3D000" && matched?.[1]) return matched[1];
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
65
85
|
quoteIdentifier(value) {
|
|
66
86
|
return `"${value.replace(/"/g, "\"\"")}"`;
|
|
67
87
|
}
|
|
@@ -1075,6 +1095,27 @@ var KyselyDatabaseAdapter = class KyselyDatabaseAdapter {
|
|
|
1075
1095
|
await trxAdapter.resetDatabaseInternal(trxAdapter.db);
|
|
1076
1096
|
});
|
|
1077
1097
|
}
|
|
1098
|
+
async createDatabaseFromError(error) {
|
|
1099
|
+
const database = this.getMissingDatabaseNameFromError(error);
|
|
1100
|
+
if (!database) return null;
|
|
1101
|
+
const connectionString = process.env.DATABASE_URL;
|
|
1102
|
+
if (!connectionString) throw new require_relationship.ArkormException("Unable to create the missing database because DATABASE_URL is not available.");
|
|
1103
|
+
if (this.resolveConfiguredDatabaseName(connectionString) !== database) throw new require_relationship.ArkormException(`Unable to create database [${database}] because it does not match the database configured by DATABASE_URL.`);
|
|
1104
|
+
const pool = new pg.Pool({ connectionString: this.createMaintenanceConnectionString(connectionString) });
|
|
1105
|
+
try {
|
|
1106
|
+
if ((await pool.query("select exists(select 1 from pg_database where datname = $1) as exists", [database])).rows[0]?.exists === true) return {
|
|
1107
|
+
database,
|
|
1108
|
+
created: false
|
|
1109
|
+
};
|
|
1110
|
+
await pool.query(`create database ${this.quoteIdentifier(database)}`);
|
|
1111
|
+
return {
|
|
1112
|
+
database,
|
|
1113
|
+
created: true
|
|
1114
|
+
};
|
|
1115
|
+
} finally {
|
|
1116
|
+
await pool.end();
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1078
1119
|
async readAppliedMigrationsState() {
|
|
1079
1120
|
await this.ensureMigrationStateTables();
|
|
1080
1121
|
const migrationsResult = await kysely.sql`
|
|
@@ -2732,6 +2773,7 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2732
2773
|
{--state-file= : Path to applied migration state file}
|
|
2733
2774
|
{--schema= : Explicit prisma schema path}
|
|
2734
2775
|
{--migration-name= : Name for prisma migrate dev}
|
|
2776
|
+
{--create-database : Create the configured database without prompting}
|
|
2735
2777
|
`;
|
|
2736
2778
|
this.description = "Apply migration classes to schema.prisma and run Prisma workflow";
|
|
2737
2779
|
}
|
|
@@ -2753,19 +2795,21 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2753
2795
|
const classes = this.option("all") || !this.argument("name") ? await this.loadAllMigrations(migrationsDir) : (await this.loadNamedMigration(migrationsDir, this.argument("name"))).filter(([cls]) => cls !== void 0);
|
|
2754
2796
|
if (classes.length === 0) return void this.error("Error: No migration classes found to run.");
|
|
2755
2797
|
const stateFilePath = require_relationship.resolveMigrationStateFilePath(process.cwd(), this.option("state-file") ? String(this.option("state-file")) : void 0);
|
|
2756
|
-
let appliedState = await require_relationship.readAppliedMigrationsStateFromStore(this.app.getConfig("adapter"), stateFilePath);
|
|
2757
2798
|
const adapter = this.app.getConfig("adapter");
|
|
2758
2799
|
const useDatabaseMigrations = require_relationship.supportsDatabaseMigrationExecution(adapter);
|
|
2759
2800
|
const persistedFeatures = require_relationship.resolvePersistedMetadataFeatures(this.app.getConfig("features"));
|
|
2801
|
+
const appliedState = await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.readAppliedMigrationsStateFromStore(adapter, stateFilePath));
|
|
2802
|
+
if (!appliedState.ok) return;
|
|
2803
|
+
let appliedMigrationState = appliedState.value;
|
|
2760
2804
|
const skipped = [];
|
|
2761
2805
|
const changed = [];
|
|
2762
2806
|
const pending = classes.filter(([migrationClass, file]) => {
|
|
2763
|
-
if (!
|
|
2807
|
+
if (!appliedMigrationState) return true;
|
|
2764
2808
|
const identity = require_relationship.buildMigrationIdentity(file, migrationClass.name);
|
|
2765
2809
|
const checksum = require_relationship.computeMigrationChecksum(file);
|
|
2766
|
-
const alreadyApplied = require_relationship.isMigrationApplied(
|
|
2810
|
+
const alreadyApplied = require_relationship.isMigrationApplied(appliedMigrationState, identity, checksum);
|
|
2767
2811
|
if (alreadyApplied) skipped.push([migrationClass, file]);
|
|
2768
|
-
else if (require_relationship.findAppliedMigration(
|
|
2812
|
+
else if (require_relationship.findAppliedMigration(appliedMigrationState, identity)) changed.push([migrationClass, file]);
|
|
2769
2813
|
return !alreadyApplied;
|
|
2770
2814
|
});
|
|
2771
2815
|
skipped.forEach(([migrationClass, file]) => {
|
|
@@ -2775,8 +2819,8 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2775
2819
|
this.success(this.app.splitLogger("Changed", `${file} (${migrationClass.name})`));
|
|
2776
2820
|
});
|
|
2777
2821
|
if (pending.length === 0) {
|
|
2778
|
-
if (
|
|
2779
|
-
await require_relationship.syncPersistedColumnMappingsFromState(process.cwd(),
|
|
2822
|
+
if (appliedMigrationState) try {
|
|
2823
|
+
await require_relationship.syncPersistedColumnMappingsFromState(process.cwd(), appliedMigrationState, await this.loadAllMigrations(migrationsDir), persistedFeatures);
|
|
2780
2824
|
} catch (error) {
|
|
2781
2825
|
this.error(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
2782
2826
|
return;
|
|
@@ -2792,7 +2836,7 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2792
2836
|
}
|
|
2793
2837
|
for (const [MigrationClassItem] of pending) {
|
|
2794
2838
|
if (useDatabaseMigrations) {
|
|
2795
|
-
await require_relationship.applyMigrationToDatabase(adapter, MigrationClassItem);
|
|
2839
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.applyMigrationToDatabase(adapter, MigrationClassItem))).ok) return;
|
|
2796
2840
|
continue;
|
|
2797
2841
|
}
|
|
2798
2842
|
await require_relationship.applyMigrationToPrismaSchema(MigrationClassItem, {
|
|
@@ -2800,11 +2844,11 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2800
2844
|
write: true
|
|
2801
2845
|
});
|
|
2802
2846
|
}
|
|
2803
|
-
if (
|
|
2847
|
+
if (appliedMigrationState) {
|
|
2804
2848
|
const runAppliedIds = [];
|
|
2805
2849
|
for (const [migrationClass, file] of pending) {
|
|
2806
2850
|
const identity = require_relationship.buildMigrationIdentity(file, migrationClass.name);
|
|
2807
|
-
|
|
2851
|
+
appliedMigrationState = require_relationship.markMigrationApplied(appliedMigrationState, {
|
|
2808
2852
|
id: identity,
|
|
2809
2853
|
file,
|
|
2810
2854
|
className: migrationClass.name,
|
|
@@ -2813,14 +2857,14 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2813
2857
|
});
|
|
2814
2858
|
runAppliedIds.push(identity);
|
|
2815
2859
|
}
|
|
2816
|
-
|
|
2860
|
+
appliedMigrationState = require_relationship.markMigrationRun(appliedMigrationState, {
|
|
2817
2861
|
id: require_relationship.buildMigrationRunId(),
|
|
2818
2862
|
appliedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2819
2863
|
migrationIds: runAppliedIds
|
|
2820
2864
|
});
|
|
2821
|
-
await require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath,
|
|
2865
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath, appliedMigrationState))).ok) return;
|
|
2822
2866
|
try {
|
|
2823
|
-
await require_relationship.syncPersistedColumnMappingsFromState(process.cwd(),
|
|
2867
|
+
await require_relationship.syncPersistedColumnMappingsFromState(process.cwd(), appliedMigrationState, await this.loadAllMigrations(migrationsDir), persistedFeatures);
|
|
2824
2868
|
} catch (error) {
|
|
2825
2869
|
this.error(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
2826
2870
|
return;
|
|
@@ -2885,6 +2929,51 @@ var MigrateCommand = class extends _h3ravel_musket.Command {
|
|
|
2885
2929
|
return candidate[MIGRATION_BRAND] === true || typeof prototype?.up === "function" && typeof prototype?.down === "function";
|
|
2886
2930
|
});
|
|
2887
2931
|
}
|
|
2932
|
+
async runWithDatabaseCreationRetry(adapter, callback) {
|
|
2933
|
+
if (!require_relationship.supportsDatabaseCreation(adapter)) return {
|
|
2934
|
+
ok: true,
|
|
2935
|
+
value: await callback()
|
|
2936
|
+
};
|
|
2937
|
+
try {
|
|
2938
|
+
return {
|
|
2939
|
+
ok: true,
|
|
2940
|
+
value: await callback()
|
|
2941
|
+
};
|
|
2942
|
+
} catch (error) {
|
|
2943
|
+
const database = this.getMissingDatabaseName(error);
|
|
2944
|
+
if (!database) throw error;
|
|
2945
|
+
if (!await this.shouldCreateDatabase(database)) {
|
|
2946
|
+
this.error(`Error: Configured database [${database}] does not exist.`);
|
|
2947
|
+
return { ok: false };
|
|
2948
|
+
}
|
|
2949
|
+
let created;
|
|
2950
|
+
try {
|
|
2951
|
+
created = await adapter.createDatabaseFromError(error);
|
|
2952
|
+
} catch (creationError) {
|
|
2953
|
+
this.error(`Error: ${creationError instanceof Error ? creationError.message : String(creationError)}`);
|
|
2954
|
+
return { ok: false };
|
|
2955
|
+
}
|
|
2956
|
+
if (!created) {
|
|
2957
|
+
this.error(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
2958
|
+
return { ok: false };
|
|
2959
|
+
}
|
|
2960
|
+
if (created.created) this.success(`Created database: ${created.database ?? database}`);
|
|
2961
|
+
return {
|
|
2962
|
+
ok: true,
|
|
2963
|
+
value: await callback()
|
|
2964
|
+
};
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
getMissingDatabaseName(error) {
|
|
2968
|
+
const candidate = error;
|
|
2969
|
+
const matched = (typeof candidate?.message === "string" ? candidate.message : "").match(/database "([^"]+)" does not exist/i);
|
|
2970
|
+
if (candidate?.code === "3D000" && matched?.[1]) return matched[1];
|
|
2971
|
+
}
|
|
2972
|
+
async shouldCreateDatabase(database) {
|
|
2973
|
+
if (this.option("create-database")) return true;
|
|
2974
|
+
if (this.isNonInteractive()) return false;
|
|
2975
|
+
return await this.confirm(`Configured database${database ? ` [${database}]` : ""} does not exist. Create it before running migrations?`, true);
|
|
2976
|
+
}
|
|
2888
2977
|
};
|
|
2889
2978
|
|
|
2890
2979
|
//#endregion
|
|
@@ -2897,6 +2986,7 @@ var MigrateFreshCommand = class extends _h3ravel_musket.Command {
|
|
|
2897
2986
|
{--skip-migrate : Skip prisma database sync}
|
|
2898
2987
|
{--state-file= : Path to applied migration state file}
|
|
2899
2988
|
{--schema= : Explicit prisma schema path}
|
|
2989
|
+
{--create-database : Create the configured database without prompting}
|
|
2900
2990
|
`;
|
|
2901
2991
|
this.description = "Reset the database and rerun all migration classes";
|
|
2902
2992
|
}
|
|
@@ -2923,16 +3013,16 @@ var MigrateFreshCommand = class extends _h3ravel_musket.Command {
|
|
|
2923
3013
|
this.error("Error: Your current database adapter does not support database reset.");
|
|
2924
3014
|
return;
|
|
2925
3015
|
}
|
|
2926
|
-
await adapter.resetDatabase();
|
|
3016
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => adapter.resetDatabase())).ok) return;
|
|
2927
3017
|
} else {
|
|
2928
3018
|
if (!(0, node_fs.existsSync)(schemaPath)) return void this.error(`Error: Prisma schema file not found: ${this.app.formatPathForLog(schemaPath)}`);
|
|
2929
3019
|
(0, node_fs.writeFileSync)(schemaPath, require_relationship.stripPrismaSchemaModelsAndEnums((0, node_fs.readFileSync)(schemaPath, "utf-8")));
|
|
2930
3020
|
}
|
|
2931
3021
|
let appliedState = require_relationship.createEmptyAppliedMigrationsState();
|
|
2932
|
-
await require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath, appliedState);
|
|
3022
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath, appliedState))).ok) return;
|
|
2933
3023
|
for (const [MigrationClassItem] of migrations) {
|
|
2934
3024
|
if (useDatabaseMigrations) {
|
|
2935
|
-
await require_relationship.applyMigrationToDatabase(adapter, MigrationClassItem);
|
|
3025
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.applyMigrationToDatabase(adapter, MigrationClassItem))).ok) return;
|
|
2936
3026
|
continue;
|
|
2937
3027
|
}
|
|
2938
3028
|
await require_relationship.applyMigrationToPrismaSchema(MigrationClassItem, {
|
|
@@ -2952,7 +3042,7 @@ var MigrateFreshCommand = class extends _h3ravel_musket.Command {
|
|
|
2952
3042
|
appliedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2953
3043
|
migrationIds: appliedState.migrations.map((migration) => migration.id)
|
|
2954
3044
|
});
|
|
2955
|
-
await require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath, appliedState);
|
|
3045
|
+
if (!(await this.runWithDatabaseCreationRetry(adapter, () => require_relationship.writeAppliedMigrationsStateToStore(adapter, stateFilePath, appliedState))).ok) return;
|
|
2956
3046
|
try {
|
|
2957
3047
|
await require_relationship.syncPersistedColumnMappingsFromState(process.cwd(), appliedState, migrations, persistedFeatures);
|
|
2958
3048
|
} catch (error) {
|
|
@@ -2985,6 +3075,51 @@ var MigrateFreshCommand = class extends _h3ravel_musket.Command {
|
|
|
2985
3075
|
return candidate[MIGRATION_BRAND] === true || typeof prototype?.up === "function" && typeof prototype?.down === "function";
|
|
2986
3076
|
});
|
|
2987
3077
|
}
|
|
3078
|
+
async runWithDatabaseCreationRetry(adapter, callback) {
|
|
3079
|
+
if (!require_relationship.supportsDatabaseCreation(adapter)) return {
|
|
3080
|
+
ok: true,
|
|
3081
|
+
value: await callback()
|
|
3082
|
+
};
|
|
3083
|
+
try {
|
|
3084
|
+
return {
|
|
3085
|
+
ok: true,
|
|
3086
|
+
value: await callback()
|
|
3087
|
+
};
|
|
3088
|
+
} catch (error) {
|
|
3089
|
+
const database = this.getMissingDatabaseName(error);
|
|
3090
|
+
if (!database) throw error;
|
|
3091
|
+
if (!await this.shouldCreateDatabase(database)) {
|
|
3092
|
+
this.error(`Error: Configured database [${database}] does not exist.`);
|
|
3093
|
+
return { ok: false };
|
|
3094
|
+
}
|
|
3095
|
+
let created;
|
|
3096
|
+
try {
|
|
3097
|
+
created = await adapter.createDatabaseFromError(error);
|
|
3098
|
+
} catch (creationError) {
|
|
3099
|
+
this.error(`Error: ${creationError instanceof Error ? creationError.message : String(creationError)}`);
|
|
3100
|
+
return { ok: false };
|
|
3101
|
+
}
|
|
3102
|
+
if (!created) {
|
|
3103
|
+
this.error(`Error: ${error instanceof Error ? error.message : String(error)}`);
|
|
3104
|
+
return { ok: false };
|
|
3105
|
+
}
|
|
3106
|
+
if (created.created) this.success(`Created database: ${created.database ?? database}`);
|
|
3107
|
+
return {
|
|
3108
|
+
ok: true,
|
|
3109
|
+
value: await callback()
|
|
3110
|
+
};
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
getMissingDatabaseName(error) {
|
|
3114
|
+
const candidate = error;
|
|
3115
|
+
const matched = (typeof candidate?.message === "string" ? candidate.message : "").match(/database "([^"]+)" does not exist/i);
|
|
3116
|
+
if (candidate?.code === "3D000" && matched?.[1]) return matched[1];
|
|
3117
|
+
}
|
|
3118
|
+
async shouldCreateDatabase(database) {
|
|
3119
|
+
if (this.option("create-database")) return true;
|
|
3120
|
+
if (this.isNonInteractive()) return false;
|
|
3121
|
+
return await this.confirm(`Configured database${database ? ` [${database}]` : ""} does not exist. Create it before running migrations?`, true);
|
|
3122
|
+
}
|
|
2988
3123
|
};
|
|
2989
3124
|
|
|
2990
3125
|
//#endregion
|
|
@@ -7339,6 +7474,7 @@ exports.runArkormTransaction = require_relationship.runArkormTransaction;
|
|
|
7339
7474
|
exports.runMigrationWithPrisma = require_relationship.runMigrationWithPrisma;
|
|
7340
7475
|
exports.runPrismaCommand = require_relationship.runPrismaCommand;
|
|
7341
7476
|
exports.stripPrismaSchemaModelsAndEnums = require_relationship.stripPrismaSchemaModelsAndEnums;
|
|
7477
|
+
exports.supportsDatabaseCreation = require_relationship.supportsDatabaseCreation;
|
|
7342
7478
|
exports.supportsDatabaseMigrationExecution = require_relationship.supportsDatabaseMigrationExecution;
|
|
7343
7479
|
exports.supportsDatabaseMigrationState = require_relationship.supportsDatabaseMigrationState;
|
|
7344
7480
|
exports.supportsDatabaseReset = require_relationship.supportsDatabaseReset;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as deriveInverseRelationAlias, $a as
|
|
2
|
-
export { AdapterBindableModel, AdapterCapabilities, AdapterCapability, AdapterInspectionRequest, AdapterModelFieldStructure, AdapterModelIntrospectionOptions, AdapterModelStructure, AdapterQueryInspection, AdapterQueryOperation, AdapterTransactionContext, AggregateOperation, AggregateSelection, AggregateSpec, AppliedMigrationEntry, AppliedMigrationRun, AppliedMigrationsState, ArkormBootContext, ArkormCollection, ArkormConfig, ArkormDebugEvent, ArkormDebugHandler, ArkormErrorContext, ArkormException, Attribute, AttributeCreateInput, AttributeOptions, AttributeOrderBy, AttributeQuerySchema, AttributeSchemaDelegate, AttributeSelect, AttributeUpdateInput, AttributeWhereInput, BelongsToManyRelationMetadata, BelongsToRelationMetadata, CastDefinition, CastHandler, CastMap, CastType, CliApp, ClientResolver, ColumnMap, DB, DatabaseAdapter, DatabasePrimitive, DatabaseRow, DatabaseRows, DatabaseTableOptions, DatabaseTablePersistedMetadataOptions, DatabaseValue, DelegateCreateData, DelegateFindManyArgs, DelegateForModelSchema, DelegateInclude, DelegateOrderBy, DelegateRow, DelegateRows, DelegateSelect, DelegateUniqueWhere, DelegateUpdateArgs, DelegateUpdateData, DelegateWhere, DeleteManySpec, DeleteSpec, EagerLoadConstraint, EagerLoadMap, EnumBuilder, FactoryAttributes, FactoryDefinition, FactoryModelConstructor, FactoryState, ForeignKeyBuilder, GenerateMigrationOptions, GeneratedMigrationFile, GetUserConfig, GlobalScope, HasManyRelationMetadata, HasManyThroughRelationMetadata, HasOneRelationMetadata, HasOneThroughRelationMetadata, InitCommand, InlineFactory, InsertManySpec, InsertSpec, KyselyDatabaseAdapter, LengthAwarePaginator, MIGRATION_BRAND, MakeFactoryCommand, MakeMigrationCommand, MakeModelCommand, MakeSeederCommand, MigrateCommand, MigrateFreshCommand, MigrateRollbackCommand, Migration, MigrationClass, MigrationHistoryCommand, MigrationInstanceLike, MissingDelegateException, Model, ModelAttributeValue, ModelAttributes, ModelAttributesOf, ModelCreateData, ModelDeclaredAttributeKey, ModelEventDispatcher, ModelEventHandler, ModelEventHandlerConstructor, ModelEventListener, ModelEventName, ModelFactory, ModelLifecycleState, ModelMetadata, ModelNotFoundException, ModelQuerySchemaLike, ModelRelationshipKey, ModelRelationshipResult, ModelStatic, ModelTableCase, ModelUpdateData, ModelsSyncCommand, MorphManyRelationMetadata, MorphOneRelationMetadata, MorphToManyRelationMetadata, PRISMA_ENUM_MEMBER_REGEX, PRISMA_ENUM_REGEX, PRISMA_MODEL_REGEX, PaginationCurrentPageResolver, PaginationMeta, PaginationOptions, PaginationURLDriver, PaginationURLDriverFactory, Paginator, PersistedColumnMappingsState, PersistedMetadataFeatures, PersistedPrimaryKeyGeneration, PersistedTableMetadata, PersistedTimestampColumn, PivotModel, PivotModelStatic, PrimaryKeyGeneration, PrimaryKeyGenerationPlanner, PrismaClientLike, PrismaDatabaseAdapter, PrismaDelegateLike, PrismaDelegateMap, PrismaDelegateNameMapping, PrismaFindManyArgsLike, PrismaLikeInclude, PrismaLikeOrderBy, PrismaLikeScalarFilter, PrismaLikeSelect, PrismaLikeSortOrder, PrismaLikeWhereInput, PrismaMigrationWorkflowOptions, PrismaSchemaSyncOptions, PrismaTransactionCallback, PrismaTransactionCapableClient, PrismaTransactionContext, PrismaTransactionOptions, QueryBuilder, QueryComparisonCondition, QueryComparisonOperator, QueryCondition, QueryConstraintException, QueryExecutionException, QueryExecutionExceptionContext, QueryGroupCondition, QueryLogicalOperator, QueryNotCondition, QueryOrderBy, QueryRawCondition, QuerySchemaCreateData, QuerySchemaFindManyArgs, QuerySchemaForModel, QuerySchemaInclude, QuerySchemaOrderBy, QuerySchemaRow, QuerySchemaRows, QuerySchemaSelect, QuerySchemaUniqueWhere, QuerySchemaUpdateArgs, QuerySchemaUpdateData, QuerySchemaWhere, QuerySelectColumn, QueryTarget, RawQuerySpec, RelatedModelClass, RelationAggregateSpec, RelationColumnLookupSpec, RelationConstraint, RelationDefaultResolver, RelationDefaultValue, RelationFilterSpec, RelationLoadPlan, RelationLoadSpec, RelationMetadata, RelationMetadataProvider, RelationMetadataType, RelationResolutionException, RelationTableLookupSpec, RelationshipModelStatic, RuntimeClientLike, RuntimeModuleLoader, SEEDER_BRAND, SchemaBuilder, SchemaColumn, SchemaColumnType, SchemaForeignKey, SchemaForeignKeyAction, SchemaIndex, SchemaOperation, SchemaTableAlterOperation, SchemaTableCreateOperation, SchemaTableDropOperation, ScopeNotDefinedException, SeedCommand, Seeder, SeederCallArgument, SeederConstructor, SeederInput, SelectSpec, Serializable, SimplePaginationMeta, SoftDeleteConfig, SoftDeleteQueryMode, SortDirection, TableBuilder, TimestampColumnBehavior, TransactionCallback, TransactionCapableClient, TransactionContext, TransactionOptions, URLDriver, UniqueConstraintResolutionException, UnsupportedAdapterFeatureException, UpdateManySpec, UpdateSpec, UpsertSpec, applyAlterTableOperation, applyCreateTableOperation, applyDropTableOperation, applyMigrationRollbackToDatabase, applyMigrationRollbackToPrismaSchema, applyMigrationToDatabase, applyMigrationToPrismaSchema, applyOperationsToPersistedColumnMappingsState, applyOperationsToPrismaSchema, bindAdapterToModels, buildEnumBlock, buildFieldLine, buildIndexLine, buildInverseRelationLine, buildMigrationIdentity, buildMigrationRunId, buildMigrationSource, buildModelBlock, buildRelationLine, computeMigrationChecksum, configureArkormRuntime, createEmptyAppliedMigrationsState, createEmptyPersistedColumnMappingsState, createKyselyAdapter, createMigrationTimestamp, createPrismaAdapter, createPrismaCompatibilityAdapter, createPrismaDatabaseAdapter, createPrismaDelegateMap, defineConfig, defineFactory, deleteAppliedMigrationsStateFromStore, deletePersistedColumnMappingsState, deriveCollectionFieldName, deriveInverseRelationAlias, deriveRelationAlias, deriveRelationFieldName, deriveSingularFieldName, emitRuntimeDebugEvent, ensureArkormConfigLoading, escapeRegex, findAppliedMigration, findEnumBlock, findModelBlock, formatDefaultValue, formatEnumDefaultValue, formatRelationAction, generateMigrationFile, getActiveTransactionAdapter, getActiveTransactionClient, getDefaultStubsPath, getLastMigrationRun, getLatestAppliedMigrations, getMigrationPlan, getPersistedColumnMap, getPersistedEnumMap, getPersistedEnumTsType, getPersistedPrimaryKeyGeneration, getPersistedTableMetadata, getPersistedTimestampColumns, getRuntimeAdapter, getRuntimeClient, getRuntimeCompatibilityAdapter, getRuntimeDebugHandler, getRuntimePaginationCurrentPageResolver, getRuntimePaginationURLDriverFactory, getRuntimePrismaClient, getUserConfig, inferDelegateName, isDelegateLike, isMigrationApplied, isQuerySchemaLike, isTransactionCapableClient, loadArkormConfig, markMigrationApplied, markMigrationRun, pad, readAppliedMigrationsState, readAppliedMigrationsStateFromStore, readPersistedColumnMappingsState, rebuildPersistedColumnMappingsState, removeAppliedMigration, resetArkormRuntimeForTests, resetPersistedColumnMappingsCache, resolveCast, resolveColumnMappingsFilePath, resolveEnumName, resolveMigrationClassName, resolveMigrationStateFilePath, resolvePersistedMetadataFeatures, resolvePrismaType, resolveRuntimeCompatibilityQuerySchema, resolveRuntimeCompatibilityQuerySchemaOrThrow, runArkormTransaction, runMigrationWithPrisma, runPrismaCommand, stripPrismaSchemaModelsAndEnums, supportsDatabaseMigrationExecution, supportsDatabaseMigrationState, supportsDatabaseReset, syncPersistedColumnMappingsFromState, toMigrationFileSlug, toModelName, validatePersistedMetadataFeaturesForMigrations, writeAppliedMigrationsState, writeAppliedMigrationsStateToStore, writePersistedColumnMappingsState };
|
|
1
|
+
import { $ as deriveInverseRelationAlias, $a as FactoryModelConstructor, $i as QueryBuilder, $n as AdapterCapabilities, $r as DelegateFindManyArgs, $t as getPersistedTableMetadata, A as resetArkormRuntimeForTests, Aa as defineFactory, Ai as PrismaTransactionContext, An as TableBuilder, Ao as SchemaForeignKeyAction, Ar as RawQuerySpec, At as getLatestAppliedMigrations, B as applyMigrationRollbackToPrismaSchema, Bi as QuerySchemaUpdateArgs, Bn as MakeMigrationCommand, Br as UpsertSpec, Bt as writeAppliedMigrationsStateToStore, C as getRuntimePaginationURLDriverFactory, Ca as ModelRelationshipResult, Ci as PrismaLikeOrderBy, Cn as SeederCallArgument, Co as MigrationInstanceLike, Cr as QueryGroupCondition, Ct as buildMigrationIdentity, D as isQuerySchemaLike, Da as Model, Di as PrismaLikeWhereInput, Dn as Migration, Do as SchemaColumn, Dr as QueryRawCondition, Dt as deleteAppliedMigrationsStateFromStore, E as isDelegateLike, Ea as RelatedModelClass, Ei as PrismaLikeSortOrder, En as MIGRATION_BRAND, Eo as PrismaSchemaSyncOptions, Er as QueryOrderBy, Et as createEmptyAppliedMigrationsState, F as PRISMA_MODEL_REGEX, Fi as QuerySchemaOrderBy, Fn as MigrateRollbackCommand, Fo as SchemaTableDropOperation, Fr as SelectSpec, Ft as readAppliedMigrationsStateFromStore, G as buildFieldLine, Ga as RelationConstraint, Gi as SimplePaginationMeta, Gn as Attribute, Gr as ArkormDebugEvent, Gt as PersistedTimestampColumn, H as applyMigrationToPrismaSchema, Hi as QuerySchemaWhere, Hn as InitCommand, Hr as AdapterQueryInspection, Ht as PersistedMetadataFeatures, I as applyAlterTableOperation, Ii as QuerySchemaRow, In as MigrateFreshCommand, Io as TimestampColumnBehavior, Ir as SoftDeleteQueryMode, It as removeAppliedMigration, J as buildMigrationSource, Ja as RelationMetadataProvider, Ji as TransactionCapableClient, Jn as PrismaDelegateNameMapping, Jr as CastHandler, Jt as deletePersistedColumnMappingsState, K as buildIndexLine, Ka as RelationDefaultResolver, Ki as SoftDeleteConfig, Kn as AttributeOptions, Kr as ArkormDebugHandler, Kt as applyOperationsToPersistedColumnMappingsState, L as applyCreateTableOperation, Li as QuerySchemaRows, Ln as MigrateCommand, Lr as SortDirection, Lt as resolveMigrationStateFilePath, M as PrimaryKeyGenerationPlanner, Mi as QuerySchemaCreateData, Mn as SeedCommand, Mo as SchemaOperation, Mr as RelationFilterSpec, Mt as markMigrationApplied, N as PRISMA_ENUM_MEMBER_REGEX, Ni as QuerySchemaFindManyArgs, Nn as ModelsSyncCommand, No as SchemaTableAlterOperation, Nr as RelationLoadPlan, Nt as markMigrationRun, O as isTransactionCapableClient, Oa as InlineFactory, Oi as PrismaTransactionCallback, On as SchemaBuilder, Oo as SchemaColumnType, Or as QuerySelectColumn, Ot as findAppliedMigration, P as PRISMA_ENUM_REGEX, Pi as QuerySchemaInclude, Pn as MigrationHistoryCommand, Po as SchemaTableCreateOperation, Pr as RelationLoadSpec, Pt as readAppliedMigrationsState, Q as deriveCollectionFieldName, Qa as FactoryDefinition, Qi as RelationshipModelStatic, Qn as createKyselyAdapter, Qr as DelegateCreateData, Qt as getPersistedPrimaryKeyGeneration, R as applyDropTableOperation, Ri as QuerySchemaSelect, Rn as MakeSeederCommand, Rr as UpdateManySpec, Rt as supportsDatabaseMigrationState, S as getRuntimePaginationCurrentPageResolver, Sa as ModelRelationshipKey, Si as PrismaLikeInclude, Sn as Seeder, So as MigrationClass, Sr as QueryCondition, St as toModelName, T as getUserConfig, Ta as QuerySchemaForModel, Ti as PrismaLikeSelect, Tn as SeederInput, To as PrismaMigrationWorkflowOptions, Tr as QueryNotCondition, Tt as computeMigrationChecksum, U as applyOperationsToPrismaSchema, Ui as RuntimeClientLike, Un as CliApp, Ur as ArkormBootContext, Ut as PersistedPrimaryKeyGeneration, V as applyMigrationToDatabase, Vi as QuerySchemaUpdateData, Vn as MakeFactoryCommand, Vr as AdapterBindableModel, Vt as PersistedColumnMappingsState, W as buildEnumBlock, Wa as RelationColumnLookupSpec, Wi as Serializable, Wn as resolveCast, Wr as ArkormConfig, Wt as PersistedTableMetadata, X as buildRelationLine, Xa as ArkormCollection, Xi as TransactionOptions, Xn as createPrismaDatabaseAdapter, Xr as CastType, Xt as getPersistedEnumMap, Y as buildModelBlock, Ya as RelationTableLookupSpec, Yi as TransactionContext, Yn as createPrismaCompatibilityAdapter, Yr as CastMap, Yt as getPersistedColumnMap, Z as createMigrationTimestamp, Za as FactoryAttributes, Zi as ModelStatic, Zn as KyselyDatabaseAdapter, Zr as ClientResolver, Zt as getPersistedEnumTsType, _ as getActiveTransactionClient, _a as ModelEventHandler, _i as PaginationURLDriver, _n as MissingDelegateException, _o as AppliedMigrationEntry, _r as DeleteSpec, _t as stripPrismaSchemaModelsAndEnums, a as resolveRuntimeCompatibilityQuerySchema, aa as AttributeSchemaDelegate, ai as DelegateUniqueWhere, an as resolvePersistedMetadataFeatures, ao as ColumnMap, ar as AdapterModelStructure, at as findModelBlock, b as getRuntimeClient, ba as ModelEventName, bi as PrismaDelegateLike, bn as DB, bo as GenerateMigrationOptions, br as QueryComparisonCondition, bt as supportsDatabaseReset, c as createPrismaAdapter, ca as AttributeWhereInput, ci as DelegateWhere, cn as writePersistedColumnMappingsState, co as HasOneRelationMetadata, cr as AggregateOperation, ct as formatRelationAction, d as bindAdapterToModels, da as ModelAttributeValue, di as GetUserConfig, dn as ScopeNotDefinedException, do as MorphManyRelationMetadata, dr as DatabaseAdapter, dt as pad, ea as LengthAwarePaginator, ei as DelegateInclude, en as getPersistedTimestampColumns, eo as FactoryState, er as AdapterCapability, et as deriveRelationAlias, f as configureArkormRuntime, fa as ModelAttributes, fi as ModelQuerySchemaLike, fn as RelationResolutionException, fo as MorphOneRelationMetadata, fr as DatabasePrimitive, ft as resolveEnumName, g as getActiveTransactionAdapter, ga as ModelEventDispatcher, gi as PaginationOptions, gn as ModelNotFoundException, go as RelationMetadataType, gr as DeleteManySpec, gt as runPrismaCommand, h as ensureArkormConfigLoading, ha as ModelDeclaredAttributeKey, hi as PaginationMeta, hn as QueryConstraintException, ho as RelationMetadata, hr as DatabaseValue, ht as runMigrationWithPrisma, i as getRuntimeCompatibilityAdapter, ia as AttributeQuerySchema, ii as DelegateSelect, in as resolveColumnMappingsFilePath, io as BelongsToRelationMetadata, ir as AdapterModelIntrospectionOptions, it as findEnumBlock, j as runArkormTransaction, ji as PrismaTransactionOptions, jn as ForeignKeyBuilder, jo as SchemaIndex, jr as RelationAggregateSpec, jt as isMigrationApplied, k as loadArkormConfig, ka as ModelFactory, ki as PrismaTransactionCapableClient, kn as EnumBuilder, ko as SchemaForeignKey, kr as QueryTarget, kt as getLastMigrationRun, l as createPrismaDelegateMap, la as DelegateForModelSchema, li as EagerLoadConstraint, ln as UnsupportedAdapterFeatureException, lo as HasOneThroughRelationMetadata, lr as AggregateSelection, lt as generateMigrationFile, m as emitRuntimeDebugEvent, ma as ModelCreateData, mi as PaginationCurrentPageResolver, mn as QueryExecutionExceptionContext, mo as PivotModelStatic, mr as DatabaseRows, mt as resolvePrismaType, n as PivotModel, na as AttributeCreateInput, ni as DelegateRow, nn as rebuildPersistedColumnMappingsState, no as DatabaseTablePersistedMetadataOptions, nr as AdapterInspectionRequest, nt as deriveSingularFieldName, o as resolveRuntimeCompatibilityQuerySchemaOrThrow, oa as AttributeSelect, oi as DelegateUpdateArgs, on as syncPersistedColumnMappingsFromState, oo as HasManyRelationMetadata, or as AdapterQueryOperation, ot as formatDefaultValue, p as defineConfig, pa as ModelAttributesOf, pi as ModelTableCase, pn as QueryExecutionException, po as MorphToManyRelationMetadata, pr as DatabaseRow, pt as resolveMigrationClassName, q as buildInverseRelationLine, qa as RelationDefaultValue, qi as TransactionCallback, qn as PrismaDatabaseAdapter, qr as CastDefinition, qt as createEmptyPersistedColumnMappingsState, r as RuntimeModuleLoader, ra as AttributeOrderBy, ri as DelegateRows, rn as resetPersistedColumnMappingsCache, ro as BelongsToManyRelationMetadata, rr as AdapterModelFieldStructure, rt as escapeRegex, s as PrismaDelegateMap, sa as AttributeUpdateInput, si as DelegateUpdateData, sn as validatePersistedMetadataFeaturesForMigrations, so as HasManyThroughRelationMetadata, sr as AdapterTransactionContext, st as formatEnumDefaultValue, t as URLDriver, ta as Paginator, ti as DelegateOrderBy, tn as readPersistedColumnMappingsState, to as DatabaseTableOptions, tr as AdapterDatabaseCreationResult, tt as deriveRelationFieldName, u as inferDelegateName, ua as GlobalScope, ui as EagerLoadMap, un as UniqueConstraintResolutionException, uo as ModelMetadata, ur as AggregateSpec, ut as getMigrationPlan, v as getDefaultStubsPath, va as ModelEventHandlerConstructor, vi as PaginationURLDriverFactory, vn as ArkormErrorContext, vo as AppliedMigrationRun, vr as InsertManySpec, vt as supportsDatabaseCreation, w as getRuntimePrismaClient, wa as ModelUpdateData, wi as PrismaLikeScalarFilter, wn as SeederConstructor, wo as PrimaryKeyGeneration, wr as QueryLogicalOperator, wt as buildMigrationRunId, x as getRuntimeDebugHandler, xa as ModelLifecycleState, xi as PrismaFindManyArgsLike, xn as SEEDER_BRAND, xo as GeneratedMigrationFile, xr as QueryComparisonOperator, xt as toMigrationFileSlug, y as getRuntimeAdapter, ya as ModelEventListener, yi as PrismaClientLike, yn as ArkormException, yo as AppliedMigrationsState, yr as InsertSpec, yt as supportsDatabaseMigrationExecution, z as applyMigrationRollbackToDatabase, zi as QuerySchemaUniqueWhere, zn as MakeModelCommand, zr as UpdateSpec, zt as writeAppliedMigrationsState } from "./index-BQyFSgj_.cjs";
|
|
2
|
+
export { AdapterBindableModel, AdapterCapabilities, AdapterCapability, AdapterDatabaseCreationResult, AdapterInspectionRequest, AdapterModelFieldStructure, AdapterModelIntrospectionOptions, AdapterModelStructure, AdapterQueryInspection, AdapterQueryOperation, AdapterTransactionContext, AggregateOperation, AggregateSelection, AggregateSpec, AppliedMigrationEntry, AppliedMigrationRun, AppliedMigrationsState, ArkormBootContext, ArkormCollection, ArkormConfig, ArkormDebugEvent, ArkormDebugHandler, ArkormErrorContext, ArkormException, Attribute, AttributeCreateInput, AttributeOptions, AttributeOrderBy, AttributeQuerySchema, AttributeSchemaDelegate, AttributeSelect, AttributeUpdateInput, AttributeWhereInput, BelongsToManyRelationMetadata, BelongsToRelationMetadata, CastDefinition, CastHandler, CastMap, CastType, CliApp, ClientResolver, ColumnMap, DB, DatabaseAdapter, DatabasePrimitive, DatabaseRow, DatabaseRows, DatabaseTableOptions, DatabaseTablePersistedMetadataOptions, DatabaseValue, DelegateCreateData, DelegateFindManyArgs, DelegateForModelSchema, DelegateInclude, DelegateOrderBy, DelegateRow, DelegateRows, DelegateSelect, DelegateUniqueWhere, DelegateUpdateArgs, DelegateUpdateData, DelegateWhere, DeleteManySpec, DeleteSpec, EagerLoadConstraint, EagerLoadMap, EnumBuilder, FactoryAttributes, FactoryDefinition, FactoryModelConstructor, FactoryState, ForeignKeyBuilder, GenerateMigrationOptions, GeneratedMigrationFile, GetUserConfig, GlobalScope, HasManyRelationMetadata, HasManyThroughRelationMetadata, HasOneRelationMetadata, HasOneThroughRelationMetadata, InitCommand, InlineFactory, InsertManySpec, InsertSpec, KyselyDatabaseAdapter, LengthAwarePaginator, MIGRATION_BRAND, MakeFactoryCommand, MakeMigrationCommand, MakeModelCommand, MakeSeederCommand, MigrateCommand, MigrateFreshCommand, MigrateRollbackCommand, Migration, MigrationClass, MigrationHistoryCommand, MigrationInstanceLike, MissingDelegateException, Model, ModelAttributeValue, ModelAttributes, ModelAttributesOf, ModelCreateData, ModelDeclaredAttributeKey, ModelEventDispatcher, ModelEventHandler, ModelEventHandlerConstructor, ModelEventListener, ModelEventName, ModelFactory, ModelLifecycleState, ModelMetadata, ModelNotFoundException, ModelQuerySchemaLike, ModelRelationshipKey, ModelRelationshipResult, ModelStatic, ModelTableCase, ModelUpdateData, ModelsSyncCommand, MorphManyRelationMetadata, MorphOneRelationMetadata, MorphToManyRelationMetadata, PRISMA_ENUM_MEMBER_REGEX, PRISMA_ENUM_REGEX, PRISMA_MODEL_REGEX, PaginationCurrentPageResolver, PaginationMeta, PaginationOptions, PaginationURLDriver, PaginationURLDriverFactory, Paginator, PersistedColumnMappingsState, PersistedMetadataFeatures, PersistedPrimaryKeyGeneration, PersistedTableMetadata, PersistedTimestampColumn, PivotModel, PivotModelStatic, PrimaryKeyGeneration, PrimaryKeyGenerationPlanner, PrismaClientLike, PrismaDatabaseAdapter, PrismaDelegateLike, PrismaDelegateMap, PrismaDelegateNameMapping, PrismaFindManyArgsLike, PrismaLikeInclude, PrismaLikeOrderBy, PrismaLikeScalarFilter, PrismaLikeSelect, PrismaLikeSortOrder, PrismaLikeWhereInput, PrismaMigrationWorkflowOptions, PrismaSchemaSyncOptions, PrismaTransactionCallback, PrismaTransactionCapableClient, PrismaTransactionContext, PrismaTransactionOptions, QueryBuilder, QueryComparisonCondition, QueryComparisonOperator, QueryCondition, QueryConstraintException, QueryExecutionException, QueryExecutionExceptionContext, QueryGroupCondition, QueryLogicalOperator, QueryNotCondition, QueryOrderBy, QueryRawCondition, QuerySchemaCreateData, QuerySchemaFindManyArgs, QuerySchemaForModel, QuerySchemaInclude, QuerySchemaOrderBy, QuerySchemaRow, QuerySchemaRows, QuerySchemaSelect, QuerySchemaUniqueWhere, QuerySchemaUpdateArgs, QuerySchemaUpdateData, QuerySchemaWhere, QuerySelectColumn, QueryTarget, RawQuerySpec, RelatedModelClass, RelationAggregateSpec, RelationColumnLookupSpec, RelationConstraint, RelationDefaultResolver, RelationDefaultValue, RelationFilterSpec, RelationLoadPlan, RelationLoadSpec, RelationMetadata, RelationMetadataProvider, RelationMetadataType, RelationResolutionException, RelationTableLookupSpec, RelationshipModelStatic, RuntimeClientLike, RuntimeModuleLoader, SEEDER_BRAND, SchemaBuilder, SchemaColumn, SchemaColumnType, SchemaForeignKey, SchemaForeignKeyAction, SchemaIndex, SchemaOperation, SchemaTableAlterOperation, SchemaTableCreateOperation, SchemaTableDropOperation, ScopeNotDefinedException, SeedCommand, Seeder, SeederCallArgument, SeederConstructor, SeederInput, SelectSpec, Serializable, SimplePaginationMeta, SoftDeleteConfig, SoftDeleteQueryMode, SortDirection, TableBuilder, TimestampColumnBehavior, TransactionCallback, TransactionCapableClient, TransactionContext, TransactionOptions, URLDriver, UniqueConstraintResolutionException, UnsupportedAdapterFeatureException, UpdateManySpec, UpdateSpec, UpsertSpec, applyAlterTableOperation, applyCreateTableOperation, applyDropTableOperation, applyMigrationRollbackToDatabase, applyMigrationRollbackToPrismaSchema, applyMigrationToDatabase, applyMigrationToPrismaSchema, applyOperationsToPersistedColumnMappingsState, applyOperationsToPrismaSchema, bindAdapterToModels, buildEnumBlock, buildFieldLine, buildIndexLine, buildInverseRelationLine, buildMigrationIdentity, buildMigrationRunId, buildMigrationSource, buildModelBlock, buildRelationLine, computeMigrationChecksum, configureArkormRuntime, createEmptyAppliedMigrationsState, createEmptyPersistedColumnMappingsState, createKyselyAdapter, createMigrationTimestamp, createPrismaAdapter, createPrismaCompatibilityAdapter, createPrismaDatabaseAdapter, createPrismaDelegateMap, defineConfig, defineFactory, deleteAppliedMigrationsStateFromStore, deletePersistedColumnMappingsState, deriveCollectionFieldName, deriveInverseRelationAlias, deriveRelationAlias, deriveRelationFieldName, deriveSingularFieldName, emitRuntimeDebugEvent, ensureArkormConfigLoading, escapeRegex, findAppliedMigration, findEnumBlock, findModelBlock, formatDefaultValue, formatEnumDefaultValue, formatRelationAction, generateMigrationFile, getActiveTransactionAdapter, getActiveTransactionClient, getDefaultStubsPath, getLastMigrationRun, getLatestAppliedMigrations, getMigrationPlan, getPersistedColumnMap, getPersistedEnumMap, getPersistedEnumTsType, getPersistedPrimaryKeyGeneration, getPersistedTableMetadata, getPersistedTimestampColumns, getRuntimeAdapter, getRuntimeClient, getRuntimeCompatibilityAdapter, getRuntimeDebugHandler, getRuntimePaginationCurrentPageResolver, getRuntimePaginationURLDriverFactory, getRuntimePrismaClient, getUserConfig, inferDelegateName, isDelegateLike, isMigrationApplied, isQuerySchemaLike, isTransactionCapableClient, loadArkormConfig, markMigrationApplied, markMigrationRun, pad, readAppliedMigrationsState, readAppliedMigrationsStateFromStore, readPersistedColumnMappingsState, rebuildPersistedColumnMappingsState, removeAppliedMigration, resetArkormRuntimeForTests, resetPersistedColumnMappingsCache, resolveCast, resolveColumnMappingsFilePath, resolveEnumName, resolveMigrationClassName, resolveMigrationStateFilePath, resolvePersistedMetadataFeatures, resolvePrismaType, resolveRuntimeCompatibilityQuerySchema, resolveRuntimeCompatibilityQuerySchemaOrThrow, runArkormTransaction, runMigrationWithPrisma, runPrismaCommand, stripPrismaSchemaModelsAndEnums, supportsDatabaseCreation, supportsDatabaseMigrationExecution, supportsDatabaseMigrationState, supportsDatabaseReset, syncPersistedColumnMappingsFromState, toMigrationFileSlug, toModelName, validatePersistedMetadataFeaturesForMigrations, writeAppliedMigrationsState, writeAppliedMigrationsStateToStore, writePersistedColumnMappingsState };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as deriveInverseRelationAlias, $a as
|
|
2
|
-
export { AdapterBindableModel, AdapterCapabilities, AdapterCapability, AdapterInspectionRequest, AdapterModelFieldStructure, AdapterModelIntrospectionOptions, AdapterModelStructure, AdapterQueryInspection, AdapterQueryOperation, AdapterTransactionContext, AggregateOperation, AggregateSelection, AggregateSpec, AppliedMigrationEntry, AppliedMigrationRun, AppliedMigrationsState, ArkormBootContext, ArkormCollection, ArkormConfig, ArkormDebugEvent, ArkormDebugHandler, ArkormErrorContext, ArkormException, Attribute, AttributeCreateInput, AttributeOptions, AttributeOrderBy, AttributeQuerySchema, AttributeSchemaDelegate, AttributeSelect, AttributeUpdateInput, AttributeWhereInput, BelongsToManyRelationMetadata, BelongsToRelationMetadata, CastDefinition, CastHandler, CastMap, CastType, CliApp, ClientResolver, ColumnMap, DB, DatabaseAdapter, DatabasePrimitive, DatabaseRow, DatabaseRows, DatabaseTableOptions, DatabaseTablePersistedMetadataOptions, DatabaseValue, DelegateCreateData, DelegateFindManyArgs, DelegateForModelSchema, DelegateInclude, DelegateOrderBy, DelegateRow, DelegateRows, DelegateSelect, DelegateUniqueWhere, DelegateUpdateArgs, DelegateUpdateData, DelegateWhere, DeleteManySpec, DeleteSpec, EagerLoadConstraint, EagerLoadMap, EnumBuilder, FactoryAttributes, FactoryDefinition, FactoryModelConstructor, FactoryState, ForeignKeyBuilder, GenerateMigrationOptions, GeneratedMigrationFile, GetUserConfig, GlobalScope, HasManyRelationMetadata, HasManyThroughRelationMetadata, HasOneRelationMetadata, HasOneThroughRelationMetadata, InitCommand, InlineFactory, InsertManySpec, InsertSpec, KyselyDatabaseAdapter, LengthAwarePaginator, MIGRATION_BRAND, MakeFactoryCommand, MakeMigrationCommand, MakeModelCommand, MakeSeederCommand, MigrateCommand, MigrateFreshCommand, MigrateRollbackCommand, Migration, MigrationClass, MigrationHistoryCommand, MigrationInstanceLike, MissingDelegateException, Model, ModelAttributeValue, ModelAttributes, ModelAttributesOf, ModelCreateData, ModelDeclaredAttributeKey, ModelEventDispatcher, ModelEventHandler, ModelEventHandlerConstructor, ModelEventListener, ModelEventName, ModelFactory, ModelLifecycleState, ModelMetadata, ModelNotFoundException, ModelQuerySchemaLike, ModelRelationshipKey, ModelRelationshipResult, ModelStatic, ModelTableCase, ModelUpdateData, ModelsSyncCommand, MorphManyRelationMetadata, MorphOneRelationMetadata, MorphToManyRelationMetadata, PRISMA_ENUM_MEMBER_REGEX, PRISMA_ENUM_REGEX, PRISMA_MODEL_REGEX, PaginationCurrentPageResolver, PaginationMeta, PaginationOptions, PaginationURLDriver, PaginationURLDriverFactory, Paginator, PersistedColumnMappingsState, PersistedMetadataFeatures, PersistedPrimaryKeyGeneration, PersistedTableMetadata, PersistedTimestampColumn, PivotModel, PivotModelStatic, PrimaryKeyGeneration, PrimaryKeyGenerationPlanner, PrismaClientLike, PrismaDatabaseAdapter, PrismaDelegateLike, PrismaDelegateMap, PrismaDelegateNameMapping, PrismaFindManyArgsLike, PrismaLikeInclude, PrismaLikeOrderBy, PrismaLikeScalarFilter, PrismaLikeSelect, PrismaLikeSortOrder, PrismaLikeWhereInput, PrismaMigrationWorkflowOptions, PrismaSchemaSyncOptions, PrismaTransactionCallback, PrismaTransactionCapableClient, PrismaTransactionContext, PrismaTransactionOptions, QueryBuilder, QueryComparisonCondition, QueryComparisonOperator, QueryCondition, QueryConstraintException, QueryExecutionException, QueryExecutionExceptionContext, QueryGroupCondition, QueryLogicalOperator, QueryNotCondition, QueryOrderBy, QueryRawCondition, QuerySchemaCreateData, QuerySchemaFindManyArgs, QuerySchemaForModel, QuerySchemaInclude, QuerySchemaOrderBy, QuerySchemaRow, QuerySchemaRows, QuerySchemaSelect, QuerySchemaUniqueWhere, QuerySchemaUpdateArgs, QuerySchemaUpdateData, QuerySchemaWhere, QuerySelectColumn, QueryTarget, RawQuerySpec, RelatedModelClass, RelationAggregateSpec, RelationColumnLookupSpec, RelationConstraint, RelationDefaultResolver, RelationDefaultValue, RelationFilterSpec, RelationLoadPlan, RelationLoadSpec, RelationMetadata, RelationMetadataProvider, RelationMetadataType, RelationResolutionException, RelationTableLookupSpec, RelationshipModelStatic, RuntimeClientLike, RuntimeModuleLoader, SEEDER_BRAND, SchemaBuilder, SchemaColumn, SchemaColumnType, SchemaForeignKey, SchemaForeignKeyAction, SchemaIndex, SchemaOperation, SchemaTableAlterOperation, SchemaTableCreateOperation, SchemaTableDropOperation, ScopeNotDefinedException, SeedCommand, Seeder, SeederCallArgument, SeederConstructor, SeederInput, SelectSpec, Serializable, SimplePaginationMeta, SoftDeleteConfig, SoftDeleteQueryMode, SortDirection, TableBuilder, TimestampColumnBehavior, TransactionCallback, TransactionCapableClient, TransactionContext, TransactionOptions, URLDriver, UniqueConstraintResolutionException, UnsupportedAdapterFeatureException, UpdateManySpec, UpdateSpec, UpsertSpec, applyAlterTableOperation, applyCreateTableOperation, applyDropTableOperation, applyMigrationRollbackToDatabase, applyMigrationRollbackToPrismaSchema, applyMigrationToDatabase, applyMigrationToPrismaSchema, applyOperationsToPersistedColumnMappingsState, applyOperationsToPrismaSchema, bindAdapterToModels, buildEnumBlock, buildFieldLine, buildIndexLine, buildInverseRelationLine, buildMigrationIdentity, buildMigrationRunId, buildMigrationSource, buildModelBlock, buildRelationLine, computeMigrationChecksum, configureArkormRuntime, createEmptyAppliedMigrationsState, createEmptyPersistedColumnMappingsState, createKyselyAdapter, createMigrationTimestamp, createPrismaAdapter, createPrismaCompatibilityAdapter, createPrismaDatabaseAdapter, createPrismaDelegateMap, defineConfig, defineFactory, deleteAppliedMigrationsStateFromStore, deletePersistedColumnMappingsState, deriveCollectionFieldName, deriveInverseRelationAlias, deriveRelationAlias, deriveRelationFieldName, deriveSingularFieldName, emitRuntimeDebugEvent, ensureArkormConfigLoading, escapeRegex, findAppliedMigration, findEnumBlock, findModelBlock, formatDefaultValue, formatEnumDefaultValue, formatRelationAction, generateMigrationFile, getActiveTransactionAdapter, getActiveTransactionClient, getDefaultStubsPath, getLastMigrationRun, getLatestAppliedMigrations, getMigrationPlan, getPersistedColumnMap, getPersistedEnumMap, getPersistedEnumTsType, getPersistedPrimaryKeyGeneration, getPersistedTableMetadata, getPersistedTimestampColumns, getRuntimeAdapter, getRuntimeClient, getRuntimeCompatibilityAdapter, getRuntimeDebugHandler, getRuntimePaginationCurrentPageResolver, getRuntimePaginationURLDriverFactory, getRuntimePrismaClient, getUserConfig, inferDelegateName, isDelegateLike, isMigrationApplied, isQuerySchemaLike, isTransactionCapableClient, loadArkormConfig, markMigrationApplied, markMigrationRun, pad, readAppliedMigrationsState, readAppliedMigrationsStateFromStore, readPersistedColumnMappingsState, rebuildPersistedColumnMappingsState, removeAppliedMigration, resetArkormRuntimeForTests, resetPersistedColumnMappingsCache, resolveCast, resolveColumnMappingsFilePath, resolveEnumName, resolveMigrationClassName, resolveMigrationStateFilePath, resolvePersistedMetadataFeatures, resolvePrismaType, resolveRuntimeCompatibilityQuerySchema, resolveRuntimeCompatibilityQuerySchemaOrThrow, runArkormTransaction, runMigrationWithPrisma, runPrismaCommand, stripPrismaSchemaModelsAndEnums, supportsDatabaseMigrationExecution, supportsDatabaseMigrationState, supportsDatabaseReset, syncPersistedColumnMappingsFromState, toMigrationFileSlug, toModelName, validatePersistedMetadataFeaturesForMigrations, writeAppliedMigrationsState, writeAppliedMigrationsStateToStore, writePersistedColumnMappingsState };
|
|
1
|
+
import { $ as deriveInverseRelationAlias, $a as FactoryModelConstructor, $i as QueryBuilder, $n as AdapterCapabilities, $r as DelegateFindManyArgs, $t as getPersistedTableMetadata, A as resetArkormRuntimeForTests, Aa as defineFactory, Ai as PrismaTransactionContext, An as TableBuilder, Ao as SchemaForeignKeyAction, Ar as RawQuerySpec, At as getLatestAppliedMigrations, B as applyMigrationRollbackToPrismaSchema, Bi as QuerySchemaUpdateArgs, Bn as MakeMigrationCommand, Br as UpsertSpec, Bt as writeAppliedMigrationsStateToStore, C as getRuntimePaginationURLDriverFactory, Ca as ModelRelationshipResult, Ci as PrismaLikeOrderBy, Cn as SeederCallArgument, Co as MigrationInstanceLike, Cr as QueryGroupCondition, Ct as buildMigrationIdentity, D as isQuerySchemaLike, Da as Model, Di as PrismaLikeWhereInput, Dn as Migration, Do as SchemaColumn, Dr as QueryRawCondition, Dt as deleteAppliedMigrationsStateFromStore, E as isDelegateLike, Ea as RelatedModelClass, Ei as PrismaLikeSortOrder, En as MIGRATION_BRAND, Eo as PrismaSchemaSyncOptions, Er as QueryOrderBy, Et as createEmptyAppliedMigrationsState, F as PRISMA_MODEL_REGEX, Fi as QuerySchemaOrderBy, Fn as MigrateRollbackCommand, Fo as SchemaTableDropOperation, Fr as SelectSpec, Ft as readAppliedMigrationsStateFromStore, G as buildFieldLine, Ga as RelationConstraint, Gi as SimplePaginationMeta, Gn as Attribute, Gr as ArkormDebugEvent, Gt as PersistedTimestampColumn, H as applyMigrationToPrismaSchema, Hi as QuerySchemaWhere, Hn as InitCommand, Hr as AdapterQueryInspection, Ht as PersistedMetadataFeatures, I as applyAlterTableOperation, Ii as QuerySchemaRow, In as MigrateFreshCommand, Io as TimestampColumnBehavior, Ir as SoftDeleteQueryMode, It as removeAppliedMigration, J as buildMigrationSource, Ja as RelationMetadataProvider, Ji as TransactionCapableClient, Jn as PrismaDelegateNameMapping, Jr as CastHandler, Jt as deletePersistedColumnMappingsState, K as buildIndexLine, Ka as RelationDefaultResolver, Ki as SoftDeleteConfig, Kn as AttributeOptions, Kr as ArkormDebugHandler, Kt as applyOperationsToPersistedColumnMappingsState, L as applyCreateTableOperation, Li as QuerySchemaRows, Ln as MigrateCommand, Lr as SortDirection, Lt as resolveMigrationStateFilePath, M as PrimaryKeyGenerationPlanner, Mi as QuerySchemaCreateData, Mn as SeedCommand, Mo as SchemaOperation, Mr as RelationFilterSpec, Mt as markMigrationApplied, N as PRISMA_ENUM_MEMBER_REGEX, Ni as QuerySchemaFindManyArgs, Nn as ModelsSyncCommand, No as SchemaTableAlterOperation, Nr as RelationLoadPlan, Nt as markMigrationRun, O as isTransactionCapableClient, Oa as InlineFactory, Oi as PrismaTransactionCallback, On as SchemaBuilder, Oo as SchemaColumnType, Or as QuerySelectColumn, Ot as findAppliedMigration, P as PRISMA_ENUM_REGEX, Pi as QuerySchemaInclude, Pn as MigrationHistoryCommand, Po as SchemaTableCreateOperation, Pr as RelationLoadSpec, Pt as readAppliedMigrationsState, Q as deriveCollectionFieldName, Qa as FactoryDefinition, Qi as RelationshipModelStatic, Qn as createKyselyAdapter, Qr as DelegateCreateData, Qt as getPersistedPrimaryKeyGeneration, R as applyDropTableOperation, Ri as QuerySchemaSelect, Rn as MakeSeederCommand, Rr as UpdateManySpec, Rt as supportsDatabaseMigrationState, S as getRuntimePaginationCurrentPageResolver, Sa as ModelRelationshipKey, Si as PrismaLikeInclude, Sn as Seeder, So as MigrationClass, Sr as QueryCondition, St as toModelName, T as getUserConfig, Ta as QuerySchemaForModel, Ti as PrismaLikeSelect, Tn as SeederInput, To as PrismaMigrationWorkflowOptions, Tr as QueryNotCondition, Tt as computeMigrationChecksum, U as applyOperationsToPrismaSchema, Ui as RuntimeClientLike, Un as CliApp, Ur as ArkormBootContext, Ut as PersistedPrimaryKeyGeneration, V as applyMigrationToDatabase, Vi as QuerySchemaUpdateData, Vn as MakeFactoryCommand, Vr as AdapterBindableModel, Vt as PersistedColumnMappingsState, W as buildEnumBlock, Wa as RelationColumnLookupSpec, Wi as Serializable, Wn as resolveCast, Wr as ArkormConfig, Wt as PersistedTableMetadata, X as buildRelationLine, Xa as ArkormCollection, Xi as TransactionOptions, Xn as createPrismaDatabaseAdapter, Xr as CastType, Xt as getPersistedEnumMap, Y as buildModelBlock, Ya as RelationTableLookupSpec, Yi as TransactionContext, Yn as createPrismaCompatibilityAdapter, Yr as CastMap, Yt as getPersistedColumnMap, Z as createMigrationTimestamp, Za as FactoryAttributes, Zi as ModelStatic, Zn as KyselyDatabaseAdapter, Zr as ClientResolver, Zt as getPersistedEnumTsType, _ as getActiveTransactionClient, _a as ModelEventHandler, _i as PaginationURLDriver, _n as MissingDelegateException, _o as AppliedMigrationEntry, _r as DeleteSpec, _t as stripPrismaSchemaModelsAndEnums, a as resolveRuntimeCompatibilityQuerySchema, aa as AttributeSchemaDelegate, ai as DelegateUniqueWhere, an as resolvePersistedMetadataFeatures, ao as ColumnMap, ar as AdapterModelStructure, at as findModelBlock, b as getRuntimeClient, ba as ModelEventName, bi as PrismaDelegateLike, bn as DB, bo as GenerateMigrationOptions, br as QueryComparisonCondition, bt as supportsDatabaseReset, c as createPrismaAdapter, ca as AttributeWhereInput, ci as DelegateWhere, cn as writePersistedColumnMappingsState, co as HasOneRelationMetadata, cr as AggregateOperation, ct as formatRelationAction, d as bindAdapterToModels, da as ModelAttributeValue, di as GetUserConfig, dn as ScopeNotDefinedException, do as MorphManyRelationMetadata, dr as DatabaseAdapter, dt as pad, ea as LengthAwarePaginator, ei as DelegateInclude, en as getPersistedTimestampColumns, eo as FactoryState, er as AdapterCapability, et as deriveRelationAlias, f as configureArkormRuntime, fa as ModelAttributes, fi as ModelQuerySchemaLike, fn as RelationResolutionException, fo as MorphOneRelationMetadata, fr as DatabasePrimitive, ft as resolveEnumName, g as getActiveTransactionAdapter, ga as ModelEventDispatcher, gi as PaginationOptions, gn as ModelNotFoundException, go as RelationMetadataType, gr as DeleteManySpec, gt as runPrismaCommand, h as ensureArkormConfigLoading, ha as ModelDeclaredAttributeKey, hi as PaginationMeta, hn as QueryConstraintException, ho as RelationMetadata, hr as DatabaseValue, ht as runMigrationWithPrisma, i as getRuntimeCompatibilityAdapter, ia as AttributeQuerySchema, ii as DelegateSelect, in as resolveColumnMappingsFilePath, io as BelongsToRelationMetadata, ir as AdapterModelIntrospectionOptions, it as findEnumBlock, j as runArkormTransaction, ji as PrismaTransactionOptions, jn as ForeignKeyBuilder, jo as SchemaIndex, jr as RelationAggregateSpec, jt as isMigrationApplied, k as loadArkormConfig, ka as ModelFactory, ki as PrismaTransactionCapableClient, kn as EnumBuilder, ko as SchemaForeignKey, kr as QueryTarget, kt as getLastMigrationRun, l as createPrismaDelegateMap, la as DelegateForModelSchema, li as EagerLoadConstraint, ln as UnsupportedAdapterFeatureException, lo as HasOneThroughRelationMetadata, lr as AggregateSelection, lt as generateMigrationFile, m as emitRuntimeDebugEvent, ma as ModelCreateData, mi as PaginationCurrentPageResolver, mn as QueryExecutionExceptionContext, mo as PivotModelStatic, mr as DatabaseRows, mt as resolvePrismaType, n as PivotModel, na as AttributeCreateInput, ni as DelegateRow, nn as rebuildPersistedColumnMappingsState, no as DatabaseTablePersistedMetadataOptions, nr as AdapterInspectionRequest, nt as deriveSingularFieldName, o as resolveRuntimeCompatibilityQuerySchemaOrThrow, oa as AttributeSelect, oi as DelegateUpdateArgs, on as syncPersistedColumnMappingsFromState, oo as HasManyRelationMetadata, or as AdapterQueryOperation, ot as formatDefaultValue, p as defineConfig, pa as ModelAttributesOf, pi as ModelTableCase, pn as QueryExecutionException, po as MorphToManyRelationMetadata, pr as DatabaseRow, pt as resolveMigrationClassName, q as buildInverseRelationLine, qa as RelationDefaultValue, qi as TransactionCallback, qn as PrismaDatabaseAdapter, qr as CastDefinition, qt as createEmptyPersistedColumnMappingsState, r as RuntimeModuleLoader, ra as AttributeOrderBy, ri as DelegateRows, rn as resetPersistedColumnMappingsCache, ro as BelongsToManyRelationMetadata, rr as AdapterModelFieldStructure, rt as escapeRegex, s as PrismaDelegateMap, sa as AttributeUpdateInput, si as DelegateUpdateData, sn as validatePersistedMetadataFeaturesForMigrations, so as HasManyThroughRelationMetadata, sr as AdapterTransactionContext, st as formatEnumDefaultValue, t as URLDriver, ta as Paginator, ti as DelegateOrderBy, tn as readPersistedColumnMappingsState, to as DatabaseTableOptions, tr as AdapterDatabaseCreationResult, tt as deriveRelationFieldName, u as inferDelegateName, ua as GlobalScope, ui as EagerLoadMap, un as UniqueConstraintResolutionException, uo as ModelMetadata, ur as AggregateSpec, ut as getMigrationPlan, v as getDefaultStubsPath, va as ModelEventHandlerConstructor, vi as PaginationURLDriverFactory, vn as ArkormErrorContext, vo as AppliedMigrationRun, vr as InsertManySpec, vt as supportsDatabaseCreation, w as getRuntimePrismaClient, wa as ModelUpdateData, wi as PrismaLikeScalarFilter, wn as SeederConstructor, wo as PrimaryKeyGeneration, wr as QueryLogicalOperator, wt as buildMigrationRunId, x as getRuntimeDebugHandler, xa as ModelLifecycleState, xi as PrismaFindManyArgsLike, xn as SEEDER_BRAND, xo as GeneratedMigrationFile, xr as QueryComparisonOperator, xt as toMigrationFileSlug, y as getRuntimeAdapter, ya as ModelEventListener, yi as PrismaClientLike, yn as ArkormException, yo as AppliedMigrationsState, yr as InsertSpec, yt as supportsDatabaseMigrationExecution, z as applyMigrationRollbackToDatabase, zi as QuerySchemaUniqueWhere, zn as MakeModelCommand, zr as UpdateSpec, zt as writeAppliedMigrationsState } from "./index-RvyusnXP.mjs";
|
|
2
|
+
export { AdapterBindableModel, AdapterCapabilities, AdapterCapability, AdapterDatabaseCreationResult, AdapterInspectionRequest, AdapterModelFieldStructure, AdapterModelIntrospectionOptions, AdapterModelStructure, AdapterQueryInspection, AdapterQueryOperation, AdapterTransactionContext, AggregateOperation, AggregateSelection, AggregateSpec, AppliedMigrationEntry, AppliedMigrationRun, AppliedMigrationsState, ArkormBootContext, ArkormCollection, ArkormConfig, ArkormDebugEvent, ArkormDebugHandler, ArkormErrorContext, ArkormException, Attribute, AttributeCreateInput, AttributeOptions, AttributeOrderBy, AttributeQuerySchema, AttributeSchemaDelegate, AttributeSelect, AttributeUpdateInput, AttributeWhereInput, BelongsToManyRelationMetadata, BelongsToRelationMetadata, CastDefinition, CastHandler, CastMap, CastType, CliApp, ClientResolver, ColumnMap, DB, DatabaseAdapter, DatabasePrimitive, DatabaseRow, DatabaseRows, DatabaseTableOptions, DatabaseTablePersistedMetadataOptions, DatabaseValue, DelegateCreateData, DelegateFindManyArgs, DelegateForModelSchema, DelegateInclude, DelegateOrderBy, DelegateRow, DelegateRows, DelegateSelect, DelegateUniqueWhere, DelegateUpdateArgs, DelegateUpdateData, DelegateWhere, DeleteManySpec, DeleteSpec, EagerLoadConstraint, EagerLoadMap, EnumBuilder, FactoryAttributes, FactoryDefinition, FactoryModelConstructor, FactoryState, ForeignKeyBuilder, GenerateMigrationOptions, GeneratedMigrationFile, GetUserConfig, GlobalScope, HasManyRelationMetadata, HasManyThroughRelationMetadata, HasOneRelationMetadata, HasOneThroughRelationMetadata, InitCommand, InlineFactory, InsertManySpec, InsertSpec, KyselyDatabaseAdapter, LengthAwarePaginator, MIGRATION_BRAND, MakeFactoryCommand, MakeMigrationCommand, MakeModelCommand, MakeSeederCommand, MigrateCommand, MigrateFreshCommand, MigrateRollbackCommand, Migration, MigrationClass, MigrationHistoryCommand, MigrationInstanceLike, MissingDelegateException, Model, ModelAttributeValue, ModelAttributes, ModelAttributesOf, ModelCreateData, ModelDeclaredAttributeKey, ModelEventDispatcher, ModelEventHandler, ModelEventHandlerConstructor, ModelEventListener, ModelEventName, ModelFactory, ModelLifecycleState, ModelMetadata, ModelNotFoundException, ModelQuerySchemaLike, ModelRelationshipKey, ModelRelationshipResult, ModelStatic, ModelTableCase, ModelUpdateData, ModelsSyncCommand, MorphManyRelationMetadata, MorphOneRelationMetadata, MorphToManyRelationMetadata, PRISMA_ENUM_MEMBER_REGEX, PRISMA_ENUM_REGEX, PRISMA_MODEL_REGEX, PaginationCurrentPageResolver, PaginationMeta, PaginationOptions, PaginationURLDriver, PaginationURLDriverFactory, Paginator, PersistedColumnMappingsState, PersistedMetadataFeatures, PersistedPrimaryKeyGeneration, PersistedTableMetadata, PersistedTimestampColumn, PivotModel, PivotModelStatic, PrimaryKeyGeneration, PrimaryKeyGenerationPlanner, PrismaClientLike, PrismaDatabaseAdapter, PrismaDelegateLike, PrismaDelegateMap, PrismaDelegateNameMapping, PrismaFindManyArgsLike, PrismaLikeInclude, PrismaLikeOrderBy, PrismaLikeScalarFilter, PrismaLikeSelect, PrismaLikeSortOrder, PrismaLikeWhereInput, PrismaMigrationWorkflowOptions, PrismaSchemaSyncOptions, PrismaTransactionCallback, PrismaTransactionCapableClient, PrismaTransactionContext, PrismaTransactionOptions, QueryBuilder, QueryComparisonCondition, QueryComparisonOperator, QueryCondition, QueryConstraintException, QueryExecutionException, QueryExecutionExceptionContext, QueryGroupCondition, QueryLogicalOperator, QueryNotCondition, QueryOrderBy, QueryRawCondition, QuerySchemaCreateData, QuerySchemaFindManyArgs, QuerySchemaForModel, QuerySchemaInclude, QuerySchemaOrderBy, QuerySchemaRow, QuerySchemaRows, QuerySchemaSelect, QuerySchemaUniqueWhere, QuerySchemaUpdateArgs, QuerySchemaUpdateData, QuerySchemaWhere, QuerySelectColumn, QueryTarget, RawQuerySpec, RelatedModelClass, RelationAggregateSpec, RelationColumnLookupSpec, RelationConstraint, RelationDefaultResolver, RelationDefaultValue, RelationFilterSpec, RelationLoadPlan, RelationLoadSpec, RelationMetadata, RelationMetadataProvider, RelationMetadataType, RelationResolutionException, RelationTableLookupSpec, RelationshipModelStatic, RuntimeClientLike, RuntimeModuleLoader, SEEDER_BRAND, SchemaBuilder, SchemaColumn, SchemaColumnType, SchemaForeignKey, SchemaForeignKeyAction, SchemaIndex, SchemaOperation, SchemaTableAlterOperation, SchemaTableCreateOperation, SchemaTableDropOperation, ScopeNotDefinedException, SeedCommand, Seeder, SeederCallArgument, SeederConstructor, SeederInput, SelectSpec, Serializable, SimplePaginationMeta, SoftDeleteConfig, SoftDeleteQueryMode, SortDirection, TableBuilder, TimestampColumnBehavior, TransactionCallback, TransactionCapableClient, TransactionContext, TransactionOptions, URLDriver, UniqueConstraintResolutionException, UnsupportedAdapterFeatureException, UpdateManySpec, UpdateSpec, UpsertSpec, applyAlterTableOperation, applyCreateTableOperation, applyDropTableOperation, applyMigrationRollbackToDatabase, applyMigrationRollbackToPrismaSchema, applyMigrationToDatabase, applyMigrationToPrismaSchema, applyOperationsToPersistedColumnMappingsState, applyOperationsToPrismaSchema, bindAdapterToModels, buildEnumBlock, buildFieldLine, buildIndexLine, buildInverseRelationLine, buildMigrationIdentity, buildMigrationRunId, buildMigrationSource, buildModelBlock, buildRelationLine, computeMigrationChecksum, configureArkormRuntime, createEmptyAppliedMigrationsState, createEmptyPersistedColumnMappingsState, createKyselyAdapter, createMigrationTimestamp, createPrismaAdapter, createPrismaCompatibilityAdapter, createPrismaDatabaseAdapter, createPrismaDelegateMap, defineConfig, defineFactory, deleteAppliedMigrationsStateFromStore, deletePersistedColumnMappingsState, deriveCollectionFieldName, deriveInverseRelationAlias, deriveRelationAlias, deriveRelationFieldName, deriveSingularFieldName, emitRuntimeDebugEvent, ensureArkormConfigLoading, escapeRegex, findAppliedMigration, findEnumBlock, findModelBlock, formatDefaultValue, formatEnumDefaultValue, formatRelationAction, generateMigrationFile, getActiveTransactionAdapter, getActiveTransactionClient, getDefaultStubsPath, getLastMigrationRun, getLatestAppliedMigrations, getMigrationPlan, getPersistedColumnMap, getPersistedEnumMap, getPersistedEnumTsType, getPersistedPrimaryKeyGeneration, getPersistedTableMetadata, getPersistedTimestampColumns, getRuntimeAdapter, getRuntimeClient, getRuntimeCompatibilityAdapter, getRuntimeDebugHandler, getRuntimePaginationCurrentPageResolver, getRuntimePaginationURLDriverFactory, getRuntimePrismaClient, getUserConfig, inferDelegateName, isDelegateLike, isMigrationApplied, isQuerySchemaLike, isTransactionCapableClient, loadArkormConfig, markMigrationApplied, markMigrationRun, pad, readAppliedMigrationsState, readAppliedMigrationsStateFromStore, readPersistedColumnMappingsState, rebuildPersistedColumnMappingsState, removeAppliedMigration, resetArkormRuntimeForTests, resetPersistedColumnMappingsCache, resolveCast, resolveColumnMappingsFilePath, resolveEnumName, resolveMigrationClassName, resolveMigrationStateFilePath, resolvePersistedMetadataFeatures, resolvePrismaType, resolveRuntimeCompatibilityQuerySchema, resolveRuntimeCompatibilityQuerySchemaOrThrow, runArkormTransaction, runMigrationWithPrisma, runPrismaCommand, stripPrismaSchemaModelsAndEnums, supportsDatabaseCreation, supportsDatabaseMigrationExecution, supportsDatabaseMigrationState, supportsDatabaseReset, syncPersistedColumnMappingsFromState, toMigrationFileSlug, toModelName, validatePersistedMetadataFeaturesForMigrations, writeAppliedMigrationsState, writeAppliedMigrationsStateToStore, writePersistedColumnMappingsState };
|