Skip to content

Commit

Permalink
templates: bump for v3.10.0 (#10107)
Browse files Browse the repository at this point in the history
🤖 Automated bump of templates for v3.10.0

Triggered by user: @denolfe

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
denolfe and github-actions[bot] authored Dec 20, 2024
1 parent 4d50046 commit 99481cb
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions templates/with-postgres/src/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -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',
},
]
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions templates/with-vercel-postgres/src/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -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',
},
]
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions templates/with-vercel-website/src/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -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',
},
]
29 changes: 29 additions & 0 deletions templates/with-vercel-website/src/payload-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
};
Expand Down Expand Up @@ -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;
};
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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: {
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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".
*/
Expand Down

0 comments on commit 99481cb

Please sign in to comment.