Skip to content

Commit

Permalink
Merge branch 'main' into prisma-version-update-strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik authored Dec 28, 2022
2 parents 2123d05 + 72a07ce commit ccde846
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion src/generator/Settings/Gentime/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type Input = {
* In this mode, guide content into your JSDoc that looks something like the following:
*
* ```
* * ### ️⚠️ You have not writen documentation for ${thisItem}
* * ### ️⚠️ You have not written documentation for ${thisItem}
*
* * Replace this default advisory JSDoc with your own documentation about ${thisItem}
* * by documenting it in your Prisma schema. For example:
Expand Down
2 changes: 1 addition & 1 deletion src/generator/helpers/JSDocTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const missingDocsIntro = (
: info.kind

return dedent`
* ### ️⚠️ You have not writen documentation for ${thisItem}
* ### ️⚠️ You have not written documentation for ${thisItem}
*
* Replace this default advisory JSDoc with your own documentation about ${thisItem}
* by documenting it in your Prisma schema. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports[`An enum maps to a Nexus enum type definition: index.d.ts 1`] = `
/**
* Generated Nexus \`enumType\` configuration based on your Prisma schema's enum \`Foo\`.
*
* ### ️⚠️ You have not writen documentation for enum Foo
* ### ️⚠️ You have not written documentation for enum Foo
*
* Replace this default advisory JSDoc with your own documentation about enum Foo
* by documenting it in your Prisma schema. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ exports[`When an enum has no documentation comment, then it gets the default JSD
/**
* Generated Nexus \`enumType\` configuration based on your Prisma schema's enum \`Foo\`.
*
* ### ️⚠️ You have not writen documentation for enum Foo
* ### ️⚠️ You have not written documentation for enum Foo
*
* Replace this default advisory JSDoc with your own documentation about enum Foo
* by documenting it in your Prisma schema. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ exports[`When a model field has a documentation comment, then it is used for the
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -341,7 +341,7 @@ exports[`When a model field has no documentation comment, then it gets the defau
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -374,7 +374,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -541,7 +541,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -687,7 +687,7 @@ exports[`When a model has no documentation comment, then it gets the default JSD
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -720,7 +720,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`A model relation field projects a default resolve function: index.d.ts
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`User\`.
*
* ### ️⚠️ You have not writen documentation for model User
* ### ️⚠️ You have not written documentation for model User
*
* Replace this default advisory JSDoc with your own documentation about model User
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -50,7 +50,7 @@ export interface User {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`User.id\`.
*
* ### ️⚠️ You have not writen documentation for model User
* ### ️⚠️ You have not written documentation for model User
*
* Replace this default advisory JSDoc with your own documentation about model User
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -102,7 +102,7 @@ export interface User {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`User.posts\`.
*
* ### ️⚠️ You have not writen documentation for model User
* ### ️⚠️ You have not written documentation for model User
*
* Replace this default advisory JSDoc with your own documentation about model User
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -156,7 +156,7 @@ export interface User {
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`Post\`.
*
* ### ️⚠️ You have not writen documentation for model Post
* ### ️⚠️ You have not written documentation for model Post
*
* Replace this default advisory JSDoc with your own documentation about model Post
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -189,7 +189,7 @@ export interface Post {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`Post.id\`.
*
* ### ️⚠️ You have not writen documentation for model Post
* ### ️⚠️ You have not written documentation for model Post
*
* Replace this default advisory JSDoc with your own documentation about model Post
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -241,7 +241,7 @@ export interface Post {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`Post.author\`.
*
* ### ️⚠️ You have not writen documentation for model Post
* ### ️⚠️ You have not written documentation for model Post
*
* Replace this default advisory JSDoc with your own documentation about model Post
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -293,7 +293,7 @@ export interface Post {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`Post.authorId\`.
*
* ### ️⚠️ You have not writen documentation for model Post
* ### ️⚠️ You have not written documentation for model Post
*
* Replace this default advisory JSDoc with your own documentation about model Post
* by documenting it in your Prisma schema. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`A model field with type BigInt maps to GraphQL BigInt custom scalar: in
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -50,7 +50,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -102,7 +102,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -248,7 +248,7 @@ exports[`A model field with type Boolean maps to GraphQL Boolean scalar: index.d
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -281,7 +281,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -333,7 +333,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -479,7 +479,7 @@ exports[`A model field with type Bytes maps to GraphQL Bytes custom scalar: inde
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -512,7 +512,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -564,7 +564,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -710,7 +710,7 @@ exports[`A model field with type DateTime maps to GraphQL DateTime custom scalar
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -743,7 +743,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -795,7 +795,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -941,7 +941,7 @@ exports[`A model field with type Float maps to GraphQL Float scalar: index.d.ts
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -974,7 +974,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1026,7 +1026,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1172,7 +1172,7 @@ exports[`A model field with type Int maps to GraphQL Int scalar: index.d.ts 1`]
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1205,7 +1205,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1257,7 +1257,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1403,7 +1403,7 @@ exports[`A model field with type Int, attribute @id, maps to GraphQL Int scalar:
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1436,7 +1436,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1582,7 +1582,7 @@ exports[`A model field with type Json maps to GraphQL Json custom scalar: index.
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1615,7 +1615,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1667,7 +1667,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.foo\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1813,7 +1813,7 @@ exports[`A model field with type String, attribute @id, maps to GraphQL ID scala
/**
* Generated Nexus \`objectType\` configuration based on your Prisma schema's model \`SomeModel\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down Expand Up @@ -1846,7 +1846,7 @@ export interface SomeModel {
/**
* Generated Nexus \`t.field\` configuration based on your Prisma schema's model-field \`SomeModel.id\`.
*
* ### ️⚠️ You have not writen documentation for model SomeModel
* ### ️⚠️ You have not written documentation for model SomeModel
*
* Replace this default advisory JSDoc with your own documentation about model SomeModel
* by documenting it in your Prisma schema. For example:
Expand Down

0 comments on commit ccde846

Please sign in to comment.