@powerlines/plugin-prisma 0.1.5 → 0.1.6
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-BF_DlZlE.d.ts → index-B7VM-6jk.d.ts} +3 -3
- package/dist/{index-COZMC3fs.d.cts → index-Bl0X2hsA.d.cts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
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-Bl0X2hsA.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-B7VM-6jk.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-Bl0X2hsA.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-B7VM-6jk.js';
|
|
3
3
|
import '../types/prisma.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -1108,7 +1108,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1108
1108
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1109
1109
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1110
1110
|
|
|
1111
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1111
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1112
1112
|
/**
|
|
1113
1113
|
* The order in which the plugin should be applied.
|
|
1114
1114
|
*/
|
|
@@ -1116,13 +1116,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* A filter to determine when the hook should be called.
|
|
1118
1118
|
*/
|
|
1119
|
-
filter?: TFilter
|
|
1119
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* The hook function to be called.
|
|
1122
1122
|
*/
|
|
1123
1123
|
handler: THookFunction;
|
|
1124
1124
|
}
|
|
1125
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1125
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1128
1128
|
*/
|
|
@@ -1108,7 +1108,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1108
1108
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1109
1109
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1110
1110
|
|
|
1111
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1111
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1112
1112
|
/**
|
|
1113
1113
|
* The order in which the plugin should be applied.
|
|
1114
1114
|
*/
|
|
@@ -1116,13 +1116,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* A filter to determine when the hook should be called.
|
|
1118
1118
|
*/
|
|
1119
|
-
filter?: TFilter
|
|
1119
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1120
1120
|
/**
|
|
1121
1121
|
* The hook function to be called.
|
|
1122
1122
|
*/
|
|
1123
1123
|
handler: THookFunction;
|
|
1124
1124
|
}
|
|
1125
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1125
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1128
1128
|
*/
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-Bl0X2hsA.cjs';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-Bl0X2hsA.cjs';
|
|
3
3
|
export { 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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-B7VM-6jk.js';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-B7VM-6jk.js';
|
|
3
3
|
export { 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';
|
package/dist/types/index.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 } from '../index-Bl0X2hsA.cjs';
|
|
2
2
|
export { 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';
|
package/dist/types/index.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 } from '../index-B7VM-6jk.js';
|
|
2
2
|
export { 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';
|
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 } from '../index-Bl0X2hsA.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 } from '../index-B7VM-6jk.js';
|
|
2
2
|
import './prisma.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-prisma",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.5",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.19.
|
|
137
|
+
"powerlines": "^0.19.2",
|
|
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.
|
|
145
|
+
"@powerlines/nx": "^0.10.6",
|
|
146
|
+
"@powerlines/plugin-plugin": "^0.11.14",
|
|
147
147
|
"@types/node": "^22.19.0"
|
|
148
148
|
},
|
|
149
149
|
"publishConfig": { "access": "public" },
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
151
151
|
}
|