File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 node-version : ${{ matrix.node-version }}
2626 - run : npm ci
2727 - run : npm run build --if-present
28+ - run : npm i -g @contentstack/cli
29+ - run : csdx plugins:install contentstack-cli-tsgen
30+ - run : csdx config:set:region ${{secrets.REGION}}
31+ - run : csdx auth:tokens:add -a ${{ secrets.TOKEN_ALIAS }} --delivery -k ${{ secrets.APIKEY }} --token ${{ secrets.DELIVERYKEY }} -e ${{ secrets.ENVIRONMENT }}
2832 - run : npm test
2933 env :
30- TOKEN_ALIAS : ${{secrets.TOKEN_ALIAS}}
34+ 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 Home {
41+ /** Version */
42+ _version : number ;
43+ /** Title */
44+ title : string ;
45+ }
You can’t perform that action at this time.
0 commit comments