@voxgig/sdkgen 4.34.7 → 4.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voxgig-sdkgen +1 -1
- package/dist/action/doctor.d.ts +2 -0
- package/dist/action/doctor.js +60 -12
- package/dist/action/doctor.js.map +1 -1
- package/dist/action/target.d.ts +4 -1
- package/dist/action/target.js +39 -3
- package/dist/action/target.js.map +1 -1
- package/dist/cmp/ReadmeTop.js +56 -20
- package/dist/cmp/ReadmeTop.js.map +1 -1
- package/dist/helpers/canonSpec.d.ts +7 -1
- package/dist/helpers/canonSpec.js +44 -0
- package/dist/helpers/canonSpec.js.map +1 -1
- package/dist/helpers/graphqlPoint.d.ts +6 -0
- package/dist/helpers/graphqlPoint.js +73 -0
- package/dist/helpers/graphqlPoint.js.map +1 -0
- package/dist/helpers/naming.d.ts +2 -1
- package/dist/helpers/naming.js +5 -3
- package/dist/helpers/naming.js.map +1 -1
- package/dist/helpers/opExample.d.ts +4 -1
- package/dist/helpers/opExample.js +31 -6
- package/dist/helpers/opExample.js.map +1 -1
- package/dist/helpers/opShape.d.ts +2 -1
- package/dist/helpers/opShape.js +31 -8
- package/dist/helpers/opShape.js.map +1 -1
- package/dist/helpers/packageMeta.d.ts +2 -1
- package/dist/helpers/packageMeta.js +5 -0
- package/dist/helpers/packageMeta.js.map +1 -1
- package/dist/sdkgen.d.ts +6 -5
- package/dist/sdkgen.js +15 -4
- package/dist/sdkgen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utility.js +7 -17
- package/dist/utility.js.map +1 -1
- package/package.json +1 -1
- package/project/.sdk/src/cmp/c/Config_c.ts +8 -14
- package/project/.sdk/src/cmp/c/Gitignore_c.ts +3 -0
- package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +6 -7
- package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +47 -4
- package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +24 -4
- package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +14 -17
- package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +7 -8
- package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +5 -6
- package/project/.sdk/src/cmp/c/ReadmeTopTest_c.ts +2 -3
- package/project/.sdk/src/cmp/c/TestDirect_c.ts +23 -2
- package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +1 -2
- package/project/.sdk/src/cmp/c/fragment/EntityListOp.fragment.c +1 -1
- package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +6 -7
- package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +6 -2
- package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +14 -17
- package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +7 -8
- package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +5 -6
- package/project/.sdk/src/cmp/clojure/ReadmeTopTest_clojure.ts +2 -3
- package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +6 -3
- package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +6 -7
- package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +6 -2
- package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +14 -17
- package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +7 -8
- package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +5 -6
- package/project/.sdk/src/cmp/cpp/ReadmeTopTest_cpp.ts +2 -3
- package/project/.sdk/src/cmp/cpp/TestDirect_cpp.ts +25 -2
- package/project/.sdk/src/cmp/cpp/fragment/EntityListOp.fragment.cpp +1 -3
- package/project/.sdk/src/cmp/csharp/Package_csharp.ts +1 -1
- package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +6 -7
- package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +7 -2
- package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +13 -16
- package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +7 -8
- package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +5 -6
- package/project/.sdk/src/cmp/csharp/ReadmeTopTest_csharp.ts +2 -3
- package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +20 -2
- package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +3 -3
- package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -1
- package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +5 -6
- package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +5 -2
- package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +13 -16
- package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +6 -7
- package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +4 -5
- package/project/.sdk/src/cmp/elixir/ReadmeTopTest_elixir.ts +2 -3
- package/project/.sdk/src/cmp/elixir/fragment/Pipeline.fragment.ex +4 -1
- package/project/.sdk/src/cmp/elixir/utility_elixir.ts +1 -1
- package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +4 -5
- package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +2 -3
- package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +7 -2
- package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +6 -7
- package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +5 -6
- package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +5 -7
- package/project/.sdk/src/cmp/go/ReadmeTopTest_go.ts +6 -2
- package/project/.sdk/src/cmp/go/TestDirect_go.ts +25 -9
- package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +7 -6
- package/project/.sdk/src/cmp/go/fragment/EntityCreateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityLoadOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityPatchOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityRemoveOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityUpdateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +5 -6
- package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +9 -4
- package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +13 -16
- package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +7 -8
- package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -4
- package/project/.sdk/src/cmp/java/ReadmeTopTest_java.ts +3 -4
- package/project/.sdk/src/cmp/java/TestDirect_java.ts +20 -2
- package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +4 -3
- package/project/.sdk/src/cmp/java/utility_java.ts +5 -3
- package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +3 -4
- package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +4 -5
- package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +3 -5
- package/project/.sdk/src/cmp/js/ReadmeTopTest_js.ts +2 -3
- package/project/.sdk/src/cmp/js/TestDirect_js.ts +18 -9
- package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +4 -2
- package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityListOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +6 -7
- package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +7 -2
- package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +13 -16
- package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +7 -8
- package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +5 -6
- package/project/.sdk/src/cmp/kotlin/ReadmeTopTest_kotlin.ts +2 -3
- package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +20 -2
- package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +3 -3
- package/project/.sdk/src/cmp/kotlin/fragment/EntityCreateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityLoadOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityPatchOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityRemoveOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityUpdateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/lua/Package_lua.ts +2 -1
- package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +6 -2
- package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +11 -14
- package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopTest_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +18 -2
- package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +15 -5
- package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/Entity_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +6 -7
- package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +8 -4
- package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +14 -17
- package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +7 -8
- package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/ReadmeTopTest_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +8 -0
- package/project/.sdk/src/cmp/ocaml/fragment/RunOp.fragment.ml +5 -1
- package/project/.sdk/src/cmp/perl/Package_perl.ts +1 -1
- package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +6 -7
- package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +6 -2
- package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +14 -17
- package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +7 -8
- package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +5 -6
- package/project/.sdk/src/cmp/perl/ReadmeTopTest_perl.ts +2 -3
- package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +18 -2
- package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +33 -2
- package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +8 -4
- package/project/.sdk/src/cmp/php/Package_php.ts +1 -1
- package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +5 -6
- package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +2 -3
- package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +14 -17
- package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +6 -7
- package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +4 -5
- package/project/.sdk/src/cmp/php/ReadmeTopTest_php.ts +2 -3
- package/project/.sdk/src/cmp/php/TestDirect_php.ts +20 -2
- package/project/.sdk/src/cmp/php/TestEntity_php.ts +35 -2
- package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +11 -5
- package/project/.sdk/src/cmp/py/Package_py.ts +2 -1
- package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +5 -6
- package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +2 -3
- package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +13 -16
- package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +6 -7
- package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +4 -5
- package/project/.sdk/src/cmp/py/ReadmeTopTest_py.ts +2 -3
- package/project/.sdk/src/cmp/py/TestDirect_py.ts +16 -2
- package/project/.sdk/src/cmp/py/TestEntity_py.ts +26 -2
- package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +6 -3
- package/project/.sdk/src/cmp/py-data/Main_py-data.ts +2 -2
- package/project/.sdk/src/cmp/rb/Package_rb.ts +2 -2
- package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +5 -6
- package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +14 -17
- package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +6 -7
- package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +4 -5
- package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +18 -2
- package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +31 -2
- package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +7 -4
- package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +5 -6
- package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +6 -2
- package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +13 -16
- package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +6 -7
- package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +4 -5
- package/project/.sdk/src/cmp/rust/ReadmeTopTest_rust.ts +2 -3
- package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +18 -2
- package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +1 -5
- package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -3
- package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +5 -6
- package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +9 -4
- package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +13 -16
- package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +7 -8
- package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/ReadmeTopTest_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/TestDirect_scala.ts +14 -2
- package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +4 -3
- package/project/.sdk/src/cmp/scala/utility_scala.ts +5 -3
- package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +6 -7
- package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +7 -2
- package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +13 -16
- package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +7 -8
- package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +5 -6
- package/project/.sdk/src/cmp/swift/ReadmeTopTest_swift.ts +2 -3
- package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +6 -6
- package/project/.sdk/src/cmp/swift/fragment/EntityCreateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityListOp.fragment.swift +1 -1
- package/project/.sdk/src/cmp/swift/fragment/EntityLoadOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityPatchOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityRemoveOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityUpdateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +3 -4
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +7 -10
- package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +3 -5
- package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +19 -9
- package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +4 -2
- package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityListOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityPatchOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +5 -6
- package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +6 -2
- package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +12 -15
- package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +6 -7
- package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +4 -5
- package/project/.sdk/src/cmp/zig/ReadmeTopTest_zig.ts +2 -3
- package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +3 -1
- package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +1 -5
- package/project/.sdk/src/cmp/zig/fragment/EntityListOp.fragment.zig +1 -3
- package/project/.sdk/tm/c/Makefile +140 -10
- package/project/.sdk/tm/c/core/error.c +7 -1
- package/project/.sdk/tm/c/core/sdk.h +15 -0
- package/project/.sdk/tm/c/feature/cache.c +4 -1
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +4 -3
- package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
- package/project/.sdk/tm/c/feature/secrets.c +28 -15
- package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +24 -9
- package/project/.sdk/tm/c/tests/pipeline_test.c +139 -41
- package/project/.sdk/tm/c/tests/primary_corpus_test.c +135 -6
- package/project/.sdk/tm/c/tests/transport_test.c +398 -0
- package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +6 -6
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +316 -97
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- package/project/.sdk/tm/c/utility/fetcher.c +4 -17
- package/project/.sdk/tm/c/utility/http.c +1031 -0
- package/project/.sdk/tm/c/utility/make_error.c +1 -0
- package/project/.sdk/tm/c/utility/make_result.c +1 -6
- package/project/.sdk/tm/c/utility/make_url.c +9 -0
- package/project/.sdk/tm/c/utility/struct/utility.c +14 -15
- package/project/.sdk/tm/c/utility/struct/value_io.c +56 -32
- package/project/.sdk/tm/c/utility/struct/value_io.h +2 -1
- package/project/.sdk/tm/c/utility/tls/none.c +32 -0
- package/project/.sdk/tm/c/utility/tls/openssl.c +242 -0
- package/project/.sdk/tm/c/utility/tls/tls.h +36 -0
- package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +16 -10
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
- package/project/.sdk/tm/clojure/src/sdk/core.clj +36 -20
- package/project/.sdk/tm/clojure/src/sdk/features.clj +2 -0
- package/project/.sdk/tm/clojure/src/voxgig/struct.clj +10 -6
- package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +16 -7
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +163 -53
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- package/project/.sdk/tm/cpp/core/types.hpp +1 -2
- package/project/.sdk/tm/cpp/feature/cache.hpp +3 -1
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets.hpp +9 -4
- package/project/.sdk/tm/cpp/test/auth_credential.hpp +121 -0
- package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +20 -7
- package/project/.sdk/tm/cpp/test/pipeline_test.cpp +15 -9
- package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +14 -1
- package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +242 -56
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- package/project/.sdk/tm/cpp/utility/pipeline.hpp +25 -2
- package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +60 -32
- package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +15 -8
- package/project/.sdk/tm/csharp/feature/CacheFeature.cs +3 -1
- package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +10 -6
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
- package/project/.sdk/tm/csharp/test/AuthCredential.cs +105 -0
- package/project/.sdk/tm/csharp/test/PipelineTest.cs +22 -27
- package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +6 -0
- package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +21 -9
- package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +250 -53
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/MakeResult.cs +1 -4
- package/project/.sdk/tm/csharp/utility/MakeUrl.cs +8 -1
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +35 -23
- package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +1 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/cache.ex +2 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets.ex +7 -3
- package/project/.sdk/tm/elixir/lib/projectname/utility.ex +30 -8
- package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +13 -14
- package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +15 -5
- package/project/.sdk/tm/elixir/test/pipeline_test.exs +84 -24
- package/project/.sdk/tm/elixir/test/primary_utility_test.exs +96 -18
- package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +229 -65
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/core/error.go +8 -0
- package/project/.sdk/tm/go/feature/cache_feature.go +4 -1
- package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
- package/project/.sdk/tm/go/feature/secrets_feature.go +9 -2
- package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +21 -10
- package/project/.sdk/tm/go/test/omni/omni.go +202 -50
- package/project/.sdk/tm/go/test/omni/util.go +2 -2
- package/project/.sdk/tm/go/test/pipeline_test.go +3 -3
- package/project/.sdk/tm/go/utility/make_error.go +1 -0
- package/project/.sdk/tm/go/utility/make_result.go +1 -3
- package/project/.sdk/tm/go/utility/make_url.go +7 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +86 -78
- package/project/.sdk/tm/java/feature/CacheFeature.java +3 -1
- package/project/.sdk/tm/java/feature/SecretsFeature.java +10 -5
- package/project/.sdk/tm/java/feature/TestFeature.java +3 -3
- package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
- package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +21 -9
- package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +272 -53
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/MakeResult.java +1 -3
- package/project/.sdk/tm/java/utility/MakeUrl.java +7 -2
- package/project/.sdk/tm/java/utility/struct/Struct.java +38 -42
- package/project/.sdk/tm/js/src/Context.js +3 -0
- package/project/.sdk/tm/js/src/feature/cache/CacheFeature.js +32 -2
- package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +8 -4
- package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
- package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +1 -0
- package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +4 -5
- package/project/.sdk/tm/js/src/utility/MakeUrlUtility.js +5 -0
- package/project/.sdk/tm/js/src/utility/StructUtility.js +16 -18
- package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +35 -24
- package/project/.sdk/tm/js/test/pipeline.test.js +28 -0
- package/project/.sdk/tm/js/test/vendor/omni/index.js +2 -2
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +158 -31
- package/project/.sdk/tm/js/test/vendor/omni/util.js +2 -2
- package/project/.sdk/tm/kotlin/feature/CacheFeature.kt +2 -1
- package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +11 -6
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
- package/project/.sdk/tm/kotlin/test/AuthCredential.kt +106 -0
- package/project/.sdk/tm/kotlin/test/PipelineTest.kt +14 -10
- package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +6 -0
- package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +17 -8
- package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +189 -51
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/MakeReqRes.kt +1 -3
- package/project/.sdk/tm/kotlin/utility/MakeSpecUrl.kt +6 -1
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +41 -44
- package/project/.sdk/tm/lua/core/context.lua +3 -0
- package/project/.sdk/tm/lua/core/error.lua +6 -0
- package/project/.sdk/tm/lua/feature/cache_feature.lua +2 -1
- package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets_feature.lua +11 -4
- package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +22 -9
- package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +234 -53
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/make_error.lua +2 -1
- package/project/.sdk/tm/lua/utility/make_result.lua +1 -3
- package/project/.sdk/tm/lua/utility/make_url.lua +5 -0
- package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
- package/project/.sdk/tm/lua/utility/struct/struct.lua +33 -23
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets_feature.ml +8 -4
- package/project/.sdk/tm/ocaml/sdk_features.ml +2 -0
- package/project/.sdk/tm/ocaml/sdk_runtime.ml +12 -1
- package/project/.sdk/tm/ocaml/sdk_types.ml +3 -0
- package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +19 -10
- package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +62 -5
- package/project/.sdk/tm/ocaml/test/t_pipeline.ml +72 -85
- package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +203 -93
- package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +13 -5
- package/project/.sdk/tm/perl/core/context.pm +3 -0
- package/project/.sdk/tm/perl/core/error.pm +2 -0
- package/project/.sdk/tm/perl/feature/cache_feature.pm +2 -0
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
- package/project/.sdk/tm/perl/feature/validate_feature.pm +2 -2
- package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +39 -20
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +179 -28
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_error.pm +1 -0
- package/project/.sdk/tm/perl/utility/make_result.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_url.pm +4 -0
- package/project/.sdk/tm/php/core/Context.php +3 -0
- package/project/.sdk/tm/php/core/Error.php +5 -0
- package/project/.sdk/tm/php/feature/CacheFeature.php +2 -1
- package/project/.sdk/tm/php/feature/SecretsFeature.php +10 -5
- package/project/.sdk/tm/php/feature/TestFeature.php +1 -1
- package/project/.sdk/tm/php/feature/ValidateFeature.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
- package/project/.sdk/tm/php/test/PipelineTest.php +30 -3
- package/project/.sdk/tm/php/test/StructUtilityTest.php +7 -0
- package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +33 -11
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +213 -36
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/Fetcher.php +6 -2
- package/project/.sdk/tm/php/utility/MakeError.php +1 -0
- package/project/.sdk/tm/php/utility/MakeResult.php +1 -3
- package/project/.sdk/tm/php/utility/MakeUrl.php +5 -0
- package/project/.sdk/tm/php/utility/struct/Struct.php +22 -8
- package/project/.sdk/tm/py/pkg/core/context.py +3 -0
- package/project/.sdk/tm/py/pkg/feature/cache_feature.py +2 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets_feature.py +8 -3
- package/project/.sdk/tm/py/pkg/feature/validate_feature.py +1 -1
- package/project/.sdk/tm/py/pkg/utility/make_error.py +1 -0
- package/project/.sdk/tm/py/pkg/utility/make_result.py +1 -2
- package/project/.sdk/tm/py/pkg/utility/make_url.py +4 -0
- package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +14 -11
- package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +27 -13
- package/project/.sdk/tm/py/test/test_pipeline.py +2 -2
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +139 -33
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- package/project/.sdk/tm/rb/core/context.rb +4 -1
- package/project/.sdk/tm/rb/core/error.rb +5 -0
- package/project/.sdk/tm/rb/feature/cache_feature.rb +2 -0
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +6 -5
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +3 -3
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +4 -4
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets_feature.rb +9 -5
- package/project/.sdk/tm/rb/feature/validate_feature.rb +2 -2
- package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +20 -11
- package/project/.sdk/tm/rb/test/pipeline_test.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +139 -27
- package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
- package/project/.sdk/tm/rb/utility/make_error.rb +1 -0
- package/project/.sdk/tm/rb/utility/make_result.rb +1 -1
- package/project/.sdk/tm/rb/utility/make_url.rb +4 -0
- package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +12 -8
- package/project/.sdk/tm/rust/feature/cache.rs +2 -0
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +4 -6
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets.rs +8 -7
- package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +17 -2
- package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +2 -0
- package/project/.sdk/tm/rust/tests/pipeline_test.rs +147 -66
- package/project/.sdk/tm/rust/tests/primary_utility_test.rs +88 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +2 -4
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +309 -75
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -2
- package/project/.sdk/tm/rust/utility/make_result.rs +1 -6
- package/project/.sdk/tm/rust/utility/make_url.rs +9 -1
- package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +15 -5
- package/project/.sdk/tm/scala/feature/CacheFeature.scala +3 -1
- package/project/.sdk/tm/scala/feature/SecretsFeature.scala +10 -5
- package/project/.sdk/tm/scala/feature/TestFeature.scala +3 -3
- package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +19 -7
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +191 -61
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- package/project/.sdk/tm/scala/utility/Make.scala +7 -2
- package/project/.sdk/tm/scala/utility/struct/Struct.java +19 -15
- package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +13 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +8 -10
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/CacheFeature.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +9 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Make.swift +7 -4
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +41 -0
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +93 -39
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +32 -1
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +15 -7
- package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +202 -64
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/src/Context.ts +3 -0
- package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +32 -2
- package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +5 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +2 -1
- package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +1 -0
- package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +4 -5
- package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +7 -3
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +17 -19
- package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +31 -20
- package/project/.sdk/tm/ts/test/pipeline.test.ts +28 -0
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +173 -31
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +2 -2
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +2 -2
- package/project/.sdk/tm/zig/core/error.zig +7 -0
- package/project/.sdk/tm/zig/core/utility.zig +8 -10
- package/project/.sdk/tm/zig/feature/cache.zig +2 -0
- package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets.zig +12 -6
- package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +21 -5
- package/project/.sdk/tm/zig/test/pipeline_test.zig +131 -84
- package/project/.sdk/tm/zig/test/primary_utility_test.zig +120 -9
- package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +312 -118
- package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +97 -54
- package/project/sdkgen-package.json +1 -1
- package/src/action/doctor.ts +82 -13
- package/src/action/target.ts +46 -2
- package/src/cmp/ReadmeTop.ts +59 -20
- package/src/helpers/canonSpec.ts +64 -0
- package/src/helpers/graphqlPoint.ts +91 -0
- package/src/helpers/naming.ts +7 -3
- package/src/helpers/opExample.ts +38 -7
- package/src/helpers/opShape.ts +37 -8
- package/src/helpers/packageMeta.ts +7 -0
- package/src/sdkgen.ts +16 -4
- package/src/utility.ts +7 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, opRequestShape, entityIdField, entityOps } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, opRequestShape, entityIdField, entityOps, matchExampleItems, requiredItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -41,7 +41,7 @@ const ReadmeQuick = cmp(function ReadmeQuick(props: any) {
|
|
|
41
41
|
if ('BOOLEAN' === k) return 'h.vbool(true)'
|
|
42
42
|
if ('ARRAY' === k) return 'h.olist()'
|
|
43
43
|
if ('OBJECT' === k) return 'h.omap()'
|
|
44
|
-
return `h.vstr(
|
|
44
|
+
return `h.vstr(${JSON.stringify(placeholder)})`
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
Content(`### 1. Create a client
|
|
@@ -91,15 +91,14 @@ switch (client.${method}(h.vnull()).list(${zigListMatch(exampleEntity)}, h.vnull
|
|
|
91
91
|
const neMethod = zigVarName(nestedEntity.name)
|
|
92
92
|
|
|
93
93
|
const neIdF = entityIdField(nestedEntity)
|
|
94
|
-
const neRequired =
|
|
95
|
-
.filter((it: any) => !it.optional)
|
|
94
|
+
const neRequired = requiredItems(nestedEntity, 'load')
|
|
96
95
|
.sort((a: any, b: any) =>
|
|
97
96
|
(a.name === neIdF ? 1 : 0) - (b.name === neIdF ? 1 : 0))
|
|
98
97
|
const parentItem = neRequired.find((it: any) => it.name !== neIdF) as any
|
|
99
98
|
const parentParam = parentItem && parentItem.name
|
|
100
99
|
const parentName = parentParam ? parentParam.replace(/_id$/, '') : 'its parent'
|
|
101
100
|
const neMatch = neRequired.map((it: any) =>
|
|
102
|
-
`.{
|
|
101
|
+
`.{ ${JSON.stringify(it.name)}, ${zigLit(it.type,
|
|
103
102
|
it.name === neIdF ? 'example_id' : 'example_' + it.name)} }`)
|
|
104
103
|
|
|
105
104
|
Content(`### 3. Load ${neArticle} ${neName.toLowerCase()}
|
|
@@ -118,13 +117,12 @@ switch (client.${neMethod}(h.vnull()).load(h.jo(&.{${neMatch.join(', ')}}), h.vn
|
|
|
118
117
|
`)
|
|
119
118
|
}
|
|
120
119
|
else if (opnames.includes('load')) {
|
|
121
|
-
const loadRequired =
|
|
122
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
120
|
+
const loadRequired = matchExampleItems(exampleEntity, 'load', idF)
|
|
123
121
|
.sort((a: any, b: any) =>
|
|
124
122
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
125
123
|
const loadArg = 0 < loadRequired.length
|
|
126
124
|
? `h.jo(&.{${loadRequired.map((it: any) =>
|
|
127
|
-
`.{
|
|
125
|
+
`.{ ${JSON.stringify(it.name)}, ${zigLit(it.type,
|
|
128
126
|
it.name === idF ? 'example_id' : 'example_' + it.name)} }`).join(', ')}})`
|
|
129
127
|
: 'h.vnull()'
|
|
130
128
|
|
|
@@ -154,7 +152,7 @@ switch (client.${method}(h.vnull()).load(${loadArg}, h.vnull())) {
|
|
|
154
152
|
const chosen = 'create' === opname
|
|
155
153
|
? (required.length ? required : items.slice(0, 2))
|
|
156
154
|
: required.concat(optional).slice(0, Math.max(2, required.length))
|
|
157
|
-
return chosen.map((it: any) => `.{
|
|
155
|
+
return chosen.map((it: any) => `.{ ${JSON.stringify(it.name)}, ${zigLit(it.type, 'example_' + it.name)} }`)
|
|
158
156
|
}
|
|
159
157
|
|
|
160
158
|
const idParamType = (opname: string): any => {
|
|
@@ -179,7 +177,7 @@ switch (client.${method}(h.vnull()).create(h.jo(&.{${examplePairs('create').join
|
|
|
179
177
|
`)
|
|
180
178
|
}
|
|
181
179
|
if (opnames.includes('update')) {
|
|
182
|
-
const updatePairs = (idF ? [`.{
|
|
180
|
+
const updatePairs = (idF ? [`.{ ${JSON.stringify(idF)}, ${idValueFor('update')} }`] : []).concat(examplePairs('update'))
|
|
183
181
|
Content(`// Update
|
|
184
182
|
switch (client.${method}(h.vnull()).update(h.jo(&.{${updatePairs.join(', ')}}), h.vnull())) {
|
|
185
183
|
.ok => |updated| std.debug.print("{s}\\n", .{h.stringify(updated.asEntity().data(null))}),
|
|
@@ -189,7 +187,7 @@ switch (client.${method}(h.vnull()).update(h.jo(&.{${updatePairs.join(', ')}}),
|
|
|
189
187
|
`)
|
|
190
188
|
}
|
|
191
189
|
if (opnames.includes('patch')) {
|
|
192
|
-
const patchPairs = (idF ? [`.{
|
|
190
|
+
const patchPairs = (idF ? [`.{ ${JSON.stringify(idF)}, ${idValueFor('patch')} }`] : []).concat(examplePairs('patch'))
|
|
193
191
|
Content(`// Patch — sends only the fields given
|
|
194
192
|
switch (client.${method}(h.vnull()).patch(h.jo(&.{${patchPairs.join(', ')}}), h.vnull())) {
|
|
195
193
|
.ok => |patched| std.debug.print("{s}\\n", .{h.stringify(patched.asEntity().data(null))}),
|
|
@@ -199,13 +197,12 @@ switch (client.${method}(h.vnull()).patch(h.jo(&.{${patchPairs.join(', ')}}), h.
|
|
|
199
197
|
`)
|
|
200
198
|
}
|
|
201
199
|
if (opnames.includes('remove')) {
|
|
202
|
-
const removePairs =
|
|
203
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
200
|
+
const removePairs = matchExampleItems(exampleEntity, 'remove', idF)
|
|
204
201
|
.sort((a: any, b: any) =>
|
|
205
202
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
206
203
|
.map((it: any) => it.name === idF
|
|
207
|
-
? `.{
|
|
208
|
-
: `.{
|
|
204
|
+
? `.{ ${JSON.stringify(it.name)}, ${idValueFor('remove')} }`
|
|
205
|
+
: `.{ ${JSON.stringify(it.name)}, ${zigLit(it.type, 'example_' + it.name)} }`)
|
|
209
206
|
Content(`// Remove
|
|
210
207
|
switch (client.${method}(h.vnull()).remove(${removePairs.length ? `h.jo(&.{${removePairs.join(', ')}})` : 'h.vnull()'}, h.vnull())) {
|
|
211
208
|
.ok => std.debug.print("removed\\n", .{}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, each, Content, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, each, Content, canonKey, canonScalarKey, File, isAuthActive, entityIdField, opRequestShape , targetFeatures, opNeedsAction, bodyNote, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
import { ReadmeRefFeatures } from '@voxgig/sdkgen'
|
|
4
4
|
|
|
5
5
|
import {
|
|
@@ -31,7 +31,7 @@ function zigLit(type: any, placeholder: string = 'example'): string {
|
|
|
31
31
|
if ('BOOLEAN' === k) return 'h.vbool(true)'
|
|
32
32
|
if ('ARRAY' === k) return 'h.olist()'
|
|
33
33
|
if ('OBJECT' === k) return 'h.omap()'
|
|
34
|
-
return `h.vstr(
|
|
34
|
+
return `h.vstr(${JSON.stringify(placeholder)})`
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
@@ -271,13 +271,12 @@ ${info.desc}
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
if ('load' === opname || 'remove' === opname) {
|
|
274
|
-
const matchItems =
|
|
275
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
274
|
+
const matchItems = matchExampleItems(ent, opname, idF)
|
|
276
275
|
.sort((a: any, b: any) =>
|
|
277
276
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
278
277
|
const arg = 0 < matchItems.length
|
|
279
278
|
? `h.jo(&.{${matchItems.map((it: any) =>
|
|
280
|
-
`.{
|
|
279
|
+
`.{ ${JSON.stringify(it.name)}, ${zigLit(it.type,
|
|
281
280
|
it.name === idF ? ent.name + '_id' : it.name)} }`).join(', ')}})`
|
|
282
281
|
: 'h.vnull()'
|
|
283
282
|
Content(`\`\`\`zig
|
|
@@ -310,7 +309,7 @@ switch (client.${method}(h.vnull()).list(${zigListMatch(ent)}, h.vnull())) {
|
|
|
310
309
|
switch (client.${method}(h.vnull()).create(h.jo(&.{
|
|
311
310
|
`)
|
|
312
311
|
createItems.map((it: any) => {
|
|
313
|
-
Content(` .{
|
|
312
|
+
Content(` .{ ${JSON.stringify(it.name)}, ${zigLit(it.type, 'example_' + it.name)} }, // ${zigType(it.type)}
|
|
314
313
|
`)
|
|
315
314
|
})
|
|
316
315
|
Content(`}), h.vnull())) {
|
|
@@ -327,7 +326,7 @@ switch (client.${method}(h.vnull()).create(h.jo(&.{
|
|
|
327
326
|
.sort((a: any, b: any) =>
|
|
328
327
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
329
328
|
const updateLines = updateItems.map((it: any) =>
|
|
330
|
-
` .{
|
|
329
|
+
` .{ ${JSON.stringify(it.name)}, ${zigLit(it.type,
|
|
331
330
|
it.name === idF ? ent.name + '_id' : it.name)} },\n`).join('')
|
|
332
331
|
Content(`\`\`\`zig
|
|
333
332
|
switch (client.${method}(h.vnull()).${opname}(h.jo(&.{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, isAuthActive, envName, canonKey, canonScalarKey, entityIdField, opRequestShape, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -20,7 +20,7 @@ function zigLit(type: any, placeholder: string = 'example'): string {
|
|
|
20
20
|
if ('BOOLEAN' === k) return 'h.vbool(true)'
|
|
21
21
|
if ('ARRAY' === k) return 'h.olist()'
|
|
22
22
|
if ('OBJECT' === k) return 'h.omap()'
|
|
23
|
-
return `h.vstr(
|
|
23
|
+
return `h.vstr(${JSON.stringify(placeholder)})`
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
|
|
@@ -71,13 +71,12 @@ switch (client.${method}(h.vnull()).list(${zigListMatch(exampleEntity)}, h.vnull
|
|
|
71
71
|
// Every REQUIRED load-match key (id first, then parent path params like
|
|
72
72
|
// page_id) — the same shape the runtime resolves path params from, so
|
|
73
73
|
// the example always works.
|
|
74
|
-
const loadItems =
|
|
75
|
-
.filter((it: any) => !it.optional || it.name === idF)
|
|
74
|
+
const loadItems = matchExampleItems(exampleEntity, 'load', idF)
|
|
76
75
|
.sort((a: any, b: any) =>
|
|
77
76
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
78
77
|
const loadArg = 0 < loadItems.length
|
|
79
78
|
? `h.jo(&.{${loadItems.map((it: any) =>
|
|
80
|
-
`.{
|
|
79
|
+
`.{ ${JSON.stringify(it.name)}, ${zigLit(it.type,
|
|
81
80
|
it.name === idF ? 'example_id' : 'example_' + it.name)} }`).join(', ')}})`
|
|
82
81
|
: 'h.vnull()'
|
|
83
82
|
Content(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems } from '@voxgig/sdkgen'
|
|
2
|
+
import { cmp, Content, canonKey, canonScalarKey, entityIdField, pickExampleEntity, opRequestShape, requiredItems, matchExampleItems } from '@voxgig/sdkgen'
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KIT,
|
|
@@ -47,8 +47,7 @@ const client = sdk.test_sdk(h.vnull(), h.vnull());
|
|
|
47
47
|
if (isMatchOp || ('list' === primaryOp && 0 < requiredItems(exampleEntity, 'list').length)) {
|
|
48
48
|
// Every REQUIRED match key (id first) — the same shape that generates
|
|
49
49
|
// the op's request match.
|
|
50
|
-
const items = (isMatchOp ?
|
|
51
|
-
.filter((it: any) => !it.optional || it.name === idF) : requiredItems(exampleEntity, 'list'))
|
|
50
|
+
const items = (isMatchOp ? matchExampleItems(exampleEntity, primaryOp, idF) : requiredItems(exampleEntity, 'list'))
|
|
52
51
|
.sort((a: any, b: any) =>
|
|
53
52
|
(a.name === idF ? 0 : 1) - (b.name === idF ? 0 : 1))
|
|
54
53
|
arg = 0 < items.length
|
|
@@ -52,6 +52,8 @@ pub fn build(b: *std.Build) void {
|
|
|
52
52
|
// #FeatureModules
|
|
53
53
|
|
|
54
54
|
const test_step = b.step("test", "Run all tests");
|
|
55
|
+
const test_filters = b.option([]const []const u8, "test-filter",
|
|
56
|
+
"Run only the tests whose name contains this text") orelse &.{};
|
|
55
57
|
|
|
56
58
|
// Every test file: gets the struct, sdk and omni modules.
|
|
57
59
|
const test_files = [_][]const u8{
|
|
@@ -75,7 +77,7 @@ pub fn build(b: *std.Build) void {
|
|
|
75
77
|
test_mod.addImport("sdk", sdk_mod);
|
|
76
78
|
test_mod.addImport("omni", omni_mod);
|
|
77
79
|
|
|
78
|
-
const t = b.addTest(.{ .root_module = test_mod });
|
|
80
|
+
const t = b.addTest(.{ .root_module = test_mod, .filters = test_filters });
|
|
79
81
|
const run_t = b.addRunArtifact(t);
|
|
80
82
|
run_t.has_side_effects = true;
|
|
81
83
|
test_step.dependOn(&run_t.step);
|
|
@@ -293,11 +293,7 @@ pub const EntyClass = struct {
|
|
|
293
293
|
fn data_impl(self: *EntyClass, args: ?Value) Value {
|
|
294
294
|
if (args) |arg| {
|
|
295
295
|
if (!h.is_noval(arg)) {
|
|
296
|
-
|
|
297
|
-
self.data = switch (cloned) {
|
|
298
|
-
.object => cloned,
|
|
299
|
-
else => h.omap(),
|
|
300
|
-
};
|
|
296
|
+
self.data = if (arg == .null) h.omap() else h.clone(arg);
|
|
301
297
|
self.utility.feature_hook(self.ent_ctx(), "SetData");
|
|
302
298
|
}
|
|
303
299
|
}
|
|
@@ -20,9 +20,7 @@ pub fn list(self: *EntyClass, reqmatch: Value, ctrl: Value) EntListResult {
|
|
|
20
20
|
if (out == .array) {
|
|
21
21
|
for (out.array.data.items) |entry| {
|
|
22
22
|
const ent = EntyClass.new(self.client, h.clone(self.entopts));
|
|
23
|
-
|
|
24
|
-
_ = ent.data_impl(entry);
|
|
25
|
-
}
|
|
23
|
+
_ = ent.data_impl(entry);
|
|
26
24
|
items.append(h.A(), ent) catch {};
|
|
27
25
|
}
|
|
28
26
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# runs every tests/*.c binary. `make test` exits non-zero if any test fails.
|
|
4
4
|
|
|
5
5
|
CC ?= gcc
|
|
6
|
+
NM ?= nm
|
|
6
7
|
CFLAGS ?= -std=c11 -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE -O0 -g
|
|
7
8
|
# -I feature: a feature's own header (feature/<name>.h), which a suite under
|
|
8
9
|
# tests/feature/<name>/ includes by bare name the way every test includes
|
|
@@ -47,6 +48,30 @@ FEATURE_SRCS :=
|
|
|
47
48
|
FEATURE_TEST_SRCS :=
|
|
48
49
|
-include $(wildcard feature/*/kinds.mk)
|
|
49
50
|
|
|
51
|
+
# ---- TLS for https:// ----------------------------------------------------------
|
|
52
|
+
#
|
|
53
|
+
# TLS=openssl binds the platform's OpenSSL, unvendored (-lssl -lcrypto);
|
|
54
|
+
# TLS=none links no TLS library, and an https:// request then fails saying
|
|
55
|
+
# so. The default, auto, is openssl wherever its headers and POSIX sockets
|
|
56
|
+
# are found. OPENSSL_CFLAGS and OPENSSL_LIBS reach an OpenSSL installed off
|
|
57
|
+
# the compiler's own paths, as `pkg-config --cflags --libs openssl` prints.
|
|
58
|
+
TLS ?= auto
|
|
59
|
+
OPENSSL_CFLAGS ?=
|
|
60
|
+
OPENSSL_LIBS ?= -lssl -lcrypto
|
|
61
|
+
ifeq ($(TLS),auto)
|
|
62
|
+
TLS_BACKEND := $(shell printf '\#include <openssl/ssl.h>\n\#include <sys/socket.h>\n' | \
|
|
63
|
+
$(CC) $(OPENSSL_CFLAGS) -x c -E - >/dev/null 2>&1 && echo openssl || echo none)
|
|
64
|
+
else
|
|
65
|
+
TLS_BACKEND := $(TLS)
|
|
66
|
+
endif
|
|
67
|
+
ifeq ($(filter openssl none,$(TLS_BACKEND)),)
|
|
68
|
+
$(error TLS must be auto, openssl or none, not '$(TLS)')
|
|
69
|
+
endif
|
|
70
|
+
ifeq ($(TLS_BACKEND),openssl)
|
|
71
|
+
INC += $(OPENSSL_CFLAGS)
|
|
72
|
+
LDLIBS += $(OPENSSL_LIBS)
|
|
73
|
+
endif
|
|
74
|
+
|
|
50
75
|
# feature/*/*.c: a feature may carry a vendored library payload in its own
|
|
51
76
|
# subdirectory (the station feature vendors voxgig_station there - C has no
|
|
52
77
|
# package registry, so tier-C libraries ride the feature source; see
|
|
@@ -56,9 +81,49 @@ FEATURE_TEST_SRCS :=
|
|
|
56
81
|
# kinds.mk nothing references it, so the archive member is never pulled
|
|
57
82
|
# into a link.
|
|
58
83
|
LIB_SRCS := $(wildcard core/*.c utility/*.c utility/struct/*.c feature/*.c feature/*/*.c entity/*.c) \
|
|
59
|
-
$(FEATURE_SRCS)
|
|
84
|
+
utility/tls/$(TLS_BACKEND).c $(FEATURE_SRCS)
|
|
60
85
|
LIB_OBJS := $(LIB_SRCS:.c=.o)
|
|
61
86
|
|
|
87
|
+
# ---- one prefix per SDK -------------------------------------------------------
|
|
88
|
+
#
|
|
89
|
+
# Every global symbol in libsdk.a carries this SDK's prefix, so two generated
|
|
90
|
+
# SDKs link into one program and neither binds to the other's code. The names
|
|
91
|
+
# are read off objects compiled without it (build/plain/), never listed:
|
|
92
|
+
# core/prefix.h maps each to $(SDK_PREFIX)<name>, and libsdk.a is compiled
|
|
93
|
+
# with that header forced in, vendored payloads included, so their files stay
|
|
94
|
+
# as vendored. A name that already has the prefix keeps it.
|
|
95
|
+
SDK_PREFIX := projectname_
|
|
96
|
+
PREFIX_H := core/prefix.h
|
|
97
|
+
PREFIXED := -include $(PREFIX_H)
|
|
98
|
+
# What a program's own code sees through core/sdk.h: only the names the SDK's
|
|
99
|
+
# headers mention, so a private name such as a vendored payload's `fail`
|
|
100
|
+
# never renames an identifier of the program's own.
|
|
101
|
+
API_PREFIX_H := core/prefix_api.h
|
|
102
|
+
API_HDRS := $(filter-out $(PREFIX_H) $(API_PREFIX_H),$(wildcard core/*.h utility/struct/*.h entity/*.h feature/*.h))
|
|
103
|
+
PLAIN_OBJS := $(addprefix build/plain/,$(LIB_OBJS))
|
|
104
|
+
# What the compiler puts before a C name in an object: `_` on Mach-O.
|
|
105
|
+
LABEL_PREFIX := $(shell echo __USER_LABEL_PREFIX__ | $(CC) -E -P - 2>/dev/null | tr -d ' \n')
|
|
106
|
+
|
|
107
|
+
# The C names the objects in $(1) define, sorted, one per line.
|
|
108
|
+
defined_names = $(NM) -P -g $(1) | awk -v label='$(LABEL_PREFIX)' \
|
|
109
|
+
'NF >= 2 && $$2 ~ /^[A-Z]$$/ && $$2 != "U" { n = $$1; \
|
|
110
|
+
if (label != "" && index(n, label) == 1) n = substr(n, length(label) + 1); \
|
|
111
|
+
if (n ~ /^[A-Za-z_][A-Za-z0-9_]*$$/) print n }' | LC_ALL=C sort -u
|
|
112
|
+
|
|
113
|
+
# One #define per name. A read that found no names, or a name whose prefixed
|
|
114
|
+
# form is ALSO defined, stops the build: the first would leave every name
|
|
115
|
+
# unprefixed, the second would merge two definitions into one. No placeholder
|
|
116
|
+
# may sit in these two programs: the generator reads the text between two
|
|
117
|
+
# doubled dollar signs as a model path, and leaves a placeholder in it as
|
|
118
|
+
# written.
|
|
119
|
+
prefix_map = BEGIN { print "/* Generated by make from the names libsdk.a defines. Do not edit. */"; \
|
|
120
|
+
print "\#ifndef " guard; print "\#define " guard } \
|
|
121
|
+
{ names[NR] = $$0; have[$$0] = 1 } \
|
|
122
|
+
END { if (NR == 0) { print "nm listed no names in build/plain" | "cat 1>&2"; exit 1 } \
|
|
123
|
+
for (i = 1; i <= NR; i++) { n = names[i]; if (index(n, prefix) == 1) continue; \
|
|
124
|
+
if ((prefix n) in have) { print "both " n " and " prefix n " are defined" | "cat 1>&2"; exit 1 } \
|
|
125
|
+
print "\#define " n " " prefix n } print "\#endif" }
|
|
126
|
+
|
|
62
127
|
# Single-level on purpose: the vendored omni sources under
|
|
63
128
|
# tests/vendor/omni have no main() and must not become test binaries. A
|
|
64
129
|
# gated feature's suite under tests/feature/<name>/ is added by its
|
|
@@ -70,12 +135,17 @@ TEST_BINS := $(TEST_SRCS:.c=.out)
|
|
|
70
135
|
OMNI_SRCS := $(wildcard tests/vendor/omni/*.c)
|
|
71
136
|
OMNI_OBJS := $(OMNI_SRCS:.c=.o)
|
|
72
137
|
|
|
73
|
-
.PHONY: all build test clean publish
|
|
138
|
+
.PHONY: all build test clean publish ldlibs check-tls FORCE
|
|
74
139
|
|
|
75
140
|
all: build
|
|
76
141
|
|
|
77
142
|
build: libsdk.a
|
|
78
143
|
|
|
144
|
+
# What a program linking libsdk.a links beside it, as `make -s ldlibs`
|
|
145
|
+
# prints it: run it with the TLS= the archive was built with.
|
|
146
|
+
ldlibs:
|
|
147
|
+
@echo $(LDLIBS)
|
|
148
|
+
|
|
79
149
|
# Keep this before the generic rule for GNU make 3.81 on macOS.
|
|
80
150
|
# omni's util.c includes <regex.h>. CFLAGS is `?=`, so an operator override
|
|
81
151
|
# can drop the -D_GNU_SOURCE that exposes it; -D_POSIX_C_SOURCE is the
|
|
@@ -87,9 +157,40 @@ build: libsdk.a
|
|
|
87
157
|
tests/vendor/omni/%.o: tests/vendor/omni/%.c
|
|
88
158
|
$(CC) $(CFLAGS) -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE -c $< -o $@
|
|
89
159
|
|
|
160
|
+
# Also before the generic rule, for the same reason.
|
|
161
|
+
build/plain/%.o: %.c
|
|
162
|
+
@mkdir -p $(dir $@)
|
|
163
|
+
$(CC) $(CFLAGS) $(INC) -DPROJECTNAME_SDK_UNPREFIXED -c $< -o $@
|
|
164
|
+
|
|
165
|
+
# Rewritten only when the names change, so an edit that defines nothing new
|
|
166
|
+
# recompiles only the file it touched.
|
|
167
|
+
$(PREFIX_H): $(PLAIN_OBJS)
|
|
168
|
+
@$(call defined_names,$(PLAIN_OBJS)) \
|
|
169
|
+
| awk -v prefix='$(SDK_PREFIX)' -v guard='PROJECTNAME_PREFIX_H' '$(prefix_map)' > $@.tmp \
|
|
170
|
+
|| { rm -f $@.tmp; exit 1; }
|
|
171
|
+
@if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi
|
|
172
|
+
|
|
173
|
+
$(API_PREFIX_H): $(PREFIX_H) $(API_HDRS)
|
|
174
|
+
@cat $(API_HDRS) | tr -cs 'A-Za-z0-9_' '\n' > $@.words
|
|
175
|
+
@awk -v guard='PROJECTNAME_PREFIX_API_H' 'FNR == NR { said[$$0] = 1; next } \
|
|
176
|
+
FNR == 1 { print "/* Generated by make: the names in prefix.h the headers mention. */"; \
|
|
177
|
+
print "#ifndef " guard; print "#define " guard } \
|
|
178
|
+
/^#define / && 3 == NF && ($$2 in said) { print } END { print "#endif" }' \
|
|
179
|
+
$@.words $(PREFIX_H) > $@.tmp || { rm -f $@.words $@.tmp; exit 1; }
|
|
180
|
+
@rm -f $@.words
|
|
181
|
+
@if cmp -s $@.tmp $@; then rm -f $@.tmp; else mv $@.tmp $@; fi
|
|
90
182
|
|
|
91
|
-
|
|
92
|
-
|
|
183
|
+
# The TLS backend this archive was built with, rewritten only when TLS=
|
|
184
|
+
# selects another, so a switch rebuilds the archive.
|
|
185
|
+
TLS_STAMP := build/tls-backend
|
|
186
|
+
$(TLS_STAMP): FORCE
|
|
187
|
+
@mkdir -p $(dir $@)
|
|
188
|
+
@if [ "$$(cat $@ 2>/dev/null)" != "$(TLS_BACKEND)" ]; then echo $(TLS_BACKEND) > $@; fi
|
|
189
|
+
|
|
190
|
+
FORCE:
|
|
191
|
+
|
|
192
|
+
%.o: %.c $(PREFIX_H) $(API_PREFIX_H)
|
|
193
|
+
$(CC) $(CFLAGS) $(INC) $(PREFIXED) -c $< -o $@
|
|
93
194
|
|
|
94
195
|
# `ar r` REPLACES a member by basename on an archive it finds, and this
|
|
95
196
|
# archive carries duplicate basenames by construction: core/utility.o
|
|
@@ -97,9 +198,19 @@ tests/vendor/omni/%.o: tests/vendor/omni/%.c
|
|
|
97
198
|
# config.o and value.o beside core's and utility/struct's. One cold
|
|
98
199
|
# `ar rcs` keeps every member; an incremental one would silently drop
|
|
99
200
|
# whichever came first, so the archive is deleted before it is written.
|
|
100
|
-
|
|
201
|
+
# The archive is then read back: a name it defines without the prefix is
|
|
202
|
+
# one another SDK's archive can define too, so it is not kept, and nor is an
|
|
203
|
+
# archive the read found no names in.
|
|
204
|
+
libsdk.a: $(LIB_OBJS) $(TLS_STAMP)
|
|
101
205
|
@rm -f $@
|
|
102
206
|
ar rcs $@ $(LIB_OBJS)
|
|
207
|
+
@names=$$($(call defined_names,$@)); \
|
|
208
|
+
stray=$$(printf '%s\n' "$$names" | grep -v '^$(SDK_PREFIX)'); \
|
|
209
|
+
if [ -z "$$names" ]; then stray="(nm listed none)"; fi; \
|
|
210
|
+
if [ -n "$$stray" ]; then \
|
|
211
|
+
echo "libsdk.a defines names without the $(SDK_PREFIX) prefix:" $$stray >&2; \
|
|
212
|
+
rm -f $@; exit 1; \
|
|
213
|
+
fi
|
|
103
214
|
|
|
104
215
|
|
|
105
216
|
libomni.a: $(OMNI_OBJS)
|
|
@@ -115,18 +226,36 @@ OMNI_TESTS := tests/struct_corpus_test.out tests/primary_corpus_test.out \
|
|
|
115
226
|
tests/omni_smoke_test.out
|
|
116
227
|
|
|
117
228
|
$(OMNI_TESTS): tests/%.out: tests/%.c libsdk.a libomni.a
|
|
118
|
-
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $(OMNI_INC) $< libsdk.a libomni.a -o $@ $(LDLIBS)
|
|
229
|
+
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $(OMNI_INC) $(PREFIXED) $< libsdk.a libomni.a -o $@ $(LDLIBS)
|
|
119
230
|
|
|
120
231
|
tests/%.out: tests/%.c libsdk.a
|
|
121
|
-
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $< libsdk.a -o $@ $(LDLIBS)
|
|
232
|
+
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $(PREFIXED) $< libsdk.a -o $@ $(LDLIBS)
|
|
233
|
+
|
|
234
|
+
# The TLS boundary, read off the objects as sekreto's check-core reads it:
|
|
235
|
+
# in a TLS=none build no object outside a gated feature's payload names
|
|
236
|
+
# OpenSSL, and in a TLS=openssl build utility/tls/openssl.c alone does. The
|
|
237
|
+
# read must find the fetcher calling the transport, or it read nothing.
|
|
238
|
+
CORE_OBJS = $(filter-out $(FEATURE_SRCS:.c=.o),$(LIB_OBJS))
|
|
239
|
+
check-tls: $(LIB_OBJS)
|
|
240
|
+
@needs=$$(for o in $(CORE_OBJS); do $(NM) -P -g $$o | awk -v o=$$o -v label='$(LABEL_PREFIX)' \
|
|
241
|
+
'$$2 == "U" { n = $$1; if (label != "" && index(n, label) == 1) n = substr(n, length(label) + 1); \
|
|
242
|
+
print o " " n }'; done); \
|
|
243
|
+
printf '%s\n' "$$needs" | grep -qx 'utility/fetcher.o $(SDK_PREFIX)http_fetch' \
|
|
244
|
+
|| { echo "check-tls: nm found no call from the fetcher to the transport" >&2; exit 1; }; \
|
|
245
|
+
ssl=$$(printf '%s\n' "$$needs" | grep -E ' (SSL|OPENSSL|X509|ERR|EVP|BIO|PEM)_' \
|
|
246
|
+
| grep -v '^utility/tls/openssl.o '); \
|
|
247
|
+
if [ -n "$$ssl" ]; then echo "check-tls: OpenSSL is named outside utility/tls/openssl.c:" $$ssl >&2; exit 1; fi; \
|
|
248
|
+
if [ openssl = $(TLS_BACKEND) ]; then printf '%s\n' "$$needs" | grep -qx 'utility/tls/openssl.o SSL_connect' \
|
|
249
|
+
|| { echo "check-tls: the openssl backend does not name SSL_connect" >&2; exit 1; }; fi; \
|
|
250
|
+
echo "check-tls: TLS=$(TLS_BACKEND); OpenSSL is named by $(if $(filter openssl,$(TLS_BACKEND)),utility/tls/openssl.c alone,no object)"
|
|
122
251
|
|
|
123
252
|
# Build and run every test; aggregate pass/fail.
|
|
124
|
-
test: libsdk.a libomni.a
|
|
253
|
+
test: libsdk.a libomni.a check-tls
|
|
125
254
|
@fail=0; total=0; \
|
|
126
255
|
for src in $(TEST_SRCS); do \
|
|
127
256
|
bin=$${src%.c}.out; \
|
|
128
257
|
case " $(OMNI_TESTS) " in *" $$bin "*) omni="libomni.a"; oinc="$(OMNI_INC)";; *) omni=""; oinc="";; esac; \
|
|
129
|
-
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $$oinc $$src libsdk.a $$omni -o $$bin $(LDLIBS) || { echo "BUILD FAIL: $$src"; fail=1; continue; }; \
|
|
258
|
+
$(CC) $(CFLAGS) $(INC) $(TEST_INC) $$oinc $(PREFIXED) $$src libsdk.a $$omni -o $$bin $(LDLIBS) || { echo "BUILD FAIL: $$src"; fail=1; continue; }; \
|
|
130
259
|
total=$$((total+1)); \
|
|
131
260
|
if ./$$bin; then :; else echo "TEST FAIL: $$bin"; fail=1; fi; \
|
|
132
261
|
done; \
|
|
@@ -136,7 +265,8 @@ test: libsdk.a libomni.a
|
|
|
136
265
|
|
|
137
266
|
clean:
|
|
138
267
|
rm -f $(LIB_OBJS) libsdk.a $(OMNI_OBJS) libomni.a $(TEST_BINS) tests/*.out \
|
|
139
|
-
tests/feature/*/*.out corpus-scoreboard.json
|
|
268
|
+
tests/feature/*/*.out corpus-scoreboard.json $(PREFIX_H) $(API_PREFIX_H)
|
|
269
|
+
rm -rf build/plain $(TLS_STAMP)
|
|
140
270
|
|
|
141
271
|
# C has no central registry — publishing IS the git tag.
|
|
142
272
|
VERSION := $(shell cat VERSION 2>/dev/null || echo 0.0.1)
|
|
@@ -20,17 +20,23 @@ PNError* pn_error_new(const char* code, const char* msg) {
|
|
|
20
20
|
e->msg = dup_str(msg);
|
|
21
21
|
e->result = NULL;
|
|
22
22
|
e->spec = NULL;
|
|
23
|
+
e->status = -1;
|
|
23
24
|
return e;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
bool pn_error_not_found(const PNError* e) {
|
|
28
|
+
return e && 404 == e->status;
|
|
29
|
+
}
|
|
30
|
+
|
|
26
31
|
// What make_error attached is already cleaned; the error carries no
|
|
27
32
|
// context.
|
|
28
33
|
voxgig_value* pn_error_to_value(PNError* e) {
|
|
29
34
|
if (!e) return voxgig_new_undef();
|
|
30
|
-
return cmap(
|
|
35
|
+
return cmap(6,
|
|
31
36
|
"sdk", v_str(e->sdk),
|
|
32
37
|
"code", v_str(e->code),
|
|
33
38
|
"message", v_str(e->msg),
|
|
39
|
+
"status", v_num((double)e->status),
|
|
34
40
|
"result", e->result ? v_share(e->result) : voxgig_new_undef(),
|
|
35
41
|
"spec", e->spec ? v_share(e->spec) : voxgig_new_undef());
|
|
36
42
|
}
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
#ifndef PROJECTNAME_SDK_H
|
|
24
24
|
#define PROJECTNAME_SDK_H
|
|
25
25
|
|
|
26
|
+
// Written by `make` beside this header: each global name the SDK's headers
|
|
27
|
+
// declare, renamed to carry its own prefix. The SDK itself is compiled with
|
|
28
|
+
// prefix.h, which renames every name it defines. First, so the vendored
|
|
29
|
+
// headers below are renamed as well.
|
|
30
|
+
#ifndef PROJECTNAME_SDK_UNPREFIXED
|
|
31
|
+
#include "prefix_api.h"
|
|
32
|
+
#endif
|
|
33
|
+
|
|
26
34
|
#include "voxgig_struct.h"
|
|
27
35
|
|
|
28
36
|
#include <stdbool.h>
|
|
@@ -52,9 +60,11 @@ typedef struct PNError {
|
|
|
52
60
|
char* msg; // human message
|
|
53
61
|
voxgig_value* result; // cleaned snapshot (NULL until makeError)
|
|
54
62
|
voxgig_value* spec; // cleaned snapshot (NULL until makeError)
|
|
63
|
+
int status; // HTTP status, -1 when there was no response
|
|
55
64
|
} PNError;
|
|
56
65
|
|
|
57
66
|
PNError* pn_error_new(const char* code, const char* msg);
|
|
67
|
+
bool pn_error_not_found(const PNError* e);
|
|
58
68
|
// The error as a record and as its default print: the message and the
|
|
59
69
|
// cleaned snapshots, nothing the pipeline holds live. Malloc'd string.
|
|
60
70
|
voxgig_value* pn_error_to_value(PNError* e);
|
|
@@ -303,6 +313,11 @@ struct Fetcher {
|
|
|
303
313
|
voxgig_value* fetcher_util(Fetcher* self, Context* ctx, const char* url,
|
|
304
314
|
voxgig_value* fetchdef, PNError** err);
|
|
305
315
|
|
|
316
|
+
// The SDK's own HTTP/1.1 client (utility/http.c), which fetcher_util calls
|
|
317
|
+
// when no system.fetch is supplied: a transport-shaped response map, or
|
|
318
|
+
// NULL with a fetch_transport error.
|
|
319
|
+
voxgig_value* http_fetch(Context* ctx, const char* url, voxgig_value* fetchdef, PNError** err);
|
|
320
|
+
|
|
306
321
|
// ===========================================================================
|
|
307
322
|
// Utility bundle (mirrors core/utility_type.rs)
|
|
308
323
|
// ===========================================================================
|
|
@@ -86,9 +86,12 @@ static bool option_list_match(voxgig_value* options, const char* key,
|
|
|
86
86
|
return false;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
// A body the transport could not read as JSON passes through, for the operation to report.
|
|
89
90
|
static bool storable(voxgig_value* res) {
|
|
90
91
|
int64_t status;
|
|
91
|
-
|
|
92
|
+
bool unreadable = false;
|
|
93
|
+
get_bool(res, "unreadable", &unreadable);
|
|
94
|
+
return fres_status(res, &status) && status >= 200 && status < 300 && !unreadable;
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
// snapshot captures the response as a re-readable map:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/capability.c)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Capabilities (§11.1). */
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/capability.h)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Capabilities (§11.1).
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/catalog.c)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* The definition catalog (§10.1). */
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/catalog.h)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* The definition catalog (§10.1).
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/config.c)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* The declarative document (§9): normalization, and the ten-level
|
|
5
5
|
* precedence ladder.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/config.h)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* The declarative document (§9): normalization, and the ten-level
|
|
5
5
|
* precedence ladder. See config.c for why the two functions are split. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/depend.c)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Dependency cardinality, policy, and the restart graph (§11.3).
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/depend.h)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Dependency cardinality, policy, and the restart graph (§11.3). Two
|
|
5
5
|
* axes, both declared by the definition that has the requirement,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/env.c)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Environment overrides (§9.5) — level 7 of the ladder.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/plugin sdk-
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
1
|
+
// VENDORED: @voxgig/plugin sdk-20261016-0845-0 (c/src/env.h)
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ caa404b2dfa206d77db6c2869e5b31c2a3202b2d [tag: sdk-20261016-0845-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
/* Environment overrides (§9.5) — level 7 of the ladder. Pure: a
|
|
5
5
|
* function over a string map and a ref set, so the corpus tests it
|