@eide/foir-cli 0.1.40 → 0.1.41
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/cli.js +7 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1871,6 +1871,11 @@ export interface FlexibleFieldDef extends BaseFieldDef {
|
|
|
1871
1871
|
type: 'flexible';
|
|
1872
1872
|
}
|
|
1873
1873
|
|
|
1874
|
+
/** Field def for inline model types (type is the model's key, e.g. 'seo', 'hero-banner') */
|
|
1875
|
+
export interface InlineModelFieldDef extends BaseFieldDef {
|
|
1876
|
+
type: string;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1874
1879
|
export type FieldDef =
|
|
1875
1880
|
| TextFieldDef
|
|
1876
1881
|
| NumberFieldDef
|
|
@@ -1886,7 +1891,8 @@ export type FieldDef =
|
|
|
1886
1891
|
| ReferenceFieldDef
|
|
1887
1892
|
| ListFieldDef
|
|
1888
1893
|
| JsonFieldDef
|
|
1889
|
-
| FlexibleFieldDef
|
|
1894
|
+
| FlexibleFieldDef
|
|
1895
|
+
| InlineModelFieldDef;
|
|
1890
1896
|
`;
|
|
1891
1897
|
}
|
|
1892
1898
|
|