-
|
How to create multiple custom resources in |
Beta Was this translation helpful? Give feedback.
Answered by
ier
Mar 21, 2022
Replies: 1 comment
-
|
We recommend to use Aidbox Project for this. Example:Create custom resources with zen
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rublag
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We recommend to use Aidbox Project for this.
Example:
Create custom resources with zen
aidbox-project/resources/custom1.edn:{ns resources.custom1 import #{zenbox} Custom1 {:zen/tags #{zen/schema zenbox/persistent} :resourceType "Custom1" :confirms #{zenbox/Resource} :type zen/map :keys {:field1 {:type zen/string}}}}aidbox-project/resources/custom2.edn:{ns resources.custom2 import #{zenbox} Custom2 {:zen/tags #{zen/schema zenbox/persistent} :resourceType "Custom2" :confirms #{zenbox/Resource} :type zen/map :keys {:field1 {:type zen/string}}}}Create entrypoint for staging environment:
aidbox-project/staging.edn:{ns staging import #{resources.custom1 r…