@voxgig/sdkgen 4.34.6 → 4.35.0
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 +15 -7
- 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/src/cmp/zig/utility_zig.ts +19 -8
- 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 +7 -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/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/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/test/auth_credential.hpp +121 -0
- package/project/.sdk/tm/cpp/test/pipeline_test.cpp +19 -13
- 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/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 +26 -31
- package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +6 -0
- 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/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 +11 -1
- 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/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/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/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/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/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/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 +18 -14
- package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +6 -0
- package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +1 -1
- 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/test/feature/secrets/secrets_feature_test.lua +6 -2
- 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/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 +4 -3
- 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/feature/secrets/secrets.t +8 -0
- package/project/.sdk/tm/perl/t/runner.pm +6 -4
- 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/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 +3 -1
- 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/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/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/validate_feature.rb +2 -2
- 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/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/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 +7 -2
- 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/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/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/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/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/test/feature/secrets/secrets_test.zig +12 -8
- 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, Content, isAuthActive, envName, opRequestShape, entityIdField, entityDataIdField, entityOps, elixirAccessor, entityCollection, exampleVarName } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, opRequestShape, entityIdField, entityDataIdField, entityOps, elixirAccessor, entityCollection, exampleVarName, 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 { elixirLit, elixirListArgs } from './utility_elixir'
|
|
10
|
+
import { elixirLit, elixirListArgs, elixirString } from './utility_elixir'
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
@@ -81,15 +81,14 @@ end
|
|
|
81
81
|
const neCall = elixirAccessor(nestedEntity, entityCollection(model))
|
|
82
82
|
|
|
83
83
|
const neIdF = entityIdField(nestedEntity)
|
|
84
|
-
const neRequired =
|
|
85
|
-
.filter((it: any) => !it.optional)
|
|
84
|
+
const neRequired = requiredItems(nestedEntity, 'load')
|
|
86
85
|
.sort((a: any, b: any) =>
|
|
87
86
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
88
87
|
const parentItem = neRequired.find((it: any) => it.name !== neIdF) as any
|
|
89
88
|
const parentParam = parentItem && parentItem.name
|
|
90
89
|
const parentName = parentParam ? parentParam.replace(/_id$/, '') : 'its parent'
|
|
91
90
|
const neMatch = neRequired.map((it: any) =>
|
|
92
|
-
|
|
91
|
+
`${elixirString(it.name)} => ${elixirLit(it.type,
|
|
93
92
|
it.name === neIdF ? 'example_id' : 'example_' + it.name)}`)
|
|
94
93
|
|
|
95
94
|
Content(`### 3. Load ${neArticle} ${neName.toLowerCase()}
|
|
@@ -111,13 +110,12 @@ end
|
|
|
111
110
|
`)
|
|
112
111
|
}
|
|
113
112
|
else if (opnames.includes('load')) {
|
|
114
|
-
const loadRequired =
|
|
115
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
113
|
+
const loadRequired = matchExampleItems(exampleEntity, 'load', idF)
|
|
116
114
|
.sort((a: any, b: any) =>
|
|
117
115
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
118
116
|
const loadArg = 0 < loadRequired.length
|
|
119
117
|
? `H.deep(%{${loadRequired.map((it: any) =>
|
|
120
|
-
|
|
118
|
+
`${elixirString(it.name)} => ${elixirLit(it.type,
|
|
121
119
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`).join(', ')}})`
|
|
122
120
|
: 'H.deep(%{})'
|
|
123
121
|
|
|
@@ -150,7 +148,7 @@ end
|
|
|
150
148
|
const chosen = 'create' === opname
|
|
151
149
|
? (required.length ? required : items.slice(0, 2))
|
|
152
150
|
: required.concat(optional).slice(0, Math.max(2, required.length))
|
|
153
|
-
return chosen.map((it: any) =>
|
|
151
|
+
return chosen.map((it: any) => `${elixirString(it.name)} => ${elixirLit(it.type, 'example_' + it.name)}`)
|
|
154
152
|
}
|
|
155
153
|
|
|
156
154
|
const idParamType = (opname: string): any => {
|
|
@@ -158,7 +156,7 @@ end
|
|
|
158
156
|
return it && it.type
|
|
159
157
|
}
|
|
160
158
|
const idValueFor = (opname: string): string => (null != dataIdF && opnames.includes('create'))
|
|
161
|
-
? `Voxgig.Struct.getprop(${Name}.Entity.${eName}.data_get(created),
|
|
159
|
+
? `Voxgig.Struct.getprop(${Name}.Entity.${eName}.data_get(created), ${elixirString(dataIdF)})`
|
|
162
160
|
: elixirLit(idParamType(opname), 'example_id')
|
|
163
161
|
|
|
164
162
|
if (opnames.includes('create') || opnames.includes('update') || opnames.includes('patch') ||
|
|
@@ -176,27 +174,26 @@ created = ${Name}.Entity.${eName}.create(${eVar}, H.deep(%{${examplePairs('creat
|
|
|
176
174
|
`)
|
|
177
175
|
}
|
|
178
176
|
if (opnames.includes('update')) {
|
|
179
|
-
const updatePairs = (idF ? [
|
|
177
|
+
const updatePairs = (idF ? [`${elixirString(idF)} => ${idValueFor('update')}`] : []).concat(examplePairs('update'))
|
|
180
178
|
Content(`# Update
|
|
181
179
|
${Name}.Entity.${eName}.update(${eVar}, H.deep(%{${updatePairs.join(', ')}}))
|
|
182
180
|
|
|
183
181
|
`)
|
|
184
182
|
}
|
|
185
183
|
if (opnames.includes('patch')) {
|
|
186
|
-
const patchPairs = (idF ? [
|
|
184
|
+
const patchPairs = (idF ? [`${elixirString(idF)} => ${idValueFor('patch')}`] : []).concat(examplePairs('patch'))
|
|
187
185
|
Content(`# Patch — sends only the fields given
|
|
188
186
|
${Name}.Entity.${eName}.patch(${eVar}, H.deep(%{${patchPairs.join(', ')}}))
|
|
189
187
|
|
|
190
188
|
`)
|
|
191
189
|
}
|
|
192
190
|
if (opnames.includes('remove')) {
|
|
193
|
-
const removePairs =
|
|
194
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
191
|
+
const removePairs = matchExampleItems(exampleEntity, 'remove', idF)
|
|
195
192
|
.sort((a: any, b: any) =>
|
|
196
193
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
197
194
|
.map((it: any) => it.name === idF
|
|
198
|
-
?
|
|
199
|
-
:
|
|
195
|
+
? `${elixirString(it.name)} => ${idValueFor('remove')}`
|
|
196
|
+
: `${elixirString(it.name)} => ${elixirLit(it.type, 'example_' + it.name)}`)
|
|
200
197
|
Content(`# Remove
|
|
201
198
|
${Name}.Entity.${eName}.remove(${eVar}${removePairs.length ? `, H.deep(%{${removePairs.join(', ')}})` : ''})
|
|
202
199
|
`)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, elixirAccessor, entityCollection, exampleVarName } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, elixirAccessor, entityCollection, exampleVarName, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from '@voxgig/apidef'
|
|
9
9
|
|
|
10
10
|
// Type names come from the shared canonToType 'elixir' column (single source of truth).
|
|
11
|
-
import { elixirLit, elixirListArgs } from './utility_elixir'
|
|
11
|
+
import { elixirLit, elixirListArgs, elixirString } from './utility_elixir'
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
const OP_SIGNATURES: Record<string, { sig: string, desc: string }> = {
|
|
@@ -208,13 +208,12 @@ ${info.desc}
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
if ('load' === opname || 'remove' === opname) {
|
|
211
|
-
const matchItems =
|
|
212
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
211
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
213
212
|
.sort((a: any, b: any) =>
|
|
214
213
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
215
214
|
const arg = 0 < matchItems.length
|
|
216
215
|
? `${Name}.Helpers.deep(%{${matchItems.map((it: any) =>
|
|
217
|
-
|
|
216
|
+
`${elixirString(it.name)} => ${elixirLit(it.type,
|
|
218
217
|
it.name === idF ? ent.name + '_id' : it.name)}`).join(', ')}})`
|
|
219
218
|
: `${Name}.Helpers.deep(%{})`
|
|
220
219
|
Content(`\`\`\`elixir
|
|
@@ -237,7 +236,7 @@ ${eVar}s = ${Name}.Entity.${EName}.list(${eVar}${elixirListArgs(ent, Name)})
|
|
|
237
236
|
${eVar} = ${Name}.Entity.${EName}.create(${eVar}, ${Name}.Helpers.deep(%{
|
|
238
237
|
`)
|
|
239
238
|
createItems.map((it: any) => {
|
|
240
|
-
Content(`
|
|
239
|
+
Content(` ${elixirString(it.name)} => ${elixirLit(it.type, 'example_' + it.name)}, # ${canonToType(it.type, target.name)}
|
|
241
240
|
`)
|
|
242
241
|
})
|
|
243
242
|
Content(`}))
|
|
@@ -251,7 +250,7 @@ ${eVar} = ${Name}.Entity.${EName}.create(${eVar}, ${Name}.Helpers.deep(%{
|
|
|
251
250
|
.sort((a: any, b: any) =>
|
|
252
251
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
253
252
|
const updateLines = updateItems.map((it: any) =>
|
|
254
|
-
`
|
|
253
|
+
` ${elixirString(it.name)} => ${elixirLit(it.type,
|
|
255
254
|
it.name === idF ? ent.name + '_id' : it.name)},\n`).join('')
|
|
256
255
|
Content(`\`\`\`elixir
|
|
257
256
|
${eVar} = ${Name}.Entity.${EName}.${opname}(${eVar}, ${Name}.Helpers.deep(%{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, entityIdField, opRequestShape, elixirAccessor, entityCollection, exampleVarName } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, entityIdField, opRequestShape, elixirAccessor, entityCollection, exampleVarName, matchExampleItems } 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 { elixirLit, elixirListArgs } from './utility_elixir'
|
|
10
|
+
import { elixirLit, elixirListArgs, elixirString } from './utility_elixir'
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
const ReadmeTopQuick = cmp(function ReadmeTopQuick(props: any) {
|
|
@@ -54,8 +54,7 @@ end
|
|
|
54
54
|
// Every REQUIRED load-match key (id first, then parent path params like
|
|
55
55
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
56
56
|
// the example always works.
|
|
57
|
-
const loadItems =
|
|
58
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
57
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
59
58
|
.sort((a: any, b: any) =>
|
|
60
59
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
61
60
|
// No required match keys (a singleton endpoint like /current) means no
|
|
@@ -63,7 +62,7 @@ end
|
|
|
63
62
|
// reqmatch defaults to nil, so load/1 is the correct call.
|
|
64
63
|
const loadArgs = 0 < loadItems.length
|
|
65
64
|
? `${eVar}, H.deep(%{${loadItems.map((it: any) =>
|
|
66
|
-
|
|
65
|
+
`${elixirString(it.name)} => ${elixirLit(it.type,
|
|
67
66
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`).join(', ')}})`
|
|
68
67
|
: eVar
|
|
69
68
|
Content(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, entityIdField, pickExampleEntity, opRequestShape, elixirAccessor, entityCollection, exampleVarName, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, entityIdField, pickExampleEntity, opRequestShape, elixirAccessor, entityCollection, exampleVarName, requiredItems, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -34,8 +34,7 @@ sdk = ${Name}.test()
|
|
|
34
34
|
const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp
|
|
35
35
|
let arg = ''
|
|
36
36
|
if (isMatchOp || ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length)) {
|
|
37
|
-
const items = (isMatchOp ?
|
|
38
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
37
|
+
const items = (isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
39
38
|
.sort((a: any, b: any) =>
|
|
40
39
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
41
40
|
arg = 0 < items.length
|
|
@@ -63,7 +63,10 @@ defmodule ProjectName.Pipeline do
|
|
|
63
63
|
# What a hook raises here must not escape the cleaning below.
|
|
64
64
|
{e, st} =
|
|
65
65
|
try do
|
|
66
|
-
#
|
|
66
|
+
# Once per operation: make_error fires it for its own error.
|
|
67
|
+
if S.getprop(ctx, "unexpected_fired") != true do
|
|
68
|
+
# #PreUnexpected-Hook
|
|
69
|
+
end
|
|
67
70
|
|
|
68
71
|
{e, st}
|
|
69
72
|
rescue
|
|
@@ -32,7 +32,7 @@ function elixirLit(sentinel: unknown, placeholder: string = 'example'): string {
|
|
|
32
32
|
case 'BOOLEAN': return 'true'
|
|
33
33
|
case 'ARRAY': return '[]'
|
|
34
34
|
case 'OBJECT': return '%{}'
|
|
35
|
-
default: return
|
|
35
|
+
default: return elixirString(placeholder)
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, entityIdField, entityOps, opRequestShape, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, entityIdField, entityOps, opRequestShape, listMatchArg, matchExampleItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -101,13 +101,12 @@ const ReadmeEntity = cmp(function ReadmeEntity(props: any) {
|
|
|
101
101
|
// The id key plus every REQUIRED match key (parent path params like
|
|
102
102
|
// page_id) — the same shape that generates the op's request match, so
|
|
103
103
|
// the example always carries the keys the route needs.
|
|
104
|
-
const loadItems =
|
|
105
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
104
|
+
const loadItems = matchExampleItems(entity, 'load', idF)
|
|
106
105
|
.sort((a: any, b: any) =>
|
|
107
106
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
108
107
|
const loadArg = 0 < loadItems.length
|
|
109
108
|
? `map[string]any{${loadItems.map((it: any) =>
|
|
110
|
-
|
|
109
|
+
`${litString('go', it.name)}: ${exampleValue(entity, entity.op && entity.op.load, it.name,
|
|
111
110
|
it.name === idF ? entity.name + '_id' : it.name)}`).join(', ')}}`
|
|
112
111
|
: 'nil'
|
|
113
112
|
Content(`#### Example: Load
|
|
@@ -154,7 +153,7 @@ for _, item := range ${eVar}s.([]any) {
|
|
|
154
153
|
result, err := client.${entity.Name}(nil).Create(map[string]any{
|
|
155
154
|
`)
|
|
156
155
|
createItems.map((it: any) => {
|
|
157
|
-
Content(`
|
|
156
|
+
Content(` ${litString('go', it.name)}: ${exampleValue(entity, entity.op && entity.op.create, it.name, 'example_' + it.name)},
|
|
158
157
|
`)
|
|
159
158
|
})
|
|
160
159
|
Content(`}, nil)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, goModule, requiredItems, litPair } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, goModule, requiredItems, litPair, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -43,8 +43,7 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
43
43
|
const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp
|
|
44
44
|
let testArg = 'nil'
|
|
45
45
|
if (exampleEntity && (isMatchOp || ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length))) {
|
|
46
|
-
const items = (isMatchOp ?
|
|
47
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
46
|
+
const items = (isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
48
47
|
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
49
48
|
testArg = 0 < items.length
|
|
50
49
|
? `map[string]any{${items.map((it: any) => litPair('go', it.name, isMatchOp && it.name === idF ? '"test01"' : goLit(it.type))).join(', ')}}`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, isAuthActive, entityIdField, entityPrimaryOp, goModule, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, isAuthActive, entityIdField, entityPrimaryOp, goModule, listMatchArg, matchExampleItems, litPair, litFor } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -60,8 +60,13 @@ const ReadmeModel = cmp(function ReadmeModel(props: any) {
|
|
|
60
60
|
? firstPrimaryOp.charAt(0).toUpperCase() + firstPrimaryOp.slice(1)
|
|
61
61
|
: ''
|
|
62
62
|
const firstIsMatchOp = 'load' === firstPrimaryOp || 'remove' === firstPrimaryOp
|
|
63
|
+
const firstMatch = firstIsMatchOp
|
|
64
|
+
? matchExampleItems(firstWithOp, firstPrimaryOp!, firstIdF)
|
|
65
|
+
.sort((a: any, b: any) => (a.name === firstIdF ? 0 : 1) - (b.name === firstIdF ? 0 : 1))
|
|
66
|
+
: []
|
|
63
67
|
const firstOpArg = firstIsMatchOp
|
|
64
|
-
? (
|
|
68
|
+
? (0 < firstMatch.length ? `map[string]any{${firstMatch.map((it: any) =>
|
|
69
|
+
litPair('go', it.name, it.name === firstIdF ? '"example_id"' : litFor('go', it.type))).join(', ')}}` : 'nil')
|
|
65
70
|
: 'list' === firstPrimaryOp ? listMatchArg('go', firstWithOp)
|
|
66
71
|
: 'map[string]any{/* fields */}'
|
|
67
72
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, opRequestShape, entityIdField, entityOps, goModule, serverVariables, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, opRequestShape, entityIdField, entityOps, goModule, serverVariables, listMatchArg, matchExampleItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -61,20 +61,19 @@ const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
|
61
61
|
? (required.length ? required : items.slice(0, 2))
|
|
62
62
|
: required.concat(optional).slice(0, Math.max(2, required.length))
|
|
63
63
|
return chosen.map((it: any) =>
|
|
64
|
-
|
|
64
|
+
`${litString('go', it.name)}: ${exampleValue(exampleEntity, exampleEntity.op[opname], it.name, 'example_' + it.name)}`)
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
// The full REQUIRED match for load/remove (id first, then parent path
|
|
68
68
|
// params like page_id) — the same shape that generates the op's request
|
|
69
69
|
// match, so the example always carries the keys the route needs.
|
|
70
70
|
const matchArg = (opname: string): string => {
|
|
71
|
-
const matchItems =
|
|
72
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
71
|
+
const matchItems = matchExampleItems(exampleEntity, opname, idF)
|
|
73
72
|
.sort((a: any, b: any) =>
|
|
74
73
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
75
74
|
return 0 < matchItems.length
|
|
76
75
|
? `map[string]any{${matchItems.map((it: any) =>
|
|
77
|
-
|
|
76
|
+
`${litString('go', it.name)}: ${exampleValue(exampleEntity, exampleEntity.op[opname], it.name,
|
|
78
77
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`).join(', ')}}`
|
|
79
78
|
: 'nil'
|
|
80
79
|
}
|
|
@@ -118,7 +117,7 @@ const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
|
118
117
|
// The id member (when the entity has an id-like key) plus example
|
|
119
118
|
// patch fields — the same shape that generates the op's request data.
|
|
120
119
|
const updateMembers = (idF
|
|
121
|
-
? [
|
|
120
|
+
? [`${litString('go', idF)}: ${exampleValue(exampleEntity, exampleEntity.op.update, idF, 'example_id')}`]
|
|
122
121
|
: []).concat(exampleFields('update'))
|
|
123
122
|
body.push(` // Update a ${eLower}.`)
|
|
124
123
|
body.push(` updated, err := client.${eName}(nil).Update(map[string]any{${updateMembers.join(', ')}}, nil)`)
|
|
@@ -132,7 +131,7 @@ const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
|
132
131
|
|
|
133
132
|
if (opnames.includes('patch')) {
|
|
134
133
|
const patchMembers = (idF
|
|
135
|
-
? [
|
|
134
|
+
? [`${litString('go', idF)}: ${exampleValue(exampleEntity, exampleEntity.op.patch, idF, 'example_id')}`]
|
|
136
135
|
: []).concat(exampleFields('patch'))
|
|
137
136
|
body.push(` // Patch a ${eLower}: only the fields given are sent.`)
|
|
138
137
|
body.push(` patched, err := client.${eName}(nil).Patch(map[string]any{${patchMembers.join(', ')}}, nil)`)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, entityOps, opRequestShape, targetFeatures, bodyNote, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, entityOps, opRequestShape, targetFeatures, bodyNote, listMatchArg, matchExampleItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -263,13 +263,12 @@ ${info.desc}
|
|
|
263
263
|
// The id key plus every REQUIRED match key (parent path params
|
|
264
264
|
// like page_id) — the same shape that generates the op's request
|
|
265
265
|
// match, so the example always carries the keys the route needs.
|
|
266
|
-
const matchItems =
|
|
267
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
266
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
268
267
|
.sort((a: any, b: any) =>
|
|
269
268
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
270
269
|
const arg = 0 < matchItems.length
|
|
271
270
|
? `map[string]any{${matchItems.map((it: any) =>
|
|
272
|
-
|
|
271
|
+
`${litString('go', it.name)}: ${exampleValue(ent, ent.op && ent.op[opname], it.name,
|
|
273
272
|
it.name === idF ? ent.name + '_id' : it.name)}`).join(', ')}}`
|
|
274
273
|
: 'nil'
|
|
275
274
|
Content(`\`\`\`go
|
|
@@ -307,7 +306,7 @@ for _, item := range results.([]any) {
|
|
|
307
306
|
result, err := client.${ent.Name}(nil).Create(map[string]any{
|
|
308
307
|
`)
|
|
309
308
|
createItems.map((it: any) => {
|
|
310
|
-
Content(`
|
|
309
|
+
Content(` ${litString('go', it.name)}: ${exampleValue(ent, ent.op && ent.op.create, it.name, 'example_' + it.name)},
|
|
311
310
|
`)
|
|
312
311
|
})
|
|
313
312
|
Content(`}, nil)
|
|
@@ -328,7 +327,7 @@ fmt.Println(result.(sdk.Entity).Data())
|
|
|
328
327
|
.sort((a: any, b: any) =>
|
|
329
328
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
330
329
|
const updateLines = updateItems.map((it: any) =>
|
|
331
|
-
`
|
|
330
|
+
` ${litString('go', it.name)}: ${exampleValue(ent, ent.op && ent.op[opname], it.name,
|
|
332
331
|
it.name === idF ? ent.name + '_id' : it.name)},\n`).join('')
|
|
333
332
|
Content(`\`\`\`go
|
|
334
333
|
result, err := client.${ent.Name}(nil).${'patch' === opname ? 'Patch' : 'Update'}(map[string]any{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, entityIdField, entityOps, opRequestShape, goModule, serverVariables, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, entityIdField, entityOps, opRequestShape, goModule, serverVariables, listMatchArg, matchExampleItems, requiredItems, litString } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -80,12 +80,11 @@ for _, ${eVar} := range ${eVar}s.([]any) {
|
|
|
80
80
|
// entity's own id last, each value a type-correct Go literal.
|
|
81
81
|
const neIdF = entityIdField(nestedEntity)
|
|
82
82
|
const neLoadOp = nestedEntity.op && nestedEntity.op.load
|
|
83
|
-
const neMatchPairs =
|
|
84
|
-
.filter((it: any) => !it.optional)
|
|
83
|
+
const neMatchPairs = requiredItems(nestedEntity, 'load')
|
|
85
84
|
.sort((a: any, b: any) =>
|
|
86
85
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
87
86
|
.map((it: any) =>
|
|
88
|
-
|
|
87
|
+
`${litString('go', it.name)}: ${exampleValue(nestedEntity, neLoadOp, it.name,
|
|
89
88
|
it.name === neIdF ? 'example_id' : 'example_' + it.name)}`)
|
|
90
89
|
|
|
91
90
|
Content(`
|
|
@@ -103,13 +102,12 @@ fmt.Println(${neVar}.(sdk.Entity).Data())
|
|
|
103
102
|
|
|
104
103
|
if (!hasCall && opnames.includes('load')) {
|
|
105
104
|
const idF = entityIdField(exampleEntity)
|
|
106
|
-
const loadItems =
|
|
107
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
105
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
108
106
|
.sort((a: any, b: any) =>
|
|
109
107
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
110
108
|
const loadArg = 0 < loadItems.length
|
|
111
109
|
? `map[string]any{${loadItems.map((it: any) =>
|
|
112
|
-
|
|
110
|
+
`${litString('go', it.name)}: ${exampleValue(exampleEntity, exampleEntity.op && exampleEntity.op.load, it.name,
|
|
113
111
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`).join(', ')}}`
|
|
114
112
|
: 'nil'
|
|
115
113
|
Content(`// Load a specific ${eName.toLowerCase()} (returns the entity; err is non-nil on failure)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, goModule, requiredItems, litPair } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, goModule, requiredItems, litPair, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -45,7 +45,11 @@ client := sdk.Test()
|
|
|
45
45
|
const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp
|
|
46
46
|
let arg = 'nil'
|
|
47
47
|
if (isMatchOp) {
|
|
48
|
-
|
|
48
|
+
const items = matchExampleItems(exampleEntity, primaryOp, idF)
|
|
49
|
+
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
50
|
+
arg = 0 < items.length
|
|
51
|
+
? `map[string]any{${items.map((it: any) => litPair('go', it.name, it.name === idF ? '"test01"' : goLit(it.type))).join(', ')}}`
|
|
52
|
+
: 'nil'
|
|
49
53
|
} else if ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length) {
|
|
50
54
|
const chosen = requiredItems(exampleEntity, 'list')
|
|
51
55
|
arg = `map[string]any{${chosen.map((it: any) => litPair('go', it.name, goLit(it.type))).join(', ')}}`
|
|
@@ -15,6 +15,8 @@ import {
|
|
|
15
15
|
serverVarEnv,
|
|
16
16
|
serverVariables, envName, envToken, liveStrict, liveStrictNote,
|
|
17
17
|
pointParts,
|
|
18
|
+
pointIsGraphql,
|
|
19
|
+
primaryPoint,
|
|
18
20
|
} from '@voxgig/sdkgen'
|
|
19
21
|
|
|
20
22
|
|
|
@@ -106,8 +108,9 @@ const TestDirect = cmp(function TestDirect(props: any) {
|
|
|
106
108
|
const loadOp = entity.op?.load
|
|
107
109
|
const listOp = entity.op?.list
|
|
108
110
|
|
|
109
|
-
const loadPoint = loadOp?.points
|
|
110
|
-
|
|
111
|
+
const loadPoint = null == loadOp?.points ? undefined :
|
|
112
|
+
primaryPoint(loadOp.points, entity.name, 'load')
|
|
113
|
+
const loadIsGraphql = pointIsGraphql(loadPoint)
|
|
111
114
|
const loadPath = loadPoint ? normalizePathParams(pointParts(loadPoint), loadPoint?.g?.params || [], loadPoint?.r?.param) : ''
|
|
112
115
|
const allLoadParams = loadPoint?.g?.params || []
|
|
113
116
|
// Some upstream OpenAPI specs declare a parameter as `in: path` even when
|
|
@@ -132,8 +135,9 @@ const TestDirect = cmp(function TestDirect(props: any) {
|
|
|
132
135
|
const loadParams = allLoadParams.filter((p: any) =>
|
|
133
136
|
_renamedPlaceholders.has(p.n) || _renamedPlaceholders.has(p.or))
|
|
134
137
|
|
|
135
|
-
const listPoint = listOp?.points
|
|
136
|
-
|
|
138
|
+
const listPoint = null == listOp?.points ? undefined :
|
|
139
|
+
primaryPoint(listOp.points, entity.name, 'list')
|
|
140
|
+
const listIsGraphql = pointIsGraphql(listPoint)
|
|
137
141
|
const listPath = listPoint ? normalizePathParams(pointParts(listPoint), listPoint?.g?.params || [], listPoint?.r?.param) : ''
|
|
138
142
|
const listParams = listPoint?.g?.params || []
|
|
139
143
|
|
|
@@ -627,13 +631,16 @@ function generateDirectGraphqlGo(
|
|
|
627
631
|
const mockVarLines = vars.map((v: any, i: number) =>
|
|
628
632
|
`\t\tvariables["${v.name}"] = "direct0${i + 1}"`).join('\n')
|
|
629
633
|
|
|
630
|
-
|
|
634
|
+
// A live call sends only the variables the document cannot run without.
|
|
635
|
+
const liveVars = vars.filter((v: any) => String(v.gqltype || '').endsWith('!'))
|
|
636
|
+
|
|
637
|
+
const liveVarLines = liveVars.map((v: any) => {
|
|
631
638
|
const from = v.from || v.name
|
|
632
639
|
const key = ('id' === from ? entity.name : from.replace(/_id$/, '')) + '01'
|
|
633
640
|
return `\t\tvariables["${v.name}"] = setup.idmap["${key}"]`
|
|
634
641
|
}).join('\n')
|
|
635
642
|
|
|
636
|
-
const liveIdKeys =
|
|
643
|
+
const liveIdKeys = liveVars.map((v: any) => {
|
|
637
644
|
const from = v.from || v.name
|
|
638
645
|
return ('id' === from ? entity.name : from.replace(/_id$/, '')) + '01'
|
|
639
646
|
})
|
|
@@ -654,9 +661,9 @@ function generateDirectGraphqlGo(
|
|
|
654
661
|
// response-shape correctness is the entity-level tests' job. The mock
|
|
655
662
|
// JSON-encodes a map body to a string (see makeFetchDefUtil), so this
|
|
656
663
|
// is a substring check, same as the ts/js mocks.
|
|
657
|
-
const varAsserts = vars.map((
|
|
658
|
-
`\t\t\tif
|
|
659
|
-
`\t\t\t\tt.Fatalf("expected
|
|
664
|
+
const varAsserts = vars.map((v: any, i: number) =>
|
|
665
|
+
`\t\t\tif sentVars[${JSON.stringify(v.name)}] != "direct0${i + 1}" {\n` +
|
|
666
|
+
`\t\t\t\tt.Fatalf("expected variable ${v.name} to be direct0${i + 1}, got %v", sentVars[${JSON.stringify(v.name)}])\n` +
|
|
660
667
|
`\t\t\t}`).join('\n')
|
|
661
668
|
|
|
662
669
|
Content(` t.Run("direct-${opname}-${entity.name}", func(t *testing.T) {
|
|
@@ -715,6 +722,15 @@ ${mockVarLines || '\t\t// no variables'}
|
|
|
715
722
|
t.Fatalf("expected method POST, got %v", initMap["method"])
|
|
716
723
|
}
|
|
717
724
|
bodyStr, _ := initMap["body"].(string)
|
|
725
|
+
var sent map[string]any
|
|
726
|
+
if err := json.Unmarshal([]byte(bodyStr), &sent); err != nil {
|
|
727
|
+
t.Fatalf("expected a JSON body, got %v", bodyStr)
|
|
728
|
+
}
|
|
729
|
+
if sent["query"] != ${JSON.stringify(doc)} {
|
|
730
|
+
t.Fatalf("expected the operation document, got %v", sent["query"])
|
|
731
|
+
}
|
|
732
|
+
sentVars, _ := sent["variables"].(map[string]any)
|
|
733
|
+
_ = sentVars
|
|
718
734
|
${varAsserts}
|
|
719
735
|
}
|
|
720
736
|
})
|
|
@@ -14,7 +14,7 @@ type EntyClass struct {
|
|
|
14
14
|
client *core.ProjectNameSDK
|
|
15
15
|
utility *core.Utility
|
|
16
16
|
entopts map[string]any
|
|
17
|
-
data
|
|
17
|
+
data any
|
|
18
18
|
match map[string]any
|
|
19
19
|
entctx *core.Context
|
|
20
20
|
deleted bool
|
|
@@ -64,8 +64,12 @@ func (e *EntyClass) GoString() string {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
func (e *EntyClass) MarshalJSON() ([]byte, error) {
|
|
67
|
+
data, ok := e.data.(map[string]any)
|
|
68
|
+
if !ok {
|
|
69
|
+
return json.Marshal(e.data)
|
|
70
|
+
}
|
|
67
71
|
out := map[string]any{}
|
|
68
|
-
for k, v := range
|
|
72
|
+
for k, v := range data {
|
|
69
73
|
out[k] = v
|
|
70
74
|
}
|
|
71
75
|
out["voxgig$entity"] = "EntityName"
|
|
@@ -93,10 +97,7 @@ func (e *EntyClass) Make() core.Entity {
|
|
|
93
97
|
|
|
94
98
|
func (e *EntyClass) Data(args ...any) any {
|
|
95
99
|
if len(args) > 0 && args[0] != nil {
|
|
96
|
-
e.data =
|
|
97
|
-
if e.data == nil {
|
|
98
|
-
e.data = map[string]any{}
|
|
99
|
-
}
|
|
100
|
+
e.data = vs.Clone(args[0])
|
|
100
101
|
e.utility.FeatureHook(e.entctx, "SetData")
|
|
101
102
|
}
|
|
102
103
|
|
|
@@ -23,9 +23,9 @@ func (e *EntyClass) Create(reqdata map[string]any, ctrl map[string]any) (any, er
|
|
|
23
23
|
return e.runOp(ctx, func() {
|
|
24
24
|
if ctx.Result != nil {
|
|
25
25
|
if ctx.Result.Resdata != nil {
|
|
26
|
-
e.data =
|
|
27
|
-
if
|
|
28
|
-
e.data =
|
|
26
|
+
e.data = map[string]any{}
|
|
27
|
+
if data := core.ToMapAny(vs.Clone(ctx.Result.Resdata)); data != nil {
|
|
28
|
+
e.data = data
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -26,9 +26,9 @@ func (e *EntyClass) Load(reqmatch map[string]any, ctrl map[string]any) (any, err
|
|
|
26
26
|
e.match = ctx.Result.Resmatch
|
|
27
27
|
}
|
|
28
28
|
if ctx.Result.Resdata != nil {
|
|
29
|
-
e.data =
|
|
30
|
-
if
|
|
31
|
-
e.data =
|
|
29
|
+
e.data = map[string]any{}
|
|
30
|
+
if data := core.ToMapAny(vs.Clone(ctx.Result.Resdata)); data != nil {
|
|
31
|
+
e.data = data
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -26,9 +26,9 @@ func (e *EntyClass) Patch(reqdata map[string]any, ctrl map[string]any) (any, err
|
|
|
26
26
|
e.match = ctx.Result.Resmatch
|
|
27
27
|
}
|
|
28
28
|
if ctx.Result.Resdata != nil {
|
|
29
|
-
e.data =
|
|
30
|
-
if
|
|
31
|
-
e.data =
|
|
29
|
+
e.data = map[string]any{}
|
|
30
|
+
if data := core.ToMapAny(vs.Clone(ctx.Result.Resdata)); data != nil {
|
|
31
|
+
e.data = data
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -26,9 +26,9 @@ func (e *EntyClass) Remove(reqmatch map[string]any, ctrl map[string]any) (any, e
|
|
|
26
26
|
e.match = ctx.Result.Resmatch
|
|
27
27
|
}
|
|
28
28
|
if ctx.Result.Resdata != nil {
|
|
29
|
-
e.data =
|
|
30
|
-
if
|
|
31
|
-
e.data =
|
|
29
|
+
e.data = map[string]any{}
|
|
30
|
+
if data := core.ToMapAny(vs.Clone(ctx.Result.Resdata)); data != nil {
|
|
31
|
+
e.data = data
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -26,9 +26,9 @@ func (e *EntyClass) Update(reqdata map[string]any, ctrl map[string]any) (any, er
|
|
|
26
26
|
e.match = ctx.Result.Resmatch
|
|
27
27
|
}
|
|
28
28
|
if ctx.Result.Resdata != nil {
|
|
29
|
-
e.data =
|
|
30
|
-
if
|
|
31
|
-
e.data =
|
|
29
|
+
e.data = map[string]any{}
|
|
30
|
+
if data := core.ToMapAny(vs.Clone(ctx.Result.Resdata)); data != nil {
|
|
31
|
+
e.data = data
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|