Add strict custom field registry
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
```text
|
||||
lottery/
|
||||
gsp.manifest
|
||||
gsp.fields
|
||||
design/
|
||||
*.gsp
|
||||
```
|
||||
@@ -23,6 +24,8 @@ page.lottery.main
|
||||
|
||||
```powershell
|
||||
.\bin\gsp.exe validate --root examples\lottery
|
||||
.\bin\gsp.exe fields list --root examples\lottery
|
||||
.\bin\gsp.exe fields validate --root examples\lottery
|
||||
.\bin\gsp.exe flatten page.lottery.main --root examples\lottery --depth -1
|
||||
.\bin\gsp.exe pack page.lottery.main --root examples\lottery --for implement --format md
|
||||
.\bin\gsp.exe links page.lottery.main --root examples\lottery --format md
|
||||
|
||||
2
examples/lottery/gsp.fields
Normal file
2
examples/lottery/gsp.fields
Normal file
@@ -0,0 +1,2 @@
|
||||
gspFieldsVersion: 0.1
|
||||
fields: {}
|
||||
@@ -8,6 +8,9 @@ entry:
|
||||
scan:
|
||||
- design
|
||||
|
||||
customFieldPolicy: strict
|
||||
fieldRegistry: gsp.fields
|
||||
|
||||
stageRules:
|
||||
design:
|
||||
minResolution: L0
|
||||
|
||||
Reference in New Issue
Block a user