@prisma/config 6.5.0-integration-fix-e2e-prisma-config-2.2 → 6.5.0-integration-fix-e2e-prisma-config-2.3

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.
@@ -94,26 +94,21 @@ export declare const createPrismaConfigInternalShape: () => Shape.Struct<{
94
94
  * It's set to `null` if no config file was found and only default config is applied.
95
95
  */
96
96
  loadedFromFile: Shape.NullOr<typeof Shape.String>;
97
- /**
98
- * Brand the type to make it opaque, without exposing the `Effect/Brand` type to the public API.
99
- * This is done to work around the following issues:
100
- * - https://github.com/microsoft/rushstack/issues/1308
101
- * - https://github.com/microsoft/rushstack/issues/4034
102
- * - https://github.com/microsoft/TypeScript/issues/58914
103
- */
104
- __brand: Shape.SchemaClass<typeof PRISMA_CONFIG_INTERNAL_BRAND, typeof PRISMA_CONFIG_INTERNAL_BRAND, never>;
105
97
  }>;
98
+ type _PrismaConfigInternal = ReturnType<typeof createPrismaConfigInternalShape>['Type'];
106
99
  /**
107
100
  * The configuration for the Prisma Development Kit, after it has been parsed and processed
108
101
  * by the `defineConfig` function.
109
102
  * Thanks to the branding, this type is opaque and cannot be constructed directly.
110
103
  */
111
- export type PrismaConfigInternal = ReturnType<typeof createPrismaConfigInternalShape>['Type'];
104
+ export type PrismaConfigInternal = _PrismaConfigInternal & {
105
+ __brand: typeof PRISMA_CONFIG_INTERNAL_BRAND;
106
+ };
112
107
  /**
113
108
  * Parse a given input object to ensure it conforms to the `PrismaConfigInternal` type Shape.
114
109
  * This function may fail, but it will never throw.
115
110
  */
116
111
  export declare function parsePrismaConfigInternalShape(input: unknown): Either.Either<PrismaConfigInternal, ParseError>;
117
- type MakeArgs = Omit<Parameters<ReturnType<typeof createPrismaConfigInternalShape>['make']>[0], '__brand'>;
112
+ type MakeArgs = Parameters<ReturnType<typeof createPrismaConfigInternalShape>['make']>[0];
118
113
  export declare function makePrismaConfigInternal(makeArgs: MakeArgs): PrismaConfigInternal;
119
114
  export {};