clivly 0.2.2 → 0.3.0-next.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/{adapter-Cy4q2CLs.d.cts → adapter-CXr12l4K.d.cts} +2 -2
- package/{adapter-Cd6D_3JD.d.mts → adapter-CvNBD_3y.d.mts} +2 -2
- package/core-adapter.d.cts +1 -1
- package/core-adapter.d.mts +1 -1
- package/core-entity-config.cjs +1 -1
- package/core-entity-config.mjs +1 -1
- package/core-entity-heuristics.cjs +2 -2
- package/core-entity-heuristics.mjs +2 -2
- package/core-mapping-score.cjs +1 -1
- package/core-mapping-score.mjs +1 -1
- package/core-mappings-config.cjs +1 -1
- package/core-mappings-config.mjs +1 -1
- package/core.cjs +2 -2
- package/core.d.cts +1 -1
- package/core.d.mts +1 -1
- package/core.mjs +2 -2
- package/drizzle.cjs +1 -1
- package/drizzle.mjs +1 -1
- package/index.cjs +653 -258
- package/index.d.cts +10 -0
- package/index.d.mts +10 -0
- package/index.mjs +651 -256
- package/{mappings-config-CYPrzB3K.mjs → mappings-config-CNTZRD4g.mjs} +1 -1
- package/{mappings-config-DTu_2cyx.cjs → mappings-config-DYZ_uOOB.cjs} +1 -1
- package/package.json +1 -1
- package/{sdk-CP_mYZa5.cjs → sdk-BNdK3KgW.cjs} +1 -1
- package/{sdk-BZUn6wzs.mjs → sdk-vu_uej2q.mjs} +1 -1
- package/sdk.cjs +1 -1
- package/sdk.mjs +1 -1
- /package/{drizzle-meta-CnC336L-.mjs → drizzle-meta-1z6Apnt-.mjs} +0 -0
- /package/{drizzle-meta-BGn0BqGb.cjs → drizzle-meta-CM5M73Z4.cjs} +0 -0
- /package/{entity-config-DoR0khce.mjs → entity-config-D3YpQB0z.mjs} +0 -0
- /package/{entity-config-Cvjo1cpv.cjs → entity-config-DMuZpchz.cjs} +0 -0
- /package/{mapping-score-BJNe0lFn.mjs → mapping-score-CPPvwoZC.mjs} +0 -0
- /package/{mapping-score-D9gfhtRu.cjs → mapping-score-i3p8LWDF.cjs} +0 -0
package/index.d.cts
CHANGED
|
@@ -27,6 +27,14 @@ interface DiscoveredSchema {
|
|
|
27
27
|
tables: DiscoveredTable[];
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
+
//#region src/probe-module.d.ts
|
|
31
|
+
interface ProbeHit {
|
|
32
|
+
/** Config-relative specifier to import it from, e.g. "./lib/db". */
|
|
33
|
+
importPath: string;
|
|
34
|
+
/** The name the matching value is exported under. */
|
|
35
|
+
moduleKey: string;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
30
38
|
//#region src/index.d.ts
|
|
31
39
|
interface InstallResult {
|
|
32
40
|
command: string;
|
|
@@ -37,6 +45,7 @@ interface RunInitOptions {
|
|
|
37
45
|
cwd: string;
|
|
38
46
|
detectPackageManager?: (cwd: string) => PackageManager;
|
|
39
47
|
discoverSchema?: (schemaPath: string, cwd: string) => Promise<DiscoveredSchema>;
|
|
48
|
+
dryRun?: boolean;
|
|
40
49
|
force: boolean;
|
|
41
50
|
installPackages?: (options: {
|
|
42
51
|
cwd: string;
|
|
@@ -44,6 +53,7 @@ interface RunInitOptions {
|
|
|
44
53
|
pm: PackageManager;
|
|
45
54
|
}) => Promise<InstallResult>;
|
|
46
55
|
out?: (line: string) => void;
|
|
56
|
+
probeAuthInstance?: (cwd: string) => Promise<ProbeHit | null>;
|
|
47
57
|
readDeps?: (cwd: string) => Record<string, string>;
|
|
48
58
|
readEnv?: (cwd: string) => string;
|
|
49
59
|
readOwnVersion?: () => string | undefined;
|
package/index.d.mts
CHANGED
|
@@ -27,6 +27,14 @@ interface DiscoveredSchema {
|
|
|
27
27
|
tables: DiscoveredTable[];
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
+
//#region src/probe-module.d.ts
|
|
31
|
+
interface ProbeHit {
|
|
32
|
+
/** Config-relative specifier to import it from, e.g. "./lib/db". */
|
|
33
|
+
importPath: string;
|
|
34
|
+
/** The name the matching value is exported under. */
|
|
35
|
+
moduleKey: string;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
30
38
|
//#region src/index.d.ts
|
|
31
39
|
interface InstallResult {
|
|
32
40
|
command: string;
|
|
@@ -37,6 +45,7 @@ interface RunInitOptions {
|
|
|
37
45
|
cwd: string;
|
|
38
46
|
detectPackageManager?: (cwd: string) => PackageManager;
|
|
39
47
|
discoverSchema?: (schemaPath: string, cwd: string) => Promise<DiscoveredSchema>;
|
|
48
|
+
dryRun?: boolean;
|
|
40
49
|
force: boolean;
|
|
41
50
|
installPackages?: (options: {
|
|
42
51
|
cwd: string;
|
|
@@ -44,6 +53,7 @@ interface RunInitOptions {
|
|
|
44
53
|
pm: PackageManager;
|
|
45
54
|
}) => Promise<InstallResult>;
|
|
46
55
|
out?: (line: string) => void;
|
|
56
|
+
probeAuthInstance?: (cwd: string) => Promise<ProbeHit | null>;
|
|
47
57
|
readDeps?: (cwd: string) => Record<string, string>;
|
|
48
58
|
readEnv?: (cwd: string) => string;
|
|
49
59
|
readOwnVersion?: () => string | undefined;
|