File tree Expand file tree Collapse file tree 2 files changed +103
-0
lines changed
Expand file tree Collapse file tree 2 files changed +103
-0
lines changed Original file line number Diff line number Diff line change 2626 - run : npm ci
2727 - run : npm run build --if-present
2828 - run : npm test
29+ env :
30+ TOKEN_ALIAS : ${{secrets.TOKEN_ALIAS}}
Original file line number Diff line number Diff line change 1+ export interface PublishDetails {
2+ environment : string ;
3+ locale : string ;
4+ time : string ;
5+ user : string ;
6+ }
7+
8+ export interface File {
9+ uid : string ;
10+ created_at : string ;
11+ updated_at : string ;
12+ created_by : string ;
13+ updated_by : string ;
14+ content_type : string ;
15+ file_size : string ;
16+ tags : string [ ] ;
17+ filename : string ;
18+ url : string ;
19+ ACL : any [ ] | object ;
20+ is_dir : boolean ;
21+ parent_uid : string ;
22+ _version : number ;
23+ title : string ;
24+ _metadata ?: object ;
25+ publish_details : PublishDetails ;
26+ }
27+
28+ export interface Link {
29+ title : string ;
30+ href : string ;
31+ }
32+
33+ export interface Taxonomy {
34+ taxonomy_uid : string ;
35+ max_terms ?: number ;
36+ mandatory : boolean ;
37+ non_localizable : boolean ;
38+ }
39+
40+ export interface Seo {
41+ /** Version */
42+ _version : number ;
43+ /** Title */
44+ title ?: string ;
45+ /** Description */
46+ description ?: string ;
47+ /** Canonical URL */
48+ canonical_url ?: string ;
49+ /** No index */
50+ no_index ?: boolean ;
51+ /** No follow */
52+ no_follow ?: boolean ;
53+ }
54+
55+ export interface Article {
56+ /** Version */
57+ _version : number ;
58+ /** Title */
59+ title : string ;
60+ /** URL */
61+ url ?: string ;
62+ /** Cover image */
63+ cover_image : File ;
64+ /** Summary */
65+ summary ?: string ;
66+ /** Taxonomy */
67+ taxonomies ?: Taxonomy [ ] ;
68+ /** Content */
69+ content ?: any ;
70+ /** Show Related Links */
71+ show_related_links ?: boolean ;
72+ /** Related Links */
73+ related_links ?: {
74+ /** Text */
75+ text ?: string ;
76+ } ;
77+ /** Show related articles */
78+ show_related_articles ?: boolean ;
79+ /** Related articles */
80+ related_articles ?: {
81+ /** Heading */
82+ heading ?: string ;
83+ /** Sub heading */
84+ sub_heading ?: string ;
85+ /** Number of articles */
86+ number_of_articles ?: number | null ;
87+ } ;
88+ /** SEO */
89+ seo ?: Seo ;
90+ }
91+
92+ export interface LandingPage {
93+ /** Version */
94+ _version : number ;
95+ /** Title */
96+ title : string ;
97+ /** URL */
98+ url ?: string ;
99+ /** SEO */
100+ seo ?: Seo ;
101+ }
You can’t perform that action at this time.
0 commit comments