-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove field adapters for knex and mongoose (#5273)
- Loading branch information
Showing
34 changed files
with
112 additions
and
847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@keystone-next/fields-document': major | ||
'@keystone-next/fields-legacy': major | ||
'@keystone-next/fields-auto-increment-legacy': major | ||
'@keystone-next/fields-cloudinary-image-legacy': major | ||
--- | ||
|
||
Removed support for the `knex` and `mongoose` field adapters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
import { | ||
DocumentImplementation, | ||
PrismaDocumentInterface, | ||
KnexDocumentInterface, | ||
MongoDocumentInterface, | ||
} from './Implementation'; | ||
import { DocumentImplementation, PrismaDocumentInterface } from './Implementation'; | ||
|
||
export const DocumentFieldType = { | ||
type: 'Document', | ||
implementation: DocumentImplementation, | ||
adapters: { | ||
prisma: PrismaDocumentInterface, | ||
knex: KnexDocumentInterface, | ||
mongoose: MongoDocumentInterface, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
import { | ||
CloudinaryImage as Implementation, | ||
MongoCloudinaryImageInterface, | ||
KnexCloudinaryImageInterface, | ||
PrismaCloudinaryImageInterface, | ||
} from './Implementation'; | ||
|
||
export const CloudinaryImage = { | ||
type: 'CloudinaryImage', | ||
implementation: Implementation, | ||
adapters: { | ||
mongoose: MongoCloudinaryImageInterface, | ||
knex: KnexCloudinaryImageInterface, | ||
prisma: PrismaCloudinaryImageInterface, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
import { | ||
Checkbox, | ||
MongoCheckboxInterface, | ||
KnexCheckboxInterface, | ||
PrismaCheckboxInterface, | ||
} from './Implementation'; | ||
import { Checkbox, PrismaCheckboxInterface } from './Implementation'; | ||
|
||
export default { | ||
type: 'Checkbox', | ||
implementation: Checkbox, | ||
adapters: { | ||
mongoose: MongoCheckboxInterface, | ||
knex: KnexCheckboxInterface, | ||
prisma: PrismaCheckboxInterface, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
4fa66ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: