@voxgig/sdkgen 4.34.7 → 4.35.1
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/bin/voxgig-sdkgen +1 -1
- package/dist/action/doctor.d.ts +2 -0
- package/dist/action/doctor.js +60 -12
- package/dist/action/doctor.js.map +1 -1
- package/dist/action/target.d.ts +4 -1
- package/dist/action/target.js +39 -3
- package/dist/action/target.js.map +1 -1
- package/dist/cmp/ReadmeTop.js +56 -20
- package/dist/cmp/ReadmeTop.js.map +1 -1
- package/dist/helpers/canonSpec.d.ts +7 -1
- package/dist/helpers/canonSpec.js +44 -0
- package/dist/helpers/canonSpec.js.map +1 -1
- package/dist/helpers/graphqlPoint.d.ts +6 -0
- package/dist/helpers/graphqlPoint.js +73 -0
- package/dist/helpers/graphqlPoint.js.map +1 -0
- package/dist/helpers/naming.d.ts +2 -1
- package/dist/helpers/naming.js +5 -3
- package/dist/helpers/naming.js.map +1 -1
- package/dist/helpers/opExample.d.ts +4 -1
- package/dist/helpers/opExample.js +31 -6
- package/dist/helpers/opExample.js.map +1 -1
- package/dist/helpers/opShape.d.ts +2 -1
- package/dist/helpers/opShape.js +31 -8
- package/dist/helpers/opShape.js.map +1 -1
- package/dist/helpers/packageMeta.d.ts +2 -1
- package/dist/helpers/packageMeta.js +5 -0
- package/dist/helpers/packageMeta.js.map +1 -1
- package/dist/sdkgen.d.ts +6 -5
- package/dist/sdkgen.js +15 -4
- package/dist/sdkgen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utility.js +7 -17
- package/dist/utility.js.map +1 -1
- package/package.json +1 -1
- package/project/.sdk/src/cmp/c/Config_c.ts +8 -14
- package/project/.sdk/src/cmp/c/Gitignore_c.ts +3 -0
- package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +6 -7
- package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +47 -4
- package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +24 -4
- package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +14 -17
- package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +7 -8
- package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +5 -6
- package/project/.sdk/src/cmp/c/ReadmeTopTest_c.ts +2 -3
- package/project/.sdk/src/cmp/c/TestDirect_c.ts +23 -2
- package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +1 -2
- package/project/.sdk/src/cmp/c/fragment/EntityListOp.fragment.c +1 -1
- package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +6 -7
- package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +6 -2
- package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +14 -17
- package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +7 -8
- package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +5 -6
- package/project/.sdk/src/cmp/clojure/ReadmeTopTest_clojure.ts +2 -3
- package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +6 -3
- package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +6 -7
- package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +6 -2
- package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +14 -17
- package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +7 -8
- package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +5 -6
- package/project/.sdk/src/cmp/cpp/ReadmeTopTest_cpp.ts +2 -3
- package/project/.sdk/src/cmp/cpp/TestDirect_cpp.ts +25 -2
- package/project/.sdk/src/cmp/cpp/fragment/EntityListOp.fragment.cpp +1 -3
- package/project/.sdk/src/cmp/csharp/Package_csharp.ts +1 -1
- package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +6 -7
- package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +7 -2
- package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +13 -16
- package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +7 -8
- package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +5 -6
- package/project/.sdk/src/cmp/csharp/ReadmeTopTest_csharp.ts +2 -3
- package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +20 -2
- package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +3 -3
- package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -1
- package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +5 -6
- package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +5 -2
- package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +13 -16
- package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +6 -7
- package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +4 -5
- package/project/.sdk/src/cmp/elixir/ReadmeTopTest_elixir.ts +2 -3
- package/project/.sdk/src/cmp/elixir/fragment/Pipeline.fragment.ex +4 -1
- package/project/.sdk/src/cmp/elixir/utility_elixir.ts +1 -1
- package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +4 -5
- package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +2 -3
- package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +7 -2
- package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +6 -7
- package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +5 -6
- package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +5 -7
- package/project/.sdk/src/cmp/go/ReadmeTopTest_go.ts +6 -2
- package/project/.sdk/src/cmp/go/TestDirect_go.ts +25 -9
- package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +7 -6
- package/project/.sdk/src/cmp/go/fragment/EntityCreateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityLoadOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityPatchOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityRemoveOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityUpdateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +5 -6
- package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +9 -4
- package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +13 -16
- package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +7 -8
- package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -4
- package/project/.sdk/src/cmp/java/ReadmeTopTest_java.ts +3 -4
- package/project/.sdk/src/cmp/java/TestDirect_java.ts +20 -2
- package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +4 -3
- package/project/.sdk/src/cmp/java/utility_java.ts +5 -3
- package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +3 -4
- package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +4 -5
- package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +3 -5
- package/project/.sdk/src/cmp/js/ReadmeTopTest_js.ts +2 -3
- package/project/.sdk/src/cmp/js/TestDirect_js.ts +18 -9
- package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +4 -2
- package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityListOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +6 -7
- package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +7 -2
- package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +13 -16
- package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +7 -8
- package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +5 -6
- package/project/.sdk/src/cmp/kotlin/ReadmeTopTest_kotlin.ts +2 -3
- package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +20 -2
- package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +3 -3
- package/project/.sdk/src/cmp/kotlin/fragment/EntityCreateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityLoadOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityPatchOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityRemoveOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityUpdateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/lua/Package_lua.ts +2 -1
- package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +6 -2
- package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +11 -14
- package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopTest_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +18 -2
- package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +15 -5
- package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/Entity_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +6 -7
- package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +8 -4
- package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +14 -17
- package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +7 -8
- package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/ReadmeTopTest_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +8 -0
- package/project/.sdk/src/cmp/ocaml/fragment/RunOp.fragment.ml +5 -1
- package/project/.sdk/src/cmp/perl/Package_perl.ts +1 -1
- package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +6 -7
- package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +6 -2
- package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +14 -17
- package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +7 -8
- package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +5 -6
- package/project/.sdk/src/cmp/perl/ReadmeTopTest_perl.ts +2 -3
- package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +18 -2
- package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +33 -2
- package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +8 -4
- package/project/.sdk/src/cmp/php/Package_php.ts +1 -1
- package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +5 -6
- package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +2 -3
- package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +14 -17
- package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +6 -7
- package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +4 -5
- package/project/.sdk/src/cmp/php/ReadmeTopTest_php.ts +2 -3
- package/project/.sdk/src/cmp/php/TestDirect_php.ts +20 -2
- package/project/.sdk/src/cmp/php/TestEntity_php.ts +35 -2
- package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +11 -5
- package/project/.sdk/src/cmp/py/Package_py.ts +2 -1
- package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +5 -6
- package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +2 -3
- package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +13 -16
- package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +6 -7
- package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +4 -5
- package/project/.sdk/src/cmp/py/ReadmeTopTest_py.ts +2 -3
- package/project/.sdk/src/cmp/py/TestDirect_py.ts +16 -2
- package/project/.sdk/src/cmp/py/TestEntity_py.ts +26 -2
- package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +6 -3
- package/project/.sdk/src/cmp/py-data/Main_py-data.ts +2 -2
- package/project/.sdk/src/cmp/rb/Package_rb.ts +2 -2
- package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +5 -6
- package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +14 -17
- package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +6 -7
- package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +4 -5
- package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +18 -2
- package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +31 -2
- package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +7 -4
- package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +5 -6
- package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +6 -2
- package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +13 -16
- package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +6 -7
- package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +4 -5
- package/project/.sdk/src/cmp/rust/ReadmeTopTest_rust.ts +2 -3
- package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +18 -2
- package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +1 -5
- package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -3
- package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +5 -6
- package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +9 -4
- package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +13 -16
- package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +7 -8
- package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/ReadmeTopTest_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/TestDirect_scala.ts +14 -2
- package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +4 -3
- package/project/.sdk/src/cmp/scala/utility_scala.ts +5 -3
- package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +6 -7
- package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +7 -2
- package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +13 -16
- package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +7 -8
- package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +5 -6
- package/project/.sdk/src/cmp/swift/ReadmeTopTest_swift.ts +2 -3
- package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +6 -6
- package/project/.sdk/src/cmp/swift/fragment/EntityCreateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityListOp.fragment.swift +1 -1
- package/project/.sdk/src/cmp/swift/fragment/EntityLoadOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityPatchOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityRemoveOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityUpdateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +3 -4
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +7 -10
- package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +3 -5
- package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +19 -9
- package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +4 -2
- package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityListOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityPatchOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +5 -6
- package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +6 -2
- package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +12 -15
- package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +6 -7
- package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +4 -5
- package/project/.sdk/src/cmp/zig/ReadmeTopTest_zig.ts +2 -3
- package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +3 -1
- package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +1 -5
- package/project/.sdk/src/cmp/zig/fragment/EntityListOp.fragment.zig +1 -3
- package/project/.sdk/tm/c/Makefile +140 -10
- package/project/.sdk/tm/c/core/error.c +7 -1
- package/project/.sdk/tm/c/core/sdk.h +15 -0
- package/project/.sdk/tm/c/feature/cache.c +4 -1
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +4 -3
- package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
- package/project/.sdk/tm/c/feature/secrets.c +28 -15
- package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +24 -9
- package/project/.sdk/tm/c/tests/pipeline_test.c +139 -41
- package/project/.sdk/tm/c/tests/primary_corpus_test.c +135 -6
- package/project/.sdk/tm/c/tests/transport_test.c +398 -0
- package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +6 -6
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +316 -97
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- package/project/.sdk/tm/c/utility/fetcher.c +4 -17
- package/project/.sdk/tm/c/utility/http.c +1031 -0
- package/project/.sdk/tm/c/utility/make_error.c +1 -0
- package/project/.sdk/tm/c/utility/make_result.c +1 -6
- package/project/.sdk/tm/c/utility/make_url.c +9 -0
- package/project/.sdk/tm/c/utility/struct/utility.c +14 -15
- package/project/.sdk/tm/c/utility/struct/value_io.c +56 -32
- package/project/.sdk/tm/c/utility/struct/value_io.h +2 -1
- package/project/.sdk/tm/c/utility/tls/none.c +32 -0
- package/project/.sdk/tm/c/utility/tls/openssl.c +242 -0
- package/project/.sdk/tm/c/utility/tls/tls.h +36 -0
- package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +16 -10
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
- package/project/.sdk/tm/clojure/src/sdk/core.clj +36 -20
- package/project/.sdk/tm/clojure/src/sdk/features.clj +2 -0
- package/project/.sdk/tm/clojure/src/voxgig/struct.clj +10 -6
- package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +16 -7
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +163 -53
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- package/project/.sdk/tm/cpp/core/types.hpp +1 -2
- package/project/.sdk/tm/cpp/feature/cache.hpp +3 -1
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets.hpp +9 -4
- package/project/.sdk/tm/cpp/test/auth_credential.hpp +121 -0
- package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +20 -7
- package/project/.sdk/tm/cpp/test/pipeline_test.cpp +15 -9
- package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +14 -1
- package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +242 -56
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- package/project/.sdk/tm/cpp/utility/pipeline.hpp +25 -2
- package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +60 -32
- package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +15 -8
- package/project/.sdk/tm/csharp/feature/CacheFeature.cs +3 -1
- package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +10 -6
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
- package/project/.sdk/tm/csharp/test/AuthCredential.cs +105 -0
- package/project/.sdk/tm/csharp/test/PipelineTest.cs +22 -27
- package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +6 -0
- package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +21 -9
- package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +250 -53
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/MakeResult.cs +1 -4
- package/project/.sdk/tm/csharp/utility/MakeUrl.cs +8 -1
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +35 -23
- package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +1 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/cache.ex +2 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets.ex +7 -3
- package/project/.sdk/tm/elixir/lib/projectname/utility.ex +30 -8
- package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +13 -14
- package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +15 -5
- package/project/.sdk/tm/elixir/test/pipeline_test.exs +84 -24
- package/project/.sdk/tm/elixir/test/primary_utility_test.exs +96 -18
- package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +229 -65
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/core/error.go +8 -0
- package/project/.sdk/tm/go/feature/cache_feature.go +4 -1
- package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
- package/project/.sdk/tm/go/feature/secrets_feature.go +9 -2
- package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +21 -10
- package/project/.sdk/tm/go/test/omni/omni.go +202 -50
- package/project/.sdk/tm/go/test/omni/util.go +2 -2
- package/project/.sdk/tm/go/test/pipeline_test.go +3 -3
- package/project/.sdk/tm/go/utility/make_error.go +1 -0
- package/project/.sdk/tm/go/utility/make_result.go +1 -3
- package/project/.sdk/tm/go/utility/make_url.go +7 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +86 -78
- package/project/.sdk/tm/java/feature/CacheFeature.java +3 -1
- package/project/.sdk/tm/java/feature/SecretsFeature.java +10 -5
- package/project/.sdk/tm/java/feature/TestFeature.java +3 -3
- package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
- package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +21 -9
- package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +272 -53
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/MakeResult.java +1 -3
- package/project/.sdk/tm/java/utility/MakeUrl.java +7 -2
- package/project/.sdk/tm/java/utility/struct/Struct.java +38 -42
- package/project/.sdk/tm/js/src/Context.js +3 -0
- package/project/.sdk/tm/js/src/feature/cache/CacheFeature.js +32 -2
- package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +8 -4
- package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
- package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +1 -0
- package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +4 -5
- package/project/.sdk/tm/js/src/utility/MakeUrlUtility.js +5 -0
- package/project/.sdk/tm/js/src/utility/StructUtility.js +16 -18
- package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +35 -24
- package/project/.sdk/tm/js/test/pipeline.test.js +28 -0
- package/project/.sdk/tm/js/test/vendor/omni/index.js +2 -2
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +158 -31
- package/project/.sdk/tm/js/test/vendor/omni/util.js +2 -2
- package/project/.sdk/tm/kotlin/feature/CacheFeature.kt +2 -1
- package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +11 -6
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
- package/project/.sdk/tm/kotlin/test/AuthCredential.kt +106 -0
- package/project/.sdk/tm/kotlin/test/PipelineTest.kt +14 -10
- package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +6 -0
- package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +17 -8
- package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +189 -51
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/MakeReqRes.kt +1 -3
- package/project/.sdk/tm/kotlin/utility/MakeSpecUrl.kt +6 -1
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +41 -44
- package/project/.sdk/tm/lua/core/context.lua +3 -0
- package/project/.sdk/tm/lua/core/error.lua +6 -0
- package/project/.sdk/tm/lua/feature/cache_feature.lua +2 -1
- package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets_feature.lua +11 -4
- package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +22 -9
- package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +234 -53
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/make_error.lua +2 -1
- package/project/.sdk/tm/lua/utility/make_result.lua +1 -3
- package/project/.sdk/tm/lua/utility/make_url.lua +5 -0
- package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
- package/project/.sdk/tm/lua/utility/struct/struct.lua +33 -23
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets_feature.ml +8 -4
- package/project/.sdk/tm/ocaml/sdk_features.ml +2 -0
- package/project/.sdk/tm/ocaml/sdk_runtime.ml +12 -1
- package/project/.sdk/tm/ocaml/sdk_types.ml +3 -0
- package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +19 -10
- package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +62 -5
- package/project/.sdk/tm/ocaml/test/t_pipeline.ml +72 -85
- package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +203 -93
- package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +13 -5
- package/project/.sdk/tm/perl/core/context.pm +3 -0
- package/project/.sdk/tm/perl/core/error.pm +2 -0
- package/project/.sdk/tm/perl/feature/cache_feature.pm +2 -0
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
- package/project/.sdk/tm/perl/feature/validate_feature.pm +2 -2
- package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +39 -20
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +179 -28
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_error.pm +1 -0
- package/project/.sdk/tm/perl/utility/make_result.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_url.pm +4 -0
- package/project/.sdk/tm/php/core/Context.php +3 -0
- package/project/.sdk/tm/php/core/Error.php +5 -0
- package/project/.sdk/tm/php/feature/CacheFeature.php +2 -1
- package/project/.sdk/tm/php/feature/SecretsFeature.php +10 -5
- package/project/.sdk/tm/php/feature/TestFeature.php +1 -1
- package/project/.sdk/tm/php/feature/ValidateFeature.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
- package/project/.sdk/tm/php/test/PipelineTest.php +30 -3
- package/project/.sdk/tm/php/test/StructUtilityTest.php +7 -0
- package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +33 -11
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +213 -36
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/Fetcher.php +6 -2
- package/project/.sdk/tm/php/utility/MakeError.php +1 -0
- package/project/.sdk/tm/php/utility/MakeResult.php +1 -3
- package/project/.sdk/tm/php/utility/MakeUrl.php +5 -0
- package/project/.sdk/tm/php/utility/struct/Struct.php +22 -8
- package/project/.sdk/tm/py/pkg/core/context.py +3 -0
- package/project/.sdk/tm/py/pkg/feature/cache_feature.py +2 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets_feature.py +8 -3
- package/project/.sdk/tm/py/pkg/feature/validate_feature.py +1 -1
- package/project/.sdk/tm/py/pkg/utility/make_error.py +1 -0
- package/project/.sdk/tm/py/pkg/utility/make_result.py +1 -2
- package/project/.sdk/tm/py/pkg/utility/make_url.py +4 -0
- package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +14 -11
- package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +27 -13
- package/project/.sdk/tm/py/test/test_pipeline.py +2 -2
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +139 -33
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- package/project/.sdk/tm/rb/core/context.rb +4 -1
- package/project/.sdk/tm/rb/core/error.rb +5 -0
- package/project/.sdk/tm/rb/feature/cache_feature.rb +2 -0
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +6 -5
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +3 -3
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +4 -4
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets_feature.rb +9 -5
- package/project/.sdk/tm/rb/feature/validate_feature.rb +2 -2
- package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +20 -11
- package/project/.sdk/tm/rb/test/pipeline_test.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +139 -27
- package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
- package/project/.sdk/tm/rb/utility/make_error.rb +1 -0
- package/project/.sdk/tm/rb/utility/make_result.rb +1 -1
- package/project/.sdk/tm/rb/utility/make_url.rb +4 -0
- package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +12 -8
- package/project/.sdk/tm/rust/feature/cache.rs +2 -0
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +4 -6
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets.rs +8 -7
- package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +17 -2
- package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +2 -0
- package/project/.sdk/tm/rust/tests/pipeline_test.rs +147 -66
- package/project/.sdk/tm/rust/tests/primary_utility_test.rs +88 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +2 -4
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +309 -75
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -2
- package/project/.sdk/tm/rust/utility/make_result.rs +1 -6
- package/project/.sdk/tm/rust/utility/make_url.rs +9 -1
- package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +15 -5
- package/project/.sdk/tm/scala/feature/CacheFeature.scala +3 -1
- package/project/.sdk/tm/scala/feature/SecretsFeature.scala +10 -5
- package/project/.sdk/tm/scala/feature/TestFeature.scala +3 -3
- package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +19 -7
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +191 -61
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- package/project/.sdk/tm/scala/utility/Make.scala +7 -2
- package/project/.sdk/tm/scala/utility/struct/Struct.java +19 -15
- package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +13 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +8 -10
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/CacheFeature.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +9 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Make.swift +7 -4
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +41 -0
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +93 -39
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +32 -1
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +15 -7
- package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +202 -64
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/src/Context.ts +3 -0
- package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +32 -2
- package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +5 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +2 -1
- package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +1 -0
- package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +4 -5
- package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +7 -3
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +17 -19
- package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +31 -20
- package/project/.sdk/tm/ts/test/pipeline.test.ts +28 -0
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +173 -31
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +2 -2
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +2 -2
- package/project/.sdk/tm/zig/core/error.zig +7 -0
- package/project/.sdk/tm/zig/core/utility.zig +8 -10
- package/project/.sdk/tm/zig/feature/cache.zig +2 -0
- package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets.zig +12 -6
- package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +21 -5
- package/project/.sdk/tm/zig/test/pipeline_test.zig +131 -84
- package/project/.sdk/tm/zig/test/primary_utility_test.zig +120 -9
- package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +312 -118
- package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +97 -54
- package/project/sdkgen-package.json +1 -1
- package/src/action/doctor.ts +82 -13
- package/src/action/target.ts +46 -2
- package/src/cmp/ReadmeTop.ts +59 -20
- package/src/helpers/canonSpec.ts +64 -0
- package/src/helpers/graphqlPoint.ts +91 -0
- package/src/helpers/naming.ts +7 -3
- package/src/helpers/opExample.ts +38 -7
- package/src/helpers/opShape.ts +37 -8
- package/src/helpers/packageMeta.ts +7 -0
- package/src/sdkgen.ts +16 -4
- package/src/utility.ts +7 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape, safeVarName, exampleVarName, luaKey, targetFeatures, opNeedsAction, bodyNote, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape, safeVarName, exampleVarName, luaKey, targetFeatures, opNeedsAction, bodyNote, listMatchArg, matchExampleItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -18,7 +18,7 @@ function luaLit(type: any, placeholder: string = 'example'): string {
|
|
|
18
18
|
if ('INTEGER' === k || 'NUMBER' === k) return '1'
|
|
19
19
|
if ('BOOLEAN' === k) return 'true'
|
|
20
20
|
if ('ARRAY' === k || 'OBJECT' === k) return '{}'
|
|
21
|
-
return
|
|
21
|
+
return litString('lua', placeholder)
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// Non-identifier table keys use bracket syntax.
|
|
@@ -269,8 +269,7 @@ ${info.desc}
|
|
|
269
269
|
// The id key plus every REQUIRED match key (parent path params
|
|
270
270
|
// like page_id) — the same shape the runtime resolves path
|
|
271
271
|
// params from, so the example always works.
|
|
272
|
-
const matchItems =
|
|
273
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
272
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
274
273
|
.sort((a: any, b: any) =>
|
|
275
274
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
276
275
|
const arg = 0 < matchItems.length
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape, safeVarName, exampleVarName, luaKey, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape, safeVarName, exampleVarName, luaKey, listMatchArg, matchExampleItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -17,7 +17,7 @@ function luaLit(type: any, placeholder: string = 'example'): string {
|
|
|
17
17
|
if ('INTEGER' === k || 'NUMBER' === k) return '1'
|
|
18
18
|
if ('BOOLEAN' === k) return 'true'
|
|
19
19
|
if ('ARRAY' === k || 'OBJECT' === k) return '{}'
|
|
20
|
-
return
|
|
20
|
+
return litString('lua', placeholder)
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
@@ -69,8 +69,7 @@ end
|
|
|
69
69
|
// Every REQUIRED load-match key (id first, then parent path params like
|
|
70
70
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
71
71
|
// the example always works.
|
|
72
|
-
const loadItems =
|
|
73
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
72
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
74
73
|
.sort((a: any, b: any) =>
|
|
75
74
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
76
75
|
const loadArg = 0 < loadItems.length
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, luaKey, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, luaKey, requiredItems, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -40,8 +40,7 @@ local client = sdk.test()
|
|
|
40
40
|
if (isMatchOp || ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length)) {
|
|
41
41
|
// Every REQUIRED match key (id first, then parent path params like
|
|
42
42
|
// page_id) — the same shape the runtime resolves path params from.
|
|
43
|
-
const items = (isMatchOp ?
|
|
44
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
43
|
+
const items = (isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
45
44
|
.sort((a: any, b: any) =>
|
|
46
45
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
47
46
|
arg = 0 < items.length
|
|
@@ -17,6 +17,8 @@ import {
|
|
|
17
17
|
pointParts,
|
|
18
18
|
liveStrict,
|
|
19
19
|
liveStrictNote,
|
|
20
|
+
pointIsGraphql,
|
|
21
|
+
graphqlDirectSkip,
|
|
20
22
|
} from '@voxgig/sdkgen'
|
|
21
23
|
|
|
22
24
|
import { formatLuaValue } from './utility_lua'
|
|
@@ -188,7 +190,14 @@ end
|
|
|
188
190
|
describe("${entity.Name}Direct", function()
|
|
189
191
|
`)
|
|
190
192
|
|
|
191
|
-
if (hasList && listPoint) {
|
|
193
|
+
if (hasList && pointIsGraphql(listPoint)) {
|
|
194
|
+
Content(` it("should direct-list-${entity.name}", function()
|
|
195
|
+
pending("${graphqlDirectSkip('list', entity.name)}")
|
|
196
|
+
end)
|
|
197
|
+
|
|
198
|
+
`)
|
|
199
|
+
}
|
|
200
|
+
else if (hasList && listPoint) {
|
|
192
201
|
Content(` it("should direct-list-${entity.name}", function()
|
|
193
202
|
local setup = ${entity.name}_direct_setup({
|
|
194
203
|
{ id = "direct01" },
|
|
@@ -238,7 +247,14 @@ ${liveKeysBlock(listParams.map(liveKey), entidEnvVar)} local client = setup.c
|
|
|
238
247
|
`)
|
|
239
248
|
}
|
|
240
249
|
|
|
241
|
-
if (hasLoad && loadPoint) {
|
|
250
|
+
if (hasLoad && pointIsGraphql(loadPoint)) {
|
|
251
|
+
Content(` it("should direct-load-${entity.name}", function()
|
|
252
|
+
pending("${graphqlDirectSkip('load', entity.name)}")
|
|
253
|
+
end)
|
|
254
|
+
|
|
255
|
+
`)
|
|
256
|
+
}
|
|
257
|
+
else if (hasLoad && loadPoint) {
|
|
242
258
|
const discover = !loadAllHaveExamples && hasList && 0 < loadParams.length
|
|
243
259
|
const idParam = loadParams.find((p: any) => 'id' === p.n)?.n ?? loadParams[0]?.n ?? 'id'
|
|
244
260
|
const loadLiveIdKeys: string[] = loadAllHaveExamples ? [] :
|
|
@@ -48,13 +48,17 @@ end
|
|
|
48
48
|
-- also holds the client and the utility.
|
|
49
49
|
function EntyClass:to_record()
|
|
50
50
|
local rec = self._utility.clean(self._entctx, vs.clone(self._data or {}))
|
|
51
|
-
rec
|
|
51
|
+
if type(rec) == "table" then
|
|
52
|
+
rec["voxgig$entity"] = self._name
|
|
53
|
+
end
|
|
52
54
|
return rec
|
|
53
55
|
end
|
|
54
56
|
|
|
55
57
|
EntyClass.__tostring = function(self)
|
|
56
58
|
local rec = self:to_record()
|
|
57
|
-
rec
|
|
59
|
+
if type(rec) == "table" then
|
|
60
|
+
rec["voxgig$entity"] = nil
|
|
61
|
+
end
|
|
58
62
|
return self._name .. " " .. json.encode(rec)
|
|
59
63
|
end
|
|
60
64
|
|
|
@@ -87,7 +91,7 @@ end
|
|
|
87
91
|
|
|
88
92
|
function EntyClass:data_set(args)
|
|
89
93
|
if args ~= nil then
|
|
90
|
-
self._data =
|
|
94
|
+
self._data = vs.clone(args)
|
|
91
95
|
self._utility.feature_hook(self._entctx, "SetData")
|
|
92
96
|
end
|
|
93
97
|
end
|
|
@@ -238,7 +242,10 @@ function EntyClass:stream(action, args, callopts)
|
|
|
238
242
|
end
|
|
239
243
|
|
|
240
244
|
-- What a hook raises here must not escape the cleaning below.
|
|
241
|
-
local hookok, hookerr =
|
|
245
|
+
local hookok, hookerr = true, nil
|
|
246
|
+
if not ctx.unexpected_fired then
|
|
247
|
+
hookok, hookerr = pcall(utility.feature_hook, ctx, "PreUnexpected")
|
|
248
|
+
end
|
|
242
249
|
if not hookok then
|
|
243
250
|
item = hookerr
|
|
244
251
|
end
|
|
@@ -324,7 +331,10 @@ function EntyClass:_run_op(ctx, post_done)
|
|
|
324
331
|
|
|
325
332
|
-- What a hook raises here must not escape the cleaning below.
|
|
326
333
|
local hookok, hookerr = pcall(function()
|
|
327
|
-
--
|
|
334
|
+
-- Once per operation: make_error fires it for its own error.
|
|
335
|
+
if not ctx.unexpected_fired then
|
|
336
|
+
-- #PreUnexpected-Hook
|
|
337
|
+
end
|
|
328
338
|
end)
|
|
329
339
|
if not hookok then
|
|
330
340
|
out = hookerr
|
|
@@ -45,7 +45,7 @@ function entityOp(opname: string, present: boolean, entityname: string): string
|
|
|
45
45
|
| List items ->
|
|
46
46
|
List.map (fun entry ->
|
|
47
47
|
let e = ent.e_make () in
|
|
48
|
-
|
|
48
|
+
e.e_data_set entry;
|
|
49
49
|
e)
|
|
50
50
|
!items
|
|
51
51
|
| _ -> []));
|
|
@@ -95,7 +95,7 @@ let rec make (client : sdk_client) (entopts_in : value) : entity_obj =
|
|
|
95
95
|
utility.u_feature_hook entctx "PostConstructEntity";
|
|
96
96
|
ent.e_data_set <- (fun args ->
|
|
97
97
|
if not (is_nullish args) then begin
|
|
98
|
-
ent.e_data <-
|
|
98
|
+
ent.e_data <- clone args;
|
|
99
99
|
utility.u_feature_hook entctx "SetData"
|
|
100
100
|
end);
|
|
101
101
|
ent.e_data_get <- (fun () -> utility.u_feature_hook entctx "GetData"; clone ent.e_data);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonKey, canonScalarKey, entityIdField, opRequestShape, opNeedsAction } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonKey, canonScalarKey, entityIdField, opRequestShape, opNeedsAction, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
6
6
|
getModelPath,
|
|
7
7
|
} from '@voxgig/apidef'
|
|
8
8
|
|
|
9
|
-
import { ocamlVarName, ocamlListMatch } from './utility_ocaml'
|
|
9
|
+
import { ocamlVarName, ocamlListMatch, ocamlString } from './utility_ocaml'
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// A type-correct OCaml `value` literal for a field's canonical type. Strings
|
|
@@ -18,7 +18,7 @@ function ocamlLit(type: any, placeholder: string = 'example'): string {
|
|
|
18
18
|
if ('BOOLEAN' === k) return '(Bool true)'
|
|
19
19
|
if ('ARRAY' === k) return '(empty_list ())'
|
|
20
20
|
if ('OBJECT' === k) return '(empty_map ())'
|
|
21
|
-
return `(Str "${placeholder}")`
|
|
21
|
+
return `(Str "${ocamlString(placeholder)}")`
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -130,13 +130,12 @@ const ReadmeEntity = cmp(function ReadmeEntity(props: any) {
|
|
|
130
130
|
if (callable.includes('load')) {
|
|
131
131
|
// The id key plus every REQUIRED match key (parent path params like
|
|
132
132
|
// page_id) — the same shape the runtime resolves path params from.
|
|
133
|
-
const loadItems =
|
|
134
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
133
|
+
const loadItems = matchExampleItems(entity, 'load', idF)
|
|
135
134
|
.sort((a: any, b: any) =>
|
|
136
135
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
137
136
|
const loadArg = 0 < loadItems.length
|
|
138
137
|
? `jo [${loadItems.map((it: any) =>
|
|
139
|
-
`("${it.name}", ${ocamlLit(it.type,
|
|
138
|
+
`("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
140
139
|
it.name === idF ? entity.name + '_id' : it.name)})`).join('; ')}]`
|
|
141
140
|
: 'Noval'
|
|
142
141
|
Content(`#### Example: Load
|
|
@@ -171,7 +170,7 @@ let ${fn}_datas = List.map (fun e -> e.e_data_get ()) ${fn}s
|
|
|
171
170
|
let ${fn} = (Sdk_client.${fn} client Noval).e_create (jo [
|
|
172
171
|
`)
|
|
173
172
|
createItems.map((it: any) => {
|
|
174
|
-
Content(` ("${it.name}", ${ocamlLit(it.type, 'example_' + it.name)}); (* ${ocamlType(it.type)} *)
|
|
173
|
+
Content(` ("${ocamlString(it.name)}", ${ocamlLit(it.type, 'example_' + it.name)}); (* ${ocamlType(it.type)} *)
|
|
175
174
|
`)
|
|
176
175
|
})
|
|
177
176
|
Content(`]) Noval
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
6
6
|
getModelPath,
|
|
7
7
|
} from '@voxgig/apidef'
|
|
8
8
|
|
|
9
|
-
import { ocamlListMatch, ocamlOpField, ocamlVarName } from './utility_ocaml'
|
|
9
|
+
import { ocamlListMatch, ocamlOpField, ocamlVarName, ocamlString } from './utility_ocaml'
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// A type-correct OCaml `value` literal for a field's canonical type.
|
|
@@ -37,13 +37,17 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
37
37
|
if (exampleEntity && 'list' === primaryOp) {
|
|
38
38
|
testArg = ocamlListMatch(exampleEntity)
|
|
39
39
|
} else if (exampleEntity && isMatchOp) {
|
|
40
|
-
|
|
40
|
+
const items = matchExampleItems(exampleEntity, primaryOp, idF)
|
|
41
|
+
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
42
|
+
testArg = 0 < items.length
|
|
43
|
+
? `(jo [${items.map((it: any) => `("${ocamlString(it.name)}", ${it.name === idF ? 'Str "test01"' : ocamlLit(it.type)})`).join('; ')}])`
|
|
44
|
+
: '(empty_map ())'
|
|
41
45
|
} else if (exampleEntity && ('create' === primaryOp || 'update' === primaryOp || 'patch' === primaryOp)) {
|
|
42
46
|
const items = opRequestShape(exampleEntity, primaryOp).items
|
|
43
47
|
.filter((it: any) => it.name !== idF && it.name !== 'id')
|
|
44
48
|
const required = items.filter((it: any) => !it.optional)
|
|
45
49
|
const chosen = required.length ? required : items.slice(0, 3)
|
|
46
|
-
testArg = `(jo [${chosen.map((it: any) => `("${it.name}", ${ocamlLit(it.type)})`).join('; ')}])`
|
|
50
|
+
testArg = `(jo [${chosen.map((it: any) => `("${ocamlString(it.name)}", ${ocamlLit(it.type)})`).join('; ')}])`
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
// The op-driven test-mode line, shown only when the SDK has an entity op.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, opRequestShape, entityIdField, entityDataIdField, entityOps } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, opRequestShape, entityIdField, entityDataIdField, entityOps, matchExampleItems, requiredItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
nom,
|
|
8
8
|
} from '@voxgig/apidef'
|
|
9
9
|
|
|
10
|
-
import { ocamlVarName, ocamlListMatch } from './utility_ocaml'
|
|
10
|
+
import { ocamlVarName, ocamlListMatch, ocamlString } from './utility_ocaml'
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
@@ -62,7 +62,7 @@ let client = ${ctor}
|
|
|
62
62
|
if ('BOOLEAN' === k) return '(Bool true)'
|
|
63
63
|
if ('ARRAY' === k) return '(empty_list ())'
|
|
64
64
|
if ('OBJECT' === k) return '(empty_map ())'
|
|
65
|
-
return `(Str "${placeholder}")`
|
|
65
|
+
return `(Str "${ocamlString(placeholder)}")`
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
if (opnames.includes('list')) {
|
|
@@ -89,15 +89,14 @@ record with \`e_data_get\`.
|
|
|
89
89
|
// Model-driven match: every REQUIRED load-match key. Parent keys first,
|
|
90
90
|
// the entity's own id last.
|
|
91
91
|
const neIdF = entityIdField(nestedEntity)
|
|
92
|
-
const neRequired =
|
|
93
|
-
.filter((it: any) => !it.optional)
|
|
92
|
+
const neRequired = requiredItems(nestedEntity, 'load')
|
|
94
93
|
.sort((a: any, b: any) =>
|
|
95
94
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
96
95
|
const parentItem = neRequired.find((it: any) => it.name !== neIdF) as any
|
|
97
96
|
const parentParam = parentItem && parentItem.name
|
|
98
97
|
const parentName = parentParam ? parentParam.replace(/_id$/, '') : 'its parent'
|
|
99
98
|
const neMatch = neRequired.map((it: any) =>
|
|
100
|
-
`("${it.name}", ${ocamlLit(it.type,
|
|
99
|
+
`("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
101
100
|
it.name === neIdF ? 'example_id' : 'example_' + it.name)})`)
|
|
102
101
|
|
|
103
102
|
Content(`### 3. Load ${neArticle} ${neFn}
|
|
@@ -116,13 +115,12 @@ record.
|
|
|
116
115
|
`)
|
|
117
116
|
}
|
|
118
117
|
else if (opnames.includes('load')) {
|
|
119
|
-
const loadRequired =
|
|
120
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
118
|
+
const loadRequired = matchExampleItems(exampleEntity, 'load', idF)
|
|
121
119
|
.sort((a: any, b: any) =>
|
|
122
120
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
123
121
|
const loadArg = 0 < loadRequired.length
|
|
124
122
|
? `jo [${loadRequired.map((it: any) =>
|
|
125
|
-
`("${it.name}", ${ocamlLit(it.type,
|
|
123
|
+
`("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
126
124
|
it.name === idF ? 'example_id' : 'example_' + it.name)})`).join('; ')}]`
|
|
127
125
|
: 'Noval'
|
|
128
126
|
|
|
@@ -152,7 +150,7 @@ record.
|
|
|
152
150
|
const chosen = 'create' === opname
|
|
153
151
|
? (required.length ? required : items.slice(0, 2))
|
|
154
152
|
: required.concat(optional).slice(0, Math.max(2, required.length))
|
|
155
|
-
return chosen.map((it: any) => `("${it.name}", ${ocamlLit(it.type, 'example_' + it.name)})`)
|
|
153
|
+
return chosen.map((it: any) => `("${ocamlString(it.name)}", ${ocamlLit(it.type, 'example_' + it.name)})`)
|
|
156
154
|
}
|
|
157
155
|
|
|
158
156
|
const idParamType = (opname: string): any => {
|
|
@@ -160,7 +158,7 @@ record.
|
|
|
160
158
|
return it && it.type
|
|
161
159
|
}
|
|
162
160
|
const idValueFor = (opname: string): string => (null != dataIdF && opnames.includes('create'))
|
|
163
|
-
? `(getp (created.e_data_get ()) "${dataIdF}")`
|
|
161
|
+
? `(getp (created.e_data_get ()) "${ocamlString(dataIdF)}")`
|
|
164
162
|
: ocamlLit(idParamType(opname), 'example_id')
|
|
165
163
|
|
|
166
164
|
if (opnames.includes('create') || opnames.includes('update') || opnames.includes('patch') ||
|
|
@@ -177,27 +175,26 @@ print_endline (stringify (created.e_data_get ()));
|
|
|
177
175
|
`)
|
|
178
176
|
}
|
|
179
177
|
if (opnames.includes('update')) {
|
|
180
|
-
const updatePairs = (idF ? [`("${idF}", ${idValueFor('update')})`] : []).concat(examplePairs('update'))
|
|
178
|
+
const updatePairs = (idF ? [`("${ocamlString(idF)}", ${idValueFor('update')})`] : []).concat(examplePairs('update'))
|
|
181
179
|
Content(`(* Update *)
|
|
182
180
|
ignore ((Sdk_client.${fn} client Noval).e_update (jo [${updatePairs.join('; ')}]) Noval);
|
|
183
181
|
|
|
184
182
|
`)
|
|
185
183
|
}
|
|
186
184
|
if (opnames.includes('patch')) {
|
|
187
|
-
const patchPairs = (idF ? [`("${idF}", ${idValueFor('patch')})`] : []).concat(examplePairs('patch'))
|
|
185
|
+
const patchPairs = (idF ? [`("${ocamlString(idF)}", ${idValueFor('patch')})`] : []).concat(examplePairs('patch'))
|
|
188
186
|
Content(`(* Patch — sends only the fields given *)
|
|
189
187
|
ignore ((Sdk_client.${fn} client Noval).e_patch (jo [${patchPairs.join('; ')}]) Noval);
|
|
190
188
|
|
|
191
189
|
`)
|
|
192
190
|
}
|
|
193
191
|
if (opnames.includes('remove')) {
|
|
194
|
-
const removePairs =
|
|
195
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
192
|
+
const removePairs = matchExampleItems(exampleEntity, 'remove', idF)
|
|
196
193
|
.sort((a: any, b: any) =>
|
|
197
194
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
198
195
|
.map((it: any) => it.name === idF
|
|
199
|
-
? `("${it.name}", ${idValueFor('remove')})`
|
|
200
|
-
: `("${it.name}", ${ocamlLit(it.type, 'example_' + it.name)})`)
|
|
196
|
+
? `("${ocamlString(it.name)}", ${idValueFor('remove')})`
|
|
197
|
+
: `("${ocamlString(it.name)}", ${ocamlLit(it.type, 'example_' + it.name)})`)
|
|
201
198
|
Content(`(* Remove — resolves to the entity, marked deleted; it keeps its data *)
|
|
202
199
|
let removed = (Sdk_client.${fn} client Noval).e_remove (${removePairs.length ? `jo [${removePairs.join('; ')}]` : 'Noval'}) Noval in
|
|
203
200
|
Printf.printf "deleted: %b\\n" removed.e_deleted
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getModelPath,
|
|
8
8
|
} from '@voxgig/apidef'
|
|
9
9
|
|
|
10
|
-
import { ocamlVarName, ocamlListMatch } from './utility_ocaml'
|
|
10
|
+
import { ocamlVarName, ocamlListMatch, ocamlString } from './utility_ocaml'
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
// A type-correct OCaml `value` literal. Strings render the quoted placeholder.
|
|
@@ -18,7 +18,7 @@ function ocamlLit(type: any, placeholder: string = 'example'): string {
|
|
|
18
18
|
if ('BOOLEAN' === k) return '(Bool true)'
|
|
19
19
|
if ('ARRAY' === k) return '(empty_list ())'
|
|
20
20
|
if ('OBJECT' === k) return '(empty_map ())'
|
|
21
|
-
return `(Str "${placeholder}")`
|
|
21
|
+
return `(Str "${ocamlString(placeholder)}")`
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -274,13 +274,12 @@ ${info.desc}
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
if ('load' === opname || 'remove' === opname) {
|
|
277
|
-
const matchItems =
|
|
278
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
277
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
279
278
|
.sort((a: any, b: any) =>
|
|
280
279
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
281
280
|
const arg = 0 < matchItems.length
|
|
282
281
|
? `jo [${matchItems.map((it: any) =>
|
|
283
|
-
`("${it.name}", ${ocamlLit(it.type,
|
|
282
|
+
`("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
284
283
|
it.name === idF ? ent.name + '_id' : it.name)})`).join('; ')}]`
|
|
285
284
|
: 'Noval'
|
|
286
285
|
Content(`\`\`\`ocaml
|
|
@@ -306,7 +305,7 @@ List.iter (fun e -> print_endline (stringify (e.e_data_get ()))) results
|
|
|
306
305
|
let result = (Sdk_client.${fn} client Noval).e_create (jo [
|
|
307
306
|
`)
|
|
308
307
|
createItems.map((it: any) => {
|
|
309
|
-
Content(` ("${it.name}", ${ocamlLit(it.type, 'example_' + it.name)}); (* ${ocamlType(it.type)} *)
|
|
308
|
+
Content(` ("${ocamlString(it.name)}", ${ocamlLit(it.type, 'example_' + it.name)}); (* ${ocamlType(it.type)} *)
|
|
310
309
|
`)
|
|
311
310
|
})
|
|
312
311
|
Content(`]) Noval
|
|
@@ -321,7 +320,7 @@ let result_data = result.e_data_get ()
|
|
|
321
320
|
.sort((a: any, b: any) =>
|
|
322
321
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
323
322
|
const updateLines = updateItems.map((it: any) =>
|
|
324
|
-
` ("${it.name}", ${ocamlLit(it.type,
|
|
323
|
+
` ("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
325
324
|
it.name === idF ? ent.name + '_id' : it.name)});\n`).join('')
|
|
326
325
|
Content(`\`\`\`ocaml
|
|
327
326
|
let result = (Sdk_client.${fn} client Noval).e_${opname} (jo [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
6
6
|
getModelPath,
|
|
7
7
|
} from '@voxgig/apidef'
|
|
8
8
|
|
|
9
|
-
import { ocamlVarName, ocamlListMatch } from './utility_ocaml'
|
|
9
|
+
import { ocamlVarName, ocamlListMatch, ocamlString } from './utility_ocaml'
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// A type-correct OCaml `value` literal for a param: numeric/boolean/array/
|
|
@@ -18,7 +18,7 @@ function ocamlLit(type: any, placeholder: string = 'example'): string {
|
|
|
18
18
|
if ('BOOLEAN' === k) return '(Bool true)'
|
|
19
19
|
if ('ARRAY' === k) return '(empty_list ())'
|
|
20
20
|
if ('OBJECT' === k) return '(empty_map ())'
|
|
21
|
-
return `(Str "${placeholder}")`
|
|
21
|
+
return `(Str "${ocamlString(placeholder)}")`
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -61,13 +61,12 @@ let () =
|
|
|
61
61
|
// Every REQUIRED load-match key (id first, then parent path params like
|
|
62
62
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
63
63
|
// the example always works.
|
|
64
|
-
const loadItems =
|
|
65
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
64
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
66
65
|
.sort((a: any, b: any) =>
|
|
67
66
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
68
67
|
const loadArg = 0 < loadItems.length
|
|
69
68
|
? `jo [${loadItems.map((it: any) =>
|
|
70
|
-
`("${it.name}", ${ocamlLit(it.type,
|
|
69
|
+
`("${ocamlString(it.name)}", ${ocamlLit(it.type,
|
|
71
70
|
it.name === idF ? 'example_id' : 'example_' + it.name)})`).join('; ')}]`
|
|
72
71
|
: 'Noval'
|
|
73
72
|
Content(` (* Load a specific ${fn} (returns the ENTITY; raises on error) *)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
6
6
|
getModelPath,
|
|
7
7
|
} from '@voxgig/apidef'
|
|
8
8
|
|
|
9
|
-
import { ocamlListMatch, ocamlOpField, ocamlVarName } from './utility_ocaml'
|
|
9
|
+
import { ocamlListMatch, ocamlOpField, ocamlVarName, ocamlString } from './utility_ocaml'
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// A type-correct OCaml `value` literal for a field's canonical type.
|
|
@@ -45,20 +45,19 @@ let () =
|
|
|
45
45
|
arg = ocamlListMatch(exampleEntity)
|
|
46
46
|
} else if (isMatchOp) {
|
|
47
47
|
// Every REQUIRED match key (id first).
|
|
48
|
-
const items =
|
|
49
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
48
|
+
const items = matchExampleItems(exampleEntity, primaryOp, idF)
|
|
50
49
|
.sort((a: any, b: any) =>
|
|
51
50
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
52
51
|
arg = 0 < items.length
|
|
53
52
|
? `(jo [${items.map((it: any) =>
|
|
54
|
-
`("${it.name}", ${it.name === idF ? '(Str "test01")' : ocamlLit(it.type)})`).join('; ')}])`
|
|
53
|
+
`("${ocamlString(it.name)}", ${it.name === idF ? '(Str "test01")' : ocamlLit(it.type)})`).join('; ')}])`
|
|
55
54
|
: '(empty_map ())'
|
|
56
55
|
} else if ('create' === primaryOp || 'update' === primaryOp || 'patch' === primaryOp) {
|
|
57
56
|
const items = opRequestShape(exampleEntity, primaryOp).items
|
|
58
57
|
.filter((it: any) => it.name !== idF && it.name !== 'id')
|
|
59
58
|
const required = items.filter((it: any) => !it.optional)
|
|
60
59
|
const chosen = required.length ? required : items.slice(0, 3)
|
|
61
|
-
arg = `(jo [${chosen.map((it: any) => `("${it.name}", ${ocamlLit(it.type)})`).join('; ')}])`
|
|
60
|
+
arg = `(jo [${chosen.map((it: any) => `("${ocamlString(it.name)}", ${ocamlLit(it.type)})`).join('; ')}])`
|
|
62
61
|
}
|
|
63
62
|
// The op resolves to the ENTITY (list: one per record); the record is
|
|
64
63
|
// reached with e_data_get.
|
|
@@ -28,6 +28,14 @@ exception E = Sdk_error_exc
|
|
|
28
28
|
|
|
29
29
|
let code (e : t) : string = e.err_code
|
|
30
30
|
let message (e : t) : string = e.err_msg
|
|
31
|
+
|
|
32
|
+
(* The HTTP status make_error recorded on the result, -1 without a response. *)
|
|
33
|
+
let status (e : t) : int =
|
|
34
|
+
match Sdk_helpers.getp e.err_result "status" with
|
|
35
|
+
| Voxgig_struct.Num n -> int_of_float n
|
|
36
|
+
| _ -> -1
|
|
37
|
+
|
|
38
|
+
let not_found (e : t) : bool = 404 = status e
|
|
31
39
|
`)
|
|
32
40
|
})
|
|
33
41
|
})
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
let unexpected (ctx : ctx) (e : exn) : value =
|
|
6
6
|
let e =
|
|
7
7
|
(try
|
|
8
|
-
(*
|
|
8
|
+
(* Once per operation: make_error fires it for its own error. *)
|
|
9
|
+
if not ctx.c_unexpected_fired then begin
|
|
10
|
+
(* #PreUnexpected-Hook *)
|
|
11
|
+
()
|
|
12
|
+
end;
|
|
9
13
|
e
|
|
10
14
|
with hookerr -> hookerr) in
|
|
11
15
|
clean_explain ctx;
|
|
@@ -53,7 +53,7 @@ use ExtUtils::MakeMaker;
|
|
|
53
53
|
WriteMakefile(
|
|
54
54
|
NAME => '${Name}SDK',
|
|
55
55
|
VERSION_FROM => 'lib/${Name}SDK.pm',
|
|
56
|
-
ABSTRACT =>
|
|
56
|
+
ABSTRACT => ${perlStringLiteral(pkgDescription(model, target.name))},
|
|
57
57
|
AUTHOR => ${perlStringLiteral(authorInfo(model, target.name).name)},
|
|
58
58
|
LICENSE => 'mit',
|
|
59
59
|
MIN_PERL_VERSION => '${minperl}',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonKey, canonScalarKey, entityIdField, opRequestShape, opNeedsAction } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonKey, canonScalarKey, entityIdField, opRequestShape, opNeedsAction, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
6
6
|
getModelPath,
|
|
7
7
|
} from '@voxgig/apidef'
|
|
8
8
|
|
|
9
|
-
import { perlListArgs } from './utility_perl'
|
|
9
|
+
import { perlListArgs, perlStringLiteral } from './utility_perl'
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// A type-correct, executable Perl literal for a field's canonical type. The
|
|
@@ -19,7 +19,7 @@ function perlLit(type: any, placeholder: string = 'example'): string {
|
|
|
19
19
|
if ('BOOLEAN' === k) return '1'
|
|
20
20
|
if ('ARRAY' === k) return '[]'
|
|
21
21
|
if ('OBJECT' === k) return '{}'
|
|
22
|
-
return
|
|
22
|
+
return perlStringLiteral(placeholder)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
@@ -126,13 +126,12 @@ const ReadmeEntity = cmp(function ReadmeEntity(props: any) {
|
|
|
126
126
|
// The id key plus every REQUIRED match key (parent path params like
|
|
127
127
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
128
128
|
// the example always works.
|
|
129
|
-
const loadItems =
|
|
130
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
129
|
+
const loadItems = matchExampleItems(entity, 'load', idF)
|
|
131
130
|
.sort((a: any, b: any) =>
|
|
132
131
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
133
132
|
const loadArg = 0 < loadItems.length
|
|
134
133
|
? `{ ${loadItems.map((it: any) =>
|
|
135
|
-
|
|
134
|
+
`${perlStringLiteral(it.name)} => ${perlLit(it.type,
|
|
136
135
|
it.name === idF ? entity.name + '_id' : it.name)}`).join(', ')} }`
|
|
137
136
|
: ''
|
|
138
137
|
Content(`#### Example: Load
|
|
@@ -169,7 +168,7 @@ print $_->data_get->{id}, "\\n" for @$${eVar}s;
|
|
|
169
168
|
my $${eVar} = $client->${entity.Name}->create({
|
|
170
169
|
`)
|
|
171
170
|
createItems.map((it: any) => {
|
|
172
|
-
Content(`
|
|
171
|
+
Content(` ${perlStringLiteral(it.name)} => ${perlLit(it.type, 'example_' + it.name)}, # ${perlType(it.type)}
|
|
173
172
|
`)
|
|
174
173
|
})
|
|
175
174
|
Content(`});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -37,7 +37,11 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
37
37
|
const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp
|
|
38
38
|
let testArg = ''
|
|
39
39
|
if (exampleEntity && isMatchOp) {
|
|
40
|
-
|
|
40
|
+
const items = matchExampleItems(exampleEntity, primaryOp, idF)
|
|
41
|
+
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
42
|
+
testArg = 0 < items.length
|
|
43
|
+
? `{ ${items.map((it: any) => `${perlStringLiteral(it.name)} => ${it.name === idF ? "'test01'" : perlLit(it.type)}`).join(', ')} }`
|
|
44
|
+
: ''
|
|
41
45
|
} else if (exampleEntity && 'list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length) {
|
|
42
46
|
const chosen = requiredItems(exampleEntity, 'list')
|
|
43
47
|
testArg = `{ ${chosen.map((it: any) => `${perlStringLiteral(it.name)} => ${perlLit(it.type)}`).join(', ')} }`
|