@glidevvr/storage-payload-types-pkg 1.0.15 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/payload-types.ts +24 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -6,6 +6,18 @@
6
6
  * and re-run `payload generate:types` to regenerate this file.
7
7
  */
8
8
 
9
+ /**
10
+ * This interface was referenced by `Config`'s JSON-Schema
11
+ * via the `definition` "SocialMedia".
12
+ */
13
+ export type SocialMedia =
14
+ | {
15
+ socialMediaIcon: string;
16
+ url: string;
17
+ screenReaderText: string;
18
+ id?: string | null;
19
+ }[]
20
+ | null;
9
21
  /**
10
22
  * This interface was referenced by `Config`'s JSON-Schema
11
23
  * via the `definition` "NavItem".
@@ -297,13 +309,7 @@ export interface Tenant {
297
309
  * Search engine visibility for the website. It is up to search engines to honor this request.
298
310
  */
299
311
  websiteNotIndexable?: boolean | null;
300
- facebook?: string | null;
301
- x?: string | null;
302
- tiktok?: string | null;
303
- instagram?: string | null;
304
- youtube?: string | null;
305
- linkedIn?: string | null;
306
- yelp?: string | null;
312
+ socialMedia?: SocialMedia;
307
313
  createdBy?: string | null;
308
314
  updatedBy?: string | null;
309
315
  updatedAt: string;
@@ -2018,18 +2024,22 @@ export interface TenantsSelect<T extends boolean = true> {
2018
2024
  googleApiServerKey?: T;
2019
2025
  gtmId?: T;
2020
2026
  websiteNotIndexable?: T;
2021
- facebook?: T;
2022
- x?: T;
2023
- tiktok?: T;
2024
- instagram?: T;
2025
- youtube?: T;
2026
- linkedIn?: T;
2027
- yelp?: T;
2027
+ socialMedia?: T | SocialMediaSelect<T>;
2028
2028
  createdBy?: T;
2029
2029
  updatedBy?: T;
2030
2030
  updatedAt?: T;
2031
2031
  createdAt?: T;
2032
2032
  }
2033
+ /**
2034
+ * This interface was referenced by `Config`'s JSON-Schema
2035
+ * via the `definition` "SocialMedia_select".
2036
+ */
2037
+ export interface SocialMediaSelect<T extends boolean = true> {
2038
+ socialMediaIcon?: T;
2039
+ url?: T;
2040
+ screenReaderText?: T;
2041
+ id?: T;
2042
+ }
2033
2043
  /**
2034
2044
  * This interface was referenced by `Config`'s JSON-Schema
2035
2045
  * via the `definition` "posts_select".