File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
common/changes/@kickstartds/jsonschema2storyblok
tools/jsonschema2storyblok/src/@types Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "changes" : [
3+ {
4+ "packageName" : " @kickstartds/jsonschema2storyblok" ,
5+ "comment" : " update type annotations" ,
6+ "type" : " patch"
7+ }
8+ ],
9+ "packageName" : " @kickstartds/jsonschema2storyblok"
10+ }
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export interface IStoryblokSchemaElement {
5252 type : GenericType ;
5353 pos : number ;
5454 key : string ; // undocumented
55- keys ?: string [ ] ;
5655 use_uuid ?: boolean ;
5756 source ?: 'internal' | 'external' | 'internal_stories' | 'internal_languages' ;
5857 options ?: IStoryblokSchemaElementOption [ ] ;
@@ -70,6 +69,9 @@ export interface IStoryblokSchemaElement {
7069 minimum ?: number ;
7170 maximum ?: number ;
7271
72+ // type: `tab` / `section`
73+ keys ?: string [ ] ;
74+
7375 // type: `asset` / `multiasset`
7476 filetypes ?: AssetType [ ] ;
7577 asset_folder_id ?: number ;
@@ -89,6 +91,7 @@ export interface IStoryblokSchemaElement {
8991
9092 // our own processing helpers
9193 objectFields ?: IStoryblokSchemaElement [ ] ;
94+ section ?: string ;
9295 preview_tmpl ?: string ;
9396 preview_field ?: string ;
9497}
You can’t perform that action at this time.
0 commit comments