Skip to content

Commit a8065e8

Browse files
authored
Merge pull request #3 from VirtusLab-Open-Source/feat/strapi-conditional-fields-support
feat: strapi conditional fields support
2 parents 270d189 + 1812212 commit a8065e8

File tree

4 files changed

+715
-38
lines changed

4 files changed

+715
-38
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sensinum/astro-strapi-loader",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Astro loader for Strapi CMS",
55
"keywords": [
66
"astro",

src/types/strapi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface StrapiAttribute {
6363
regex?: string;
6464
enum?: string[];
6565
component?: string;
66+
conditions?: Record<string, unknown>;
6667
repeatable?: boolean;
6768
target?: string;
6869
targetAttribute?: string;

0 commit comments

Comments
 (0)