@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, each, Content, canonToType, canonKey, entityIdField, opRequestShape, opNeedsAction, javaMap, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, canonKey, entityIdField, opRequestShape, opNeedsAction, javaMap, javaMapOf, matchExampleItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -107,13 +107,12 @@ const ReadmeEntity = cmp(function ReadmeEntity(props: any) {
|
|
|
107
107
|
// The id key plus every REQUIRED match key (parent path params like
|
|
108
108
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
109
109
|
// the example always works.
|
|
110
|
-
const loadItems =
|
|
111
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
110
|
+
const loadItems = javaMapItems(matchExampleItems(entity, 'load', idF))
|
|
112
111
|
.sort((a: any, b: any) =>
|
|
113
112
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
114
113
|
const loadArg = 0 < loadItems.length
|
|
115
114
|
? javaMapOf(loadItems.map((it: any) =>
|
|
116
|
-
|
|
115
|
+
`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
117
116
|
it.name === idF ? entity.name + '_id' : it.name)}`))
|
|
118
117
|
: 'null'
|
|
119
118
|
Content(`#### Example: Load
|
|
@@ -139,7 +138,7 @@ Object ${eVar}List = client.${accessor}(null).list(${javaListMatch(entity)}, nul
|
|
|
139
138
|
// Members come from the SAME shape the runtime validates
|
|
140
139
|
// (opRequestShape): every required member must appear — including a
|
|
141
140
|
// required id and parent keys like page_id — with a real literal.
|
|
142
|
-
const createItems = opRequestShape(entity, 'create').items
|
|
141
|
+
const createItems = javaMapItems(opRequestShape(entity, 'create').items)
|
|
143
142
|
.filter((it: any) => !it.optional)
|
|
144
143
|
const createMap = javaMap(createItems.length)
|
|
145
144
|
Content(`#### Example: Create
|
|
@@ -149,7 +148,7 @@ Object ${eVar} = client.${accessor}(null).create(${createMap.open}
|
|
|
149
148
|
`)
|
|
150
149
|
createItems.map((it: any, i: number) => {
|
|
151
150
|
const comma = i < createItems.length - 1 ? ',' : ''
|
|
152
|
-
Content(` ${createMap.pair(
|
|
151
|
+
Content(` ${createMap.pair(`${JSON.stringify(it.name)}, ${javaLit(it.type, 'example_' + it.name)}`)}${comma} // ${canonToType(it.type, target.name)}
|
|
153
152
|
`)
|
|
154
153
|
})
|
|
155
154
|
Content(`), null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, javaMapOf, matchExampleItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -26,13 +26,18 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
26
26
|
const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp
|
|
27
27
|
let testArg = 'null'
|
|
28
28
|
if (exampleEntity && isMatchOp) {
|
|
29
|
-
|
|
29
|
+
const items = javaMapItems(matchExampleItems(exampleEntity, primaryOp, idF))
|
|
30
|
+
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
31
|
+
testArg = 0 < items.length
|
|
32
|
+
? javaMapOf(items.map((it: any) =>
|
|
33
|
+
`${JSON.stringify(it.name)}, ${it.name === idF ? '"test01"' : javaLit(it.type)}`))
|
|
34
|
+
: 'null'
|
|
30
35
|
} else if (exampleEntity && 'list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length) {
|
|
31
|
-
const chosen = requiredItems(exampleEntity, 'list')
|
|
36
|
+
const chosen = javaMapItems(requiredItems(exampleEntity, 'list'))
|
|
32
37
|
testArg = javaMapOf(chosen.map((it: any) =>
|
|
33
38
|
`${JSON.stringify(it.name)}, ${javaLit(it.type)}`))
|
|
34
39
|
} else if (exampleEntity && ('create' === primaryOp || 'update' === primaryOp || 'patch' === primaryOp)) {
|
|
35
|
-
const items = opRequestShape(exampleEntity, primaryOp).items
|
|
40
|
+
const items = javaMapItems(opRequestShape(exampleEntity, primaryOp).items)
|
|
36
41
|
.filter((it: any) => it.name !== idF && it.name !== 'id')
|
|
37
42
|
const required = items.filter((it: any) => !it.optional)
|
|
38
43
|
const chosen = required.length ? required : items.slice(0, 3)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, opRequestShape, entityIdField, entityOps , serverVariables, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, opRequestShape, entityIdField, entityOps , serverVariables, javaMapOf, matchExampleItems, requiredItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -117,15 +117,14 @@ catch (RuntimeException err) {
|
|
|
117
117
|
// Model-driven match: every REQUIRED load-match key. Parent keys (e.g.
|
|
118
118
|
// page_id) first, the entity's own id last.
|
|
119
119
|
const neIdF = entityIdField(nestedEntity)
|
|
120
|
-
const neRequired =
|
|
121
|
-
.filter((it: any) => !it.optional)
|
|
120
|
+
const neRequired = requiredItems(nestedEntity, 'load')
|
|
122
121
|
.sort((a: any, b: any) =>
|
|
123
122
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
124
123
|
const parentItem = neRequired.find((it: any) => it.name !== neIdF) as any
|
|
125
124
|
const parentParam = parentItem && parentItem.name
|
|
126
125
|
const parentName = parentParam ? parentParam.replace(/_id$/, '') : 'its parent'
|
|
127
|
-
const neMatch = neRequired.map((it: any) =>
|
|
128
|
-
|
|
126
|
+
const neMatch = javaMapItems(neRequired).map((it: any) =>
|
|
127
|
+
`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
129
128
|
it.name === neIdF ? 'example_id' : 'example_' + it.name)}`)
|
|
130
129
|
|
|
131
130
|
Content(`### 3. Load ${neArticle} ${neName.toLowerCase()}
|
|
@@ -146,13 +145,12 @@ catch (RuntimeException err) {
|
|
|
146
145
|
`)
|
|
147
146
|
}
|
|
148
147
|
else if (opnames.includes('load')) {
|
|
149
|
-
const loadRequired =
|
|
150
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
148
|
+
const loadRequired = javaMapItems(matchExampleItems(exampleEntity, 'load', idF))
|
|
151
149
|
.sort((a: any, b: any) =>
|
|
152
150
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
153
151
|
const loadArg = 0 < loadRequired.length
|
|
154
152
|
? javaMapOf(loadRequired.map((it: any) =>
|
|
155
|
-
|
|
153
|
+
`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
156
154
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`))
|
|
157
155
|
: 'null'
|
|
158
156
|
|
|
@@ -176,7 +174,7 @@ catch (RuntimeException err) {
|
|
|
176
174
|
// Model-driven example fields: derive the create/update body from the op
|
|
177
175
|
// shape (opRequestShape) so the docs reference REAL writable fields.
|
|
178
176
|
const examplePairs = (opname: string): string[] => {
|
|
179
|
-
const items = opRequestShape(exampleEntity, opname).items
|
|
177
|
+
const items = javaMapItems(opRequestShape(exampleEntity, opname).items)
|
|
180
178
|
.filter((it: any) => (it.name !== idF && it.name !== 'id') ||
|
|
181
179
|
('create' === opname && !it.optional))
|
|
182
180
|
const required = items.filter((it: any) => !it.optional)
|
|
@@ -184,7 +182,7 @@ catch (RuntimeException err) {
|
|
|
184
182
|
const chosen = 'create' === opname
|
|
185
183
|
? (required.length ? required : items.slice(0, 2))
|
|
186
184
|
: required.concat(optional).slice(0, Math.max(2, required.length))
|
|
187
|
-
return chosen.map((it: any) =>
|
|
185
|
+
return chosen.map((it: any) => `${JSON.stringify(it.name)}, ${javaLit(it.type, 'example_' + it.name)}`)
|
|
188
186
|
}
|
|
189
187
|
|
|
190
188
|
const idParamType = (opname: string): any => {
|
|
@@ -205,7 +203,7 @@ Object created = client.${accessor}(null).create(${javaMapOf(examplePairs('creat
|
|
|
205
203
|
`)
|
|
206
204
|
}
|
|
207
205
|
if (opnames.includes('update')) {
|
|
208
|
-
const updatePairs = (idF ? [
|
|
206
|
+
const updatePairs = (idF ? [`${JSON.stringify(idF)}, ${javaLit(idParamType('update'), 'example_id')}`] : [])
|
|
209
207
|
.concat(examplePairs('update'))
|
|
210
208
|
Content(`// Update — supply the id in the match/data
|
|
211
209
|
client.${accessor}(null).update(${javaMapOf(updatePairs)}, null);
|
|
@@ -213,7 +211,7 @@ client.${accessor}(null).update(${javaMapOf(updatePairs)}, null);
|
|
|
213
211
|
`)
|
|
214
212
|
}
|
|
215
213
|
if (opnames.includes('patch')) {
|
|
216
|
-
const patchPairs = (idF ? [
|
|
214
|
+
const patchPairs = (idF ? [`${JSON.stringify(idF)}, ${javaLit(idParamType('patch'), 'example_id')}`] : [])
|
|
217
215
|
.concat(examplePairs('patch'))
|
|
218
216
|
Content(`// Patch — sends only the fields given
|
|
219
217
|
client.${accessor}(null).patch(${javaMapOf(patchPairs)}, null);
|
|
@@ -221,13 +219,12 @@ client.${accessor}(null).patch(${javaMapOf(patchPairs)}, null);
|
|
|
221
219
|
`)
|
|
222
220
|
}
|
|
223
221
|
if (opnames.includes('remove')) {
|
|
224
|
-
const removePairs =
|
|
225
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
222
|
+
const removePairs = javaMapItems(matchExampleItems(exampleEntity, 'remove', idF))
|
|
226
223
|
.sort((a: any, b: any) =>
|
|
227
224
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
228
225
|
.map((it: any) => it.name === idF
|
|
229
|
-
?
|
|
230
|
-
:
|
|
226
|
+
? `${JSON.stringify(it.name)}, ${javaLit(idParamType('remove'), 'example_id')}`
|
|
227
|
+
: `${JSON.stringify(it.name)}, ${javaLit(it.type, 'example_' + it.name)}`)
|
|
231
228
|
Content(`// Remove
|
|
232
229
|
client.${accessor}(null).remove(${removePairs.length ? javaMapOf(removePairs) : 'null'}, null);
|
|
233
230
|
`)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, canonKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, javaMap, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, canonKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, javaMap, javaMapOf, matchExampleItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -256,13 +256,12 @@ ${info.desc}
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
if ('load' === opname || 'remove' === opname) {
|
|
259
|
-
const matchItems =
|
|
260
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
259
|
+
const matchItems = javaMapItems(matchExampleItems(ent, opname, idF))
|
|
261
260
|
.sort((a: any, b: any) =>
|
|
262
261
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
263
262
|
const arg = 0 < matchItems.length
|
|
264
263
|
? javaMapOf(matchItems.map((it: any) =>
|
|
265
|
-
|
|
264
|
+
`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
266
265
|
it.name === idF ? ent.name + '_id' : it.name)}`))
|
|
267
266
|
: 'null'
|
|
268
267
|
Content(`\`\`\`java
|
|
@@ -282,7 +281,7 @@ for (Object item : results) {
|
|
|
282
281
|
`)
|
|
283
282
|
}
|
|
284
283
|
else if ('create' === opname) {
|
|
285
|
-
const createItems = opRequestShape(ent, 'create').items
|
|
284
|
+
const createItems = javaMapItems(opRequestShape(ent, 'create').items)
|
|
286
285
|
.filter((it: any) => !it.optional)
|
|
287
286
|
const createMap = javaMap(createItems.length)
|
|
288
287
|
Content(`\`\`\`java
|
|
@@ -290,7 +289,7 @@ Object result = client.${accessor}(null).create(${createMap.open}
|
|
|
290
289
|
`)
|
|
291
290
|
createItems.map((it: any, i: number) => {
|
|
292
291
|
const comma = i < createItems.length - 1 ? ',' : ''
|
|
293
|
-
Content(` ${createMap.pair(
|
|
292
|
+
Content(` ${createMap.pair(`${JSON.stringify(it.name)}, ${javaLit(it.type, 'example_' + it.name)}`)}${comma} // ${canonToType(it.type, target.name)}
|
|
294
293
|
`)
|
|
295
294
|
})
|
|
296
295
|
Content(`), null);
|
|
@@ -299,14 +298,14 @@ Object result = client.${accessor}(null).create(${createMap.open}
|
|
|
299
298
|
`)
|
|
300
299
|
}
|
|
301
300
|
else if ('update' === opname || 'patch' === opname) {
|
|
302
|
-
const updateItems = opRequestShape(ent, opname).items
|
|
301
|
+
const updateItems = javaMapItems(opRequestShape(ent, opname).items)
|
|
303
302
|
.filter((it: any) => !it.optional || it.name === idF)
|
|
304
303
|
.sort((a: any, b: any) =>
|
|
305
304
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
306
305
|
const updateMap = javaMap(updateItems.length)
|
|
307
306
|
const updateLines = updateItems.map((it: any, i: number) => {
|
|
308
307
|
const comma = i < updateItems.length - 1 ? ',' : ''
|
|
309
|
-
return ` ${updateMap.pair(
|
|
308
|
+
return ` ${updateMap.pair(`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
310
309
|
it.name === idF ? ent.name + '_id' : it.name)}`)}${comma}\n`
|
|
311
310
|
}).join('')
|
|
312
311
|
Content(`\`\`\`java
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, entityIdField, opRequestShape , serverVariables, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, entityIdField, opRequestShape , serverVariables, javaMapOf, matchExampleItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -79,13 +79,12 @@ for (Object ${eVar}Item : ${eVar}List) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
if (opnames.includes('load')) {
|
|
82
|
-
const loadItems =
|
|
83
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
82
|
+
const loadItems = javaMapItems(matchExampleItems(exampleEntity, 'load', idF))
|
|
84
83
|
.sort((a: any, b: any) =>
|
|
85
84
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
86
85
|
const loadArg = 0 < loadItems.length
|
|
87
86
|
? javaMapOf(loadItems.map((it: any) =>
|
|
88
|
-
|
|
87
|
+
`${JSON.stringify(it.name)}, ${javaLit(it.type,
|
|
89
88
|
it.name === idF ? 'example_id' : 'example_' + it.name)}`))
|
|
90
89
|
: 'null'
|
|
91
90
|
Content(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, canonKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, javaMapOf } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, canonKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, javaMapOf, matchExampleItems, javaMapItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -31,8 +31,7 @@ ${SDK} client = ${SDK}.testSDK(null, null);
|
|
|
31
31
|
if (isMatchOp || ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length)) {
|
|
32
32
|
// Every REQUIRED match key (id first) — the same shape that generates
|
|
33
33
|
// the op's request type, so the block stays honest.
|
|
34
|
-
const items = (isMatchOp ?
|
|
35
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
34
|
+
const items = javaMapItems(isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
36
35
|
.sort((a: any, b: any) =>
|
|
37
36
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
38
37
|
arg = 0 < items.length
|
|
@@ -40,7 +39,7 @@ ${SDK} client = ${SDK}.testSDK(null, null);
|
|
|
40
39
|
`${JSON.stringify(it.name)}, ${isMatchOp && it.name === idF ? '"test01"' : javaLit(it.type)}`))
|
|
41
40
|
: 'null'
|
|
42
41
|
} else if ('create' === primaryOp || 'update' === primaryOp || 'patch' === primaryOp) {
|
|
43
|
-
const items = opRequestShape(exampleEntity, primaryOp).items
|
|
42
|
+
const items = javaMapItems(opRequestShape(exampleEntity, primaryOp).items)
|
|
44
43
|
.filter((it: any) => it.name !== idF && it.name !== 'id')
|
|
45
44
|
const required = items.filter((it: any) => !it.optional)
|
|
46
45
|
const chosen = required.length ? required : items.slice(0, 3)
|
|
@@ -17,6 +17,8 @@ import {
|
|
|
17
17
|
pointParts,
|
|
18
18
|
liveStrict,
|
|
19
19
|
liveStrictNote,
|
|
20
|
+
pointIsGraphql,
|
|
21
|
+
graphqlDirectSkip,
|
|
20
22
|
} from '@voxgig/sdkgen'
|
|
21
23
|
|
|
22
24
|
|
|
@@ -203,7 +205,15 @@ ${liveStrictNote(liveStrict(model, target.name), '//', ' ')}
|
|
|
203
205
|
`)
|
|
204
206
|
|
|
205
207
|
// Generate list test first (load needs list results in live mode)
|
|
206
|
-
if (hasList && listPoint) {
|
|
208
|
+
if (hasList && pointIsGraphql(listPoint)) {
|
|
209
|
+
Content(` @Test
|
|
210
|
+
public void directList${entity.Name}() {
|
|
211
|
+
Assumptions.assumeTrue(false, "${graphqlDirectSkip('list', entity.name)}");
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
`)
|
|
215
|
+
}
|
|
216
|
+
else if (hasList && listPoint) {
|
|
207
217
|
// Build live params for list
|
|
208
218
|
const listLiveParams = listParams.map((p: any) => {
|
|
209
219
|
const key = p.n === 'id'
|
|
@@ -312,7 +322,15 @@ ${listSkipBlock} ${SDK} client = setup.client;
|
|
|
312
322
|
}
|
|
313
323
|
|
|
314
324
|
// Generate load test - in live mode, first list to get a real entity ID
|
|
315
|
-
if (hasLoad && loadPoint) {
|
|
325
|
+
if (hasLoad && pointIsGraphql(loadPoint)) {
|
|
326
|
+
Content(` @Test
|
|
327
|
+
public void directLoad${entity.Name}() {
|
|
328
|
+
Assumptions.assumeTrue(false, "${graphqlDirectSkip('load', entity.name)}");
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
`)
|
|
332
|
+
}
|
|
333
|
+
else if (hasLoad && loadPoint) {
|
|
316
334
|
// Identify ancestor params (not 'id') for live mode
|
|
317
335
|
const ancestorParams = loadParams.filter((p: any) => p.n !== 'id')
|
|
318
336
|
|
|
@@ -31,7 +31,7 @@ public abstract class EntityBase implements SdkEntity {
|
|
|
31
31
|
protected SdkClient client;
|
|
32
32
|
protected Utility utility;
|
|
33
33
|
protected Map<String, Object> entopts;
|
|
34
|
-
protected
|
|
34
|
+
protected Object data = new LinkedHashMap<String, Object>();
|
|
35
35
|
protected Map<String, Object> match = new LinkedHashMap<>();
|
|
36
36
|
protected Context entctx;
|
|
37
37
|
|
|
@@ -84,8 +84,9 @@ public abstract class EntityBase implements SdkEntity {
|
|
|
84
84
|
@Override
|
|
85
85
|
public Object data(Object... args) {
|
|
86
86
|
if (args.length > 0 && args[0] != null) {
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
Object cloned = Struct.clone(args[0]);
|
|
88
|
+
Map<String, Object> d = Helpers.toMapAny(cloned);
|
|
89
|
+
this.data = d == null ? cloned : d;
|
|
89
90
|
this.utility.featureHook.apply(this.entctx, "SetData");
|
|
90
91
|
}
|
|
91
92
|
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
canonScalarKey,
|
|
8
8
|
requiredItems,
|
|
9
9
|
javaMapOf,
|
|
10
|
+
javaMapItems,
|
|
10
11
|
} from '@voxgig/sdkgen'
|
|
11
12
|
|
|
12
13
|
import {
|
|
@@ -112,21 +113,22 @@ function jsonAppendLines(value: any, bufname: string): string {
|
|
|
112
113
|
.join('')
|
|
113
114
|
}
|
|
114
115
|
|
|
115
|
-
//
|
|
116
|
+
// javaMapItems leaves a null-only member out of Map.of, which rejects a null.
|
|
116
117
|
function javaLit(type: any, placeholder: string = 'example'): string {
|
|
117
118
|
const k = canonScalarKey(type)
|
|
119
|
+
if ('NULL' === k) return 'null'
|
|
118
120
|
if ('INTEGER' === k) return '1L'
|
|
119
121
|
if ('NUMBER' === k) return '1.0'
|
|
120
122
|
if ('BOOLEAN' === k) return 'true'
|
|
121
123
|
if ('ARRAY' === k) return 'List.of()'
|
|
122
124
|
if ('OBJECT' === k) return 'Map.of()'
|
|
123
|
-
return
|
|
125
|
+
return JSON.stringify(placeholder)
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
|
|
127
129
|
// A list's required parameters as its match.
|
|
128
130
|
function javaListMatch(entity: any): string {
|
|
129
|
-
const items = requiredItems(entity, 'list')
|
|
131
|
+
const items = javaMapItems(requiredItems(entity, 'list'))
|
|
130
132
|
return 0 < items.length
|
|
131
133
|
? javaMapOf(items.map((it: any) => `${JSON.stringify(it.name)}, ${javaLit(it.type)}`))
|
|
132
134
|
: 'null'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, entityIdField, opRequestShape, safeVarName, exampleVarName, jsKey, opNeedsAction, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, entityIdField, opRequestShape, safeVarName, exampleVarName, jsKey, opNeedsAction, listMatchArg, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -101,8 +101,7 @@ 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 the runtime resolves path params from, so
|
|
103
103
|
// the example always works.
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, entityIdField, entityDataIdField, pickExampleEntity, opRequestShape, safeVarName, exampleVarName, jsKey, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, entityIdField, entityDataIdField, pickExampleEntity, opRequestShape, safeVarName, exampleVarName, jsKey, requiredItems, matchExampleItems, jsProp } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -31,8 +31,7 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
31
31
|
const primaryArg = (idPlaceholder: string): string => {
|
|
32
32
|
if (!exampleEntity || !primaryOp) return ''
|
|
33
33
|
if (isMatchOp || 'list' === primaryOp) {
|
|
34
|
-
const items = (isMatchOp ?
|
|
35
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
34
|
+
const items = (isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
36
35
|
.sort((a: any, b: any) => (a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
37
36
|
if (0 === items.length) return ''
|
|
38
37
|
const pairs = items.map((it: any) =>
|
|
@@ -51,7 +50,7 @@ const ReadmeHowto = cmp(function ReadmeHowto(props: any) {
|
|
|
51
50
|
const testCallArg = primaryArg('test01')
|
|
52
51
|
const stateCallArg = primaryArg('example')
|
|
53
52
|
const stateDataLine = dataIdF
|
|
54
|
-
? `console.log(data
|
|
53
|
+
? `console.log(${jsProp('data', dataIdF)})`
|
|
55
54
|
: `console.log(data)`
|
|
56
55
|
|
|
57
56
|
// The op-driven example lines, shown only when the SDK has an entity op.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, isAuthActive, packageName, envName, opRequestShape, entityIdField, entityOps, safeVarName, exampleVarName, jsKey, matchArg, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, isAuthActive, packageName, envName, opRequestShape, entityIdField, entityOps, safeVarName, exampleVarName, jsKey, matchArg, listMatchArg, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -61,8 +61,7 @@ const client = ${ctor}
|
|
|
61
61
|
// params like page_id) — the same shape the runtime resolves path params
|
|
62
62
|
// from, so the example always carries the keys the route needs.
|
|
63
63
|
const matchArg = (opname: string): string => {
|
|
64
|
-
const matchItems =
|
|
65
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
64
|
+
const matchItems = matchExampleItems(exampleEntity, opname, idF)
|
|
66
65
|
.sort((a: any, b: any) =>
|
|
67
66
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
68
67
|
return 0 < matchItems.length
|
|
@@ -111,7 +110,7 @@ console.log(created.data())
|
|
|
111
110
|
|
|
112
111
|
if (opnames.includes('update')) {
|
|
113
112
|
const updateLines = (idF
|
|
114
|
-
? [` ${idF}: ${exampleValue(exampleEntity, exampleEntity.op && exampleEntity.op.update, idF, exampleEntity.name + '_id')},`]
|
|
113
|
+
? [` ${jsKey(idF)}: ${exampleValue(exampleEntity, exampleEntity.op && exampleEntity.op.update, idF, exampleEntity.name + '_id')},`]
|
|
115
114
|
: []).concat(exampleFields('update'))
|
|
116
115
|
const updateBody = updateLines.length ? '\n' + updateLines.join('\n') + '\n' : ''
|
|
117
116
|
Content(`
|
|
@@ -126,7 +125,7 @@ console.log(updated.data())
|
|
|
126
125
|
|
|
127
126
|
if (opnames.includes('patch')) {
|
|
128
127
|
const patchLines = (idF
|
|
129
|
-
? [` ${idF}: ${exampleValue(exampleEntity, exampleEntity.op && exampleEntity.op.patch, idF, exampleEntity.name + '_id')},`]
|
|
128
|
+
? [` ${jsKey(idF)}: ${exampleValue(exampleEntity, exampleEntity.op && exampleEntity.op.patch, idF, exampleEntity.name + '_id')},`]
|
|
130
129
|
: []).concat(exampleFields('patch'))
|
|
131
130
|
const patchBody = patchLines.length ? '\n' + patchLines.join('\n') + '\n' : ''
|
|
132
131
|
Content(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, opRequestShape, safeVarName, exampleVarName, jsKey , targetFeatures, opNeedsAction, bodyNote, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonToType, File, isAuthActive, entityIdField, opRequestShape, safeVarName, exampleVarName, jsKey , targetFeatures, opNeedsAction, bodyNote, listMatchArg, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -294,8 +294,7 @@ ${info.desc}
|
|
|
294
294
|
// The id key plus every REQUIRED match key (parent path params
|
|
295
295
|
// like page_id) — the same shape the runtime resolves path
|
|
296
296
|
// params from, so the example always works.
|
|
297
|
-
const matchItems =
|
|
298
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
297
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
299
298
|
.sort((a: any, b: any) =>
|
|
300
299
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
301
300
|
const arg = 0 < matchItems.length
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, packageName, envName, entityIdField, entityOps, opRequestShape, safeVarName, exampleVarName, jsKey, listMatchArg } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, packageName, envName, entityIdField, entityOps, opRequestShape, safeVarName, exampleVarName, jsKey, listMatchArg, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -65,8 +65,7 @@ for (const ${eVar} of ${eVar}s) {
|
|
|
65
65
|
// entity's own id last) — the same shape the runtime resolves path
|
|
66
66
|
// params from, so the example always works.
|
|
67
67
|
const neIdF = entityIdField(nestedEntity)
|
|
68
|
-
const neMatchLines =
|
|
69
|
-
.filter((it: any) => !it.optional || it.name === neIdF)
|
|
68
|
+
const neMatchLines = matchExampleItems(nestedEntity, 'load', neIdF)
|
|
70
69
|
.sort((a: any, b: any) =>
|
|
71
70
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
72
71
|
.map((it: any) =>
|
|
@@ -86,8 +85,7 @@ console.log(${neVar}.data())
|
|
|
86
85
|
if (!hasCall && opnames.includes('load')) {
|
|
87
86
|
// The id and every required parameter: a load without them has no route.
|
|
88
87
|
const idF = entityIdField(exampleEntity)
|
|
89
|
-
const loadItems =
|
|
90
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
88
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
91
89
|
.sort((a: any, b: any) =>
|
|
92
90
|
(a.name === idF ? 1 : 0) - (b.name === idF ? 1 : 0))
|
|
93
91
|
.map((it: any) =>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, entityIdField, pickExampleEntity, opRequestShape, safeVarName, exampleVarName, jsKey, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, entityIdField, pickExampleEntity, opRequestShape, safeVarName, exampleVarName, jsKey, requiredItems, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -34,8 +34,7 @@ const client = ${model.const.Name}SDK.test()
|
|
|
34
34
|
if (isMatchOp || 'list' === primaryOp) {
|
|
35
35
|
// Every REQUIRED match key (id first, then parent path params like
|
|
36
36
|
// page_id) — the same shape the runtime resolves path params from.
|
|
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
|
|
@@ -22,9 +22,11 @@ import {
|
|
|
22
22
|
jsProp, envName, envToken,
|
|
23
23
|
jsKey,
|
|
24
24
|
pointParts,
|
|
25
|
+
pointIsGraphql,
|
|
25
26
|
hasLiveScenarios,
|
|
26
27
|
liveStrict,
|
|
27
28
|
liveStrictNote,
|
|
29
|
+
primaryPoint,
|
|
28
30
|
} from '@voxgig/sdkgen'
|
|
29
31
|
|
|
30
32
|
|
|
@@ -158,13 +160,14 @@ function directSetup(mockres) {
|
|
|
158
160
|
|
|
159
161
|
function generateDirectLoad(model: Model, entity: ModelEntity) {
|
|
160
162
|
const loadOp = entity.op?.load
|
|
161
|
-
const loadPoint: ModelPoint | undefined = loadOp?.points
|
|
163
|
+
const loadPoint: ModelPoint | undefined = null == loadOp?.points ? undefined :
|
|
164
|
+
primaryPoint(loadOp.points, entity.name, 'load')
|
|
162
165
|
|
|
163
166
|
if (null == loadPoint) {
|
|
164
167
|
return
|
|
165
168
|
}
|
|
166
169
|
|
|
167
|
-
if (
|
|
170
|
+
if (pointIsGraphql(loadPoint)) {
|
|
168
171
|
generateDirectGraphqlJs('load', entity, loadPoint)
|
|
169
172
|
return
|
|
170
173
|
}
|
|
@@ -174,7 +177,8 @@ function generateDirectLoad(model: Model, entity: ModelEntity) {
|
|
|
174
177
|
|
|
175
178
|
// Get list info for live mode bootstrapping
|
|
176
179
|
const listOp = entity.op?.list
|
|
177
|
-
const listPoint = listOp?.points
|
|
180
|
+
const listPoint = null == listOp?.points ? undefined :
|
|
181
|
+
primaryPoint(listOp.points, entity.name, 'list')
|
|
178
182
|
const listParams = listPoint?.g?.params || []
|
|
179
183
|
const listPath = listPoint ? normalizePathParams(pointParts(listPoint), listParams, listPoint.r?.param) : ''
|
|
180
184
|
const hasList = null != listPoint
|
|
@@ -267,13 +271,14 @@ ${paramAsserts}`)}
|
|
|
267
271
|
|
|
268
272
|
function generateDirectList(model: Model, entity: ModelEntity) {
|
|
269
273
|
const listOp = entity.op?.list
|
|
270
|
-
const listPoint: ModelPoint | undefined = listOp?.points
|
|
274
|
+
const listPoint: ModelPoint | undefined = null == listOp?.points ? undefined :
|
|
275
|
+
primaryPoint(listOp.points, entity.name, 'list')
|
|
271
276
|
|
|
272
277
|
if (null == listPoint) {
|
|
273
278
|
return
|
|
274
279
|
}
|
|
275
280
|
|
|
276
|
-
if (
|
|
281
|
+
if (pointIsGraphql(listPoint)) {
|
|
277
282
|
generateDirectGraphqlJs('list', entity, listPoint)
|
|
278
283
|
return
|
|
279
284
|
}
|
|
@@ -348,8 +353,10 @@ function generateDirectGraphqlJs(
|
|
|
348
353
|
const mockVarLines = vars.map((v: any, i: number) =>
|
|
349
354
|
` variables[${JSON.stringify(v.name)}] = 'direct0${i + 1}'`).join('\n')
|
|
350
355
|
|
|
351
|
-
|
|
352
|
-
const
|
|
356
|
+
// A live call sends only the variables the document cannot run without.
|
|
357
|
+
const liveVars = vars.filter((v: any) => String(v.gqltype || '').endsWith('!'))
|
|
358
|
+
const liveKeys = liveVars.map((v: any) => liveIdKey(entity, { n: v.from || v.name }))
|
|
359
|
+
const liveVarLines = liveVars.map((v: any, i: number) =>
|
|
353
360
|
` variables[${JSON.stringify(v.name)}] = setup.idmap['${liveKeys[i]}']`).join('\n')
|
|
354
361
|
const skipMissingLine = 0 < liveKeys.length
|
|
355
362
|
? ` if (skipIfMissingIds(t, setup, ${JSON.stringify(liveKeys)}, LIVE_STRICT)) return\n`
|
|
@@ -357,8 +364,8 @@ function generateDirectGraphqlJs(
|
|
|
357
364
|
|
|
358
365
|
// Asserted against the OUTGOING request body, not the mocked response —
|
|
359
366
|
// response-shape correctness is the entity-level tests' job.
|
|
360
|
-
const varAsserts = vars.map((
|
|
361
|
-
|
|
367
|
+
const varAsserts = vars.map((v: any, i: number) =>
|
|
368
|
+
` assert(sent.variables[${JSON.stringify(v.name)}] === 'direct0${i + 1}')\n`).join('')
|
|
362
369
|
|
|
363
370
|
Content(`
|
|
364
371
|
test('direct-${opname}-${entity.name}', async (t) => {
|
|
@@ -380,6 +387,8 @@ ${liveChecks(opname, 'null != result.data', 'no data', ` assert(result.ok =
|
|
|
380
387
|
assert(null != result.data)
|
|
381
388
|
assert(calls.length === 1)
|
|
382
389
|
assert(calls[0].init.method === 'POST')
|
|
390
|
+
const sent = JSON.parse(calls[0].init.body)
|
|
391
|
+
assert(sent.query === ${JSON.stringify(doc)})
|
|
383
392
|
${varAsserts}`)}
|
|
384
393
|
})
|
|
385
394
|
`)
|
|
@@ -161,8 +161,10 @@ class ProjectNameEntityBase {
|
|
|
161
161
|
catch (err) {
|
|
162
162
|
// What a hook throws here must not escape the cleaning below.
|
|
163
163
|
try {
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
if (!ctx.unexpectedFired) {
|
|
165
|
+
const fres = featureHook(ctx, 'PreUnexpected')
|
|
166
|
+
if (fres instanceof Promise) { await fres }
|
|
167
|
+
}
|
|
166
168
|
}
|
|
167
169
|
catch (hookerr) {
|
|
168
170
|
err = hookerr
|
|
@@ -97,7 +97,10 @@ class EntityOperation {
|
|
|
97
97
|
catch (err) {
|
|
98
98
|
// What a hook throws here must not escape the cleaning below.
|
|
99
99
|
try {
|
|
100
|
-
//
|
|
100
|
+
// Once per operation: makeError fires it for its own error.
|
|
101
|
+
if (!ctx.unexpectedFired) {
|
|
102
|
+
// #PreUnexpected-Hook
|
|
103
|
+
}
|
|
101
104
|
}
|
|
102
105
|
catch (hookerr) {
|
|
103
106
|
err = hookerr
|
|
@@ -90,7 +90,10 @@ class EntityOperation {
|
|
|
90
90
|
catch (err) {
|
|
91
91
|
// What a hook throws here must not escape the cleaning below.
|
|
92
92
|
try {
|
|
93
|
-
//
|
|
93
|
+
// Once per operation: makeError fires it for its own error.
|
|
94
|
+
if (!ctx.unexpectedFired) {
|
|
95
|
+
// #PreUnexpected-Hook
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
98
|
catch (hookerr) {
|
|
96
99
|
err = hookerr
|