@powerlines/plugin-prisma 0.1.16 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/schema-creator.d.cts +1 -1
- package/dist/helpers/schema-creator.d.ts +1 -1
- package/dist/{index-BpEIJT0p.d.ts → index-BE8dI0A7.d.ts} +16 -3
- package/dist/{index-DXJcxLn0.d.cts → index-DMzniWTy.d.cts} +16 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/prisma.d.cts +14 -1
- package/dist/types/prisma.d.ts +14 -1
- package/package.json +6 -6
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { getSchema } from './get-schema.cjs';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-DMzniWTy.cjs';
|
|
3
3
|
import '../types/prisma.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { getSchema } from './get-schema.js';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-BE8dI0A7.js';
|
|
3
3
|
import '../types/prisma.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'prisma-util/schema-creator';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-DMzniWTy.cjs';
|
|
3
3
|
import '../types/prisma.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'prisma-util/schema-creator';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-BE8dI0A7.js';
|
|
3
3
|
import '../types/prisma.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
219
219
|
tsconfigFilePath: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
declare const __VFS_PATCH__
|
|
223
|
-
declare const __VFS_REVERT__
|
|
222
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
223
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
224
224
|
type OutputModeType = "fs" | "virtual";
|
|
225
225
|
interface VirtualFile {
|
|
226
226
|
/**
|
|
@@ -629,6 +629,15 @@ interface OutputConfig {
|
|
|
629
629
|
* @defaultValue "dist/\{projectRoot\}"
|
|
630
630
|
*/
|
|
631
631
|
outputPath?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The output directory path for the project build.
|
|
634
|
+
*
|
|
635
|
+
* @remarks
|
|
636
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
637
|
+
*
|
|
638
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
639
|
+
*/
|
|
640
|
+
distPath?: string;
|
|
632
641
|
/**
|
|
633
642
|
* The format of the output files
|
|
634
643
|
*
|
|
@@ -1472,5 +1481,9 @@ type PrismaPluginContext<TResolvedConfig extends PrismaPluginResolvedConfig = Pr
|
|
|
1472
1481
|
builder: PrismaSchemaCreator;
|
|
1473
1482
|
};
|
|
1474
1483
|
};
|
|
1484
|
+
declare type __ΩPrismaPluginOptions = any[];
|
|
1485
|
+
declare type __ΩPrismaPluginUserConfig = any[];
|
|
1486
|
+
declare type __ΩPrismaPluginResolvedConfig = any[];
|
|
1487
|
+
declare type __ΩPrismaPluginContext = any[];
|
|
1475
1488
|
|
|
1476
|
-
export { PrismaSchemaCreator as P, type PrismaPluginContext as a, type PrismaPluginOptions as b, type Plugin as c, type PrismaPluginUserConfig as d, type PrismaPluginResolvedConfig as e };
|
|
1489
|
+
export { PrismaSchemaCreator as P, type __ΩPrismaPluginOptions as _, type PrismaPluginContext as a, type PrismaPluginOptions as b, type Plugin as c, type PrismaPluginUserConfig as d, type PrismaPluginResolvedConfig as e, type __ΩPrismaPluginUserConfig as f, type __ΩPrismaPluginResolvedConfig as g, type __ΩPrismaPluginContext as h };
|
|
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
|
|
|
219
219
|
tsconfigFilePath: string;
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
declare const __VFS_PATCH__
|
|
223
|
-
declare const __VFS_REVERT__
|
|
222
|
+
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
223
|
+
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
224
224
|
type OutputModeType = "fs" | "virtual";
|
|
225
225
|
interface VirtualFile {
|
|
226
226
|
/**
|
|
@@ -629,6 +629,15 @@ interface OutputConfig {
|
|
|
629
629
|
* @defaultValue "dist/\{projectRoot\}"
|
|
630
630
|
*/
|
|
631
631
|
outputPath?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The output directory path for the project build.
|
|
634
|
+
*
|
|
635
|
+
* @remarks
|
|
636
|
+
* This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
|
|
637
|
+
*
|
|
638
|
+
* @defaultValue "\{projectRoot\}/dist"
|
|
639
|
+
*/
|
|
640
|
+
distPath?: string;
|
|
632
641
|
/**
|
|
633
642
|
* The format of the output files
|
|
634
643
|
*
|
|
@@ -1472,5 +1481,9 @@ type PrismaPluginContext<TResolvedConfig extends PrismaPluginResolvedConfig = Pr
|
|
|
1472
1481
|
builder: PrismaSchemaCreator;
|
|
1473
1482
|
};
|
|
1474
1483
|
};
|
|
1484
|
+
declare type __ΩPrismaPluginOptions = any[];
|
|
1485
|
+
declare type __ΩPrismaPluginUserConfig = any[];
|
|
1486
|
+
declare type __ΩPrismaPluginResolvedConfig = any[];
|
|
1487
|
+
declare type __ΩPrismaPluginContext = any[];
|
|
1475
1488
|
|
|
1476
|
-
export { PrismaSchemaCreator as P, type PrismaPluginContext as a, type PrismaPluginOptions as b, type Plugin as c, type PrismaPluginUserConfig as d, type PrismaPluginResolvedConfig as e };
|
|
1489
|
+
export { PrismaSchemaCreator as P, type __ΩPrismaPluginOptions as _, type PrismaPluginContext as a, type PrismaPluginOptions as b, type Plugin as c, type PrismaPluginUserConfig as d, type PrismaPluginResolvedConfig as e, type __ΩPrismaPluginUserConfig as f, type __ΩPrismaPluginResolvedConfig as g, type __ΩPrismaPluginContext as h };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-
|
|
3
|
-
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './types/prisma.cjs';
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-DMzniWTy.cjs';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from './index-DMzniWTy.cjs';
|
|
3
|
+
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput } from './types/prisma.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-
|
|
3
|
-
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './types/prisma.js';
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-BE8dI0A7.js';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from './index-BE8dI0A7.js';
|
|
3
|
+
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput } from './types/prisma.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
6
6
|
import '@storm-software/config/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
2
|
-
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './prisma.cjs';
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from '../index-DMzniWTy.cjs';
|
|
2
|
+
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput } from './prisma.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
2
|
-
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './prisma.js';
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from '../index-BE8dI0A7.js';
|
|
2
|
+
export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput } from './prisma.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from '../index-DMzniWTy.cjs';
|
|
2
2
|
import './prisma.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig, h as __ΩPrismaPluginContext, _ as __ΩPrismaPluginOptions, g as __ΩPrismaPluginResolvedConfig, f as __ΩPrismaPluginUserConfig } from '../index-BE8dI0A7.js';
|
|
2
2
|
import './prisma.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/prisma.d.cts
CHANGED
|
@@ -68,4 +68,17 @@ interface GetSchemaOptions {
|
|
|
68
68
|
ignoreEnvVarErrors?: boolean;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
declare type __ΩMultipleSchemas = any[];
|
|
72
|
+
declare type __ΩSchemaFileInput = any[];
|
|
73
|
+
declare type __ΩConnectorType = any[];
|
|
74
|
+
declare type __ΩActiveConnectorType = any[];
|
|
75
|
+
declare type __ΩEnvValue = any[];
|
|
76
|
+
declare type __ΩDataSource = any[];
|
|
77
|
+
declare type __ΩGetSchemaResponse = any[];
|
|
78
|
+
declare type __ΩEnvPaths = any[];
|
|
79
|
+
declare type __ΩBinaryTargetsEnvValue = any[];
|
|
80
|
+
declare type __ΩGeneratorConfig = any[];
|
|
81
|
+
declare type __ΩPrismaSchema = any[];
|
|
82
|
+
declare type __ΩGetSchemaOptions = any[];
|
|
83
|
+
|
|
84
|
+
export type { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput };
|
package/dist/types/prisma.d.ts
CHANGED
|
@@ -68,4 +68,17 @@ interface GetSchemaOptions {
|
|
|
68
68
|
ignoreEnvVarErrors?: boolean;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
declare type __ΩMultipleSchemas = any[];
|
|
72
|
+
declare type __ΩSchemaFileInput = any[];
|
|
73
|
+
declare type __ΩConnectorType = any[];
|
|
74
|
+
declare type __ΩActiveConnectorType = any[];
|
|
75
|
+
declare type __ΩEnvValue = any[];
|
|
76
|
+
declare type __ΩDataSource = any[];
|
|
77
|
+
declare type __ΩGetSchemaResponse = any[];
|
|
78
|
+
declare type __ΩEnvPaths = any[];
|
|
79
|
+
declare type __ΩBinaryTargetsEnvValue = any[];
|
|
80
|
+
declare type __ΩGeneratorConfig = any[];
|
|
81
|
+
declare type __ΩPrismaSchema = any[];
|
|
82
|
+
declare type __ΩGetSchemaOptions = any[];
|
|
83
|
+
|
|
84
|
+
export type { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput, __ΩActiveConnectorType, __ΩBinaryTargetsEnvValue, __ΩConnectorType, __ΩDataSource, __ΩEnvPaths, __ΩEnvValue, __ΩGeneratorConfig, __ΩGetSchemaOptions, __ΩGetSchemaResponse, __ΩMultipleSchemas, __ΩPrismaSchema, __ΩSchemaFileInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-prisma",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code and a Prisma client from a Prisma schema (PSL).",
|
|
6
6
|
"repository": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"@stryke/cli": "^0.12.7",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.
|
|
137
|
+
"powerlines": "^0.23.3",
|
|
138
138
|
"ts-pattern": "^5.9.0",
|
|
139
139
|
"prisma-util": "^2.1.1",
|
|
140
140
|
"@prisma/get-platform": "^6.19.0",
|
|
@@ -142,10 +142,10 @@
|
|
|
142
142
|
"fp-ts": "^2.16.11"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@powerlines/nx": "^0.10.
|
|
146
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
147
|
-
"@types/node": "^
|
|
145
|
+
"@powerlines/nx": "^0.10.20",
|
|
146
|
+
"@powerlines/plugin-plugin": "^0.11.28",
|
|
147
|
+
"@types/node": "^24.10.1"
|
|
148
148
|
},
|
|
149
149
|
"publishConfig": { "access": "public" },
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
|
|
151
151
|
}
|