@paljs/types
Advanced tools
Comparing version 6.0.6 to 6.0.7
@@ -8,5 +8,5 @@ import { GeneratorOptions } from './generator'; | ||
} | ||
export type PartialOptions<ModelName extends string = string, ModelsObject extends Record<string, Record<string, any>> = Record<string, Record<string, any>>> = Omit<Partial<GeneratorOptions<ModelName, ModelsObject>>, 'backAsText'>; | ||
export type PartialOptions<ModelName extends string = string, ModelsObject extends Record<ModelName, Record<string, any>> = Record<ModelName, Record<string, any>>> = Omit<Partial<GeneratorOptions<ModelName, ModelsObject>>, 'backAsText'>; | ||
export type GeneratorsType = 'nexus' | 'sdl' | 'graphql-modules'; | ||
export interface Config<ModelName extends string = string, ModelsObject extends Record<string, Record<string, any>> = Record<string, Record<string, any>>> { | ||
export interface Config<ModelName extends string = string, ModelsObject extends Record<ModelName, Record<string, any>> = Record<ModelName, Record<string, any>>> { | ||
schema?: string; | ||
@@ -22,2 +22,2 @@ backend?: { | ||
} | ||
export type MultiSchemaConfig<ModelName extends string = string, ModelsObject extends Record<string, Record<string, any>> = Record<string, Record<string, any>>> = Record<string, Config<ModelName, ModelsObject>>; | ||
export type MultiSchemaConfig<ModelName extends string = string, ModelsObject extends Record<ModelName, Record<string, any>> = Record<ModelName, Record<string, any>>> = Record<string, Config<ModelName, ModelsObject>>; |
@@ -5,3 +5,3 @@ import { DMMF } from './dmmf'; | ||
export type QueriesAndMutations = Query | Mutation; | ||
export interface GeneratorOptions<ModelName extends string = string, ModelsObject extends Record<string, Record<string, any>> = Record<string, Record<string, any>>> { | ||
export interface GeneratorOptions<ModelName extends string = string, ModelsObject extends Record<ModelName, Record<string, any>> = Record<ModelName, Record<string, any>>> { | ||
backAsText?: boolean; | ||
@@ -8,0 +8,0 @@ prismaName: string; |
{ | ||
"name": "@paljs/types", | ||
"version": "6.0.6", | ||
"version": "6.0.7", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8555