@twotaps/site-utils-base 0.1.16 → 0.1.18
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.
- package/dist/.tsbuildInfo +1 -1
- package/dist/page/page.query.js +2 -0
- package/dist/page/page.query.js.map +1 -1
- package/dist/types.d.ts +104 -13
- package/dist/types.js +16 -2
- package/dist/types.js.map +1 -1
- package/dist/util.d.ts +2 -2
- package/package.json +1 -1
package/dist/page/page.query.js
CHANGED
|
@@ -14,6 +14,7 @@ export const DynamicPageFiltering = gql `
|
|
|
14
14
|
$offset: Int
|
|
15
15
|
$filters: JSONObject
|
|
16
16
|
$fields: [String]
|
|
17
|
+
$orderBy: PublicPagesOrderByDto
|
|
17
18
|
) {
|
|
18
19
|
publicListPages(
|
|
19
20
|
latitude: $latitude
|
|
@@ -29,6 +30,7 @@ export const DynamicPageFiltering = gql `
|
|
|
29
30
|
offset: $offset
|
|
30
31
|
filters: $filters
|
|
31
32
|
fields: $fields
|
|
33
|
+
orderBy: $orderBy
|
|
32
34
|
) {
|
|
33
35
|
items {
|
|
34
36
|
id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.query.js","sourceRoot":"","sources":["../../src/page/page.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"page.query.js","sourceRoot":"","sources":["../../src/page/page.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CtC,CAAC;AAEF,MAAM,wBAAwB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CnC,CAAC;AAEF,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiBzB,wBAAwB;CAC3B,CAAC;AAEF,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiBnC,wBAAwB;CAC3B,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BxB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;IAevB,iBAAiB;IACjB,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;IAajC,iBAAiB;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;IAejC,iBAAiB;IACjB,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;IAelC,2BAA2B;IAC3B,aAAa;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;CAS5B,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;CAMpC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;CAMnC,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -41,19 +41,28 @@ export type Scalars = {
|
|
|
41
41
|
input: number;
|
|
42
42
|
output: number;
|
|
43
43
|
};
|
|
44
|
+
/** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */
|
|
44
45
|
DateTime: {
|
|
45
46
|
input: any;
|
|
46
47
|
output: any;
|
|
47
48
|
};
|
|
49
|
+
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
48
50
|
JSON: {
|
|
49
51
|
input: any;
|
|
50
52
|
output: any;
|
|
51
53
|
};
|
|
54
|
+
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
52
55
|
JSONObject: {
|
|
53
56
|
input: any;
|
|
54
57
|
output: any;
|
|
55
58
|
};
|
|
56
59
|
};
|
|
60
|
+
export declare enum AccessLevel {
|
|
61
|
+
BrandWide = "BrandWide",
|
|
62
|
+
Private = "Private",
|
|
63
|
+
Restricted = "Restricted",
|
|
64
|
+
SiteWide = "SiteWide"
|
|
65
|
+
}
|
|
57
66
|
export type AnnounceCampaignDto = {
|
|
58
67
|
campaignId: Scalars['Int']['input'];
|
|
59
68
|
notify?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -114,6 +123,13 @@ export declare enum CampaignType {
|
|
|
114
123
|
Block = "Block",
|
|
115
124
|
Page = "Page"
|
|
116
125
|
}
|
|
126
|
+
export type ClonePagesInput = {
|
|
127
|
+
schemaMappings: Array<SchemaMappingInput>;
|
|
128
|
+
sourcePageIds: Array<Scalars['Int']['input']>;
|
|
129
|
+
targetParentPageId?: InputMaybe<Scalars['Int']['input']>;
|
|
130
|
+
targetSiteId: Scalars['Int']['input'];
|
|
131
|
+
templateMappings?: InputMaybe<Array<TemplateMappingInput>>;
|
|
132
|
+
};
|
|
117
133
|
export type CloneTemplateInput = {
|
|
118
134
|
campaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
119
135
|
existingTemplateId: Scalars['Int']['input'];
|
|
@@ -220,9 +236,9 @@ export type CreatePageDto = {
|
|
|
220
236
|
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
221
237
|
draftRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
222
238
|
lang?: InputMaybe<Scalars['String']['input']>;
|
|
223
|
-
metaDescription
|
|
239
|
+
metaDescription?: InputMaybe<Scalars['String']['input']>;
|
|
224
240
|
metaTags?: InputMaybe<Scalars['String']['input']>;
|
|
225
|
-
metaTitle
|
|
241
|
+
metaTitle?: InputMaybe<Scalars['String']['input']>;
|
|
226
242
|
name: Scalars['String']['input'];
|
|
227
243
|
parentId?: InputMaybe<Scalars['Int']['input']>;
|
|
228
244
|
properties?: InputMaybe<Array<CustomPagePropertiesInput>>;
|
|
@@ -236,9 +252,10 @@ export type CreatePageDto = {
|
|
|
236
252
|
export type CreatePageRevisionInput = {
|
|
237
253
|
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
238
254
|
publish: Scalars['Boolean']['input'];
|
|
239
|
-
references
|
|
255
|
+
references: Scalars['JSON']['input'];
|
|
256
|
+
revisionSchemas: Array<PageRevisionSchemaInput>;
|
|
240
257
|
scheduledAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
241
|
-
|
|
258
|
+
schemaDefinition?: InputMaybe<RevisionSchemaSchemaDefinitionDto>;
|
|
242
259
|
templateId?: InputMaybe<Scalars['Int']['input']>;
|
|
243
260
|
type: PageRevisionType;
|
|
244
261
|
};
|
|
@@ -345,6 +362,7 @@ export type FormFieldConfigInput = {
|
|
|
345
362
|
info?: InputMaybe<Scalars['String']['input']>;
|
|
346
363
|
inputType?: InputMaybe<FormFieldInputType>;
|
|
347
364
|
options?: InputMaybe<Array<KeyValueInput>>;
|
|
365
|
+
presentation?: InputMaybe<PresentationType>;
|
|
348
366
|
validation?: InputMaybe<FormFieldValidationConfigInput>;
|
|
349
367
|
};
|
|
350
368
|
export declare enum FormFieldConstraintType {
|
|
@@ -426,6 +444,7 @@ export declare enum IntegrationType {
|
|
|
426
444
|
Clubwise = "Clubwise",
|
|
427
445
|
GloFox = "GloFox",
|
|
428
446
|
GymSales = "GymSales",
|
|
447
|
+
KeepMe = "KeepMe",
|
|
429
448
|
RecaptchaV3 = "RecaptchaV3",
|
|
430
449
|
Sendgrid = "Sendgrid",
|
|
431
450
|
ZapierWebhook = "ZapierWebhook"
|
|
@@ -519,6 +538,15 @@ export type PaginationParam = {
|
|
|
519
538
|
sortColumn?: InputMaybe<Scalars['String']['input']>;
|
|
520
539
|
sortDirection?: InputMaybe<SortDirection>;
|
|
521
540
|
};
|
|
541
|
+
export declare enum PresentationType {
|
|
542
|
+
CheckboxGroup = "CheckboxGroup",
|
|
543
|
+
Dropdown = "Dropdown",
|
|
544
|
+
RadioButtonGroup = "RadioButtonGroup"
|
|
545
|
+
}
|
|
546
|
+
export type PublicPagesOrderByDto = {
|
|
547
|
+
direction?: InputMaybe<Scalars['String']['input']>;
|
|
548
|
+
field: Scalars['String']['input'];
|
|
549
|
+
};
|
|
522
550
|
export declare enum RedirectStatus {
|
|
523
551
|
Active = "Active",
|
|
524
552
|
Inactive = "Inactive"
|
|
@@ -564,18 +592,43 @@ export declare enum ReportStatType {
|
|
|
564
592
|
export type ResetPasswordInputDto = {
|
|
565
593
|
password: Scalars['String']['input'];
|
|
566
594
|
};
|
|
595
|
+
export type RevisionSchemaSchemaDefinitionDto = {
|
|
596
|
+
fields: Array<RevisionSchemaSchemaFieldDto>;
|
|
597
|
+
schemas: Array<RevisionSchemaSchemaDto>;
|
|
598
|
+
};
|
|
599
|
+
export type RevisionSchemaSchemaDto = {
|
|
600
|
+
id: Scalars['Int']['input'];
|
|
601
|
+
type: TtSchemaType;
|
|
602
|
+
};
|
|
603
|
+
export type RevisionSchemaSchemaFieldDto = {
|
|
604
|
+
hasMultipleValues: Scalars['Boolean']['input'];
|
|
605
|
+
id: Scalars['Int']['input'];
|
|
606
|
+
schemaId: Scalars['Int']['input'];
|
|
607
|
+
schemaTypeId?: InputMaybe<Scalars['Int']['input']>;
|
|
608
|
+
type: TtSchemaFieldType;
|
|
609
|
+
};
|
|
567
610
|
export declare enum Role {
|
|
568
611
|
Admin = "ADMIN",
|
|
569
612
|
Editor = "EDITOR",
|
|
570
613
|
None = "NONE",
|
|
571
614
|
Owner = "OWNER",
|
|
615
|
+
PowerEditor = "POWER_EDITOR",
|
|
572
616
|
Viewer = "VIEWER"
|
|
573
617
|
}
|
|
618
|
+
export type SchemaFieldMappingInput = {
|
|
619
|
+
sourceFieldId: Scalars['Int']['input'];
|
|
620
|
+
targetFieldId: Scalars['Int']['input'];
|
|
621
|
+
};
|
|
622
|
+
export type SchemaMappingInput = {
|
|
623
|
+
fieldPathMappings: Array<SchemaFieldMappingInput>;
|
|
624
|
+
sourceSchemaId: Scalars['Int']['input'];
|
|
625
|
+
targetSchemaId: Scalars['Int']['input'];
|
|
626
|
+
};
|
|
574
627
|
export type SiteReportRequestDto = {
|
|
575
|
-
month
|
|
628
|
+
month?: Scalars['String']['input'];
|
|
576
629
|
pageIds?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
577
630
|
siteId?: InputMaybe<Scalars['Int']['input']>;
|
|
578
|
-
stats
|
|
631
|
+
stats?: Array<ReportStatRequest>;
|
|
579
632
|
};
|
|
580
633
|
export declare enum SortDirection {
|
|
581
634
|
Ascending = "ASCENDING",
|
|
@@ -595,12 +648,11 @@ export type TtSchemaFieldSortOrderInput = {
|
|
|
595
648
|
id: Scalars['Int']['input'];
|
|
596
649
|
};
|
|
597
650
|
export declare enum TtSchemaFieldType {
|
|
598
|
-
Block = "Block",
|
|
599
|
-
Component = "Component",
|
|
600
651
|
Datetime = "Datetime",
|
|
601
652
|
Form = "Form",
|
|
602
653
|
GmbLocation = "GmbLocation",
|
|
603
654
|
Image = "Image",
|
|
655
|
+
Instagram = "Instagram",
|
|
604
656
|
Link = "Link",
|
|
605
657
|
Page = "Page",
|
|
606
658
|
RichText = "RichText",
|
|
@@ -631,6 +683,10 @@ export type TtSchemaWrapperInput = {
|
|
|
631
683
|
name: Scalars['String']['input'];
|
|
632
684
|
organisationId: Scalars['Int']['input'];
|
|
633
685
|
};
|
|
686
|
+
export type TemplateMappingInput = {
|
|
687
|
+
sourceTemplateId: Scalars['Int']['input'];
|
|
688
|
+
targetTemplateId: Scalars['Int']['input'];
|
|
689
|
+
};
|
|
634
690
|
export declare enum TemplateOrder {
|
|
635
691
|
Name = "NAME",
|
|
636
692
|
UpdatedAt = "UPDATED_AT"
|
|
@@ -645,6 +701,11 @@ export declare enum TemplateType {
|
|
|
645
701
|
SiteWideBlock = "SiteWideBlock",
|
|
646
702
|
StarterPageLayout = "StarterPageLayout"
|
|
647
703
|
}
|
|
704
|
+
export type UnresolvedReferenceDto = {
|
|
705
|
+
dynamicReference: Scalars['String']['input'];
|
|
706
|
+
pageId?: InputMaybe<Scalars['Int']['input']>;
|
|
707
|
+
reference: Scalars['JSON']['input'];
|
|
708
|
+
};
|
|
648
709
|
export type UpdateBrandDto = {
|
|
649
710
|
id: Scalars['Int']['input'];
|
|
650
711
|
name: Scalars['String']['input'];
|
|
@@ -706,16 +767,12 @@ export type UpdateIntegrationDto = {
|
|
|
706
767
|
type?: InputMaybe<IntegrationType>;
|
|
707
768
|
};
|
|
708
769
|
export type UpdatePageDto = {
|
|
709
|
-
allowCrawling?: InputMaybe<Scalars['Boolean']['input']>;
|
|
710
770
|
customScriptBody?: InputMaybe<Scalars['String']['input']>;
|
|
711
771
|
customScriptHead?: InputMaybe<Scalars['String']['input']>;
|
|
712
772
|
draftCustomFieldsId?: InputMaybe<Scalars['Int']['input']>;
|
|
713
773
|
draftRevisionId?: InputMaybe<Scalars['Int']['input']>;
|
|
714
774
|
id: Scalars['Int']['input'];
|
|
715
775
|
lang?: InputMaybe<Scalars['String']['input']>;
|
|
716
|
-
metaDescription?: InputMaybe<Scalars['String']['input']>;
|
|
717
|
-
metaTags?: InputMaybe<Scalars['String']['input']>;
|
|
718
|
-
metaTitle?: InputMaybe<Scalars['String']['input']>;
|
|
719
776
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
720
777
|
parentId?: InputMaybe<Scalars['Int']['input']>;
|
|
721
778
|
properties?: InputMaybe<Array<CustomPagePropertiesInput>>;
|
|
@@ -726,6 +783,13 @@ export type UpdatePageDto = {
|
|
|
726
783
|
ttschemaId?: InputMaybe<Scalars['Int']['input']>;
|
|
727
784
|
urlSegment?: InputMaybe<Scalars['String']['input']>;
|
|
728
785
|
};
|
|
786
|
+
export type UpdatePageSeoSettingsDto = {
|
|
787
|
+
allowCrawling?: InputMaybe<Scalars['Boolean']['input']>;
|
|
788
|
+
id: Scalars['Int']['input'];
|
|
789
|
+
metaDescription?: InputMaybe<Scalars['String']['input']>;
|
|
790
|
+
metaTags?: InputMaybe<Scalars['String']['input']>;
|
|
791
|
+
metaTitle?: InputMaybe<Scalars['String']['input']>;
|
|
792
|
+
};
|
|
729
793
|
export type UpdateRedirectEntityDto = {
|
|
730
794
|
fromPath?: InputMaybe<Scalars['String']['input']>;
|
|
731
795
|
id: Scalars['Int']['input'];
|
|
@@ -808,6 +872,7 @@ export type DynamicPageFilteringQueryVariables = Exact<{
|
|
|
808
872
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
809
873
|
filters?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
810
874
|
fields?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
875
|
+
orderBy?: InputMaybe<PublicPagesOrderByDto>;
|
|
811
876
|
}>;
|
|
812
877
|
export type DynamicPageFilteringQuery = {
|
|
813
878
|
__typename?: 'Query';
|
|
@@ -835,6 +900,8 @@ export type RevisionSchemaFragmentFragment = {
|
|
|
835
900
|
campaign: boolean;
|
|
836
901
|
label?: string | null;
|
|
837
902
|
schemaBlockId?: number | null;
|
|
903
|
+
inHeader?: boolean | null;
|
|
904
|
+
inFooter?: boolean | null;
|
|
838
905
|
properties?: Array<{
|
|
839
906
|
__typename?: 'PageRevisionSchemaProperties';
|
|
840
907
|
fieldId: number;
|
|
@@ -890,6 +957,8 @@ export type RevisionFragmentFragment = {
|
|
|
890
957
|
campaign: boolean;
|
|
891
958
|
label?: string | null;
|
|
892
959
|
schemaBlockId?: number | null;
|
|
960
|
+
inHeader?: boolean | null;
|
|
961
|
+
inFooter?: boolean | null;
|
|
893
962
|
template?: {
|
|
894
963
|
__typename?: 'TemplateEntityDto';
|
|
895
964
|
id: number;
|
|
@@ -905,6 +974,8 @@ export type RevisionFragmentFragment = {
|
|
|
905
974
|
campaign: boolean;
|
|
906
975
|
label?: string | null;
|
|
907
976
|
schemaBlockId?: number | null;
|
|
977
|
+
inHeader?: boolean | null;
|
|
978
|
+
inFooter?: boolean | null;
|
|
908
979
|
properties?: Array<{
|
|
909
980
|
__typename?: 'PageRevisionSchemaProperties';
|
|
910
981
|
fieldId: number;
|
|
@@ -1007,6 +1078,8 @@ export type RevisionBlockFragmentFragment = {
|
|
|
1007
1078
|
campaign: boolean;
|
|
1008
1079
|
label?: string | null;
|
|
1009
1080
|
schemaBlockId?: number | null;
|
|
1081
|
+
inHeader?: boolean | null;
|
|
1082
|
+
inFooter?: boolean | null;
|
|
1010
1083
|
template?: {
|
|
1011
1084
|
__typename?: 'TemplateEntityDto';
|
|
1012
1085
|
id: number;
|
|
@@ -1022,6 +1095,8 @@ export type RevisionBlockFragmentFragment = {
|
|
|
1022
1095
|
campaign: boolean;
|
|
1023
1096
|
label?: string | null;
|
|
1024
1097
|
schemaBlockId?: number | null;
|
|
1098
|
+
inHeader?: boolean | null;
|
|
1099
|
+
inFooter?: boolean | null;
|
|
1025
1100
|
properties?: Array<{
|
|
1026
1101
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1027
1102
|
fieldId: number;
|
|
@@ -1180,6 +1255,8 @@ export type PageQuery = {
|
|
|
1180
1255
|
campaign: boolean;
|
|
1181
1256
|
label?: string | null;
|
|
1182
1257
|
schemaBlockId?: number | null;
|
|
1258
|
+
inHeader?: boolean | null;
|
|
1259
|
+
inFooter?: boolean | null;
|
|
1183
1260
|
template?: {
|
|
1184
1261
|
__typename?: 'TemplateEntityDto';
|
|
1185
1262
|
id: number;
|
|
@@ -1195,6 +1272,8 @@ export type PageQuery = {
|
|
|
1195
1272
|
campaign: boolean;
|
|
1196
1273
|
label?: string | null;
|
|
1197
1274
|
schemaBlockId?: number | null;
|
|
1275
|
+
inHeader?: boolean | null;
|
|
1276
|
+
inFooter?: boolean | null;
|
|
1198
1277
|
properties?: Array<{
|
|
1199
1278
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1200
1279
|
fieldId: number;
|
|
@@ -1323,6 +1402,8 @@ export type ErrorTemplateQuery = {
|
|
|
1323
1402
|
campaign: boolean;
|
|
1324
1403
|
label?: string | null;
|
|
1325
1404
|
schemaBlockId?: number | null;
|
|
1405
|
+
inHeader?: boolean | null;
|
|
1406
|
+
inFooter?: boolean | null;
|
|
1326
1407
|
template?: {
|
|
1327
1408
|
__typename?: 'TemplateEntityDto';
|
|
1328
1409
|
id: number;
|
|
@@ -1338,6 +1419,8 @@ export type ErrorTemplateQuery = {
|
|
|
1338
1419
|
campaign: boolean;
|
|
1339
1420
|
label?: string | null;
|
|
1340
1421
|
schemaBlockId?: number | null;
|
|
1422
|
+
inHeader?: boolean | null;
|
|
1423
|
+
inFooter?: boolean | null;
|
|
1341
1424
|
properties?: Array<{
|
|
1342
1425
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1343
1426
|
fieldId: number;
|
|
@@ -1467,6 +1550,8 @@ export type UrlResolutionQuery = {
|
|
|
1467
1550
|
campaign: boolean;
|
|
1468
1551
|
label?: string | null;
|
|
1469
1552
|
schemaBlockId?: number | null;
|
|
1553
|
+
inHeader?: boolean | null;
|
|
1554
|
+
inFooter?: boolean | null;
|
|
1470
1555
|
template?: {
|
|
1471
1556
|
__typename?: 'TemplateEntityDto';
|
|
1472
1557
|
id: number;
|
|
@@ -1482,6 +1567,8 @@ export type UrlResolutionQuery = {
|
|
|
1482
1567
|
campaign: boolean;
|
|
1483
1568
|
label?: string | null;
|
|
1484
1569
|
schemaBlockId?: number | null;
|
|
1570
|
+
inHeader?: boolean | null;
|
|
1571
|
+
inFooter?: boolean | null;
|
|
1485
1572
|
properties?: Array<{
|
|
1486
1573
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1487
1574
|
fieldId: number;
|
|
@@ -1646,6 +1733,8 @@ export type LayoutRevisionQuery = {
|
|
|
1646
1733
|
campaign: boolean;
|
|
1647
1734
|
label?: string | null;
|
|
1648
1735
|
schemaBlockId?: number | null;
|
|
1736
|
+
inHeader?: boolean | null;
|
|
1737
|
+
inFooter?: boolean | null;
|
|
1649
1738
|
template?: {
|
|
1650
1739
|
__typename?: 'TemplateEntityDto';
|
|
1651
1740
|
id: number;
|
|
@@ -1661,6 +1750,8 @@ export type LayoutRevisionQuery = {
|
|
|
1661
1750
|
campaign: boolean;
|
|
1662
1751
|
label?: string | null;
|
|
1663
1752
|
schemaBlockId?: number | null;
|
|
1753
|
+
inHeader?: boolean | null;
|
|
1754
|
+
inFooter?: boolean | null;
|
|
1664
1755
|
properties?: Array<{
|
|
1665
1756
|
__typename?: 'PageRevisionSchemaProperties';
|
|
1666
1757
|
fieldId: number;
|
|
@@ -1763,7 +1854,7 @@ export type AssetListQuery = {
|
|
|
1763
1854
|
id: number;
|
|
1764
1855
|
url: string;
|
|
1765
1856
|
altText?: string | null;
|
|
1766
|
-
accessLevel?:
|
|
1857
|
+
accessLevel?: AccessLevel | null;
|
|
1767
1858
|
}>;
|
|
1768
1859
|
};
|
|
1769
1860
|
export type DomainWithSitemapQueryVariables = Exact<{
|
package/dist/types.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export var AccessLevel;
|
|
2
|
+
(function (AccessLevel) {
|
|
3
|
+
AccessLevel["BrandWide"] = "BrandWide";
|
|
4
|
+
AccessLevel["Private"] = "Private";
|
|
5
|
+
AccessLevel["Restricted"] = "Restricted";
|
|
6
|
+
AccessLevel["SiteWide"] = "SiteWide";
|
|
7
|
+
})(AccessLevel || (AccessLevel = {}));
|
|
1
8
|
export var AssetType;
|
|
2
9
|
(function (AssetType) {
|
|
3
10
|
AssetType["Archive"] = "Archive";
|
|
@@ -97,6 +104,7 @@ export var IntegrationType;
|
|
|
97
104
|
IntegrationType["Clubwise"] = "Clubwise";
|
|
98
105
|
IntegrationType["GloFox"] = "GloFox";
|
|
99
106
|
IntegrationType["GymSales"] = "GymSales";
|
|
107
|
+
IntegrationType["KeepMe"] = "KeepMe";
|
|
100
108
|
IntegrationType["RecaptchaV3"] = "RecaptchaV3";
|
|
101
109
|
IntegrationType["Sendgrid"] = "Sendgrid";
|
|
102
110
|
IntegrationType["ZapierWebhook"] = "ZapierWebhook";
|
|
@@ -117,6 +125,12 @@ export var PageRevisionType;
|
|
|
117
125
|
PageRevisionType["Page"] = "Page";
|
|
118
126
|
PageRevisionType["Template"] = "Template";
|
|
119
127
|
})(PageRevisionType || (PageRevisionType = {}));
|
|
128
|
+
export var PresentationType;
|
|
129
|
+
(function (PresentationType) {
|
|
130
|
+
PresentationType["CheckboxGroup"] = "CheckboxGroup";
|
|
131
|
+
PresentationType["Dropdown"] = "Dropdown";
|
|
132
|
+
PresentationType["RadioButtonGroup"] = "RadioButtonGroup";
|
|
133
|
+
})(PresentationType || (PresentationType = {}));
|
|
120
134
|
export var RedirectStatus;
|
|
121
135
|
(function (RedirectStatus) {
|
|
122
136
|
RedirectStatus["Active"] = "Active";
|
|
@@ -167,6 +181,7 @@ export var Role;
|
|
|
167
181
|
Role["Editor"] = "EDITOR";
|
|
168
182
|
Role["None"] = "NONE";
|
|
169
183
|
Role["Owner"] = "OWNER";
|
|
184
|
+
Role["PowerEditor"] = "POWER_EDITOR";
|
|
170
185
|
Role["Viewer"] = "VIEWER";
|
|
171
186
|
})(Role || (Role = {}));
|
|
172
187
|
export var SortDirection;
|
|
@@ -182,12 +197,11 @@ export var TtEntityLifecycleStatus;
|
|
|
182
197
|
})(TtEntityLifecycleStatus || (TtEntityLifecycleStatus = {}));
|
|
183
198
|
export var TtSchemaFieldType;
|
|
184
199
|
(function (TtSchemaFieldType) {
|
|
185
|
-
TtSchemaFieldType["Block"] = "Block";
|
|
186
|
-
TtSchemaFieldType["Component"] = "Component";
|
|
187
200
|
TtSchemaFieldType["Datetime"] = "Datetime";
|
|
188
201
|
TtSchemaFieldType["Form"] = "Form";
|
|
189
202
|
TtSchemaFieldType["GmbLocation"] = "GmbLocation";
|
|
190
203
|
TtSchemaFieldType["Image"] = "Image";
|
|
204
|
+
TtSchemaFieldType["Instagram"] = "Instagram";
|
|
191
205
|
TtSchemaFieldType["Link"] = "Link";
|
|
192
206
|
TtSchemaFieldType["Page"] = "Page";
|
|
193
207
|
TtSchemaFieldType["RichText"] = "RichText";
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,wCAAyB,CAAA;IACzB,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAOD,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,4BAAe,CAAA;AACjB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB;AAED,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,iDAA4B,CAAA;IAC5B,oEAA+C,CAAA;IAC/C,iDAA4B,CAAA;AAC9B,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,+BAAa,CAAA;AACf,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,8CAAuB,CAAA;IACvB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AACnB,CA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D,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAED,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,mDAAyB,CAAA;AAC3B,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,CAAN,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mDAAmC,CAAA;IACnC,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;AA0KD,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,iDAAoB,CAAA;IACpB,6DAAgC,CAAA;AAClC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC"}
|
package/dist/util.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ type UrlResolutionQueryPagePublishedSchema = NonNullable<UrlResolutionQueryPage[
|
|
|
10
10
|
type Prop = UrlResolutionQueryPagePublishedSchema & {
|
|
11
11
|
template?: any;
|
|
12
12
|
schemaBlockId?: number | null;
|
|
13
|
-
inHeader?: boolean;
|
|
14
|
-
inFooter?: boolean;
|
|
13
|
+
inHeader?: boolean | null;
|
|
14
|
+
inFooter?: boolean | null;
|
|
15
15
|
};
|
|
16
16
|
export declare function parseResponse(schemas: Prop[]): TTSchemaCustomDto[];
|
|
17
17
|
/**
|