diff --git a/templates/with-postgres/src/migrations/20241219_223803_initial.json b/templates/with-postgres/src/migrations/20241220_195023_initial.json similarity index 99% rename from templates/with-postgres/src/migrations/20241219_223803_initial.json rename to templates/with-postgres/src/migrations/20241220_195023_initial.json index ffc0c68104..bf58c752ca 100644 --- a/templates/with-postgres/src/migrations/20241219_223803_initial.json +++ b/templates/with-postgres/src/migrations/20241220_195023_initial.json @@ -1,5 +1,5 @@ { - "id": "8f077964-8285-4d62-9b04-3f3ddedd4658", + "id": "b214eb8f-88c7-4984-aad9-9b1311e8a066", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-postgres/src/migrations/20241219_223803_initial.ts b/templates/with-postgres/src/migrations/20241220_195023_initial.ts similarity index 100% rename from templates/with-postgres/src/migrations/20241219_223803_initial.ts rename to templates/with-postgres/src/migrations/20241220_195023_initial.ts diff --git a/templates/with-postgres/src/migrations/index.ts b/templates/with-postgres/src/migrations/index.ts index 774c34af3d..ebad1dd2a0 100644 --- a/templates/with-postgres/src/migrations/index.ts +++ b/templates/with-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20241219_223803_initial from './20241219_223803_initial' +import * as migration_20241220_195023_initial from './20241220_195023_initial' export const migrations = [ { - up: migration_20241219_223803_initial.up, - down: migration_20241219_223803_initial.down, - name: '20241219_223803_initial', + up: migration_20241220_195023_initial.up, + down: migration_20241220_195023_initial.down, + name: '20241220_195023_initial', }, ] diff --git a/templates/with-vercel-postgres/src/migrations/20241219_223738_initial.json b/templates/with-vercel-postgres/src/migrations/20241220_194958_initial.json similarity index 99% rename from templates/with-vercel-postgres/src/migrations/20241219_223738_initial.json rename to templates/with-vercel-postgres/src/migrations/20241220_194958_initial.json index 63f35db432..fbebb4a164 100644 --- a/templates/with-vercel-postgres/src/migrations/20241219_223738_initial.json +++ b/templates/with-vercel-postgres/src/migrations/20241220_194958_initial.json @@ -1,5 +1,5 @@ { - "id": "5e18e36a-0a92-446d-96b0-3cfbdd365e39", + "id": "0e28bb7e-92a5-4890-b0c1-f5ee89c05819", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-postgres/src/migrations/20241219_223738_initial.ts b/templates/with-vercel-postgres/src/migrations/20241220_194958_initial.ts similarity index 100% rename from templates/with-vercel-postgres/src/migrations/20241219_223738_initial.ts rename to templates/with-vercel-postgres/src/migrations/20241220_194958_initial.ts diff --git a/templates/with-vercel-postgres/src/migrations/index.ts b/templates/with-vercel-postgres/src/migrations/index.ts index 3b201ec992..8e97241c95 100644 --- a/templates/with-vercel-postgres/src/migrations/index.ts +++ b/templates/with-vercel-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20241219_223738_initial from './20241219_223738_initial' +import * as migration_20241220_194958_initial from './20241220_194958_initial' export const migrations = [ { - up: migration_20241219_223738_initial.up, - down: migration_20241219_223738_initial.down, - name: '20241219_223738_initial', + up: migration_20241220_194958_initial.up, + down: migration_20241220_194958_initial.down, + name: '20241220_194958_initial', }, ] diff --git a/templates/with-vercel-website/src/migrations/20241219_223752_initial.json b/templates/with-vercel-website/src/migrations/20241220_195012_initial.json similarity index 99% rename from templates/with-vercel-website/src/migrations/20241219_223752_initial.json rename to templates/with-vercel-website/src/migrations/20241220_195012_initial.json index 266c1a4549..1ea2f8814f 100644 --- a/templates/with-vercel-website/src/migrations/20241219_223752_initial.json +++ b/templates/with-vercel-website/src/migrations/20241220_195012_initial.json @@ -1,5 +1,5 @@ { - "id": "1d6262e0-b273-4fe7-bd7b-054dbcfc83fe", + "id": "1c1f7e0c-69cb-405c-849d-6b9c4ef2843a", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-website/src/migrations/20241219_223752_initial.ts b/templates/with-vercel-website/src/migrations/20241220_195012_initial.ts similarity index 100% rename from templates/with-vercel-website/src/migrations/20241219_223752_initial.ts rename to templates/with-vercel-website/src/migrations/20241220_195012_initial.ts diff --git a/templates/with-vercel-website/src/migrations/index.ts b/templates/with-vercel-website/src/migrations/index.ts index 388c600bbb..8c6449819c 100644 --- a/templates/with-vercel-website/src/migrations/index.ts +++ b/templates/with-vercel-website/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20241219_223752_initial from './20241219_223752_initial' +import * as migration_20241220_195012_initial from './20241220_195012_initial' export const migrations = [ { - up: migration_20241219_223752_initial.up, - down: migration_20241219_223752_initial.down, - name: '20241219_223752_initial', + up: migration_20241220_195012_initial.up, + down: migration_20241220_195012_initial.down, + name: '20241220_195012_initial', }, ] diff --git a/templates/with-vercel-website/src/payload-types.ts b/templates/with-vercel-website/src/payload-types.ts index 19a638fc1a..78156295c7 100644 --- a/templates/with-vercel-website/src/payload-types.ts +++ b/templates/with-vercel-website/src/payload-types.ts @@ -117,6 +117,9 @@ export interface Page { } | null); url?: string | null; label: string; + /** + * Choose how the link should be rendered. + */ appearance?: ('default' | 'outline') | null; }; id?: string | null; @@ -127,6 +130,9 @@ export interface Page { layout: (CallToActionBlock | ContentBlock | MediaBlock | ArchiveBlock | FormBlock)[]; meta?: { title?: string | null; + /** + * Maximum upload file size: 12MB. Recommended file size for images is <500KB. + */ image?: (number | null) | Media; description?: string | null; }; @@ -164,6 +170,9 @@ export interface Post { categories?: (number | Category)[] | null; meta?: { title?: string | null; + /** + * Maximum upload file size: 12MB. Recommended file size for images is <500KB. + */ image?: (number | null) | Media; description?: string | null; }; @@ -346,6 +355,9 @@ export interface CallToActionBlock { } | null); url?: string | null; label: string; + /** + * Choose how the link should be rendered. + */ appearance?: ('default' | 'outline') | null; }; id?: string | null; @@ -393,6 +405,9 @@ export interface ContentBlock { } | null); url?: string | null; label: string; + /** + * Choose how the link should be rendered. + */ appearance?: ('default' | 'outline') | null; }; id?: string | null; @@ -588,6 +603,9 @@ export interface Form { )[] | null; submitButtonLabel?: string | null; + /** + * Choose whether to display an on-page message or redirect to a different page after they submit the form. + */ confirmationType?: ('message' | 'redirect') | null; confirmationMessage?: { root: { @@ -607,6 +625,9 @@ export interface Form { redirect?: { url: string; }; + /** + * Send custom emails when the form submits. Use comma separated lists to send the same email to multiple recipients. To reference a value from this form, wrap that field's name with double curly brackets, i.e. {{firstName}}. You can use a wildcard {{*}} to output all data and {{*:table}} to format it as an HTML table in the email. + */ emails?: | { emailTo?: string | null; @@ -615,6 +636,9 @@ export interface Form { replyTo?: string | null; emailFrom?: string | null; subject: string; + /** + * Enter the message that should be sent in this email. + */ message?: { root: { type: string; @@ -642,6 +666,9 @@ export interface Form { */ export interface Redirect { id: number; + /** + * You will need to rebuild the website when changing this field. + */ from: string; to?: { type?: ('reference' | 'custom') | null; @@ -677,6 +704,8 @@ export interface FormSubmission { createdAt: string; } /** + * This is a collection of automatically created search results. These results are used by the global site search and will be updated automatically as documents in the CMS are created or updated. + * * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "search". */