@powerlines/plugin-prisma 0.4.13 → 0.4.14
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/api/client/client.gen.mjs +1 -2
- package/dist/api/client/utils.gen.mjs +1 -2
- package/dist/api/client.gen.mjs +1 -2
- package/dist/api/core/auth.gen.mjs +1 -2
- package/dist/api/core/bodySerializer.gen.mjs +1 -2
- package/dist/api/core/params.gen.mjs +1 -2
- package/dist/api/core/pathSerializer.gen.mjs +1 -2
- package/dist/api/core/queryKeySerializer.gen.mjs +1 -2
- package/dist/api/core/serverSentEvents.gen.mjs +1 -2
- package/dist/api/core/utils.gen.mjs +1 -2
- package/dist/api/sdk.gen.mjs +1 -2
- package/dist/helpers/get-schema.mjs +1 -2
- package/dist/helpers/prisma-postgres.mjs +1 -2
- package/dist/helpers/schema-creator.mjs +1 -2
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +3 -4
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/constant-case.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/constant-case.mjs +2 -3
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/get-words.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/get-words.mjs +2 -3
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/kebab-case.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/kebab-case.mjs +2 -3
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/snake-case.cjs +1 -1
- package/dist/node_modules/.pnpm/{@stryke_string-format@0.17.1 → @stryke_string-format@0.17.2}/node_modules/@stryke/string-format/dist/snake-case.mjs +2 -3
- package/package.json +11 -11
- package/dist/api/client/client.gen.d.cts +0 -7
- package/dist/api/client/client.gen.d.cts.map +0 -1
- package/dist/api/client/client.gen.d.mts +0 -7
- package/dist/api/client/client.gen.d.mts.map +0 -1
- package/dist/api/client/client.gen.mjs.map +0 -1
- package/dist/api/client/index.d.cts +0 -8
- package/dist/api/client/index.d.mts +0 -8
- package/dist/api/client/types.gen.d.cts +0 -131
- package/dist/api/client/types.gen.d.cts.map +0 -1
- package/dist/api/client/types.gen.d.mts +0 -131
- package/dist/api/client/types.gen.d.mts.map +0 -1
- package/dist/api/client/utils.gen.d.cts +0 -44
- package/dist/api/client/utils.gen.d.cts.map +0 -1
- package/dist/api/client/utils.gen.d.mts +0 -44
- package/dist/api/client/utils.gen.d.mts.map +0 -1
- package/dist/api/client/utils.gen.mjs.map +0 -1
- package/dist/api/client.gen.d.cts +0 -19
- package/dist/api/client.gen.d.cts.map +0 -1
- package/dist/api/client.gen.d.mts +0 -19
- package/dist/api/client.gen.d.mts.map +0 -1
- package/dist/api/client.gen.mjs.map +0 -1
- package/dist/api/core/auth.gen.d.cts +0 -24
- package/dist/api/core/auth.gen.d.cts.map +0 -1
- package/dist/api/core/auth.gen.d.mts +0 -24
- package/dist/api/core/auth.gen.d.mts.map +0 -1
- package/dist/api/core/auth.gen.mjs.map +0 -1
- package/dist/api/core/bodySerializer.gen.d.cts +0 -32
- package/dist/api/core/bodySerializer.gen.d.cts.map +0 -1
- package/dist/api/core/bodySerializer.gen.d.mts +0 -32
- package/dist/api/core/bodySerializer.gen.d.mts.map +0 -1
- package/dist/api/core/bodySerializer.gen.mjs.map +0 -1
- package/dist/api/core/params.gen.d.cts +0 -49
- package/dist/api/core/params.gen.d.cts.map +0 -1
- package/dist/api/core/params.gen.d.mts +0 -49
- package/dist/api/core/params.gen.d.mts.map +0 -1
- package/dist/api/core/params.gen.mjs.map +0 -1
- package/dist/api/core/pathSerializer.gen.d.cts +0 -56
- package/dist/api/core/pathSerializer.gen.d.cts.map +0 -1
- package/dist/api/core/pathSerializer.gen.d.mts +0 -56
- package/dist/api/core/pathSerializer.gen.d.mts.map +0 -1
- package/dist/api/core/pathSerializer.gen.mjs.map +0 -1
- package/dist/api/core/queryKeySerializer.gen.d.cts +0 -23
- package/dist/api/core/queryKeySerializer.gen.d.cts.map +0 -1
- package/dist/api/core/queryKeySerializer.gen.d.mts +0 -23
- package/dist/api/core/queryKeySerializer.gen.d.mts.map +0 -1
- package/dist/api/core/queryKeySerializer.gen.mjs.map +0 -1
- package/dist/api/core/serverSentEvents.gen.d.cts +0 -91
- package/dist/api/core/serverSentEvents.gen.d.cts.map +0 -1
- package/dist/api/core/serverSentEvents.gen.d.mts +0 -91
- package/dist/api/core/serverSentEvents.gen.d.mts.map +0 -1
- package/dist/api/core/serverSentEvents.gen.mjs.map +0 -1
- package/dist/api/core/types.gen.d.cts +0 -80
- package/dist/api/core/types.gen.d.cts.map +0 -1
- package/dist/api/core/types.gen.d.mts +0 -80
- package/dist/api/core/types.gen.d.mts.map +0 -1
- package/dist/api/core/utils.gen.d.cts +0 -34
- package/dist/api/core/utils.gen.d.cts.map +0 -1
- package/dist/api/core/utils.gen.d.mts +0 -34
- package/dist/api/core/utils.gen.d.mts.map +0 -1
- package/dist/api/core/utils.gen.mjs.map +0 -1
- package/dist/api/sdk.gen.d.cts +0 -226
- package/dist/api/sdk.gen.d.cts.map +0 -1
- package/dist/api/sdk.gen.d.mts +0 -226
- package/dist/api/sdk.gen.d.mts.map +0 -1
- package/dist/api/sdk.gen.mjs.map +0 -1
- package/dist/api/types.gen.d.cts +0 -2369
- package/dist/api/types.gen.d.cts.map +0 -1
- package/dist/api/types.gen.d.mts +0 -2369
- package/dist/api/types.gen.d.mts.map +0 -1
- package/dist/helpers/get-schema.d.cts +0 -14
- package/dist/helpers/get-schema.d.cts.map +0 -1
- package/dist/helpers/get-schema.d.mts +0 -14
- package/dist/helpers/get-schema.d.mts.map +0 -1
- package/dist/helpers/get-schema.mjs.map +0 -1
- package/dist/helpers/index.d.cts +0 -4
- package/dist/helpers/index.d.mts +0 -4
- package/dist/helpers/prisma-postgres.d.cts +0 -15
- package/dist/helpers/prisma-postgres.d.cts.map +0 -1
- package/dist/helpers/prisma-postgres.d.mts +0 -15
- package/dist/helpers/prisma-postgres.d.mts.map +0 -1
- package/dist/helpers/prisma-postgres.mjs.map +0 -1
- package/dist/helpers/schema-creator.d.cts +0 -21
- package/dist/helpers/schema-creator.d.cts.map +0 -1
- package/dist/helpers/schema-creator.d.mts +0 -21
- package/dist/helpers/schema-creator.d.mts.map +0 -1
- package/dist/helpers/schema-creator.mjs.map +0 -1
- package/dist/index.d.cts +0 -21
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -21
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_string-format@0.17.1/node_modules/@stryke/string-format/dist/constant-case.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_string-format@0.17.1/node_modules/@stryke/string-format/dist/get-words.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_string-format@0.17.1/node_modules/@stryke/string-format/dist/kebab-case.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_string-format@0.17.1/node_modules/@stryke/string-format/dist/snake-case.mjs.map +0 -1
- package/dist/types/index.d.cts +0 -3
- package/dist/types/index.d.mts +0 -3
- package/dist/types/plugin.d.cts +0 -93
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -93
- package/dist/types/plugin.d.mts.map +0 -1
- package/dist/types/prisma.d.cts +0 -85
- package/dist/types/prisma.d.cts.map +0 -1
- package/dist/types/prisma.d.mts +0 -85
- package/dist/types/prisma.d.mts.map +0 -1
package/dist/types/prisma.d.mts
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
//#region src/types/prisma.d.ts
|
|
2
|
-
type MultipleSchemas = Array<[filename: string, content: string]>;
|
|
3
|
-
type SchemaFileInput = string | [filename: string, content: string];
|
|
4
|
-
type ConnectorType = "mysql" | "mongodb" | "sqlite" | "postgresql" | "postgres" | "prisma+postgres" | "sqlserver" | "cockroachdb";
|
|
5
|
-
type ActiveConnectorType = Exclude<ConnectorType, "postgres" | "prisma+postgres">;
|
|
6
|
-
interface EnvValue {
|
|
7
|
-
fromEnvVar: null | string;
|
|
8
|
-
value: null | string;
|
|
9
|
-
}
|
|
10
|
-
interface DataSource {
|
|
11
|
-
name: string;
|
|
12
|
-
provider: ConnectorType;
|
|
13
|
-
activeProvider: ActiveConnectorType;
|
|
14
|
-
url: EnvValue;
|
|
15
|
-
directUrl?: EnvValue;
|
|
16
|
-
schemas: string[] | [];
|
|
17
|
-
sourceFilePath: string;
|
|
18
|
-
}
|
|
19
|
-
interface GetSchemaResponse {
|
|
20
|
-
config: PrismaSchema;
|
|
21
|
-
errors: GetSchemaValidationError[];
|
|
22
|
-
}
|
|
23
|
-
interface EnvValue {
|
|
24
|
-
fromEnvVar: null | string;
|
|
25
|
-
value: null | string;
|
|
26
|
-
}
|
|
27
|
-
interface EnvPaths {
|
|
28
|
-
rootEnvPath: string | null;
|
|
29
|
-
schemaEnvPath: string | undefined;
|
|
30
|
-
}
|
|
31
|
-
interface BinaryTargetsEnvValue {
|
|
32
|
-
fromEnvVar: string | null;
|
|
33
|
-
value: string;
|
|
34
|
-
native?: boolean;
|
|
35
|
-
}
|
|
36
|
-
interface GeneratorConfig {
|
|
37
|
-
name: string;
|
|
38
|
-
output: EnvValue | null;
|
|
39
|
-
isCustomOutput?: boolean;
|
|
40
|
-
provider: EnvValue;
|
|
41
|
-
config: {
|
|
42
|
-
/** `output` is a reserved name and will only be available directly at `generator.output` */
|
|
43
|
-
output?: never;
|
|
44
|
-
/** `provider` is a reserved name and will only be available directly at `generator.provider` */
|
|
45
|
-
provider?: never;
|
|
46
|
-
/** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */
|
|
47
|
-
binaryTargets?: never;
|
|
48
|
-
/** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */
|
|
49
|
-
previewFeatures?: never;
|
|
50
|
-
} & {
|
|
51
|
-
[key: string]: string | string[] | undefined;
|
|
52
|
-
};
|
|
53
|
-
binaryTargets: BinaryTargetsEnvValue[];
|
|
54
|
-
previewFeatures: string[];
|
|
55
|
-
envPaths?: EnvPaths;
|
|
56
|
-
sourceFilePath: string;
|
|
57
|
-
}
|
|
58
|
-
interface PrismaSchema {
|
|
59
|
-
datasources: DataSource[];
|
|
60
|
-
generators: GeneratorConfig[];
|
|
61
|
-
warnings: string[];
|
|
62
|
-
}
|
|
63
|
-
interface GetSchemaValidationError {
|
|
64
|
-
fileName: string | null;
|
|
65
|
-
message: string;
|
|
66
|
-
}
|
|
67
|
-
interface GetSchemaOptions {
|
|
68
|
-
datamodel: SchemaFileInput;
|
|
69
|
-
ignoreEnvVarErrors?: boolean;
|
|
70
|
-
}
|
|
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
|
-
//#endregion
|
|
84
|
-
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 };
|
|
85
|
-
//# sourceMappingURL=prisma.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma.d.mts","names":[],"sources":["../../src/types/prisma.ts"],"sourcesContent":[],"mappings":";KAkBY,eAAA,GAAkB;AAAlB,KACA,eAAA,GADe,MAAG,GAAA,CAAK,QAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,CAAA;AACvB,KAEA,aAAA,GAFe,OAAA,GAAA,SAAA,GAAA,QAAA,GAAA,YAAA,GAAA,UAAA,GAAA,iBAAA,GAAA,WAAA,GAAA,aAAA;AAEf,KAUA,mBAAA,GAAsB,OAVT,CAWvB,aAXuB,EAAA,UAAA,GAAA,iBAAA,CAAA;AAUb,UAKK,QAAA,CALc;EAKd,UAAA,EAAQ,IAAA,GAAA,MAAA;EAKR,KAAA,EAAA,IAAA,GAAU,MAAA;;AAIT,UAJD,UAAA,CAIC;EACX,IAAA,EAAA,MAAA;EACO,QAAA,EAJF,aAIE;EAAQ,cAAA,EAFJ,mBAEI;EAKL,GAAA,EANV,QAMU;EAKA,SAAA,CAAA,EAVH,QAUW;EAKR,OAAA,EAAA,MAAQ,EAAA,GAAA,EAAA;EAKR,cAAA,EAAA,MAAA;AAMjB;AAEU,UAvBO,iBAAA,CAuBP;EAEE,MAAA,EAxBF,YAwBE;EAaK,MAAA,EApCP,wBAoCO,EAAA;;AAEI,UAnCJ,QAAA,CAmCI;EAIJ,UAAA,EAAA,IAAY,GAAA,MAAA;EAMnB,KAAA,EAAA,IAAA,GAAA,MAAA;AAKV;UA7CiB,QAAA;;;;UAKA,qBAAA;;;;;UAMA,eAAA;;UAEP;;YAEE;;;;;;;;;;;;;iBAaK;;aAEJ;;;UAII,YAAA;eACF;cACD;;;UAIJ,wBAAA;;;;UAKO,gBAAA;aACJ"}
|