@glidevvr/storage-payload-types-pkg 1.0.87 → 1.0.89

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 +69 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glidevvr/storage-payload-types-pkg",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "description": "Package for Payload CMS types.",
5
5
  "main": "payload-types.ts",
6
6
  "scripts": {
package/payload-types.ts CHANGED
@@ -797,7 +797,7 @@ export interface Facility {
797
797
  * A soft reservation does not remove a unit from inventory.
798
798
  */
799
799
  disableSoftReservation: boolean;
800
- rentalAppLocation: 'drawer' | 'dialog' | 'external';
800
+ rentalAppLocation: 'external';
801
801
  /**
802
802
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
803
803
  */
@@ -805,12 +805,12 @@ export interface Facility {
805
805
  /**
806
806
  * If the buttons are combined, the reservation app location will default to the location of the rental app.
807
807
  */
808
- reservationAppLocation?: ('drawer' | 'dialog' | 'external') | null;
808
+ reservationAppLocation?: 'external' | null;
809
809
  /**
810
810
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
811
811
  */
812
812
  reservationAppExternalUrl?: string | null;
813
- softReservationAppLocation: 'drawer' | 'dialog' | 'external';
813
+ softReservationAppLocation: 'external';
814
814
  /**
815
815
  * If you need values mapped to the url, pass them in using the dot notation and the app will "translate".
816
816
  */
@@ -1260,7 +1260,7 @@ export interface Form {
1260
1260
  blockType: 'country';
1261
1261
  }
1262
1262
  | {
1263
- name?: string | null;
1263
+ name: string;
1264
1264
  label?: string | null;
1265
1265
  width?: number | null;
1266
1266
  defaultValue?: string | null;
@@ -1346,6 +1346,8 @@ export interface Form {
1346
1346
  blockName?: string | null;
1347
1347
  blockType: 'textarea';
1348
1348
  }
1349
+ | FacilitySelectField
1350
+ | PhoneField
1349
1351
  )[]
1350
1352
  | null;
1351
1353
  submitButtonLabel?: string | null;
@@ -1424,6 +1426,39 @@ export interface Form {
1424
1426
  updatedAt: string;
1425
1427
  createdAt: string;
1426
1428
  }
1429
+ /**
1430
+ * This interface was referenced by `Config`'s JSON-Schema
1431
+ * via the `definition` "FacilitySelectField".
1432
+ */
1433
+ export interface FacilitySelectField {
1434
+ name: string;
1435
+ label?: string | null;
1436
+ /**
1437
+ * The default value of the field. Enter the SE ID of the facility to be selected by default.
1438
+ */
1439
+ defaultValue?: string | null;
1440
+ placeholder?: string | null;
1441
+ width?: number | null;
1442
+ required?: boolean | null;
1443
+ id?: string | null;
1444
+ blockName?: string | null;
1445
+ blockType: 'facilitySelect';
1446
+ }
1447
+ /**
1448
+ * This interface was referenced by `Config`'s JSON-Schema
1449
+ * via the `definition` "PhoneField".
1450
+ */
1451
+ export interface PhoneField {
1452
+ name: string;
1453
+ label?: string | null;
1454
+ defaultValue?: string | null;
1455
+ placeholder?: string | null;
1456
+ width?: number | null;
1457
+ required?: boolean | null;
1458
+ id?: string | null;
1459
+ blockName?: string | null;
1460
+ blockType: 'phone';
1461
+ }
1427
1462
  /**
1428
1463
  * This interface was referenced by `Config`'s JSON-Schema
1429
1464
  * via the `definition` "GalleryBlock".
@@ -3020,6 +3055,8 @@ export interface FormsSelect<T extends boolean = true> {
3020
3055
  id?: T;
3021
3056
  blockName?: T;
3022
3057
  };
3058
+ facilitySelect?: T | FacilitySelectFieldSelect<T>;
3059
+ phone?: T | PhoneFieldSelect<T>;
3023
3060
  };
3024
3061
  submitButtonLabel?: T;
3025
3062
  confirmationType?: T;
@@ -3046,6 +3083,34 @@ export interface FormsSelect<T extends boolean = true> {
3046
3083
  updatedAt?: T;
3047
3084
  createdAt?: T;
3048
3085
  }
3086
+ /**
3087
+ * This interface was referenced by `Config`'s JSON-Schema
3088
+ * via the `definition` "FacilitySelectField_select".
3089
+ */
3090
+ export interface FacilitySelectFieldSelect<T extends boolean = true> {
3091
+ name?: T;
3092
+ label?: T;
3093
+ defaultValue?: T;
3094
+ placeholder?: T;
3095
+ width?: T;
3096
+ required?: T;
3097
+ id?: T;
3098
+ blockName?: T;
3099
+ }
3100
+ /**
3101
+ * This interface was referenced by `Config`'s JSON-Schema
3102
+ * via the `definition` "PhoneField_select".
3103
+ */
3104
+ export interface PhoneFieldSelect<T extends boolean = true> {
3105
+ name?: T;
3106
+ label?: T;
3107
+ defaultValue?: T;
3108
+ placeholder?: T;
3109
+ width?: T;
3110
+ required?: T;
3111
+ id?: T;
3112
+ blockName?: T;
3113
+ }
3049
3114
  /**
3050
3115
  * This interface was referenced by `Config`'s JSON-Schema
3051
3116
  * via the `definition` "form-submissions_select".