templates: bump for v3.8.0 (#10013)
🤖 Automated bump of templates for v3.8.0
Triggered by user: @denolfe
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "7e088ab2-b3bd-4286-bf51-c78ce9ac732f",
|
"id": "38e49236-d2dd-4a63-946e-4800e2e3e9d8",
|
||||||
"prevId": "00000000-0000-0000-0000-000000000000",
|
"prevId": "00000000-0000-0000-0000-000000000000",
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
import * as migration_20241216_183241_initial from './20241216_183241_initial'
|
import * as migration_20241217_022224_initial from './20241217_022224_initial'
|
||||||
|
|
||||||
export const migrations = [
|
export const migrations = [
|
||||||
{
|
{
|
||||||
up: migration_20241216_183241_initial.up,
|
up: migration_20241217_022224_initial.up,
|
||||||
down: migration_20241216_183241_initial.down,
|
down: migration_20241217_022224_initial.down,
|
||||||
name: '20241216_183241_initial',
|
name: '20241217_022224_initial',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "62178519-5e26-4f24-a462-303f0ca4fb8c",
|
"id": "8b67dbb0-b807-4c8a-9d08-cbcedb4651bf",
|
||||||
"prevId": "00000000-0000-0000-0000-000000000000",
|
"prevId": "00000000-0000-0000-0000-000000000000",
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
import * as migration_20241216_183217_initial from './20241216_183217_initial'
|
import * as migration_20241217_022200_initial from './20241217_022200_initial'
|
||||||
|
|
||||||
export const migrations = [
|
export const migrations = [
|
||||||
{
|
{
|
||||||
up: migration_20241216_183217_initial.up,
|
up: migration_20241217_022200_initial.up,
|
||||||
down: migration_20241216_183217_initial.down,
|
down: migration_20241217_022200_initial.down,
|
||||||
name: '20241216_183217_initial',
|
name: '20241217_022200_initial',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"id": "ea96ca46-b715-43f9-8f77-7518afa91ecd",
|
"id": "89be6945-b93b-4f4e-a970-5a021f6b9652",
|
||||||
"prevId": "00000000-0000-0000-0000-000000000000",
|
"prevId": "00000000-0000-0000-0000-000000000000",
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
@@ -8175,11 +8175,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"enums": {
|
"enums": {
|
||||||
"public.enum_pages_hero_type": {
|
|
||||||
"name": "enum_pages_hero_type",
|
|
||||||
"schema": "public",
|
|
||||||
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
|
|
||||||
},
|
|
||||||
"public.enum_pages_hero_links_link_type": {
|
"public.enum_pages_hero_links_link_type": {
|
||||||
"name": "enum_pages_hero_links_link_type",
|
"name": "enum_pages_hero_links_link_type",
|
||||||
"schema": "public",
|
"schema": "public",
|
||||||
@@ -8225,16 +8220,16 @@
|
|||||||
"schema": "public",
|
"schema": "public",
|
||||||
"values": ["posts"]
|
"values": ["posts"]
|
||||||
},
|
},
|
||||||
|
"public.enum_pages_hero_type": {
|
||||||
|
"name": "enum_pages_hero_type",
|
||||||
|
"schema": "public",
|
||||||
|
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
|
||||||
|
},
|
||||||
"public.enum_pages_status": {
|
"public.enum_pages_status": {
|
||||||
"name": "enum_pages_status",
|
"name": "enum_pages_status",
|
||||||
"schema": "public",
|
"schema": "public",
|
||||||
"values": ["draft", "published"]
|
"values": ["draft", "published"]
|
||||||
},
|
},
|
||||||
"public.enum__pages_v_version_hero_type": {
|
|
||||||
"name": "enum__pages_v_version_hero_type",
|
|
||||||
"schema": "public",
|
|
||||||
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
|
|
||||||
},
|
|
||||||
"public.enum__pages_v_version_hero_links_link_type": {
|
"public.enum__pages_v_version_hero_links_link_type": {
|
||||||
"name": "enum__pages_v_version_hero_links_link_type",
|
"name": "enum__pages_v_version_hero_links_link_type",
|
||||||
"schema": "public",
|
"schema": "public",
|
||||||
@@ -8280,6 +8275,11 @@
|
|||||||
"schema": "public",
|
"schema": "public",
|
||||||
"values": ["posts"]
|
"values": ["posts"]
|
||||||
},
|
},
|
||||||
|
"public.enum__pages_v_version_hero_type": {
|
||||||
|
"name": "enum__pages_v_version_hero_type",
|
||||||
|
"schema": "public",
|
||||||
|
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
|
||||||
|
},
|
||||||
"public.enum__pages_v_version_status": {
|
"public.enum__pages_v_version_status": {
|
||||||
"name": "enum__pages_v_version_status",
|
"name": "enum__pages_v_version_status",
|
||||||
"schema": "public",
|
"schema": "public",
|
||||||
@@ -2,8 +2,7 @@ import { MigrateUpArgs, MigrateDownArgs, sql } from '@payloadcms/db-vercel-postg
|
|||||||
|
|
||||||
export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
|
export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
|
||||||
await db.execute(sql`
|
await db.execute(sql`
|
||||||
CREATE TYPE "public"."enum_pages_hero_type" AS ENUM('none', 'highImpact', 'mediumImpact', 'lowImpact');
|
CREATE TYPE "public"."enum_pages_hero_links_link_type" AS ENUM('reference', 'custom');
|
||||||
CREATE TYPE "public"."enum_pages_hero_links_link_type" AS ENUM('reference', 'custom');
|
|
||||||
CREATE TYPE "public"."enum_pages_hero_links_link_appearance" AS ENUM('default', 'outline');
|
CREATE TYPE "public"."enum_pages_hero_links_link_appearance" AS ENUM('default', 'outline');
|
||||||
CREATE TYPE "public"."enum_pages_blocks_cta_links_link_type" AS ENUM('reference', 'custom');
|
CREATE TYPE "public"."enum_pages_blocks_cta_links_link_type" AS ENUM('reference', 'custom');
|
||||||
CREATE TYPE "public"."enum_pages_blocks_cta_links_link_appearance" AS ENUM('default', 'outline');
|
CREATE TYPE "public"."enum_pages_blocks_cta_links_link_appearance" AS ENUM('default', 'outline');
|
||||||
@@ -12,8 +11,8 @@ export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
|
|||||||
CREATE TYPE "public"."enum_pages_blocks_content_columns_link_appearance" AS ENUM('default', 'outline');
|
CREATE TYPE "public"."enum_pages_blocks_content_columns_link_appearance" AS ENUM('default', 'outline');
|
||||||
CREATE TYPE "public"."enum_pages_blocks_archive_populate_by" AS ENUM('collection', 'selection');
|
CREATE TYPE "public"."enum_pages_blocks_archive_populate_by" AS ENUM('collection', 'selection');
|
||||||
CREATE TYPE "public"."enum_pages_blocks_archive_relation_to" AS ENUM('posts');
|
CREATE TYPE "public"."enum_pages_blocks_archive_relation_to" AS ENUM('posts');
|
||||||
|
CREATE TYPE "public"."enum_pages_hero_type" AS ENUM('none', 'highImpact', 'mediumImpact', 'lowImpact');
|
||||||
CREATE TYPE "public"."enum_pages_status" AS ENUM('draft', 'published');
|
CREATE TYPE "public"."enum_pages_status" AS ENUM('draft', 'published');
|
||||||
CREATE TYPE "public"."enum__pages_v_version_hero_type" AS ENUM('none', 'highImpact', 'mediumImpact', 'lowImpact');
|
|
||||||
CREATE TYPE "public"."enum__pages_v_version_hero_links_link_type" AS ENUM('reference', 'custom');
|
CREATE TYPE "public"."enum__pages_v_version_hero_links_link_type" AS ENUM('reference', 'custom');
|
||||||
CREATE TYPE "public"."enum__pages_v_version_hero_links_link_appearance" AS ENUM('default', 'outline');
|
CREATE TYPE "public"."enum__pages_v_version_hero_links_link_appearance" AS ENUM('default', 'outline');
|
||||||
CREATE TYPE "public"."enum__pages_v_blocks_cta_links_link_type" AS ENUM('reference', 'custom');
|
CREATE TYPE "public"."enum__pages_v_blocks_cta_links_link_type" AS ENUM('reference', 'custom');
|
||||||
@@ -23,6 +22,7 @@ export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
|
|||||||
CREATE TYPE "public"."enum__pages_v_blocks_content_columns_link_appearance" AS ENUM('default', 'outline');
|
CREATE TYPE "public"."enum__pages_v_blocks_content_columns_link_appearance" AS ENUM('default', 'outline');
|
||||||
CREATE TYPE "public"."enum__pages_v_blocks_archive_populate_by" AS ENUM('collection', 'selection');
|
CREATE TYPE "public"."enum__pages_v_blocks_archive_populate_by" AS ENUM('collection', 'selection');
|
||||||
CREATE TYPE "public"."enum__pages_v_blocks_archive_relation_to" AS ENUM('posts');
|
CREATE TYPE "public"."enum__pages_v_blocks_archive_relation_to" AS ENUM('posts');
|
||||||
|
CREATE TYPE "public"."enum__pages_v_version_hero_type" AS ENUM('none', 'highImpact', 'mediumImpact', 'lowImpact');
|
||||||
CREATE TYPE "public"."enum__pages_v_version_status" AS ENUM('draft', 'published');
|
CREATE TYPE "public"."enum__pages_v_version_status" AS ENUM('draft', 'published');
|
||||||
CREATE TYPE "public"."enum_posts_status" AS ENUM('draft', 'published');
|
CREATE TYPE "public"."enum_posts_status" AS ENUM('draft', 'published');
|
||||||
CREATE TYPE "public"."enum__posts_v_version_status" AS ENUM('draft', 'published');
|
CREATE TYPE "public"."enum__posts_v_version_status" AS ENUM('draft', 'published');
|
||||||
@@ -1544,7 +1544,6 @@ export async function down({ db, payload, req }: MigrateDownArgs): Promise<void>
|
|||||||
DROP TABLE "footer_nav_items" CASCADE;
|
DROP TABLE "footer_nav_items" CASCADE;
|
||||||
DROP TABLE "footer" CASCADE;
|
DROP TABLE "footer" CASCADE;
|
||||||
DROP TABLE "footer_rels" CASCADE;
|
DROP TABLE "footer_rels" CASCADE;
|
||||||
DROP TYPE "public"."enum_pages_hero_type";
|
|
||||||
DROP TYPE "public"."enum_pages_hero_links_link_type";
|
DROP TYPE "public"."enum_pages_hero_links_link_type";
|
||||||
DROP TYPE "public"."enum_pages_hero_links_link_appearance";
|
DROP TYPE "public"."enum_pages_hero_links_link_appearance";
|
||||||
DROP TYPE "public"."enum_pages_blocks_cta_links_link_type";
|
DROP TYPE "public"."enum_pages_blocks_cta_links_link_type";
|
||||||
@@ -1554,8 +1553,8 @@ export async function down({ db, payload, req }: MigrateDownArgs): Promise<void>
|
|||||||
DROP TYPE "public"."enum_pages_blocks_content_columns_link_appearance";
|
DROP TYPE "public"."enum_pages_blocks_content_columns_link_appearance";
|
||||||
DROP TYPE "public"."enum_pages_blocks_archive_populate_by";
|
DROP TYPE "public"."enum_pages_blocks_archive_populate_by";
|
||||||
DROP TYPE "public"."enum_pages_blocks_archive_relation_to";
|
DROP TYPE "public"."enum_pages_blocks_archive_relation_to";
|
||||||
|
DROP TYPE "public"."enum_pages_hero_type";
|
||||||
DROP TYPE "public"."enum_pages_status";
|
DROP TYPE "public"."enum_pages_status";
|
||||||
DROP TYPE "public"."enum__pages_v_version_hero_type";
|
|
||||||
DROP TYPE "public"."enum__pages_v_version_hero_links_link_type";
|
DROP TYPE "public"."enum__pages_v_version_hero_links_link_type";
|
||||||
DROP TYPE "public"."enum__pages_v_version_hero_links_link_appearance";
|
DROP TYPE "public"."enum__pages_v_version_hero_links_link_appearance";
|
||||||
DROP TYPE "public"."enum__pages_v_blocks_cta_links_link_type";
|
DROP TYPE "public"."enum__pages_v_blocks_cta_links_link_type";
|
||||||
@@ -1565,6 +1564,7 @@ export async function down({ db, payload, req }: MigrateDownArgs): Promise<void>
|
|||||||
DROP TYPE "public"."enum__pages_v_blocks_content_columns_link_appearance";
|
DROP TYPE "public"."enum__pages_v_blocks_content_columns_link_appearance";
|
||||||
DROP TYPE "public"."enum__pages_v_blocks_archive_populate_by";
|
DROP TYPE "public"."enum__pages_v_blocks_archive_populate_by";
|
||||||
DROP TYPE "public"."enum__pages_v_blocks_archive_relation_to";
|
DROP TYPE "public"."enum__pages_v_blocks_archive_relation_to";
|
||||||
|
DROP TYPE "public"."enum__pages_v_version_hero_type";
|
||||||
DROP TYPE "public"."enum__pages_v_version_status";
|
DROP TYPE "public"."enum__pages_v_version_status";
|
||||||
DROP TYPE "public"."enum_posts_status";
|
DROP TYPE "public"."enum_posts_status";
|
||||||
DROP TYPE "public"."enum__posts_v_version_status";
|
DROP TYPE "public"."enum__posts_v_version_status";
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
import * as migration_20241216_183230_initial from './20241216_183230_initial'
|
import * as migration_20241217_022214_initial from './20241217_022214_initial'
|
||||||
|
|
||||||
export const migrations = [
|
export const migrations = [
|
||||||
{
|
{
|
||||||
up: migration_20241216_183230_initial.up,
|
up: migration_20241217_022214_initial.up,
|
||||||
down: migration_20241216_183230_initial.down,
|
down: migration_20241217_022214_initial.down,
|
||||||
name: '20241216_183230_initial',
|
name: '20241217_022214_initial',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -805,80 +805,11 @@ export interface PagesSelect<T extends boolean = true> {
|
|||||||
layout?:
|
layout?:
|
||||||
| T
|
| T
|
||||||
| {
|
| {
|
||||||
cta?:
|
cta?: T | CallToActionBlockSelect<T>;
|
||||||
| T
|
content?: T | ContentBlockSelect<T>;
|
||||||
| {
|
mediaBlock?: T | MediaBlockSelect<T>;
|
||||||
richText?: T;
|
archive?: T | ArchiveBlockSelect<T>;
|
||||||
links?:
|
formBlock?: T | FormBlockSelect<T>;
|
||||||
| T
|
|
||||||
| {
|
|
||||||
link?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
type?: T;
|
|
||||||
newTab?: T;
|
|
||||||
reference?: T;
|
|
||||||
url?: T;
|
|
||||||
label?: T;
|
|
||||||
appearance?: T;
|
|
||||||
};
|
|
||||||
id?: T;
|
|
||||||
};
|
|
||||||
id?: T;
|
|
||||||
blockName?: T;
|
|
||||||
};
|
|
||||||
content?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
columns?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
size?: T;
|
|
||||||
richText?: T;
|
|
||||||
enableLink?: T;
|
|
||||||
link?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
type?: T;
|
|
||||||
newTab?: T;
|
|
||||||
reference?: T;
|
|
||||||
url?: T;
|
|
||||||
label?: T;
|
|
||||||
appearance?: T;
|
|
||||||
};
|
|
||||||
id?: T;
|
|
||||||
};
|
|
||||||
id?: T;
|
|
||||||
blockName?: T;
|
|
||||||
};
|
|
||||||
mediaBlock?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
media?: T;
|
|
||||||
id?: T;
|
|
||||||
blockName?: T;
|
|
||||||
};
|
|
||||||
archive?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
introContent?: T;
|
|
||||||
populateBy?: T;
|
|
||||||
relationTo?: T;
|
|
||||||
categories?: T;
|
|
||||||
limit?: T;
|
|
||||||
selectedDocs?: T;
|
|
||||||
id?: T;
|
|
||||||
blockName?: T;
|
|
||||||
};
|
|
||||||
formBlock?:
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
form?: T;
|
|
||||||
enableIntro?: T;
|
|
||||||
introContent?: T;
|
|
||||||
id?: T;
|
|
||||||
blockName?: T;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
meta?:
|
meta?:
|
||||||
| T
|
| T
|
||||||
@@ -894,6 +825,90 @@ export interface PagesSelect<T extends boolean = true> {
|
|||||||
createdAt?: T;
|
createdAt?: T;
|
||||||
_status?: T;
|
_status?: T;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
* via the `definition` "CallToActionBlock_select".
|
||||||
|
*/
|
||||||
|
export interface CallToActionBlockSelect<T extends boolean = true> {
|
||||||
|
richText?: T;
|
||||||
|
links?:
|
||||||
|
| T
|
||||||
|
| {
|
||||||
|
link?:
|
||||||
|
| T
|
||||||
|
| {
|
||||||
|
type?: T;
|
||||||
|
newTab?: T;
|
||||||
|
reference?: T;
|
||||||
|
url?: T;
|
||||||
|
label?: T;
|
||||||
|
appearance?: T;
|
||||||
|
};
|
||||||
|
id?: T;
|
||||||
|
};
|
||||||
|
id?: T;
|
||||||
|
blockName?: T;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
* via the `definition` "ContentBlock_select".
|
||||||
|
*/
|
||||||
|
export interface ContentBlockSelect<T extends boolean = true> {
|
||||||
|
columns?:
|
||||||
|
| T
|
||||||
|
| {
|
||||||
|
size?: T;
|
||||||
|
richText?: T;
|
||||||
|
enableLink?: T;
|
||||||
|
link?:
|
||||||
|
| T
|
||||||
|
| {
|
||||||
|
type?: T;
|
||||||
|
newTab?: T;
|
||||||
|
reference?: T;
|
||||||
|
url?: T;
|
||||||
|
label?: T;
|
||||||
|
appearance?: T;
|
||||||
|
};
|
||||||
|
id?: T;
|
||||||
|
};
|
||||||
|
id?: T;
|
||||||
|
blockName?: T;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
* via the `definition` "MediaBlock_select".
|
||||||
|
*/
|
||||||
|
export interface MediaBlockSelect<T extends boolean = true> {
|
||||||
|
media?: T;
|
||||||
|
id?: T;
|
||||||
|
blockName?: T;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
* via the `definition` "ArchiveBlock_select".
|
||||||
|
*/
|
||||||
|
export interface ArchiveBlockSelect<T extends boolean = true> {
|
||||||
|
introContent?: T;
|
||||||
|
populateBy?: T;
|
||||||
|
relationTo?: T;
|
||||||
|
categories?: T;
|
||||||
|
limit?: T;
|
||||||
|
selectedDocs?: T;
|
||||||
|
id?: T;
|
||||||
|
blockName?: T;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
* via the `definition` "FormBlock_select".
|
||||||
|
*/
|
||||||
|
export interface FormBlockSelect<T extends boolean = true> {
|
||||||
|
form?: T;
|
||||||
|
enableIntro?: T;
|
||||||
|
introContent?: T;
|
||||||
|
id?: T;
|
||||||
|
blockName?: T;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
* via the `definition` "posts_select".
|
* via the `definition` "posts_select".
|
||||||
|
|||||||
Reference in New Issue
Block a user