Skip to content

Commit ecb7727

Browse files
committed
updated readme
1 parent d573385 commit ecb7727

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default config
106106

107107
We now need to add a new script to package.json
108108

109-
> "codegen": "graphql-codegen --watch"
109+
> "codegen": "graphql-codegen"
110110
111111
This script will generate types based your graphql schema.
112112

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"codegen": "graphql-codegen --watch",
6+
"codegen": "graphql-codegen",
77
"dev": "next dev --experimental-https",
88
"build": "next build",
99
"start": "next start",

src/graphql/graphql.ts

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export type BlankExperienceOrderByInput = {
6262
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
6363
_modified?: InputMaybe<OrderBy>;
6464
_ranking?: InputMaybe<Ranking>;
65+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
6566
composition?: InputMaybe<CompositionStructureNodeOrderByInput>;
6667
};
6768

@@ -130,6 +131,7 @@ export type BlankSectionOrderByInput = {
130131
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
131132
_modified?: InputMaybe<OrderBy>;
132133
_ranking?: InputMaybe<Ranking>;
134+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
133135
composition?: InputMaybe<CompositionStructureNodeOrderByInput>;
134136
};
135137

@@ -359,6 +361,7 @@ export type CompositionStructureNodeWhereInput = {
359361

360362
export type ContentMetadata = IContentMetadata & {
361363
__typename?: 'ContentMetadata';
364+
created?: Maybe<Scalars['DateTime']['output']>;
362365
displayName?: Maybe<Scalars['String']['output']>;
363366
key?: Maybe<Scalars['String']['output']>;
364367
lastModified?: Maybe<Scalars['DateTime']['output']>;
@@ -514,6 +517,7 @@ export type DataOrderByInput = {
514517
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
515518
_modified?: InputMaybe<OrderBy>;
516519
_ranking?: InputMaybe<Ranking>;
520+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
517521
};
518522

519523
export type DataOutput = {
@@ -554,6 +558,8 @@ export enum DateFacetUnit {
554558
export type DateFilterInput = {
555559
/** `boost` influences the weight of a field by boosting a match with a number (default: 1) — counts more towards the eventual relevance score which can be projected with `_score` — at query time. Note that `boost` cannot be a negative number. */
556560
boost?: InputMaybe<Scalars['Int']['input']>;
561+
/** `decay` influences the weight of the score with a decay function. For example, results that have a more recent datetime will be ranked higher. The `origin` will be `now()` in case not specified. The `scale` is by default 10. The `rate` must be in the range `[0..1]`. */
562+
decay?: InputMaybe<Decay>;
557563
/** `eq` matches on an exact value, but the value is case-insensitive. */
558564
eq?: InputMaybe<Scalars['Date']['input']>;
559565
/** `exist` matches results that have this field. */
@@ -570,6 +576,13 @@ export type DateFilterInput = {
570576
notEq?: InputMaybe<Scalars['Date']['input']>;
571577
};
572578

579+
/** Decay influences the weight of the score based on field values with a decay function */
580+
export type Decay = {
581+
origin?: InputMaybe<Scalars['String']['input']>;
582+
rate?: InputMaybe<Scalars['Float']['input']>;
583+
scale?: InputMaybe<Scalars['Int']['input']>;
584+
};
585+
573586
export type GenericMedia = IData & _IContent & _IMedia & {
574587
__typename?: 'GenericMedia';
575588
/** @deprecated Use `_link` field instead */
@@ -608,6 +621,7 @@ export type GenericMediaOrderByInput = {
608621
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
609622
_modified?: InputMaybe<OrderBy>;
610623
_ranking?: InputMaybe<Ranking>;
624+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
611625
};
612626

613627
export type GenericMediaOutput = {
@@ -778,6 +792,7 @@ export type ICompositionStructureNode = {
778792
};
779793

780794
export type IContentMetadata = {
795+
created?: Maybe<Scalars['DateTime']['output']>;
781796
displayName?: Maybe<Scalars['String']['output']>;
782797
key?: Maybe<Scalars['String']['output']>;
783798
lastModified?: Maybe<Scalars['DateTime']['output']>;
@@ -836,6 +851,7 @@ export type IContentMetadataAutocompleteVersionArgs = {
836851

837852
export type IContentMetadataFacet = {
838853
__typename?: 'IContentMetadataFacet';
854+
created?: Maybe<Array<Maybe<DateFacet>>>;
839855
displayName?: Maybe<Array<Maybe<StringFacet>>>;
840856
key?: Maybe<Array<Maybe<StringFacet>>>;
841857
lastModified?: Maybe<Array<Maybe<DateFacet>>>;
@@ -848,6 +864,12 @@ export type IContentMetadataFacet = {
848864
};
849865

850866

867+
export type IContentMetadataFacetCreatedArgs = {
868+
unit?: InputMaybe<DateFacetUnit>;
869+
value?: InputMaybe<Scalars['Int']['input']>;
870+
};
871+
872+
851873
export type IContentMetadataFacetDisplayNameArgs = {
852874
filters?: InputMaybe<Array<Scalars['String']['input']>>;
853875
limit?: Scalars['Int']['input'];
@@ -908,6 +930,7 @@ export type IContentMetadataFacetVersionArgs = {
908930
};
909931

910932
export type IContentMetadataOrderByInput = {
933+
created?: InputMaybe<OrderBy>;
911934
displayName?: InputMaybe<OrderBy>;
912935
key?: InputMaybe<OrderBy>;
913936
lastModified?: InputMaybe<OrderBy>;
@@ -920,6 +943,7 @@ export type IContentMetadataOrderByInput = {
920943
};
921944

922945
export type IContentMetadataWhereInput = {
946+
created?: InputMaybe<DateFilterInput>;
923947
displayName?: InputMaybe<SearchableStringFilterInput>;
924948
key?: InputMaybe<StringFilterInput>;
925949
lastModified?: InputMaybe<DateFilterInput>;
@@ -979,6 +1003,7 @@ export type IInstanceMetadataDisplayNameArgs = {
9791003
};
9801004

9811005
export type IItemMetadata = {
1006+
created?: Maybe<Scalars['DateTime']['output']>;
9821007
displayName?: Maybe<Scalars['String']['output']>;
9831008
displayOption?: Maybe<Scalars['String']['output']>;
9841009
key?: Maybe<Scalars['String']['output']>;
@@ -1068,6 +1093,7 @@ export type ImageMediaOrderByInput = {
10681093
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
10691094
_modified?: InputMaybe<OrderBy>;
10701095
_ranking?: InputMaybe<Ranking>;
1096+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
10711097
};
10721098

10731099
export type ImageMediaOutput = {
@@ -1122,6 +1148,7 @@ export type InstanceMetadataDisplayNameArgs = {
11221148

11231149
export type ItemMetadata = IContentMetadata & IItemMetadata & {
11241150
__typename?: 'ItemMetadata';
1151+
created?: Maybe<Scalars['DateTime']['output']>;
11251152
displayName?: Maybe<Scalars['String']['output']>;
11261153
displayOption?: Maybe<Scalars['String']['output']>;
11271154
key?: Maybe<Scalars['String']['output']>;
@@ -1214,7 +1241,6 @@ export type ParagraphElement = IData & _IComponent & _IContent & _IElement & {
12141241
_metadata?: Maybe<IContentMetadata>;
12151242
_modified?: Maybe<Scalars['Date']['output']>;
12161243
_score?: Maybe<Scalars['Float']['output']>;
1217-
html?: Maybe<RichText>;
12181244
};
12191245

12201246

@@ -1231,14 +1257,12 @@ export type ParagraphElementAutocomplete = {
12311257
__typename?: 'ParagraphElementAutocomplete';
12321258
Text?: Maybe<RichTextAutocomplete>;
12331259
_metadata?: Maybe<IContentMetadataAutocomplete>;
1234-
html?: Maybe<RichTextAutocomplete>;
12351260
};
12361261

12371262
export type ParagraphElementFacet = {
12381263
__typename?: 'ParagraphElementFacet';
12391264
Text?: Maybe<RichTextFacet>;
12401265
_metadata?: Maybe<IContentMetadataFacet>;
1241-
html?: Maybe<RichTextFacet>;
12421266
};
12431267

12441268
export type ParagraphElementOrderByInput = {
@@ -1247,7 +1271,7 @@ export type ParagraphElementOrderByInput = {
12471271
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
12481272
_modified?: InputMaybe<OrderBy>;
12491273
_ranking?: InputMaybe<Ranking>;
1250-
html?: InputMaybe<RichTextOrderByInput>;
1274+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
12511275
};
12521276

12531277
export type ParagraphElementOutput = {
@@ -1272,7 +1296,6 @@ export type ParagraphElementWhereInput = {
12721296
_modified?: InputMaybe<DateFilterInput>;
12731297
_not?: InputMaybe<Array<InputMaybe<ParagraphElementWhereInput>>>;
12741298
_or?: InputMaybe<Array<InputMaybe<ParagraphElementWhereInput>>>;
1275-
html?: InputMaybe<RichTextWhereInput>;
12761299
};
12771300

12781301
export type Query = {
@@ -1863,6 +1886,7 @@ export type SysContentFolderOrderByInput = {
18631886
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
18641887
_modified?: InputMaybe<OrderBy>;
18651888
_ranking?: InputMaybe<Ranking>;
1889+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
18661890
};
18671891

18681892
export type SysContentFolderOutput = {
@@ -1926,6 +1950,7 @@ export type VideoMediaOrderByInput = {
19261950
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
19271951
_modified?: InputMaybe<OrderBy>;
19281952
_ranking?: InputMaybe<Ranking>;
1953+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
19291954
};
19301955

19311956
export type VideoMediaOutput = {
@@ -1989,6 +2014,7 @@ export type _ComponentOrderByInput = {
19892014
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
19902015
_modified?: InputMaybe<OrderBy>;
19912016
_ranking?: InputMaybe<Ranking>;
2017+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
19922018
};
19932019

19942020
export type _ComponentOutput = {
@@ -2052,6 +2078,7 @@ export type _ContentOrderByInput = {
20522078
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
20532079
_modified?: InputMaybe<OrderBy>;
20542080
_ranking?: InputMaybe<Ranking>;
2081+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
20552082
};
20562083

20572084
export type _ContentOutput = {
@@ -2115,6 +2142,7 @@ export type _ElementOrderByInput = {
21152142
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
21162143
_modified?: InputMaybe<OrderBy>;
21172144
_ranking?: InputMaybe<Ranking>;
2145+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
21182146
};
21192147

21202148
export type _ElementOutput = {
@@ -2181,6 +2209,7 @@ export type _ExperienceOrderByInput = {
21812209
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
21822210
_modified?: InputMaybe<OrderBy>;
21832211
_ranking?: InputMaybe<Ranking>;
2212+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
21842213
composition?: InputMaybe<CompositionStructureNodeOrderByInput>;
21852214
};
21862215

@@ -2246,6 +2275,7 @@ export type _FolderOrderByInput = {
22462275
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
22472276
_modified?: InputMaybe<OrderBy>;
22482277
_ranking?: InputMaybe<Ranking>;
2278+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
22492279
};
22502280

22512281
export type _FolderOutput = {
@@ -2531,6 +2561,7 @@ export type _ImageOrderByInput = {
25312561
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
25322562
_modified?: InputMaybe<OrderBy>;
25332563
_ranking?: InputMaybe<Ranking>;
2564+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
25342565
};
25352566

25362567
export type _ImageOutput = {
@@ -2594,6 +2625,7 @@ export type _MediaOrderByInput = {
25942625
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
25952626
_modified?: InputMaybe<OrderBy>;
25962627
_ranking?: InputMaybe<Ranking>;
2628+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
25972629
};
25982630

25992631
export type _MediaOutput = {
@@ -2657,6 +2689,7 @@ export type _PageOrderByInput = {
26572689
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
26582690
_modified?: InputMaybe<OrderBy>;
26592691
_ranking?: InputMaybe<Ranking>;
2692+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
26602693
};
26612694

26622695
export type _PageOutput = {
@@ -2723,6 +2756,7 @@ export type _SectionOrderByInput = {
27232756
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
27242757
_modified?: InputMaybe<OrderBy>;
27252758
_ranking?: InputMaybe<Ranking>;
2759+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
27262760
composition?: InputMaybe<CompositionStructureNodeOrderByInput>;
27272761
};
27282762

@@ -2788,6 +2822,7 @@ export type _VideoOrderByInput = {
27882822
_minimumScore?: InputMaybe<Scalars['Float']['input']>;
27892823
_modified?: InputMaybe<OrderBy>;
27902824
_ranking?: InputMaybe<Ranking>;
2825+
_semanticWeight?: InputMaybe<Scalars['Float']['input']>;
27912826
};
27922827

27932828
export type _VideoOutput = {

0 commit comments

Comments
 (0)