@voxgig/sdkgen 4.46.0 → 4.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voxgig-sdkgen +1 -1
- package/dist/action/check.js +61 -4
- package/dist/action/check.js.map +1 -1
- package/dist/action/doctor.d.ts +5 -0
- package/dist/action/doctor.js +51 -6
- package/dist/action/doctor.js.map +1 -1
- package/dist/action/package.d.ts +1 -1
- package/dist/action/package.js +6 -16
- package/dist/action/package.js.map +1 -1
- package/dist/action/remove.js +15 -4
- package/dist/action/remove.js.map +1 -1
- package/dist/action/resolve.d.ts +1 -0
- package/dist/action/resolve.js +10 -4
- package/dist/action/resolve.js.map +1 -1
- package/dist/action/target.js +55 -29
- package/dist/action/target.js.map +1 -1
- package/dist/admin/status.d.ts +7 -1
- package/dist/admin/status.js +34 -5
- package/dist/admin/status.js.map +1 -1
- package/dist/cmp/AgentGuide.js +53 -32
- package/dist/cmp/AgentGuide.js.map +1 -1
- package/dist/cmp/AgentGuideContent.d.ts +3 -3
- package/dist/cmp/AgentGuideContent.js +26 -19
- package/dist/cmp/AgentGuideContent.js.map +1 -1
- package/dist/cmp/AgentGuideFeature.js +14 -6
- package/dist/cmp/AgentGuideFeature.js.map +1 -1
- package/dist/cmp/AgentGuideTop.js +25 -16
- package/dist/cmp/AgentGuideTop.js.map +1 -1
- package/dist/cmp/Changelog.js +37 -7
- package/dist/cmp/Changelog.js.map +1 -1
- package/dist/cmp/Deploy.js +67 -21
- package/dist/cmp/Deploy.js.map +1 -1
- package/dist/cmp/Entity.js +1 -1
- package/dist/cmp/Entity.js.map +1 -1
- package/dist/cmp/ExternalTarget.js +5 -0
- package/dist/cmp/ExternalTarget.js.map +1 -1
- package/dist/cmp/Feature.js +2 -2
- package/dist/cmp/Feature.js.map +1 -1
- package/dist/cmp/FeatureDocs.d.ts +1 -0
- package/dist/cmp/FeatureDocs.js +2 -1
- package/dist/cmp/FeatureDocs.js.map +1 -1
- package/dist/cmp/License.d.ts +3 -1
- package/dist/cmp/License.js +25 -7
- package/dist/cmp/License.js.map +1 -1
- package/dist/cmp/Main.js +1 -1
- package/dist/cmp/Main.js.map +1 -1
- package/dist/cmp/PublishWorkflow.js +63 -53
- package/dist/cmp/PublishWorkflow.js.map +1 -1
- package/dist/cmp/Readme.js +0 -2
- package/dist/cmp/Readme.js.map +1 -1
- package/dist/cmp/ReadmeErrors.js +77 -77
- package/dist/cmp/ReadmeErrors.js.map +1 -1
- package/dist/cmp/ReadmeExplanation.js +5 -10
- package/dist/cmp/ReadmeExplanation.js.map +1 -1
- package/dist/cmp/ReadmeFeatures.js +13 -9
- package/dist/cmp/ReadmeFeatures.js.map +1 -1
- package/dist/cmp/ReadmeIntro.js +1 -1
- package/dist/cmp/ReadmeIntro.js.map +1 -1
- package/dist/cmp/ReadmeModel.js +15 -11
- package/dist/cmp/ReadmeModel.js.map +1 -1
- package/dist/cmp/ReadmeOptions.js +3 -11
- package/dist/cmp/ReadmeOptions.js.map +1 -1
- package/dist/cmp/ReadmeQuick.js +10 -2
- package/dist/cmp/ReadmeQuick.js.map +1 -1
- package/dist/cmp/ReadmeRefFeatures.js +34 -30
- package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
- package/dist/cmp/ReadmeStation.js +3 -3
- package/dist/cmp/ReadmeStation.js.map +1 -1
- package/dist/cmp/ReadmeTop.js +135 -102
- package/dist/cmp/ReadmeTop.js.map +1 -1
- package/dist/cmp/Registered.js +1 -1
- package/dist/cmp/Registered.js.map +1 -1
- package/dist/cmp/Security.js +23 -3
- package/dist/cmp/Security.js.map +1 -1
- package/dist/cmp/Test.js +1 -1
- package/dist/cmp/Test.js.map +1 -1
- package/dist/helpers/alongside.d.ts +2 -3
- package/dist/helpers/alongside.js +16 -15
- package/dist/helpers/alongside.js.map +1 -1
- package/dist/helpers/applicability.d.ts +2 -1
- package/dist/helpers/applicability.js +14 -1
- package/dist/helpers/applicability.js.map +1 -1
- package/dist/helpers/canonSpec.d.ts +5 -1
- package/dist/helpers/canonSpec.js +44 -10
- package/dist/helpers/canonSpec.js.map +1 -1
- package/dist/helpers/clientOptions.d.ts +9 -0
- package/dist/helpers/clientOptions.js +44 -0
- package/dist/helpers/clientOptions.js.map +1 -0
- package/dist/helpers/component.js +9 -1
- package/dist/helpers/component.js.map +1 -1
- package/dist/helpers/consumer.d.ts +10 -0
- package/dist/helpers/consumer.js +42 -0
- package/dist/helpers/consumer.js.map +1 -0
- package/dist/helpers/definitionPlan.js +0 -1
- package/dist/helpers/definitionPlan.js.map +1 -1
- package/dist/helpers/doctext.js +10 -1
- package/dist/helpers/doctext.js.map +1 -1
- package/dist/helpers/facts.js +198 -4
- package/dist/helpers/facts.js.map +1 -1
- package/dist/helpers/flowGuard.d.ts +1 -1
- package/dist/helpers/flowGuard.js +21 -8
- package/dist/helpers/flowGuard.js.map +1 -1
- package/dist/helpers/generated.d.ts +1 -0
- package/dist/helpers/generated.js +1 -1
- package/dist/helpers/generated.js.map +1 -1
- package/dist/helpers/graphqlPoint.d.ts +2 -1
- package/dist/helpers/graphqlPoint.js +17 -0
- package/dist/helpers/graphqlPoint.js.map +1 -1
- package/dist/helpers/guardModel.d.ts +2 -0
- package/dist/helpers/guardModel.js +41 -0
- package/dist/helpers/guardModel.js.map +1 -0
- package/dist/helpers/manifest.d.ts +2 -1
- package/dist/helpers/manifest.js +16 -0
- package/dist/helpers/manifest.js.map +1 -1
- package/dist/helpers/mcpTools.d.ts +3 -2
- package/dist/helpers/mcpTools.js +9 -3
- package/dist/helpers/mcpTools.js.map +1 -1
- package/dist/helpers/naming.js +3 -2
- package/dist/helpers/naming.js.map +1 -1
- package/dist/helpers/opShape.d.ts +8 -2
- package/dist/helpers/opShape.js +48 -18
- package/dist/helpers/opShape.js.map +1 -1
- package/dist/helpers/optional.d.ts +0 -1
- package/dist/helpers/optional.js +0 -1
- package/dist/helpers/optional.js.map +1 -1
- package/dist/helpers/optspec.js +16 -4
- package/dist/helpers/optspec.js.map +1 -1
- package/dist/helpers/packageMeta.d.ts +7 -4
- package/dist/helpers/packageMeta.js +130 -47
- package/dist/helpers/packageMeta.js.map +1 -1
- package/dist/helpers/placement.d.ts +15 -0
- package/dist/helpers/placement.js +76 -0
- package/dist/helpers/placement.js.map +1 -0
- package/dist/helpers/readerdir.d.ts +4 -0
- package/dist/helpers/readerdir.js +26 -0
- package/dist/helpers/readerdir.js.map +1 -0
- package/dist/helpers/semver.d.ts +2 -1
- package/dist/helpers/semver.js +21 -0
- package/dist/helpers/semver.js.map +1 -1
- package/dist/helpers/serverVars.js +3 -2
- package/dist/helpers/serverVars.js.map +1 -1
- package/dist/helpers/shipped.d.ts +2 -1
- package/dist/helpers/shipped.js +12 -0
- package/dist/helpers/shipped.js.map +1 -1
- package/dist/helpers/sourcestring.d.ts +4 -0
- package/dist/helpers/sourcestring.js +49 -0
- package/dist/helpers/sourcestring.js.map +1 -0
- package/dist/helpers/stdrep.d.ts +1 -1
- package/dist/helpers/stdrep.js +8 -4
- package/dist/helpers/stdrep.js.map +1 -1
- package/dist/helpers/surface.d.ts +12 -0
- package/dist/helpers/surface.js +81 -0
- package/dist/helpers/surface.js.map +1 -0
- package/dist/helpers/targetguard.d.ts +13 -0
- package/dist/helpers/targetguard.js +65 -0
- package/dist/helpers/targetguard.js.map +1 -0
- package/dist/helpers/testPolicy.js +3 -3
- package/dist/helpers/testPolicy.js.map +1 -1
- package/dist/helpers/text.d.ts +3 -1
- package/dist/helpers/text.js +16 -0
- package/dist/helpers/text.js.map +1 -1
- package/dist/helpers/textguard.d.ts +31 -0
- package/dist/helpers/textguard.js +157 -0
- package/dist/helpers/textguard.js.map +1 -0
- package/dist/helpers/title.d.ts +4 -0
- package/dist/helpers/title.js +52 -0
- package/dist/helpers/title.js.map +1 -0
- package/dist/sdkgen.d.ts +15 -11
- package/dist/sdkgen.js +77 -71
- package/dist/sdkgen.js.map +1 -1
- package/dist/testkit.d.ts +6 -2
- package/dist/testkit.js +4 -1
- package/dist/testkit.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utility.js +12 -4
- package/dist/utility.js.map +1 -1
- package/model/fact.aontu +106 -0
- package/model/sdkgen.aontu +11 -1
- package/package.json +1 -1
- package/project/.sdk/model/feature/netsim.aontu +1 -1
- package/project/.sdk/model/feature/secrets.aontu +1 -0
- package/project/.sdk/model/feature/test.aontu +1 -1
- package/project/.sdk/model/feature/validate.aontu +1 -1
- package/project/.sdk/model/target/c.aontu +1 -0
- package/project/.sdk/model/target/clojure.aontu +1 -0
- package/project/.sdk/model/target/cpp.aontu +1 -0
- package/project/.sdk/model/target/csharp.aontu +1 -0
- package/project/.sdk/model/target/elixir.aontu +1 -0
- package/project/.sdk/model/target/go-cli.aontu +5 -5
- package/project/.sdk/model/target/go-mcp.aontu +6 -8
- package/project/.sdk/model/target/go.aontu +1 -1
- package/project/.sdk/model/target/java.aontu +1 -0
- package/project/.sdk/model/target/kotlin.aontu +1 -0
- package/project/.sdk/model/target/ocaml.aontu +1 -0
- package/project/.sdk/model/target/perl.aontu +1 -0
- package/project/.sdk/model/target/py-data.aontu +2 -0
- package/project/.sdk/model/target/rust.aontu +1 -0
- package/project/.sdk/model/target/scala.aontu +1 -0
- package/project/.sdk/model/target/zig.aontu +1 -0
- package/project/.sdk/src/cmp/c/Config_c.ts +8 -33
- package/project/.sdk/src/cmp/c/EntityTypes_c.ts +6 -5
- package/project/.sdk/src/cmp/c/Main_c.ts +4 -0
- package/project/.sdk/src/cmp/c/PrepareAuth_c.ts +9 -19
- package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +8 -10
- package/project/.sdk/src/cmp/c/ReadmeExamplesTest_c.ts +12 -4
- package/project/.sdk/src/cmp/c/ReadmeExplanation_c.ts +4 -2
- package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +18 -22
- package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +19 -15
- package/project/.sdk/src/cmp/c/ReadmeIntro_c.ts +5 -7
- package/project/.sdk/src/cmp/c/ReadmeModel_c.ts +32 -33
- package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +29 -12
- package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +35 -26
- package/project/.sdk/src/cmp/c/ReadmeTopHowto_c.ts +5 -4
- package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +19 -6
- package/project/.sdk/src/cmp/c/TestClean_c.ts +298 -22
- package/project/.sdk/src/cmp/c/TestDirect_c.ts +1 -1
- package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +9 -9
- package/project/.sdk/src/cmp/c/fragment/EntityCreateOp.fragment.c +0 -1
- package/project/.sdk/src/cmp/c/fragment/EntityLoadOp.fragment.c +0 -1
- package/project/.sdk/src/cmp/c/fragment/EntityPatchOp.fragment.c +0 -1
- package/project/.sdk/src/cmp/c/fragment/EntityRemoveOp.fragment.c +0 -1
- package/project/.sdk/src/cmp/c/fragment/EntityUpdateOp.fragment.c +0 -1
- package/project/.sdk/src/cmp/c/fragment/Main.fragment.c +19 -7
- package/project/.sdk/src/cmp/clojure/Config_clojure.ts +4 -25
- package/project/.sdk/src/cmp/clojure/Main_clojure.ts +4 -0
- package/project/.sdk/src/cmp/clojure/PrepareAuth_clojure.ts +10 -21
- package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +8 -10
- package/project/.sdk/src/cmp/clojure/ReadmeExamplesTest_clojure.ts +13 -5
- package/project/.sdk/src/cmp/clojure/ReadmeExplanation_clojure.ts +13 -3
- package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +9 -8
- package/project/.sdk/src/cmp/clojure/ReadmeInstall_clojure.ts +13 -11
- package/project/.sdk/src/cmp/clojure/ReadmeIntro_clojure.ts +5 -7
- package/project/.sdk/src/cmp/clojure/ReadmeModel_clojure.ts +24 -33
- package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +21 -10
- package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +23 -23
- package/project/.sdk/src/cmp/clojure/ReadmeTopHowto_clojure.ts +5 -4
- package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +11 -4
- package/project/.sdk/src/cmp/clojure/Schema_clojure.ts +2 -1
- package/project/.sdk/src/cmp/clojure/TestClean_clojure.ts +177 -12
- package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +11 -12
- package/project/.sdk/src/cmp/clojure/fragment/EntityLoadOp.fragment.clj +1 -1
- package/project/.sdk/src/cmp/clojure/fragment/EntityRemoveOp.fragment.clj +2 -2
- package/project/.sdk/src/cmp/cpp/Config_cpp.ts +2 -17
- package/project/.sdk/src/cmp/cpp/EntityTypes_cpp.ts +4 -9
- package/project/.sdk/src/cmp/cpp/Main_cpp.ts +4 -0
- package/project/.sdk/src/cmp/cpp/PrepareAuth_cpp.ts +10 -21
- package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +10 -12
- package/project/.sdk/src/cmp/cpp/ReadmeExamplesTest_cpp.ts +12 -4
- package/project/.sdk/src/cmp/cpp/ReadmeExplanation_cpp.ts +5 -2
- package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +28 -11
- package/project/.sdk/src/cmp/cpp/ReadmeInstall_cpp.ts +16 -11
- package/project/.sdk/src/cmp/cpp/ReadmeIntro_cpp.ts +5 -7
- package/project/.sdk/src/cmp/cpp/ReadmeModel_cpp.ts +26 -35
- package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +23 -13
- package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +30 -29
- package/project/.sdk/src/cmp/cpp/ReadmeTopHowto_cpp.ts +5 -4
- package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +13 -7
- package/project/.sdk/src/cmp/cpp/TestClean_cpp.ts +285 -14
- package/project/.sdk/src/cmp/cpp/TestEntity_cpp.ts +44 -24
- package/project/.sdk/src/cmp/cpp/fragment/EntityCreateOp.fragment.cpp +0 -1
- package/project/.sdk/src/cmp/cpp/fragment/EntityLoadOp.fragment.cpp +0 -1
- package/project/.sdk/src/cmp/cpp/fragment/EntityPatchOp.fragment.cpp +0 -1
- package/project/.sdk/src/cmp/cpp/fragment/EntityRemoveOp.fragment.cpp +0 -1
- package/project/.sdk/src/cmp/cpp/fragment/EntityUpdateOp.fragment.cpp +0 -1
- package/project/.sdk/src/cmp/csharp/Config_csharp.ts +5 -27
- package/project/.sdk/src/cmp/csharp/EntityTypes_csharp.ts +4 -5
- package/project/.sdk/src/cmp/csharp/Main_csharp.ts +5 -1
- package/project/.sdk/src/cmp/csharp/Package_csharp.ts +2 -1
- package/project/.sdk/src/cmp/csharp/PrepareAuth_csharp.ts +9 -20
- package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +10 -12
- package/project/.sdk/src/cmp/csharp/ReadmeExamplesTest_csharp.ts +18 -10
- package/project/.sdk/src/cmp/csharp/ReadmeExplanation_csharp.ts +1 -1
- package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +24 -12
- package/project/.sdk/src/cmp/csharp/ReadmeInstall_csharp.ts +9 -6
- package/project/.sdk/src/cmp/csharp/ReadmeIntro_csharp.ts +4 -6
- package/project/.sdk/src/cmp/csharp/ReadmeModel_csharp.ts +25 -35
- package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +22 -11
- package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +25 -25
- package/project/.sdk/src/cmp/csharp/ReadmeTopHowto_csharp.ts +5 -4
- package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +11 -4
- package/project/.sdk/src/cmp/csharp/TestClean_csharp.ts +420 -27
- package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +13 -13
- package/project/.sdk/src/cmp/csharp/TestEntity_csharp.ts +34 -35
- package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +8 -7
- package/project/.sdk/src/cmp/csharp/fragment/Main.fragment.cs +4 -4
- package/project/.sdk/src/cmp/elixir/Config_elixir.ts +5 -26
- package/project/.sdk/src/cmp/elixir/EntityTypes_elixir.ts +8 -6
- package/project/.sdk/src/cmp/elixir/Main_elixir.ts +8 -2
- package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -3
- package/project/.sdk/src/cmp/elixir/PrepareAuth_elixir.ts +10 -18
- package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +10 -12
- package/project/.sdk/src/cmp/elixir/ReadmeExamplesTest_elixir.ts +12 -5
- package/project/.sdk/src/cmp/elixir/ReadmeExplanation_elixir.ts +4 -2
- package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +13 -21
- package/project/.sdk/src/cmp/elixir/ReadmeInstall_elixir.ts +12 -8
- package/project/.sdk/src/cmp/elixir/ReadmeIntro_elixir.ts +5 -7
- package/project/.sdk/src/cmp/elixir/ReadmeModel_elixir.ts +24 -35
- package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +22 -11
- package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +24 -24
- package/project/.sdk/src/cmp/elixir/ReadmeTopHowto_elixir.ts +5 -4
- package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +11 -4
- package/project/.sdk/src/cmp/elixir/Schema_elixir.ts +2 -1
- package/project/.sdk/src/cmp/elixir/TestClean_elixir.ts +231 -12
- package/project/.sdk/src/cmp/elixir/TestEntity_elixir.ts +3 -3
- package/project/.sdk/src/cmp/elixir/app_elixir.ts +14 -0
- package/project/.sdk/src/cmp/elixir/fragment/Main.fragment.ex +4 -4
- package/project/.sdk/src/cmp/go/Config_go.ts +16 -31
- package/project/.sdk/src/cmp/go/EntityTypes_go.ts +13 -7
- package/project/.sdk/src/cmp/go/Main_go.ts +10 -12
- package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +12 -21
- package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +5 -5
- package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +20 -9
- package/project/.sdk/src/cmp/go/ReadmeExplanation_go.ts +4 -2
- package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +28 -13
- package/project/.sdk/src/cmp/go/ReadmeInstall_go.ts +11 -6
- package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +5 -4
- package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +32 -34
- package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +16 -12
- package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +32 -22
- package/project/.sdk/src/cmp/go/ReadmeTopHowto_go.ts +5 -4
- package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +7 -4
- package/project/.sdk/src/cmp/go/Schema_go.ts +2 -1
- package/project/.sdk/src/cmp/go/TestClean_go.ts +484 -45
- package/project/.sdk/src/cmp/go/TestDirect_go.ts +15 -13
- package/project/.sdk/src/cmp/go/TestEntity_go.ts +35 -35
- package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +1 -1
- package/project/.sdk/src/cmp/go/fragment/Main.fragment.go +14 -6
- package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +238 -96
- package/project/.sdk/src/cmp/go-cli/fragment/main.fragment.go +13 -12
- package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +3 -8
- package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +183 -66
- package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +7 -7
- package/project/.sdk/src/cmp/java/Config_java.ts +8 -32
- package/project/.sdk/src/cmp/java/EntityTypes_java.ts +4 -5
- package/project/.sdk/src/cmp/java/Main_java.ts +5 -1
- package/project/.sdk/src/cmp/java/Package_java.ts +4 -7
- package/project/.sdk/src/cmp/java/PrepareAuth_java.ts +13 -11
- package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +10 -12
- package/project/.sdk/src/cmp/java/ReadmeExamplesTest_java.ts +17 -9
- package/project/.sdk/src/cmp/java/ReadmeExplanation_java.ts +1 -1
- package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +24 -12
- package/project/.sdk/src/cmp/java/ReadmeInstall_java.ts +8 -10
- package/project/.sdk/src/cmp/java/ReadmeIntro_java.ts +5 -7
- package/project/.sdk/src/cmp/java/ReadmeModel_java.ts +24 -35
- package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +12 -10
- package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +25 -25
- package/project/.sdk/src/cmp/java/ReadmeTopHowto_java.ts +5 -4
- package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -3
- package/project/.sdk/src/cmp/java/Schema_java.ts +2 -1
- package/project/.sdk/src/cmp/java/TestClean_java.ts +386 -19
- package/project/.sdk/src/cmp/java/TestDirect_java.ts +12 -11
- package/project/.sdk/src/cmp/java/TestEntity_java.ts +27 -27
- package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +8 -7
- package/project/.sdk/src/cmp/java/utility_java.ts +7 -23
- package/project/.sdk/src/cmp/js/Config_js.ts +13 -35
- package/project/.sdk/src/cmp/js/EntityBase_js.ts +1 -1
- package/project/.sdk/src/cmp/js/EntityTypes_js.ts +4 -5
- package/project/.sdk/src/cmp/js/Entity_js.ts +1 -1
- package/project/.sdk/src/cmp/js/Main_js.ts +6 -9
- package/project/.sdk/src/cmp/js/Package_js.ts +3 -2
- package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +9 -17
- package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +12 -14
- package/project/.sdk/src/cmp/js/ReadmeExplanation_js.ts +1 -1
- package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +41 -16
- package/project/.sdk/src/cmp/js/ReadmeInstall_js.ts +9 -6
- package/project/.sdk/src/cmp/js/ReadmeIntro_js.ts +6 -3
- package/project/.sdk/src/cmp/js/ReadmeModel_js.ts +23 -37
- package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +15 -5
- package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +31 -35
- package/project/.sdk/src/cmp/js/ReadmeTopHowto_js.ts +5 -4
- package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +12 -4
- package/project/.sdk/src/cmp/js/Schema_js.ts +2 -1
- package/project/.sdk/src/cmp/js/TestClean_js.ts +229 -13
- package/project/.sdk/src/cmp/js/TestDirect_js.ts +16 -14
- package/project/.sdk/src/cmp/js/TestEntity_js.ts +30 -28
- package/project/.sdk/src/cmp/js/TestLive_js.ts +7 -6
- package/project/.sdk/src/cmp/js/fragment/Direct.test.fragment.js +1 -1
- package/project/.sdk/src/cmp/js/fragment/Entity.test.fragment.js +1 -1
- package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +5 -4
- package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +1 -2
- package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +1 -2
- package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +1 -2
- package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +1 -2
- package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +1 -2
- package/project/.sdk/src/cmp/js/fragment/Main.fragment.js +4 -4
- package/project/.sdk/src/cmp/kotlin/Config_kotlin.ts +3 -25
- package/project/.sdk/src/cmp/kotlin/EntityTypes_kotlin.ts +4 -5
- package/project/.sdk/src/cmp/kotlin/Main_kotlin.ts +5 -1
- package/project/.sdk/src/cmp/kotlin/Package_kotlin.ts +5 -5
- package/project/.sdk/src/cmp/kotlin/PrepareAuth_kotlin.ts +13 -12
- package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +10 -12
- package/project/.sdk/src/cmp/kotlin/ReadmeExamplesTest_kotlin.ts +17 -9
- package/project/.sdk/src/cmp/kotlin/ReadmeExplanation_kotlin.ts +1 -1
- package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +24 -12
- package/project/.sdk/src/cmp/kotlin/ReadmeInstall_kotlin.ts +8 -10
- package/project/.sdk/src/cmp/kotlin/ReadmeIntro_kotlin.ts +5 -7
- package/project/.sdk/src/cmp/kotlin/ReadmeModel_kotlin.ts +24 -35
- package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +23 -24
- package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +25 -25
- package/project/.sdk/src/cmp/kotlin/ReadmeTopHowto_kotlin.ts +5 -4
- package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +12 -10
- package/project/.sdk/src/cmp/kotlin/Schema_kotlin.ts +2 -1
- package/project/.sdk/src/cmp/kotlin/TestClean_kotlin.ts +306 -18
- package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +19 -8
- package/project/.sdk/src/cmp/kotlin/TestEntity_kotlin.ts +34 -24
- package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +8 -7
- package/project/.sdk/src/cmp/kotlin/utility_kotlin.ts +7 -23
- package/project/.sdk/src/cmp/lua/Config_lua.ts +16 -26
- package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +4 -5
- package/project/.sdk/src/cmp/lua/Main_lua.ts +5 -4
- package/project/.sdk/src/cmp/lua/Package_lua.ts +12 -6
- package/project/.sdk/src/cmp/lua/PrepareAuth_lua.ts +13 -12
- package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +10 -12
- package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +12 -5
- package/project/.sdk/src/cmp/lua/ReadmeExplanation_lua.ts +5 -3
- package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +25 -13
- package/project/.sdk/src/cmp/lua/ReadmeInstall_lua.ts +5 -4
- package/project/.sdk/src/cmp/lua/ReadmeIntro_lua.ts +6 -5
- package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +32 -43
- package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +22 -11
- package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +22 -26
- package/project/.sdk/src/cmp/lua/ReadmeTopHowto_lua.ts +5 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +11 -4
- package/project/.sdk/src/cmp/lua/Schema_lua.ts +2 -1
- package/project/.sdk/src/cmp/lua/TestClean_lua.ts +297 -13
- package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +13 -12
- package/project/.sdk/src/cmp/lua/TestEntity_lua.ts +30 -30
- package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +10 -10
- package/project/.sdk/src/cmp/lua/fragment/Main.fragment.lua +4 -4
- package/project/.sdk/src/cmp/ocaml/Config_ocaml.ts +4 -20
- package/project/.sdk/src/cmp/ocaml/Main_ocaml.ts +4 -0
- package/project/.sdk/src/cmp/ocaml/Package_ocaml.ts +8 -5
- package/project/.sdk/src/cmp/ocaml/PrepareAuth_ocaml.ts +11 -24
- package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +8 -10
- package/project/.sdk/src/cmp/ocaml/ReadmeExamplesTest_ocaml.ts +11 -4
- package/project/.sdk/src/cmp/ocaml/ReadmeExplanation_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +12 -20
- package/project/.sdk/src/cmp/ocaml/ReadmeInstall_ocaml.ts +12 -11
- package/project/.sdk/src/cmp/ocaml/ReadmeIntro_ocaml.ts +8 -10
- package/project/.sdk/src/cmp/ocaml/ReadmeModel_ocaml.ts +26 -35
- package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +22 -11
- package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +24 -23
- package/project/.sdk/src/cmp/ocaml/ReadmeTopHowto_ocaml.ts +5 -4
- package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +11 -4
- package/project/.sdk/src/cmp/ocaml/TestClean_ocaml.ts +179 -14
- package/project/.sdk/src/cmp/ocaml/TestEntity_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/utility_ocaml.ts +0 -9
- package/project/.sdk/src/cmp/perl/Config_perl.ts +2 -16
- package/project/.sdk/src/cmp/perl/Main_perl.ts +3 -1
- package/project/.sdk/src/cmp/perl/PrepareAuth_perl.ts +12 -10
- package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +8 -10
- package/project/.sdk/src/cmp/perl/ReadmeExamplesTest_perl.ts +16 -10
- package/project/.sdk/src/cmp/perl/ReadmeExplanation_perl.ts +1 -1
- package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +25 -13
- package/project/.sdk/src/cmp/perl/ReadmeInstall_perl.ts +10 -9
- package/project/.sdk/src/cmp/perl/ReadmeIntro_perl.ts +4 -6
- package/project/.sdk/src/cmp/perl/ReadmeModel_perl.ts +24 -35
- package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +22 -11
- package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +23 -23
- package/project/.sdk/src/cmp/perl/ReadmeTopHowto_perl.ts +5 -4
- package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +11 -4
- package/project/.sdk/src/cmp/perl/TestClean_perl.ts +407 -26
- package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +13 -12
- package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +29 -30
- package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +20 -11
- package/project/.sdk/src/cmp/perl/fragment/EntityLoadOp.fragment.pm +5 -5
- package/project/.sdk/src/cmp/perl/fragment/EntityRemoveOp.fragment.pm +3 -3
- package/project/.sdk/src/cmp/perl/fragment/Main.fragment.pm +10 -5
- package/project/.sdk/src/cmp/php/Config_php.ts +18 -33
- package/project/.sdk/src/cmp/php/EntityTypes_php.ts +4 -5
- package/project/.sdk/src/cmp/php/Main_php.ts +5 -9
- package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +7 -17
- package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +10 -12
- package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +15 -9
- package/project/.sdk/src/cmp/php/ReadmeExplanation_php.ts +5 -3
- package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +24 -12
- package/project/.sdk/src/cmp/php/ReadmeInstall_php.ts +8 -5
- package/project/.sdk/src/cmp/php/ReadmeIntro_php.ts +1 -1
- package/project/.sdk/src/cmp/php/ReadmeModel_php.ts +31 -37
- package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +22 -11
- package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +32 -29
- package/project/.sdk/src/cmp/php/ReadmeTopHowto_php.ts +5 -4
- package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +11 -4
- package/project/.sdk/src/cmp/php/Schema_php.ts +2 -1
- package/project/.sdk/src/cmp/php/TestClean_php.ts +416 -39
- package/project/.sdk/src/cmp/php/TestDirect_php.ts +13 -12
- package/project/.sdk/src/cmp/php/TestEntity_php.ts +56 -31
- package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +8 -8
- package/project/.sdk/src/cmp/php/fragment/EntityCreateOp.fragment.php +1 -1
- package/project/.sdk/src/cmp/php/fragment/EntityListOp.fragment.php +1 -1
- package/project/.sdk/src/cmp/php/fragment/EntityLoadOp.fragment.php +3 -3
- package/project/.sdk/src/cmp/php/fragment/EntityPatchOp.fragment.php +1 -1
- package/project/.sdk/src/cmp/php/fragment/EntityRemoveOp.fragment.php +3 -3
- package/project/.sdk/src/cmp/php/fragment/EntityUpdateOp.fragment.php +1 -1
- package/project/.sdk/src/cmp/php/fragment/Main.fragment.php +4 -4
- package/project/.sdk/src/cmp/py/Config_py.ts +18 -33
- package/project/.sdk/src/cmp/py/EntityTypes_py.ts +4 -5
- package/project/.sdk/src/cmp/py/Main_py.ts +3 -9
- package/project/.sdk/src/cmp/py/PrepareAuth_py.ts +8 -19
- package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +10 -12
- package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +21 -14
- package/project/.sdk/src/cmp/py/ReadmeExplanation_py.ts +25 -15
- package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +25 -13
- package/project/.sdk/src/cmp/py/ReadmeInstall_py.ts +5 -4
- package/project/.sdk/src/cmp/py/ReadmeIntro_py.ts +4 -6
- package/project/.sdk/src/cmp/py/ReadmeModel_py.ts +25 -36
- package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +11 -9
- package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +28 -28
- package/project/.sdk/src/cmp/py/ReadmeTopHowto_py.ts +5 -4
- package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +3 -3
- package/project/.sdk/src/cmp/py/Schema_py.ts +2 -1
- package/project/.sdk/src/cmp/py/TestClean_py.ts +342 -28
- package/project/.sdk/src/cmp/py/TestDirect_py.ts +12 -11
- package/project/.sdk/src/cmp/py/TestEntity_py.ts +31 -31
- package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +10 -9
- package/project/.sdk/src/cmp/py/fragment/Main.fragment.py +4 -6
- package/project/.sdk/src/cmp/py-data/Main_py-data.ts +280 -145
- package/project/.sdk/src/cmp/rb/Config_rb.ts +16 -26
- package/project/.sdk/src/cmp/rb/Main_rb.ts +3 -9
- package/project/.sdk/src/cmp/rb/PrepareAuth_rb.ts +9 -18
- package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +10 -12
- package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +15 -10
- package/project/.sdk/src/cmp/rb/ReadmeExplanation_rb.ts +5 -3
- package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +24 -12
- package/project/.sdk/src/cmp/rb/ReadmeInstall_rb.ts +8 -5
- package/project/.sdk/src/cmp/rb/ReadmeIntro_rb.ts +1 -1
- package/project/.sdk/src/cmp/rb/ReadmeModel_rb.ts +28 -37
- package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +22 -11
- package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +27 -27
- package/project/.sdk/src/cmp/rb/ReadmeTopHowto_rb.ts +5 -4
- package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +11 -4
- package/project/.sdk/src/cmp/rb/Schema_rb.ts +2 -1
- package/project/.sdk/src/cmp/rb/TestClean_rb.ts +270 -23
- package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +13 -12
- package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +30 -30
- package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +9 -9
- package/project/.sdk/src/cmp/rb/fragment/EntityLoadOp.fragment.rb +1 -1
- package/project/.sdk/src/cmp/rb/fragment/EntityRemoveOp.fragment.rb +1 -1
- package/project/.sdk/src/cmp/rb/fragment/Main.fragment.rb +4 -4
- package/project/.sdk/src/cmp/rust/Config_rust.ts +4 -34
- package/project/.sdk/src/cmp/rust/EntityTypes_rust.ts +3 -4
- package/project/.sdk/src/cmp/rust/Main_rust.ts +6 -2
- package/project/.sdk/src/cmp/rust/Package_rust.ts +6 -3
- package/project/.sdk/src/cmp/rust/PrepareAuth_rust.ts +13 -12
- package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +10 -12
- package/project/.sdk/src/cmp/rust/ReadmeExamplesTest_rust.ts +13 -6
- package/project/.sdk/src/cmp/rust/ReadmeExplanation_rust.ts +4 -2
- package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +26 -13
- package/project/.sdk/src/cmp/rust/ReadmeInstall_rust.ts +11 -10
- package/project/.sdk/src/cmp/rust/ReadmeIntro_rust.ts +5 -7
- package/project/.sdk/src/cmp/rust/ReadmeModel_rust.ts +35 -37
- package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +22 -10
- package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +41 -32
- package/project/.sdk/src/cmp/rust/ReadmeTopHowto_rust.ts +5 -4
- package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +12 -4
- package/project/.sdk/src/cmp/rust/TestClean_rust.ts +391 -18
- package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +17 -14
- package/project/.sdk/src/cmp/rust/TestEntity_rust.ts +35 -34
- package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +2 -2
- package/project/.sdk/src/cmp/rust/fragment/EntityCreateOp.fragment.rs +0 -1
- package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -1
- package/project/.sdk/src/cmp/rust/fragment/EntityLoadOp.fragment.rs +0 -1
- package/project/.sdk/src/cmp/rust/fragment/EntityPatchOp.fragment.rs +0 -1
- package/project/.sdk/src/cmp/rust/fragment/EntityUpdateOp.fragment.rs +0 -1
- package/project/.sdk/src/cmp/rust/fragment/Main.fragment.rs +5 -4
- package/project/.sdk/src/cmp/rust/utility_rust.ts +0 -8
- package/project/.sdk/src/cmp/scala/Config_scala.ts +5 -26
- package/project/.sdk/src/cmp/scala/EntityTypes_scala.ts +4 -5
- package/project/.sdk/src/cmp/scala/Main_scala.ts +5 -1
- package/project/.sdk/src/cmp/scala/PrepareAuth_scala.ts +13 -13
- package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +10 -12
- package/project/.sdk/src/cmp/scala/ReadmeExamplesTest_scala.ts +11 -4
- package/project/.sdk/src/cmp/scala/ReadmeExplanation_scala.ts +3 -3
- package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +12 -20
- package/project/.sdk/src/cmp/scala/ReadmeInstall_scala.ts +11 -15
- package/project/.sdk/src/cmp/scala/ReadmeIntro_scala.ts +5 -7
- package/project/.sdk/src/cmp/scala/ReadmeModel_scala.ts +24 -35
- package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +24 -24
- package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +25 -25
- package/project/.sdk/src/cmp/scala/ReadmeTopHowto_scala.ts +5 -4
- package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +13 -10
- package/project/.sdk/src/cmp/scala/Schema_scala.ts +2 -1
- package/project/.sdk/src/cmp/scala/TestClean_scala.ts +324 -20
- package/project/.sdk/src/cmp/scala/TestEntity_scala.ts +16 -16
- package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +8 -7
- package/project/.sdk/src/cmp/scala/utility_scala.ts +4 -19
- package/project/.sdk/src/cmp/swift/Config_swift.ts +3 -14
- package/project/.sdk/src/cmp/swift/EntityTypes_swift.ts +3 -4
- package/project/.sdk/src/cmp/swift/Main_swift.ts +4 -0
- package/project/.sdk/src/cmp/swift/PrepareAuth_swift.ts +14 -14
- package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +10 -12
- package/project/.sdk/src/cmp/swift/ReadmeExamplesTest_swift.ts +14 -7
- package/project/.sdk/src/cmp/swift/ReadmeExplanation_swift.ts +3 -3
- package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +12 -20
- package/project/.sdk/src/cmp/swift/ReadmeInstall_swift.ts +13 -13
- package/project/.sdk/src/cmp/swift/ReadmeIntro_swift.ts +4 -6
- package/project/.sdk/src/cmp/swift/ReadmeModel_swift.ts +24 -35
- package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +25 -26
- package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +25 -25
- package/project/.sdk/src/cmp/swift/ReadmeTopHowto_swift.ts +5 -4
- package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +13 -11
- package/project/.sdk/src/cmp/swift/TestClean_swift.ts +352 -23
- package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +8 -7
- package/project/.sdk/src/cmp/swift/fragment/Main.fragment.swift +5 -5
- package/project/.sdk/src/cmp/ts/Config_ts.ts +13 -35
- package/project/.sdk/src/cmp/ts/EntityBase_ts.ts +1 -1
- package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +4 -5
- package/project/.sdk/src/cmp/ts/Entity_ts.ts +1 -1
- package/project/.sdk/src/cmp/ts/Main_ts.ts +6 -9
- package/project/.sdk/src/cmp/ts/Package_ts.ts +3 -2
- package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +11 -10
- package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +9 -11
- package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +33 -9
- package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +35 -7
- package/project/.sdk/src/cmp/ts/ReadmeExplanation_ts.ts +1 -1
- package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +38 -18
- package/project/.sdk/src/cmp/ts/ReadmeInstall_ts.ts +9 -5
- package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +6 -3
- package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +32 -53
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +11 -9
- package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +22 -26
- package/project/.sdk/src/cmp/ts/ReadmeTopHowto_ts.ts +5 -4
- package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +6 -6
- package/project/.sdk/src/cmp/ts/Schema_ts.ts +2 -1
- package/project/.sdk/src/cmp/ts/TestClean_ts.ts +229 -13
- package/project/.sdk/src/cmp/ts/TestDefinition_ts.ts +3 -1
- package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +17 -17
- package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +30 -30
- package/project/.sdk/src/cmp/ts/TestLive_ts.ts +7 -6
- package/project/.sdk/src/cmp/ts/fragment/Direct.test.fragment.ts +1 -1
- package/project/.sdk/src/cmp/ts/fragment/Entity.test.fragment.ts +1 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +3 -3
- package/project/.sdk/src/cmp/ts/fragment/Main.fragment.ts +2 -2
- package/project/.sdk/src/cmp/zig/Config_zig.ts +5 -21
- package/project/.sdk/src/cmp/zig/Main_zig.ts +4 -0
- package/project/.sdk/src/cmp/zig/Package_zig.ts +3 -2
- package/project/.sdk/src/cmp/zig/PrepareAuth_zig.ts +10 -21
- package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +9 -11
- package/project/.sdk/src/cmp/zig/ReadmeExamplesTest_zig.ts +8 -7
- package/project/.sdk/src/cmp/zig/ReadmeExplanation_zig.ts +1 -1
- package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +17 -22
- package/project/.sdk/src/cmp/zig/ReadmeInstall_zig.ts +12 -9
- package/project/.sdk/src/cmp/zig/ReadmeIntro_zig.ts +5 -7
- package/project/.sdk/src/cmp/zig/ReadmeModel_zig.ts +40 -37
- package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +25 -11
- package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +46 -30
- package/project/.sdk/src/cmp/zig/ReadmeTopHowto_zig.ts +5 -4
- package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +15 -5
- package/project/.sdk/src/cmp/zig/TestClean_zig.ts +259 -26
- package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +1 -0
- package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +16 -17
- package/project/.sdk/src/cmp/zig/fragment/Main.fragment.zig +23 -12
- package/project/.sdk/src/cmp/zig/fragment/Root.fragment.zig +2 -1
- package/project/.sdk/src/cmp/zig/utility_zig.ts +0 -13
- package/project/.sdk/tm/c/Makefile +2 -1
- package/project/.sdk/tm/c/core/response.c +27 -4
- package/project/.sdk/tm/c/core/sdk.h +14 -7
- 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 +2 -2
- 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 +4 -2
- package/project/.sdk/tm/c/feature/validate.c +5 -5
- package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +200 -1
- package/project/.sdk/tm/c/tests/pipeline_test.c +1 -1
- package/project/.sdk/tm/c/tests/primary_corpus_test.c +17 -4
- package/project/.sdk/tm/c/tests/primary_utility_test.c +7 -7
- package/project/.sdk/tm/c/tests/sdk_pipeline_test.c +2 -2
- package/project/.sdk/tm/c/tests/server_variable_test.c +10 -48
- package/project/.sdk/tm/c/tests/struct_corpus_test.c +68 -2
- package/project/.sdk/tm/c/tests/transport_test.c +161 -3
- package/project/.sdk/tm/c/tests/vendor/omni/json.c +65 -26
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- package/project/.sdk/tm/c/utility/clean.c +94 -12
- package/project/.sdk/tm/c/utility/fetcher.c +22 -6
- package/project/.sdk/tm/c/utility/make_error.c +4 -4
- package/project/.sdk/tm/c/utility/make_options.c +22 -16
- package/project/.sdk/tm/c/utility/struct/inject.c +23 -2
- package/project/.sdk/tm/c/utility/struct/re_util.c +3 -0
- package/project/.sdk/tm/c/utility/struct/regex.c +43 -22
- package/project/.sdk/tm/c/utility/struct/regex.h +4 -1
- package/project/.sdk/tm/c/utility/struct/transform.c +982 -296
- package/project/.sdk/tm/c/utility/struct/utility.c +712 -136
- package/project/.sdk/tm/c/utility/struct/value.c +3 -0
- package/project/.sdk/tm/c/utility/struct/value.h +3 -0
- package/project/.sdk/tm/c/utility/struct/value_io.c +3 -0
- package/project/.sdk/tm/c/utility/struct/value_io.h +3 -0
- package/project/.sdk/tm/c/utility/struct/voxgig_struct.h +36 -1
- package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +3 -1
- 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/client.clj +4 -4
- package/project/.sdk/tm/clojure/src/sdk/core.clj +175 -32
- package/project/.sdk/tm/clojure/src/sdk/features.clj +6 -7
- package/project/.sdk/tm/clojure/src/voxgig/struct.clj +866 -186
- package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +85 -2
- package/project/.sdk/tm/clojure/test/sdk/test/feature.clj +1 -1
- package/project/.sdk/tm/clojure/test/sdk/test/omni_smoke.clj +1 -1
- package/project/.sdk/tm/clojure/test/sdk/test/pipeline.clj +98 -3
- package/project/.sdk/tm/clojure/test/sdk/test/primary.clj +7 -2
- package/project/.sdk/tm/clojure/test/sdk/test/struct_corpus.clj +22 -9
- package/project/.sdk/tm/clojure/test/sdk/test_runner.clj +15 -14
- 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 +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- package/project/.sdk/tm/cpp/Makefile +3 -3
- package/project/.sdk/tm/cpp/core/types.hpp +49 -30
- 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 +3 -1
- package/project/.sdk/tm/cpp/feature/validate.hpp +5 -5
- package/project/.sdk/tm/cpp/test/custom_utility_test.cpp +1 -1
- package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +226 -0
- package/project/.sdk/tm/cpp/test/omni_resolver.hpp +1 -1
- package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +9 -3
- package/project/.sdk/tm/cpp/test/runner_support.hpp +25 -4
- package/project/.sdk/tm/cpp/test/struct_corpus_test.cpp +32 -3
- package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +55 -17
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- package/project/.sdk/tm/cpp/utility/pipeline.hpp +96 -20
- package/project/.sdk/tm/cpp/utility/voxgigstruct/value.hpp +3 -0
- package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +3 -0
- package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +1374 -371
- package/project/.sdk/tm/csharp/Makefile +6 -6
- package/project/.sdk/tm/csharp/core/Response.cs +21 -2
- package/project/.sdk/tm/csharp/core/Result.cs +2 -2
- package/project/.sdk/tm/csharp/core/Utility.cs +2 -0
- package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +7 -6
- package/project/.sdk/tm/csharp/feature/ValidateFeature.cs +4 -5
- 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/PipelineTest.cs +1 -1
- package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +242 -1
- package/project/.sdk/tm/csharp/test/Runner.cs +4 -4
- package/project/.sdk/tm/csharp/test/StructUtilityTest.cs +38 -38
- package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +267 -0
- package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/Clean.cs +139 -12
- package/project/.sdk/tm/csharp/utility/Fetcher.cs +115 -35
- package/project/.sdk/tm/csharp/utility/MakeError.cs +4 -5
- package/project/.sdk/tm/csharp/utility/MakeOptions.cs +5 -5
- package/project/.sdk/tm/csharp/utility/Register.cs +1 -0
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +1587 -325
- package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +9 -11
- package/project/.sdk/tm/elixir/lib/projectname/error.ex +1 -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 +4 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/validate.ex +4 -5
- package/project/.sdk/tm/elixir/lib/projectname/utility.ex +219 -37
- package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +1088 -253
- package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +147 -1
- package/project/.sdk/tm/elixir/test/pipeline_test.exs +167 -1
- package/project/.sdk/tm/elixir/test/primary_utility_test.exs +12 -1
- package/project/.sdk/tm/elixir/test/struct_corpus_test.exs +43 -21
- package/project/.sdk/tm/elixir/test/support/omni.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +33 -5
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/Makefile +4 -4
- package/project/.sdk/tm/go/core/response.go +17 -4
- package/project/.sdk/tm/go/core/result.go +2 -2
- package/project/.sdk/tm/go/core/utility_type.go +2 -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 +8 -1
- package/project/.sdk/tm/go/test/concurrency_test.go +1 -1
- package/project/.sdk/tm/go/test/custom_utility_test.go +5 -5
- package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +160 -7
- package/project/.sdk/tm/go/test/feature_corpus_test.go +1 -1
- package/project/.sdk/tm/go/test/feature_test.go +5 -1
- package/project/.sdk/tm/go/test/omni/omni.go +2 -2
- package/project/.sdk/tm/go/test/omni/util.go +12 -5
- package/project/.sdk/tm/go/test/omniresolver_test.go +1 -1
- package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
- package/project/.sdk/tm/go/test/primary_utility_test.go +181 -5
- package/project/.sdk/tm/go/test/server_variable_test.go +50 -0
- package/project/.sdk/tm/go/test/struct_utility_test.go +59 -56
- package/project/.sdk/tm/go/test/testsupport_test.go +13 -3
- package/project/.sdk/tm/go/utility/clean.go +223 -6
- package/project/.sdk/tm/go/utility/fetcher.go +59 -10
- package/project/.sdk/tm/go/utility/make_error.go +4 -4
- package/project/.sdk/tm/go/utility/make_options.go +12 -5
- package/project/.sdk/tm/go/utility/register.go +12 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +1510 -430
- package/project/.sdk/tm/java/Makefile +7 -6
- package/project/.sdk/tm/java/core/Response.java +16 -2
- package/project/.sdk/tm/java/core/Result.java +2 -2
- package/project/.sdk/tm/java/core/SdkClient.java +4 -4
- package/project/.sdk/tm/java/core/Utility.java +7 -0
- package/project/.sdk/tm/java/feature/SecretsFeature.java +3 -0
- package/project/.sdk/tm/java/feature/ValidateFeature.java +4 -5
- 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/PipelineTest.java +1 -1
- package/project/.sdk/tm/java/test/PrimaryUtilityTest.java +199 -2
- package/project/.sdk/tm/java/test/RunnerSupport.java +4 -4
- package/project/.sdk/tm/java/test/StructCorpusTest.java +32 -3
- package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +111 -2
- package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/Clean.java +186 -19
- package/project/.sdk/tm/java/utility/Fetcher.java +109 -14
- package/project/.sdk/tm/java/utility/MakeError.java +4 -4
- package/project/.sdk/tm/java/utility/MakeOptions.java +5 -5
- package/project/.sdk/tm/java/utility/Register.java +4 -0
- package/project/.sdk/tm/java/utility/TransformResponse.java +5 -0
- package/project/.sdk/tm/java/utility/struct/Struct.java +1239 -229
- package/project/.sdk/tm/js/Makefile +5 -4
- package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +2 -0
- package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +1 -1
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +1 -1
- package/project/.sdk/tm/js/src/feature/validate/ValidateFeature.js +4 -5
- package/project/.sdk/tm/js/src/utility/CleanUtility.js +104 -10
- package/project/.sdk/tm/js/src/utility/FetcherUtility.js +99 -1
- package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +4 -4
- package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +5 -5
- package/project/.sdk/tm/js/src/utility/MediaUtility.js +32 -0
- package/project/.sdk/tm/js/src/utility/ResultBodyUtility.js +6 -14
- package/project/.sdk/tm/js/src/utility/StructUtility.js +972 -180
- package/project/.sdk/tm/js/src/utility/Utility.js +2 -1
- package/project/.sdk/tm/js/test/feature/harness.js +6 -7
- package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +92 -2
- package/project/.sdk/tm/js/test/live-entity.js +8 -8
- package/project/.sdk/tm/js/test/utility/PrimaryUtility.test.js +9 -1
- package/project/.sdk/tm/js/test/utility/StructUtility.test.js +32 -27
- package/project/.sdk/tm/js/test/utility/index.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
- package/project/.sdk/tm/kotlin/Makefile +7 -6
- package/project/.sdk/tm/kotlin/core/Response.kt +17 -2
- package/project/.sdk/tm/kotlin/core/Result.kt +2 -2
- package/project/.sdk/tm/kotlin/core/SdkClient.kt +4 -4
- package/project/.sdk/tm/kotlin/core/Utility.kt +4 -2
- package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +2 -0
- package/project/.sdk/tm/kotlin/feature/ValidateFeature.kt +4 -5
- 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/PipelineTest.kt +1 -1
- package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +188 -2
- package/project/.sdk/tm/kotlin/test/RunnerSupport.kt +23 -4
- package/project/.sdk/tm/kotlin/test/StructCorpusTest.kt +23 -3
- package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +110 -1
- package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/CoreUtil.kt +142 -16
- package/project/.sdk/tm/kotlin/utility/Fetcher.kt +113 -14
- package/project/.sdk/tm/kotlin/utility/MakeOptions.kt +5 -5
- package/project/.sdk/tm/kotlin/utility/Register.kt +1 -0
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1074 -164
- package/project/.sdk/tm/lua/Makefile +4 -3
- package/project/.sdk/tm/lua/core/utility_type.lua +2 -0
- 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 +3 -0
- package/project/.sdk/tm/lua/feature/validate_feature.lua +5 -6
- package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +115 -2
- package/project/.sdk/tm/lua/test/omni.lua +1 -1
- package/project/.sdk/tm/lua/test/pipeline_test.lua +1 -1
- package/project/.sdk/tm/lua/test/primary_utility_test.lua +160 -1
- package/project/.sdk/tm/lua/test/runner.lua +3 -1
- package/project/.sdk/tm/lua/test/struct_utility_test.lua +152 -44
- package/project/.sdk/tm/lua/test/vendor/omni/json.lua +26 -6
- package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/clean.lua +86 -6
- package/project/.sdk/tm/lua/utility/fetcher.lua +19 -5
- package/project/.sdk/tm/lua/utility/make_error.lua +4 -5
- package/project/.sdk/tm/lua/utility/make_options.lua +5 -5
- package/project/.sdk/tm/lua/utility/media.lua +36 -0
- package/project/.sdk/tm/lua/utility/register.lua +1 -0
- package/project/.sdk/tm/lua/utility/struct/regex.lua +26 -9
- package/project/.sdk/tm/lua/utility/struct/struct.lua +1289 -245
- package/project/.sdk/tm/lua/utility/unreadable_body.lua +6 -16
- package/project/.sdk/tm/ocaml/Makefile +1 -1
- 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 +3 -1
- package/project/.sdk/tm/ocaml/sdk_features.ml +9 -10
- package/project/.sdk/tm/ocaml/sdk_runtime.ml +78 -15
- package/project/.sdk/tm/ocaml/sdk_types.ml +1 -1
- package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +157 -4
- package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +14 -9
- package/project/.sdk/tm/ocaml/test/struct_corpus.ml +24 -15
- package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +34 -28
- package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +807 -157
- package/project/.sdk/tm/ocaml/utility/vregex.ml +190 -60
- package/project/.sdk/tm/perl/Makefile +8 -7
- package/project/.sdk/tm/perl/core/control.pm +1 -1
- package/project/.sdk/tm/perl/core/error.pm +14 -1
- package/project/.sdk/tm/perl/core/helpers.pm +8 -7
- 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 +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +1 -1
- package/project/.sdk/tm/perl/feature/secrets_feature.pm +2 -0
- package/project/.sdk/tm/perl/feature/validate_feature.pm +4 -5
- package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +1082 -149
- package/project/.sdk/tm/perl/t/feature/secrets/secrets.t +105 -0
- package/project/.sdk/tm/perl/t/feature_corpus.t +1 -1
- package/project/.sdk/tm/perl/t/omni.pm +16 -6
- package/project/.sdk/tm/perl/t/primary_utility.t +151 -2
- package/project/.sdk/tm/perl/t/runner.pm +1 -1
- package/project/.sdk/tm/perl/t/struct_utility.t +19 -11
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
- 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/clean.pm +130 -15
- package/project/.sdk/tm/perl/utility/fetcher.pm +18 -5
- package/project/.sdk/tm/perl/utility/make_error.pm +4 -4
- package/project/.sdk/tm/perl/utility/make_options.pm +5 -5
- package/project/.sdk/tm/perl/utility/media.pm +29 -0
- package/project/.sdk/tm/perl/utility/result_body.pm +6 -13
- package/project/.sdk/tm/perl/utility/transform_response.pm +3 -0
- package/project/.sdk/tm/php/Makefile +4 -3
- package/project/.sdk/tm/php/core/Control.php +3 -2
- package/project/.sdk/tm/php/core/Helpers.php +49 -0
- package/project/.sdk/tm/php/core/UtilityType.php +2 -0
- package/project/.sdk/tm/php/feature/SecretsFeature.php +2 -0
- package/project/.sdk/tm/php/feature/ValidateFeature.php +6 -5
- 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/FeatureCorpusTest.php +1 -1
- package/project/.sdk/tm/php/test/Omni.php +1 -1
- package/project/.sdk/tm/php/test/PipelineTest.php +146 -1
- package/project/.sdk/tm/php/test/PrimaryUtilityTest.php +23 -1
- package/project/.sdk/tm/php/test/Runner.php +1 -1
- package/project/.sdk/tm/php/test/StructUtilityTest.php +65 -116
- package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +119 -2
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/Clean.php +119 -19
- package/project/.sdk/tm/php/utility/Fetcher.php +24 -7
- package/project/.sdk/tm/php/utility/MakeError.php +4 -5
- package/project/.sdk/tm/php/utility/MakeOptions.php +9 -5
- package/project/.sdk/tm/php/utility/Media.php +29 -0
- package/project/.sdk/tm/php/utility/PrepareBody.php +7 -5
- package/project/.sdk/tm/php/utility/Register.php +1 -0
- package/project/.sdk/tm/php/utility/ResultBody.php +6 -16
- package/project/.sdk/tm/php/utility/TransformResponse.php +5 -0
- package/project/.sdk/tm/php/utility/struct/Struct.php +1933 -530
- package/project/.sdk/tm/py/Makefile +3 -2
- package/project/.sdk/tm/py/pkg/core/utility_type.py +2 -0
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
- 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 +12 -1
- package/project/.sdk/tm/py/pkg/feature/validate_feature.py +4 -5
- package/project/.sdk/tm/py/pkg/utility/clean.py +104 -16
- package/project/.sdk/tm/py/pkg/utility/fetcher.py +64 -4
- package/project/.sdk/tm/py/pkg/utility/make_error.py +4 -4
- package/project/.sdk/tm/py/pkg/utility/make_options.py +5 -5
- package/project/.sdk/tm/py/pkg/utility/media.py +24 -0
- package/project/.sdk/tm/py/pkg/utility/register.py +2 -1
- package/project/.sdk/tm/py/pkg/utility/result_body.py +7 -12
- package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1057 -198
- package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +124 -0
- package/project/.sdk/tm/py/test/feature_harness.py +6 -6
- package/project/.sdk/tm/py/test/omni.py +1 -1
- package/project/.sdk/tm/py/test/runner.py +6 -4
- package/project/.sdk/tm/py/test/test_feature_corpus.py +2 -2
- package/project/.sdk/tm/py/test/test_pipeline.py +1 -1
- package/project/.sdk/tm/py/test/test_primary_utility.py +135 -1
- package/project/.sdk/tm/py/test/test_struct_utility.py +29 -30
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- package/project/.sdk/tm/py-data/Makefile +5 -4
- package/project/.sdk/tm/py-data/pkg/auth.py +8 -5
- package/project/.sdk/tm/py-data/pkg/fetch.py +8 -8
- package/project/.sdk/tm/py-data/test/conftest.py +6 -7
- package/project/.sdk/tm/py-data/test/test_auth.py +5 -0
- package/project/.sdk/tm/rb/Makefile +3 -2
- package/project/.sdk/tm/rb/core/control.rb +1 -1
- package/project/.sdk/tm/rb/core/utility_type.rb +2 -1
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -0
- package/project/.sdk/tm/rb/feature/validate_feature.rb +4 -5
- package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +117 -0
- package/project/.sdk/tm/rb/test/feature_corpus_test.rb +1 -1
- package/project/.sdk/tm/rb/test/omni.rb +1 -1
- package/project/.sdk/tm/rb/test/pipeline_test.rb +1 -1
- package/project/.sdk/tm/rb/test/primary_utility_test.rb +121 -1
- package/project/.sdk/tm/rb/test/runner.rb +1 -1
- package/project/.sdk/tm/rb/test/struct_utility_test.rb +30 -34
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
- 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/clean.rb +94 -14
- package/project/.sdk/tm/rb/utility/fetcher.rb +12 -3
- package/project/.sdk/tm/rb/utility/make_error.rb +4 -4
- package/project/.sdk/tm/rb/utility/make_options.rb +5 -5
- package/project/.sdk/tm/rb/utility/media.rb +21 -0
- package/project/.sdk/tm/rb/utility/register.rb +1 -0
- package/project/.sdk/tm/rb/utility/result_body.rb +7 -9
- package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +1569 -678
- package/project/.sdk/tm/rust/Makefile +5 -5
- package/project/.sdk/tm/rust/core/helpers.rs +1 -1
- package/project/.sdk/tm/rust/core/response.rs +18 -2
- package/project/.sdk/tm/rust/core/result.rs +4 -4
- package/project/.sdk/tm/rust/core/utility_type.rs +5 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +1 -1
- package/project/.sdk/tm/rust/feature/secrets.rs +10 -1
- package/project/.sdk/tm/rust/tests/common/mod.rs +3 -3
- package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +309 -10
- package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +1 -1
- package/project/.sdk/tm/rust/tests/pipeline_test.rs +5 -2
- package/project/.sdk/tm/rust/tests/primary_utility_test.rs +281 -13
- package/project/.sdk/tm/rust/tests/server_variable_test.rs +48 -0
- package/project/.sdk/tm/rust/tests/struct_utility_test.rs +9 -1
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +27 -11
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +1 -1
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +1 -1
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +1 -1
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +1 -1
- package/project/.sdk/tm/rust/utility/clean.rs +128 -9
- package/project/.sdk/tm/rust/utility/fetcher.rs +107 -44
- package/project/.sdk/tm/rust/utility/make_error.rs +4 -4
- package/project/.sdk/tm/rust/utility/make_options.rs +12 -8
- package/project/.sdk/tm/rust/utility/voxgigstruct/consts.rs +18 -20
- package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +1328 -227
- package/project/.sdk/tm/rust/utility/voxgigstruct/mini.rs +90 -95
- package/project/.sdk/tm/rust/utility/voxgigstruct/mod.rs +12 -8
- package/project/.sdk/tm/rust/utility/voxgigstruct/ordered_map.rs +3 -1
- package/project/.sdk/tm/rust/utility/voxgigstruct/re.rs +49 -6
- package/project/.sdk/tm/rust/utility/voxgigstruct/value.rs +5 -2
- package/project/.sdk/tm/scala/Makefile +4 -4
- package/project/.sdk/tm/scala/core/Response.scala +19 -2
- package/project/.sdk/tm/scala/core/Result.scala +2 -2
- package/project/.sdk/tm/scala/core/SdkClient.scala +4 -4
- package/project/.sdk/tm/scala/core/Types.scala +3 -0
- package/project/.sdk/tm/scala/core/Utility.scala +2 -0
- package/project/.sdk/tm/scala/feature/SecretsFeature.scala +2 -0
- package/project/.sdk/tm/scala/feature/ValidateFeature.scala +4 -5
- 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/PrimaryCorpus.scala +10 -4
- package/project/.sdk/tm/scala/sdktest/SdkTestMain.scala +219 -3
- package/project/.sdk/tm/scala/sdktest/StructCorpus.scala +20 -14
- package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +108 -0
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- package/project/.sdk/tm/scala/utility/Fetcher.scala +101 -14
- package/project/.sdk/tm/scala/utility/Make.scala +4 -4
- package/project/.sdk/tm/scala/utility/Misc.scala +133 -13
- package/project/.sdk/tm/scala/utility/Register.scala +1 -0
- package/project/.sdk/tm/scala/utility/Transform.scala +6 -1
- package/project/.sdk/tm/scala/utility/struct/Struct.java +1267 -253
- package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +909 -202
- package/project/.sdk/tm/swift/Makefile +5 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Condense.swift +351 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Constants.swift +7 -4
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Inject.swift +39 -24
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Injection.swift +51 -14
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/JSON.swift +4 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +3 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +190 -77
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/OrderedDictionary.swift +3 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Path.swift +37 -8
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Select.swift +37 -20
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Transform.swift +67 -46
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Validate.swift +602 -110
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Value.swift +22 -16
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Walk.swift +9 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Response.swift +20 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Result.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Support.swift +15 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Utility.swift +2 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +2 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/TestFeature.swift +6 -6
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/ValidateFeature.swift +5 -6
- 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/Fetcher.swift +24 -8
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeError.swift +4 -4
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeOptions.swift +7 -7
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Register.swift +1 -0
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/ResultUtil.swift +130 -30
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +2 -2
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +1 -1
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +191 -1
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/Runner.swift +3 -3
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/StructUtilityTest.swift +36 -14
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +167 -1
- package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +32 -8
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/Makefile +3 -2
- package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +2 -0
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -1
- package/project/.sdk/tm/ts/src/utility/CleanUtility.ts +115 -10
- package/project/.sdk/tm/ts/src/utility/FetcherUtility.ts +100 -1
- package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +2 -1
- package/project/.sdk/tm/ts/src/utility/MediaUtility.ts +32 -0
- package/project/.sdk/tm/ts/src/utility/ResultBodyUtility.ts +5 -14
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +708 -199
- package/project/.sdk/tm/ts/src/utility/Utility.ts +2 -1
- package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +93 -2
- package/project/.sdk/tm/ts/test/live-entity.ts +8 -8
- package/project/.sdk/tm/ts/test/utility/PrimaryUtility.test.ts +9 -1
- package/project/.sdk/tm/ts/test/utility/StructUtility.test.ts +32 -27
- package/project/.sdk/tm/ts/test/utility/index.ts +1 -1
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -1
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -1
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
- package/project/.sdk/tm/zig/core/helpers.zig +2 -2
- package/project/.sdk/tm/zig/core/result.zig +2 -2
- package/project/.sdk/tm/zig/core/types.zig +2 -2
- package/project/.sdk/tm/zig/core/utility.zig +96 -20
- package/project/.sdk/tm/zig/feature/netsim.zig +1 -1
- package/project/.sdk/tm/zig/feature/rbac.zig +1 -1
- 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 +3 -1
- package/project/.sdk/tm/zig/feature/validate.zig +4 -5
- package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +199 -39
- package/project/.sdk/tm/zig/test/fh.zig +11 -0
- package/project/.sdk/tm/zig/test/gotcha_test.zig +11 -10
- package/project/.sdk/tm/zig/test/omniresolver.zig +1 -1
- package/project/.sdk/tm/zig/test/pipeline_test.zig +1 -1
- package/project/.sdk/tm/zig/test/primary_utility_test.zig +17 -9
- package/project/.sdk/tm/zig/test/server_variable_test.zig +46 -0
- package/project/.sdk/tm/zig/test/struct_corpus.zig +54 -34
- package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +2 -2
- package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +35 -16
- package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +1680 -563
- package/project/sdkgen-package.json +1 -1
- package/src/action/check.ts +82 -4
- package/src/action/doctor.ts +70 -6
- package/src/action/package.ts +1 -13
- package/src/action/remove.ts +19 -5
- package/src/action/resolve.ts +11 -4
- package/src/action/target.ts +75 -32
- package/src/admin/status.ts +25 -5
- package/src/cmp/AgentGuide.ts +57 -32
- package/src/cmp/AgentGuideContent.ts +26 -19
- package/src/cmp/AgentGuideFeature.ts +15 -6
- package/src/cmp/AgentGuideTop.ts +28 -16
- package/src/cmp/Changelog.ts +46 -6
- package/src/cmp/Deploy.ts +76 -25
- package/src/cmp/Entity.ts +1 -1
- package/src/cmp/ExternalTarget.ts +6 -0
- package/src/cmp/Feature.ts +3 -3
- package/src/cmp/FeatureDocs.ts +4 -2
- package/src/cmp/License.ts +33 -10
- package/src/cmp/Main.ts +1 -1
- package/src/cmp/PublishWorkflow.ts +66 -58
- package/src/cmp/Readme.ts +0 -2
- package/src/cmp/ReadmeErrors.ts +82 -81
- package/src/cmp/ReadmeExplanation.ts +7 -11
- package/src/cmp/ReadmeFeatures.ts +16 -9
- package/src/cmp/ReadmeIntro.ts +1 -1
- package/src/cmp/ReadmeModel.ts +17 -11
- package/src/cmp/ReadmeOptions.ts +3 -16
- package/src/cmp/ReadmeQuick.ts +11 -2
- package/src/cmp/ReadmeRefFeatures.ts +38 -33
- package/src/cmp/ReadmeStation.ts +4 -5
- package/src/cmp/ReadmeTop.ts +145 -102
- package/src/cmp/Registered.ts +1 -1
- package/src/cmp/Security.ts +32 -5
- package/src/cmp/Test.ts +1 -1
- package/src/helpers/alongside.ts +16 -19
- package/src/helpers/applicability.ts +16 -1
- package/src/helpers/canonSpec.ts +56 -10
- package/src/helpers/clientOptions.ts +67 -0
- package/src/helpers/component.ts +11 -1
- package/src/helpers/consumer.ts +62 -0
- package/src/helpers/definitionPlan.ts +0 -1
- package/src/helpers/doctext.ts +12 -2
- package/src/helpers/facts.ts +243 -5
- package/src/helpers/flowGuard.ts +23 -8
- package/src/helpers/generated.ts +3 -1
- package/src/helpers/graphqlPoint.ts +20 -1
- package/src/helpers/guardModel.ts +50 -0
- package/src/helpers/manifest.ts +19 -0
- package/src/helpers/mcpTools.ts +15 -3
- package/src/helpers/naming.ts +3 -2
- package/src/helpers/opShape.ts +56 -18
- package/src/helpers/optional.ts +0 -1
- package/src/helpers/optspec.ts +22 -5
- package/src/helpers/packageMeta.ts +142 -45
- package/src/helpers/placement.ts +114 -0
- package/src/helpers/readerdir.ts +33 -0
- package/src/helpers/semver.ts +26 -0
- package/src/helpers/serverVars.ts +4 -2
- package/src/helpers/shipped.ts +13 -0
- package/src/helpers/sourcestring.ts +55 -0
- package/src/helpers/stdrep.ts +9 -4
- package/src/helpers/surface.ts +100 -0
- package/src/helpers/targetguard.ts +91 -0
- package/src/helpers/testPolicy.ts +3 -3
- package/src/helpers/text.ts +22 -0
- package/src/helpers/textguard.ts +208 -0
- package/src/helpers/title.ts +59 -0
- package/src/sdkgen.ts +89 -88
- package/src/testkit.ts +12 -0
- package/src/utility.ts +12 -5
- package/project/.sdk/src/cmp/c/ReadmeOptions_c.ts +0 -65
- package/project/.sdk/src/cmp/clojure/ReadmeOptions_clojure.ts +0 -61
- package/project/.sdk/src/cmp/cpp/ReadmeOptions_cpp.ts +0 -62
- package/project/.sdk/src/cmp/csharp/ReadmeOptions_csharp.ts +0 -60
- package/project/.sdk/src/cmp/elixir/ReadmeOptions_elixir.ts +0 -62
- package/project/.sdk/src/cmp/go/ReadmeOptions_go.ts +0 -59
- package/project/.sdk/src/cmp/java/ReadmeOptions_java.ts +0 -61
- package/project/.sdk/src/cmp/js/ReadmeOptions_js.ts +0 -59
- package/project/.sdk/src/cmp/kotlin/ReadmeOptions_kotlin.ts +0 -61
- package/project/.sdk/src/cmp/lua/ReadmeOptions_lua.ts +0 -59
- package/project/.sdk/src/cmp/ocaml/ReadmeOptions_ocaml.ts +0 -59
- package/project/.sdk/src/cmp/perl/ReadmeOptions_perl.ts +0 -59
- package/project/.sdk/src/cmp/php/ReadmeOptions_php.ts +0 -59
- package/project/.sdk/src/cmp/py/ReadmeOptions_py.ts +0 -59
- package/project/.sdk/src/cmp/rb/ReadmeOptions_rb.ts +0 -59
- package/project/.sdk/src/cmp/rust/ReadmeOptions_rust.ts +0 -60
- package/project/.sdk/src/cmp/scala/ReadmeOptions_scala.ts +0 -61
- package/project/.sdk/src/cmp/swift/ReadmeOptions_swift.ts +0 -62
- package/project/.sdk/src/cmp/ts/ReadmeOptions_ts.ts +0 -59
- package/project/.sdk/src/cmp/zig/ReadmeOptions_zig.ts +0 -60
- package/project/.sdk/tm/c/LICENSE +0 -22
- package/project/.sdk/tm/c/VERSION +0 -1
- package/project/.sdk/tm/clojure/LICENSE +0 -22
- package/project/.sdk/tm/clojure/VERSION +0 -1
- package/project/.sdk/tm/cpp/LICENSE +0 -22
- package/project/.sdk/tm/cpp/VERSION +0 -1
- package/project/.sdk/tm/csharp/LICENSE +0 -22
- package/project/.sdk/tm/csharp/VERSION +0 -1
- package/project/.sdk/tm/elixir/LICENSE +0 -21
- package/project/.sdk/tm/elixir/VERSION +0 -1
- package/project/.sdk/tm/go/LICENSE +0 -22
- package/project/.sdk/tm/go/VERSION +0 -1
- package/project/.sdk/tm/java/LICENSE +0 -22
- package/project/.sdk/tm/java/VERSION +0 -1
- package/project/.sdk/tm/js/LICENSE +0 -22
- package/project/.sdk/tm/kotlin/LICENSE +0 -22
- package/project/.sdk/tm/kotlin/VERSION +0 -1
- package/project/.sdk/tm/lua/LICENSE +0 -22
- package/project/.sdk/tm/ocaml/LICENSE +0 -21
- package/project/.sdk/tm/ocaml/VERSION +0 -1
- package/project/.sdk/tm/perl/LICENSE +0 -22
- package/project/.sdk/tm/php/LICENSE +0 -22
- package/project/.sdk/tm/php/VERSION +0 -1
- package/project/.sdk/tm/py/LICENSE +0 -22
- package/project/.sdk/tm/py-data/LICENSE +0 -22
- package/project/.sdk/tm/rb/LICENSE +0 -22
- package/project/.sdk/tm/rust/LICENSE +0 -22
- package/project/.sdk/tm/rust/VERSION +0 -1
- package/project/.sdk/tm/scala/LICENSE +0 -22
- package/project/.sdk/tm/scala/VERSION +0 -1
- package/project/.sdk/tm/swift/LICENSE +0 -22
- package/project/.sdk/tm/swift/VERSION +0 -1
- package/project/.sdk/tm/ts/LICENSE +0 -22
- package/project/.sdk/tm/zig/LICENSE +0 -21
- package/project/.sdk/tm/zig/VERSION +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# VENDORED: @voxgig/struct 0.1.1 (python/voxgig_struct/voxgig_struct.py)
|
|
2
|
-
# Source: https://github.com/voxgig/struct @
|
|
2
|
+
# Source: https://github.com/voxgig/struct @ 358af9d51c90b589a295a70b2165dbe4629eaf8e [tag: sdk-20261125-1959-0]
|
|
3
3
|
# License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
4
|
# Copyright (c) 2025 Voxgig Ltd. MIT LICENSE.
|
|
5
5
|
#
|
|
@@ -48,6 +48,9 @@ from typing import Any
|
|
|
48
48
|
# Regex patterns for path processing
|
|
49
49
|
R_META_PATH = re.compile(r'^([^$]+)\$([=~])(.+)$') # Meta path syntax.
|
|
50
50
|
R_DOUBLE_DOLLAR = re.compile(r'\$\$') # Double dollar escape sequence.
|
|
51
|
+
R_INJECTION_FULL = re.compile(r'^`(\$[A-Z]+|[^`]*)[0-9]*`$') # Full string injection pattern.
|
|
52
|
+
R_CHECKER_NAME = re.compile(r'^\$[A-Z]+$') # Validate checker name.
|
|
53
|
+
R_LIST_KEY = re.compile(r'0|-?[1-9][0-9]*') # Integer key as String(n) prints it, for fullmatch.
|
|
51
54
|
|
|
52
55
|
# Mode value for inject step.
|
|
53
56
|
S_MKEYPRE = 'key:pre'
|
|
@@ -163,8 +166,8 @@ DELETE = {'`$DELETE`': True}
|
|
|
163
166
|
# Python collapses the canonical "undefined" (TS `undefined`) and JSON `null`
|
|
164
167
|
# both onto None, which loses a distinction the corpus depends on (e.g.
|
|
165
168
|
# stringify(null) is "null" but stringify(undefined) is ""). _ABSENT is a
|
|
166
|
-
# private sentinel
|
|
167
|
-
#
|
|
169
|
+
# private sentinel: a default argument value that tells "no argument supplied"
|
|
170
|
+
# (undefined) from an explicit None, and the $TOP of a trial on a missing value.
|
|
168
171
|
class _Absent:
|
|
169
172
|
__slots__ = ()
|
|
170
173
|
|
|
@@ -214,6 +217,7 @@ class Injection:
|
|
|
214
217
|
self.modify = modify
|
|
215
218
|
self.extra = extra
|
|
216
219
|
self.prior: Injection | None = None
|
|
220
|
+
self.named = False # Current map node names keys of its own (not $ commands).
|
|
217
221
|
self.dparent = UNDEF
|
|
218
222
|
self.dpath = [S_DTOP]
|
|
219
223
|
self.root = (
|
|
@@ -274,7 +278,8 @@ class Injection:
|
|
|
274
278
|
def setval(self, val: Any, ancestor: int | None = None) -> Any:
|
|
275
279
|
"""Inject-state setter. Mirrors the canonical TS Injection.setval:
|
|
276
280
|
val of UNDEF (= None in Python — distinguishability is impossible
|
|
277
|
-
in any of the dynamic-typed ports anyway) deletes the slot
|
|
281
|
+
in any of the dynamic-typed ports anyway) deletes the slot (in a
|
|
282
|
+
list, a SKIP hole that inject compacts after its loop), any
|
|
278
283
|
other value sets it. setprop itself remains a pure assignment per
|
|
279
284
|
the Group B rule — this delete-on-undef shortcut lives only here
|
|
280
285
|
so transform/validate injectors can signal "no value at this slot"
|
|
@@ -287,6 +292,8 @@ class Injection:
|
|
|
287
292
|
target = getelem(self.nodes, 0 - ancestor)
|
|
288
293
|
key = getelem(self.path, 0 - ancestor)
|
|
289
294
|
if val is None:
|
|
295
|
+
if (ancestor is None or ancestor < 2) and islist(target):
|
|
296
|
+
return setprop(target, key, SKIP)
|
|
290
297
|
return delprop(target, key)
|
|
291
298
|
return setprop(target, key, val)
|
|
292
299
|
|
|
@@ -494,6 +501,34 @@ def typify(value: Any = _TYPIFY_NO_ARG) -> int:
|
|
|
494
501
|
return T_node | T_instance
|
|
495
502
|
|
|
496
503
|
|
|
504
|
+
# A list key's index, or None. As JavaScript reads list[key], that is an integral
|
|
505
|
+
# number or the string String(n) prints for one: "1" and "-1", not "01", "+1" or "-0".
|
|
506
|
+
def _listkey(key):
|
|
507
|
+
if isinstance(key, float) and key.is_integer():
|
|
508
|
+
return int(key)
|
|
509
|
+
if isinstance(key, str) and R_LIST_KEY.fullmatch(key):
|
|
510
|
+
return int(key)
|
|
511
|
+
if isinstance(key, int) and not isinstance(key, bool):
|
|
512
|
+
return key
|
|
513
|
+
return None
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
# The index key reads in a list of size items, or -1. With fromend, as getelem
|
|
517
|
+
# reads it, a negative key counts back from the end.
|
|
518
|
+
def _listindex(key, size, fromend=False):
|
|
519
|
+
index = _listkey(key)
|
|
520
|
+
if index is None:
|
|
521
|
+
return -1
|
|
522
|
+
if index < 0 and fromend:
|
|
523
|
+
index += size
|
|
524
|
+
return index if 0 <= index < size else -1
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
# As in JavaScript, only a string or a number names a map entry: True and [1] do not.
|
|
528
|
+
def _ismapkey(key):
|
|
529
|
+
return isinstance(key, str) or _isnumber(key)
|
|
530
|
+
|
|
531
|
+
|
|
497
532
|
def getelem(val: Any, key: Any, alt: Any = UNDEF) -> Any:
|
|
498
533
|
"""
|
|
499
534
|
Get a list element. Group A semantics: a stored None at the slot
|
|
@@ -505,14 +540,9 @@ def getelem(val: Any, key: Any, alt: Any = UNDEF) -> Any:
|
|
|
505
540
|
return alt
|
|
506
541
|
|
|
507
542
|
if islist(val):
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
if nkey < 0:
|
|
512
|
-
nkey = len(val) + nkey
|
|
513
|
-
out = val[nkey] if 0 <= nkey < len(val) else UNDEF
|
|
514
|
-
except (ValueError, IndexError):
|
|
515
|
-
pass
|
|
543
|
+
nkey = _listindex(key, len(val), True)
|
|
544
|
+
if nkey >= 0:
|
|
545
|
+
out = val[nkey]
|
|
516
546
|
|
|
517
547
|
if out is UNDEF or out is None:
|
|
518
548
|
return alt() if (T_function & typify(alt)) > 0 else alt
|
|
@@ -534,16 +564,12 @@ def getprop(val: Any = UNDEF, key: Any = UNDEF, alt: Any = UNDEF) -> Any:
|
|
|
534
564
|
|
|
535
565
|
if ismap(val):
|
|
536
566
|
skey = str(key)
|
|
537
|
-
if skey in val:
|
|
567
|
+
if _ismapkey(key) and skey in val:
|
|
538
568
|
out = val[skey]
|
|
539
569
|
|
|
540
570
|
elif islist(val):
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
except (ValueError, TypeError):
|
|
544
|
-
return alt
|
|
545
|
-
|
|
546
|
-
if 0 <= ki < len(val):
|
|
571
|
+
ki = _listindex(key, len(val))
|
|
572
|
+
if ki >= 0:
|
|
547
573
|
out = val[ki]
|
|
548
574
|
|
|
549
575
|
if out is None:
|
|
@@ -560,16 +586,10 @@ def _lookup(val: Any, key: Any) -> Any:
|
|
|
560
586
|
if val is UNDEF or key is UNDEF:
|
|
561
587
|
return UNDEF
|
|
562
588
|
if ismap(val):
|
|
563
|
-
|
|
564
|
-
return val.get(skey, UNDEF)
|
|
589
|
+
return val.get(str(key), UNDEF) if _ismapkey(key) else UNDEF
|
|
565
590
|
if islist(val):
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
except (ValueError, TypeError):
|
|
569
|
-
return UNDEF
|
|
570
|
-
if 0 <= ki < len(val):
|
|
571
|
-
return val[ki]
|
|
572
|
-
return UNDEF
|
|
591
|
+
ki = _listindex(key, len(val))
|
|
592
|
+
return val[ki] if ki >= 0 else UNDEF
|
|
573
593
|
return UNDEF
|
|
574
594
|
|
|
575
595
|
|
|
@@ -776,20 +796,19 @@ def delprop(parent: Any, key: Any):
|
|
|
776
796
|
if not iskey(key):
|
|
777
797
|
return parent
|
|
778
798
|
|
|
799
|
+
if iscondensed(parent):
|
|
800
|
+
raise ValueError(S_CONDENSED_IMMUTABLE)
|
|
801
|
+
|
|
779
802
|
if ismap(parent):
|
|
780
803
|
key = strkey(key)
|
|
781
804
|
if key in parent:
|
|
782
805
|
del parent[key]
|
|
783
806
|
|
|
784
807
|
elif islist(parent):
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
key_i = int(key)
|
|
788
|
-
except ValueError:
|
|
808
|
+
key_i = _listkey(key)
|
|
809
|
+
if key_i is None:
|
|
789
810
|
return parent
|
|
790
811
|
|
|
791
|
-
key_i = int(key_i) # Floor the value
|
|
792
|
-
|
|
793
812
|
# Delete list element at position key_i, shifting later elements down
|
|
794
813
|
if 0 <= key_i < len(parent):
|
|
795
814
|
for pI in range(key_i, len(parent) - 1):
|
|
@@ -971,6 +990,10 @@ def select_NOT(state, _val, _ref, store):
|
|
|
971
990
|
|
|
972
991
|
|
|
973
992
|
def select_CMP(state, _val, ref, store):
|
|
993
|
+
# The list form of $LIKE is validate's checker; the key form is this operator.
|
|
994
|
+
if state.mode == S_MVAL and ref == '$LIKE':
|
|
995
|
+
return validate_LIKE(state, _val, ref, store)
|
|
996
|
+
|
|
974
997
|
if state.mode == S_MKEYPRE:
|
|
975
998
|
term = getprop(state.parent, state.key)
|
|
976
999
|
gkey = getelem(state.path, -2)
|
|
@@ -1042,13 +1065,7 @@ def select(children: Any, query: Any) -> list[Any]:
|
|
|
1042
1065
|
|
|
1043
1066
|
q = clone(query)
|
|
1044
1067
|
|
|
1045
|
-
|
|
1046
|
-
def add_open(_k, v, _parent, _path):
|
|
1047
|
-
if ismap(v):
|
|
1048
|
-
setprop(v, '`$OPEN`', getprop(v, '`$OPEN`', True))
|
|
1049
|
-
return v
|
|
1050
|
-
|
|
1051
|
-
walk(q, add_open)
|
|
1068
|
+
_openquery(q)
|
|
1052
1069
|
|
|
1053
1070
|
for child in children:
|
|
1054
1071
|
injdef['errs'] = []
|
|
@@ -1060,6 +1077,23 @@ def select(children: Any, query: Any) -> list[Any]:
|
|
|
1060
1077
|
return results
|
|
1061
1078
|
|
|
1062
1079
|
|
|
1080
|
+
# Open every map in a select query, so a child may hold keys the query does
|
|
1081
|
+
# not name, but leave a directive's literals as written: what $EXACT
|
|
1082
|
+
# compares, and the count or bound of $NOF, $LEN and $RANGE.
|
|
1083
|
+
def _openquery(q: Any) -> None:
|
|
1084
|
+
if ismap(q):
|
|
1085
|
+
setprop(q, '`$OPEN`', getprop(q, '`$OPEN`', True))
|
|
1086
|
+
for key in keysof(q):
|
|
1087
|
+
_openquery(q[key])
|
|
1088
|
+
elif islist(q):
|
|
1089
|
+
head = q[0] if q else UNDEF
|
|
1090
|
+
exact = head == '`$EXACT`'
|
|
1091
|
+
bounded = head in ('`$NOF`', '`$LEN`', '`$RANGE`')
|
|
1092
|
+
for i, item in enumerate(q):
|
|
1093
|
+
if i == 0 or not (exact or (bounded and i == 1)):
|
|
1094
|
+
_openquery(item)
|
|
1095
|
+
|
|
1096
|
+
|
|
1063
1097
|
def stringify(val: Any = _ABSENT, maxlen: int = UNDEF, pretty: Any = None):
|
|
1064
1098
|
"Safely stringify a value for printing (NOT JSON!)."
|
|
1065
1099
|
|
|
@@ -1225,27 +1259,26 @@ def setprop(parent: Any, key: Any, val: Any):
|
|
|
1225
1259
|
if not iskey(key):
|
|
1226
1260
|
return parent
|
|
1227
1261
|
|
|
1262
|
+
if iscondensed(parent):
|
|
1263
|
+
raise ValueError(S_CONDENSED_IMMUTABLE)
|
|
1264
|
+
|
|
1228
1265
|
if ismap(parent):
|
|
1229
1266
|
key = str(key)
|
|
1230
1267
|
parent[key] = val
|
|
1231
1268
|
|
|
1232
1269
|
elif islist(parent):
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
except ValueError:
|
|
1270
|
+
key_i = _listkey(key)
|
|
1271
|
+
if key_i is None:
|
|
1236
1272
|
return parent
|
|
1237
1273
|
|
|
1238
|
-
if
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
key_i = min(key_i, len(parent))
|
|
1243
|
-
if key_i >= len(parent):
|
|
1244
|
-
parent.append(val)
|
|
1245
|
-
else:
|
|
1246
|
-
parent[key_i] = val
|
|
1274
|
+
if key_i >= 0:
|
|
1275
|
+
key_i = min(key_i, len(parent))
|
|
1276
|
+
if key_i >= len(parent):
|
|
1277
|
+
parent.append(val)
|
|
1247
1278
|
else:
|
|
1248
|
-
parent
|
|
1279
|
+
parent[key_i] = val
|
|
1280
|
+
else:
|
|
1281
|
+
parent.insert(0, val)
|
|
1249
1282
|
|
|
1250
1283
|
return parent
|
|
1251
1284
|
|
|
@@ -1428,14 +1461,30 @@ def getpath(store, path, injdef=UNDEF):
|
|
|
1428
1461
|
"""
|
|
1429
1462
|
# Operate on a string array.
|
|
1430
1463
|
if islist(path):
|
|
1431
|
-
parts =
|
|
1464
|
+
parts = []
|
|
1465
|
+
for part in path:
|
|
1466
|
+
if _isnumber(part):
|
|
1467
|
+
parts.append(_condensestr(part))
|
|
1468
|
+
elif isinstance(part, str):
|
|
1469
|
+
parts.append(part)
|
|
1470
|
+
else:
|
|
1471
|
+
return UNDEF
|
|
1432
1472
|
elif isinstance(path, str):
|
|
1433
1473
|
parts = path.split(S_DT)
|
|
1434
|
-
elif
|
|
1435
|
-
parts = [
|
|
1474
|
+
elif _isnumber(path):
|
|
1475
|
+
parts = [_condensestr(path)]
|
|
1436
1476
|
else:
|
|
1437
1477
|
return UNDEF
|
|
1438
1478
|
|
|
1479
|
+
# A condensed store answers a path as the node it was built from does,
|
|
1480
|
+
# touching only the nodes on the path. A base needs the whole node.
|
|
1481
|
+
if iscondensed(store):
|
|
1482
|
+
base = injdef.base if isinstance(injdef, Injection) else getprop(injdef, S_base)
|
|
1483
|
+
if base is None:
|
|
1484
|
+
# A stored null reads as absent, as through getprop.
|
|
1485
|
+
return condenseMaterialise(store, condenseResolve(store, store[S_condroot], parts))
|
|
1486
|
+
store = expand(store)
|
|
1487
|
+
|
|
1439
1488
|
val = store
|
|
1440
1489
|
# Support both dict-style injdef and Injection instance
|
|
1441
1490
|
if isinstance(injdef, Injection):
|
|
@@ -1533,6 +1582,10 @@ def getpath(store, path, injdef=UNDEF):
|
|
|
1533
1582
|
|
|
1534
1583
|
|
|
1535
1584
|
def setpath(store, path, val, injdef=UNDEF):
|
|
1585
|
+
# Same contract as setprop/delprop: a condensed store is immutable.
|
|
1586
|
+
if iscondensed(store):
|
|
1587
|
+
raise ValueError(S_CONDENSED_IMMUTABLE)
|
|
1588
|
+
|
|
1536
1589
|
pathType = typify(path)
|
|
1537
1590
|
|
|
1538
1591
|
if (T_list & pathType) > 0:
|
|
@@ -1609,6 +1662,8 @@ def inject(val, store, injdef=UNDEF):
|
|
|
1609
1662
|
|
|
1610
1663
|
inj.descend()
|
|
1611
1664
|
|
|
1665
|
+
inj.named = False
|
|
1666
|
+
|
|
1612
1667
|
# Descend into node.
|
|
1613
1668
|
if isnode(val):
|
|
1614
1669
|
# Keys are sorted alphanumerically to ensure determinism.
|
|
@@ -1619,6 +1674,7 @@ def inject(val, store, injdef=UNDEF):
|
|
|
1619
1674
|
transform_keys = [k for k in val if S_DS in k]
|
|
1620
1675
|
transform_keys.sort()
|
|
1621
1676
|
nodekeys = normal_keys + transform_keys
|
|
1677
|
+
inj.named = len(normal_keys) > 0
|
|
1622
1678
|
else:
|
|
1623
1679
|
nodekeys = list(range(len(val)))
|
|
1624
1680
|
|
|
@@ -1661,6 +1717,9 @@ def inject(val, store, injdef=UNDEF):
|
|
|
1661
1717
|
|
|
1662
1718
|
nkI += 1
|
|
1663
1719
|
|
|
1720
|
+
if islist(val):
|
|
1721
|
+
val[:] = [v for v in val if v is not SKIP]
|
|
1722
|
+
|
|
1664
1723
|
# Inject paths into string scalars.
|
|
1665
1724
|
elif isinstance(val, str):
|
|
1666
1725
|
inj.mode = S_MVAL
|
|
@@ -1674,17 +1733,17 @@ def inject(val, store, injdef=UNDEF):
|
|
|
1674
1733
|
mparent = inj.parent
|
|
1675
1734
|
mval = getprop(mparent, mkey)
|
|
1676
1735
|
|
|
1677
|
-
inj.modify(mval, mkey, mparent, inj)
|
|
1736
|
+
inj.modify(UNDEF if mval is SKIP else mval, mkey, mparent, inj)
|
|
1678
1737
|
|
|
1679
1738
|
inj.val = val
|
|
1680
1739
|
|
|
1681
1740
|
# Return the (possibly transform-replaced) root only at top level (prior is None).
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
return getprop(
|
|
1741
|
+
# A transform that removed the root, such as a $REF that names nothing, leaves no
|
|
1742
|
+
# value: UNDEF, or the injdef's _noval for a caller that must tell it from a null.
|
|
1743
|
+
if getattr(inj, 'prior', None) is None and getattr(inj, 'root', None) is not None:
|
|
1744
|
+
if _present(inj.root, S_DTOP):
|
|
1745
|
+
return _lookup(inj.root, S_DTOP)
|
|
1746
|
+
return getprop(injdef, '_noval')
|
|
1688
1747
|
if inj.key == S_DTOP and inj.parent is not UNDEF and haskey(inj.parent, S_DTOP):
|
|
1689
1748
|
return getprop(inj.parent, S_DTOP)
|
|
1690
1749
|
return val
|
|
@@ -1723,7 +1782,7 @@ def transform_DELETE(inj, val, ref, store):
|
|
|
1723
1782
|
"""
|
|
1724
1783
|
Injection handler to delete a key from a map/list.
|
|
1725
1784
|
"""
|
|
1726
|
-
|
|
1785
|
+
inj.setval(UNDEF)
|
|
1727
1786
|
return UNDEF
|
|
1728
1787
|
|
|
1729
1788
|
|
|
@@ -1752,16 +1811,6 @@ def transform_COPY(inj, val, ref, store):
|
|
|
1752
1811
|
out = UNDEF
|
|
1753
1812
|
else:
|
|
1754
1813
|
out = getprop(inj.dparent, key)
|
|
1755
|
-
# If getprop returned UNDEF and key looks like a list index,
|
|
1756
|
-
# we might be at the item level already - return dparent itself
|
|
1757
|
-
if out is UNDEF and key is not None:
|
|
1758
|
-
try:
|
|
1759
|
-
int(key) # key is a list index
|
|
1760
|
-
# We're at the item level, key is the list index
|
|
1761
|
-
# This shouldn't happen normally, but handle it
|
|
1762
|
-
out = inj.dparent
|
|
1763
|
-
except (ValueError, TypeError):
|
|
1764
|
-
pass
|
|
1765
1814
|
inj.setval(out)
|
|
1766
1815
|
|
|
1767
1816
|
return out
|
|
@@ -2046,17 +2095,15 @@ def transform_PACK(inj, val, ref, store):
|
|
|
2046
2095
|
return UNDEF
|
|
2047
2096
|
|
|
2048
2097
|
|
|
2049
|
-
def transform_REF(inj,
|
|
2098
|
+
def transform_REF(inj, _val, _ref, store):
|
|
2050
2099
|
"""
|
|
2051
2100
|
Reference original spec (enables recursive transformations)
|
|
2052
2101
|
Format: ['`$REF`', '`spec-path`']
|
|
2053
2102
|
"""
|
|
2054
|
-
nodes = inj.nodes
|
|
2055
|
-
|
|
2056
2103
|
if inj.mode != S_MVAL:
|
|
2057
2104
|
return UNDEF
|
|
2058
2105
|
|
|
2059
|
-
#
|
|
2106
|
+
# ['`$REF`', 'ref-path']: a relative path starts where this slot is, so .x is a sibling.
|
|
2060
2107
|
refpath = getprop(inj.parent, 1)
|
|
2061
2108
|
inj.keyI = len(inj.keys)
|
|
2062
2109
|
|
|
@@ -2065,7 +2112,19 @@ def transform_REF(inj, val, _ref, store):
|
|
|
2065
2112
|
if not callable(spec_func):
|
|
2066
2113
|
return UNDEF
|
|
2067
2114
|
spec = spec_func()
|
|
2068
|
-
|
|
2115
|
+
dpath = slice(inj.path, 1, -2)
|
|
2116
|
+
refinj = {'dpath': dpath, 'dparent': getpath(spec, dpath)}
|
|
2117
|
+
ref = getpath(spec, refpath, refinj)
|
|
2118
|
+
|
|
2119
|
+
# A chain of references that comes back to a path it has named names nothing.
|
|
2120
|
+
seen = [refpath]
|
|
2121
|
+
nxt = ref
|
|
2122
|
+
while islist(nxt) and _lookup(nxt, 0) == '`$REF`':
|
|
2123
|
+
if _lookup(nxt, 1) in seen:
|
|
2124
|
+
ref = UNDEF
|
|
2125
|
+
break
|
|
2126
|
+
seen.append(_lookup(nxt, 1))
|
|
2127
|
+
nxt = getpath(spec, _lookup(nxt, 1), refinj)
|
|
2069
2128
|
|
|
2070
2129
|
# Check if ref has another $REF inside
|
|
2071
2130
|
hasSubRef = False
|
|
@@ -2079,38 +2138,21 @@ def transform_REF(inj, val, _ref, store):
|
|
|
2079
2138
|
|
|
2080
2139
|
walk(ref, check_subref)
|
|
2081
2140
|
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
tpath = slice(inj.path, 0, len(inj.path) - 1)
|
|
2086
|
-
tcur = getpath(store, cpath)
|
|
2087
|
-
tval = getpath(store, tpath)
|
|
2088
|
-
rval = UNDEF
|
|
2089
|
-
|
|
2090
|
-
# When ref target not found, omit the key (setval UNDEF). Do not inject UNDEF.
|
|
2091
|
-
if ref is not UNDEF and (not hasSubRef or tval is not UNDEF):
|
|
2092
|
-
# Create child state for the next level
|
|
2093
|
-
child_state = inj.child(0, [getelem(tpath, -1)])
|
|
2094
|
-
child_state.path = tpath
|
|
2095
|
-
child_state.nodes = slice(inj.nodes, 0, len(inj.nodes) - 1)
|
|
2096
|
-
child_state.parent = getelem(nodes, -2)
|
|
2097
|
-
child_state.val = tref
|
|
2098
|
-
|
|
2099
|
-
# Inject with child state
|
|
2100
|
-
child_state.dparent = tcur
|
|
2101
|
-
inject(tref, store, child_state)
|
|
2102
|
-
rval = child_state.val
|
|
2103
|
-
else:
|
|
2104
|
-
rval = UNDEF
|
|
2141
|
+
# A recursive reference stops where the data does.
|
|
2142
|
+
tval = getpath(store, slice(inj.path, 0, len(inj.path) - 1))
|
|
2143
|
+
rval = clone(ref) if not hasSubRef or tval is not UNDEF else UNDEF
|
|
2105
2144
|
|
|
2106
|
-
#
|
|
2107
|
-
|
|
2145
|
+
# The enclosing loop injects the referenced spec in this list's place, so
|
|
2146
|
+
# neither this pass nor this element leaves a value for modify to check.
|
|
2147
|
+
grandparent = inj.setval(rval, 2)
|
|
2108
2148
|
|
|
2109
|
-
|
|
2110
|
-
if
|
|
2111
|
-
|
|
2149
|
+
prior = inj.prior
|
|
2150
|
+
if prior is not None:
|
|
2151
|
+
prior.modify = None
|
|
2152
|
+
if islist(grandparent) or rval is not UNDEF:
|
|
2153
|
+
prior.keyI -= 1
|
|
2112
2154
|
|
|
2113
|
-
return
|
|
2155
|
+
return SKIP
|
|
2114
2156
|
|
|
2115
2157
|
|
|
2116
2158
|
def _fmt_number(_k, v, *_args):
|
|
@@ -2351,6 +2393,10 @@ def transform(data, spec, injdef=UNDEF):
|
|
|
2351
2393
|
S_DERRS: errs,
|
|
2352
2394
|
}
|
|
2353
2395
|
|
|
2396
|
+
# Absent data has no $TOP, so that presence tells it from a null.
|
|
2397
|
+
if store[S_DTOP] is _ABSENT:
|
|
2398
|
+
del store[S_DTOP]
|
|
2399
|
+
|
|
2354
2400
|
if injdef is UNDEF or injdef is None:
|
|
2355
2401
|
injdef = {}
|
|
2356
2402
|
if not isinstance(injdef, dict):
|
|
@@ -2372,11 +2418,11 @@ def validate_STRING(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2372
2418
|
|
|
2373
2419
|
if (T_string & t) == 0:
|
|
2374
2420
|
inj.errs.append(_invalidTypeMsg(inj.path, S_string, t, out, 'V1010'))
|
|
2375
|
-
return
|
|
2421
|
+
return _keepnull(inj, out)
|
|
2376
2422
|
|
|
2377
2423
|
if out == S_MT:
|
|
2378
2424
|
inj.errs.append('Empty string at ' + pathify(inj.path, 1))
|
|
2379
|
-
return
|
|
2425
|
+
return out
|
|
2380
2426
|
|
|
2381
2427
|
return out
|
|
2382
2428
|
|
|
@@ -2403,17 +2449,27 @@ def validate_TYPE(inj, _val=UNDEF, ref=UNDEF, _store=UNDEF):
|
|
|
2403
2449
|
if tname == S_nil:
|
|
2404
2450
|
typev = typev | T_null
|
|
2405
2451
|
out = getprop(inj.dparent, inj.key)
|
|
2406
|
-
|
|
2452
|
+
# A missing field, or a trial's missing $TOP, is no value, not null.
|
|
2453
|
+
t = typify(out) if _present(inj.dparent, inj.key) else T_noval
|
|
2407
2454
|
|
|
2408
2455
|
if (t & typev) == 0:
|
|
2409
2456
|
inj.errs.append(_invalidTypeMsg(inj.path, tname, t, out, 'V1001'))
|
|
2410
|
-
return
|
|
2457
|
+
return _keepnull(inj, out)
|
|
2411
2458
|
|
|
2412
|
-
return out
|
|
2459
|
+
return _keepnull(inj, out)
|
|
2413
2460
|
|
|
2414
2461
|
|
|
2415
2462
|
def validate_ANY(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
2416
|
-
return getprop(inj.dparent, inj.key)
|
|
2463
|
+
return _keepnull(inj, getprop(inj.dparent, inj.key))
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
# A checker's accepted value, where a null the data holds stays in the output:
|
|
2467
|
+
# returned as None, inject's setval would delete the slot instead.
|
|
2468
|
+
def _keepnull(inj, out):
|
|
2469
|
+
if out is None and inj.mode == S_MVAL and _present(inj.dparent, inj.key):
|
|
2470
|
+
setprop(inj.parent, inj.key, out)
|
|
2471
|
+
return SKIP
|
|
2472
|
+
return out
|
|
2417
2473
|
|
|
2418
2474
|
|
|
2419
2475
|
def validate_CHILD(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
@@ -2433,7 +2489,7 @@ def validate_CHILD(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2433
2489
|
if tval == UNDEF:
|
|
2434
2490
|
tval = {}
|
|
2435
2491
|
elif not ismap(tval):
|
|
2436
|
-
|
|
2492
|
+
# _validation reports the mismatch, once.
|
|
2437
2493
|
return UNDEF
|
|
2438
2494
|
|
|
2439
2495
|
ckeys = keysof(tval)
|
|
@@ -2457,8 +2513,6 @@ def validate_CHILD(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2457
2513
|
return UNDEF
|
|
2458
2514
|
|
|
2459
2515
|
if not islist(inj.dparent):
|
|
2460
|
-
msg = _invalidTypeMsg(path[:-1], S_list, typify(inj.dparent), inj.dparent, 'V0230')
|
|
2461
|
-
inj.errs.append(msg)
|
|
2462
2516
|
inj.keyI = size(parent)
|
|
2463
2517
|
return inj.dparent
|
|
2464
2518
|
|
|
@@ -2483,68 +2537,57 @@ def validate_CHILD(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2483
2537
|
return UNDEF
|
|
2484
2538
|
|
|
2485
2539
|
|
|
2486
|
-
|
|
2540
|
+
# The members a spec does not name: the map form is a key, the list form a
|
|
2541
|
+
# tuple's last item. Each places clones of its spec for the loop to check.
|
|
2542
|
+
def validate_REST(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
2487
2543
|
mode = inj.mode
|
|
2544
|
+
key = inj.key
|
|
2488
2545
|
parent = inj.parent
|
|
2489
|
-
|
|
2546
|
+
keys = inj.keys
|
|
2547
|
+
path = inj.path
|
|
2490
2548
|
|
|
2491
|
-
if mode ==
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
'The $ONE validator at field '
|
|
2495
|
-
+ pathify(inj.path, 1, 1)
|
|
2496
|
-
+ ' must be the first element of an array.'
|
|
2497
|
-
)
|
|
2498
|
-
return None
|
|
2549
|
+
if mode == S_MKEYPRE:
|
|
2550
|
+
resttm = _lookup(parent, key)
|
|
2551
|
+
tval = getprop(inj.dparent, getelem(path, -2))
|
|
2499
2552
|
|
|
2500
|
-
|
|
2553
|
+
if ismap(tval):
|
|
2554
|
+
for ckey in keysof(tval):
|
|
2555
|
+
if ckey not in keys:
|
|
2556
|
+
setprop(parent, ckey, clone(resttm))
|
|
2557
|
+
keys.append(ckey)
|
|
2501
2558
|
|
|
2502
|
-
inj.setval(
|
|
2559
|
+
inj.setval(UNDEF)
|
|
2560
|
+
return UNDEF
|
|
2503
2561
|
|
|
2504
|
-
|
|
2562
|
+
prior = inj.prior
|
|
2563
|
+
if mode != S_MVAL or prior is None or not islist(prior.parent) or inj.keyI != 0:
|
|
2564
|
+
inj.errs.append(_restmsg(slice(path, 1), ' must be the last element of an array.'))
|
|
2565
|
+
return UNDEF
|
|
2505
2566
|
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
inj.errs.append(
|
|
2509
|
-
'The $ONE validator at field '
|
|
2510
|
-
+ pathify(inj.path, 1, 1)
|
|
2511
|
-
+ ' must have at least one argument.'
|
|
2512
|
-
)
|
|
2513
|
-
return None
|
|
2567
|
+
inj.keyI = size(keys)
|
|
2568
|
+
prior.modify = None
|
|
2514
2569
|
|
|
2515
|
-
|
|
2516
|
-
|
|
2570
|
+
tuple_ = prior.parent
|
|
2571
|
+
slot = _listkey(prior.key)
|
|
2572
|
+
dlist = prior.dparent
|
|
2573
|
+
numitems = size(dlist) if islist(dlist) else 0
|
|
2517
2574
|
|
|
2518
|
-
|
|
2519
|
-
|
|
2575
|
+
if numitems <= slot:
|
|
2576
|
+
inj.setval(UNDEF, 2)
|
|
2577
|
+
return SKIP
|
|
2520
2578
|
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
'errs': terrs,
|
|
2527
|
-
'meta': inj.meta,
|
|
2528
|
-
},
|
|
2529
|
-
)
|
|
2579
|
+
resttm = _lookup(parent, 1)
|
|
2580
|
+
for i in range(slot, numitems):
|
|
2581
|
+
setprop(tuple_, i, clone(resttm))
|
|
2582
|
+
for i in range(size(prior.keys), numitems):
|
|
2583
|
+
prior.keys.append(strkey(i))
|
|
2530
2584
|
|
|
2531
|
-
|
|
2585
|
+
prior.keyI -= 1
|
|
2586
|
+
return SKIP
|
|
2532
2587
|
|
|
2533
|
-
if size(terrs) == 0:
|
|
2534
|
-
return None
|
|
2535
2588
|
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
inj.errs.append(
|
|
2540
|
-
_invalidTypeMsg(
|
|
2541
|
-
inj.path,
|
|
2542
|
-
('one of ' if size(tvals) > 1 else '') + valdesc,
|
|
2543
|
-
typify(inj.dparent),
|
|
2544
|
-
inj.dparent,
|
|
2545
|
-
'V0210',
|
|
2546
|
-
)
|
|
2547
|
-
)
|
|
2589
|
+
def _restmsg(path, problem):
|
|
2590
|
+
return 'The $REST validator at field ' + pathify(path) + problem
|
|
2548
2591
|
|
|
2549
2592
|
|
|
2550
2593
|
def validate_EXACT(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
@@ -2562,12 +2605,14 @@ def validate_EXACT(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2562
2605
|
)
|
|
2563
2606
|
return None
|
|
2564
2607
|
|
|
2608
|
+
cval, present = _slotval(inj)
|
|
2609
|
+
|
|
2565
2610
|
inj.keyI = size(inj.keys)
|
|
2566
2611
|
|
|
2567
|
-
|
|
2612
|
+
# Replace [$EXACT, ...] with the data value; SKIP keeps inject off the detached list.
|
|
2613
|
+
_setslot(inj, cval, present)
|
|
2568
2614
|
|
|
2569
2615
|
inj.path = inj.path[:-1]
|
|
2570
|
-
inj.key = getelem(inj.path, -1)
|
|
2571
2616
|
|
|
2572
2617
|
tvals = parent[1:]
|
|
2573
2618
|
if size(tvals) == 0:
|
|
@@ -2576,19 +2621,12 @@ def validate_EXACT(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2576
2621
|
+ pathify(inj.path, 1, 1)
|
|
2577
2622
|
+ ' must have at least one argument.'
|
|
2578
2623
|
)
|
|
2579
|
-
return
|
|
2624
|
+
return SKIP
|
|
2580
2625
|
|
|
2581
|
-
|
|
2626
|
+
# An absent value equals no literal, not even null.
|
|
2582
2627
|
for tval in tvals:
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
if not exactmatch and isnode(tval):
|
|
2586
|
-
currentstr = stringify(inj.dparent) if currentstr is None else currentstr
|
|
2587
|
-
tvalstr = stringify(tval)
|
|
2588
|
-
exactmatch = tvalstr == currentstr
|
|
2589
|
-
|
|
2590
|
-
if exactmatch:
|
|
2591
|
-
return None
|
|
2628
|
+
if present and _deepequal(tval, cval):
|
|
2629
|
+
return SKIP
|
|
2592
2630
|
|
|
2593
2631
|
valdesc = ', '.join(stringify(n[1]) for n in items(tvals))
|
|
2594
2632
|
valdesc = re.sub(r'`\$([A-Z]+)`', lambda m: m.group(1).lower(), valdesc)
|
|
@@ -2600,15 +2638,283 @@ def validate_EXACT(inj, _val=UNDEF, _ref=UNDEF, _store=UNDEF):
|
|
|
2600
2638
|
+ 'exactly equal to '
|
|
2601
2639
|
+ ('' if size(tvals) == 1 else 'one of ')
|
|
2602
2640
|
+ valdesc,
|
|
2603
|
-
typify(
|
|
2604
|
-
|
|
2641
|
+
typify(cval),
|
|
2642
|
+
cval,
|
|
2605
2643
|
'V0110',
|
|
2606
2644
|
)
|
|
2607
2645
|
)
|
|
2646
|
+
|
|
2647
|
+
return SKIP
|
|
2608
2648
|
else:
|
|
2609
2649
|
delprop(parent, key)
|
|
2610
2650
|
|
|
2611
2651
|
|
|
2652
|
+
# Count the specs that admit the value: ['`$NOF`', count, spec, ...], where
|
|
2653
|
+
# count is an integer, or a map holding min, max or both.
|
|
2654
|
+
def validate_NOF(inj, _val=UNDEF, _ref=UNDEF, store=UNDEF):
|
|
2655
|
+
return _validatecount(inj, store, '$NOF', True)
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
# Every spec admits the value: ['`$ALL`', spec, ...].
|
|
2659
|
+
def validate_ALL(inj, _val=UNDEF, _ref=UNDEF, store=UNDEF):
|
|
2660
|
+
return _validatecount(inj, store, '$ALL', False)
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
# The counting list directives. Without a count, every spec has to admit.
|
|
2664
|
+
def _validatecount(inj, store, name, counted):
|
|
2665
|
+
mode = inj.mode
|
|
2666
|
+
parent = inj.parent
|
|
2667
|
+
keyI = inj.keyI
|
|
2668
|
+
|
|
2669
|
+
if mode != S_MVAL:
|
|
2670
|
+
return UNDEF
|
|
2671
|
+
|
|
2672
|
+
if not islist(parent) or keyI != 0:
|
|
2673
|
+
inj.errs.append(
|
|
2674
|
+
'The '
|
|
2675
|
+
+ name
|
|
2676
|
+
+ ' validator at field '
|
|
2677
|
+
+ pathify(inj.path, 1, 1)
|
|
2678
|
+
+ ' must be the first element of an array.'
|
|
2679
|
+
)
|
|
2680
|
+
return UNDEF
|
|
2681
|
+
|
|
2682
|
+
cval, present = _slotval(inj)
|
|
2683
|
+
|
|
2684
|
+
inj.keyI = size(inj.keys)
|
|
2685
|
+
|
|
2686
|
+
# Replace the directive's list with the data value. Each return is SKIP, so
|
|
2687
|
+
# that inject leaves the detached list alone and validates nothing in it.
|
|
2688
|
+
_setslot(inj, cval, present)
|
|
2689
|
+
|
|
2690
|
+
inj.path = inj.path[:-1]
|
|
2691
|
+
|
|
2692
|
+
count = _lookup(parent, 1) if counted else UNDEF
|
|
2693
|
+
tvals = parent[2:] if counted else parent[1:]
|
|
2694
|
+
numtvals = size(tvals)
|
|
2695
|
+
field = 'The ' + name + ' validator at field ' + pathify(inj.path, 1)
|
|
2696
|
+
|
|
2697
|
+
if numtvals == 0:
|
|
2698
|
+
inj.errs.append(
|
|
2699
|
+
field
|
|
2700
|
+
+ (' must have a count and' if counted else ' must have')
|
|
2701
|
+
+ ' at least one argument.'
|
|
2702
|
+
)
|
|
2703
|
+
return SKIP
|
|
2704
|
+
|
|
2705
|
+
lo, hi, countdesc = _nofcount(count, numtvals) if counted else (numtvals, numtvals, 'all')
|
|
2706
|
+
|
|
2707
|
+
if countdesc is UNDEF:
|
|
2708
|
+
inj.errs.append(field + ' has an invalid count: ' + stringify(count) + '.')
|
|
2709
|
+
return SKIP
|
|
2710
|
+
|
|
2711
|
+
admitted = 0
|
|
2712
|
+
for tI in range(numtvals):
|
|
2713
|
+
left = numtvals - tI
|
|
2714
|
+
|
|
2715
|
+
# Stop once the specs left cannot change the verdict.
|
|
2716
|
+
if hi < admitted or admitted + left < lo or (lo <= admitted and admitted + left <= hi):
|
|
2717
|
+
break
|
|
2718
|
+
|
|
2719
|
+
if _admits(cval, present, tvals[tI], inj, store):
|
|
2720
|
+
admitted += 1
|
|
2721
|
+
|
|
2722
|
+
if admitted < lo or hi < admitted:
|
|
2723
|
+
valdesc = ', '.join(stringify(n[1]) for n in items(tvals))
|
|
2724
|
+
valdesc = re.sub(r'`\$([A-Z]+)`', lambda m: m.group(1).lower(), valdesc)
|
|
2725
|
+
|
|
2726
|
+
inj.errs.append(
|
|
2727
|
+
_invalidTypeMsg(inj.path, countdesc + ' of ' + valdesc, typify(cval), cval, 'V0310')
|
|
2728
|
+
)
|
|
2729
|
+
|
|
2730
|
+
return SKIP
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
# The value's length is within a bound: ['`$LEN`', bound, spec?], where the
|
|
2734
|
+
# bound is as for a $NOF count. A string's length is in code points.
|
|
2735
|
+
def validate_LEN(inj, _val=UNDEF, _ref=UNDEF, store=UNDEF):
|
|
2736
|
+
return _validatebound(inj, store, '$LEN')
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
# The value is a number within a bound: ['`$RANGE`', bound, spec?], where the
|
|
2740
|
+
# bound holds min or gt, max or lt, or one of each.
|
|
2741
|
+
def validate_RANGE(inj, _val=UNDEF, _ref=UNDEF, store=UNDEF):
|
|
2742
|
+
return _validatebound(inj, store, '$RANGE')
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
def validate_LIKE(inj, _val=UNDEF, _ref=UNDEF, store=UNDEF):
|
|
2746
|
+
return _validatebound(inj, store, '$LIKE')
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
# The bounding list directives: a bound or pattern, then at most one spec that also admits.
|
|
2750
|
+
def _validatebound(inj, store, name):
|
|
2751
|
+
mode = inj.mode
|
|
2752
|
+
parent = inj.parent
|
|
2753
|
+
keyI = inj.keyI
|
|
2754
|
+
|
|
2755
|
+
if mode != S_MVAL:
|
|
2756
|
+
return UNDEF
|
|
2757
|
+
|
|
2758
|
+
if not islist(parent) or keyI != 0:
|
|
2759
|
+
inj.errs.append(
|
|
2760
|
+
'The '
|
|
2761
|
+
+ name
|
|
2762
|
+
+ ' validator at field '
|
|
2763
|
+
+ pathify(inj.path, 1, 1)
|
|
2764
|
+
+ ' must be the first element of an array.'
|
|
2765
|
+
)
|
|
2766
|
+
return UNDEF
|
|
2767
|
+
|
|
2768
|
+
cval, present = _slotval(inj)
|
|
2769
|
+
|
|
2770
|
+
inj.keyI = size(inj.keys)
|
|
2771
|
+
|
|
2772
|
+
# As for the counting directives: SKIP keeps inject off the detached list.
|
|
2773
|
+
_setslot(inj, cval, present)
|
|
2774
|
+
|
|
2775
|
+
inj.path = inj.path[:-1]
|
|
2776
|
+
|
|
2777
|
+
field = 'The ' + name + ' validator at field ' + pathify(inj.path, 1)
|
|
2778
|
+
nargs = size(parent) - 1
|
|
2779
|
+
islen = name == '$LEN'
|
|
2780
|
+
islike = name == '$LIKE'
|
|
2781
|
+
argname = 'pattern' if islike else 'bound'
|
|
2782
|
+
|
|
2783
|
+
if nargs < 1 or nargs > 2:
|
|
2784
|
+
inj.errs.append(field + ' must have a ' + argname + ' and at most one spec.')
|
|
2785
|
+
return SKIP
|
|
2786
|
+
|
|
2787
|
+
bound = _lookup(parent, 1)
|
|
2788
|
+
like = _likere(bound) if islike else UNDEF
|
|
2789
|
+
|
|
2790
|
+
if islen:
|
|
2791
|
+
lo, hi, desc = _lenbound(bound)
|
|
2792
|
+
elif islike:
|
|
2793
|
+
lo, hi, desc = 0, 0, UNDEF if like is UNDEF else 'like /' + bound + '/'
|
|
2794
|
+
else:
|
|
2795
|
+
lo, hi, desc = 0, 0, _rangedesc(bound)
|
|
2796
|
+
|
|
2797
|
+
if desc is UNDEF:
|
|
2798
|
+
inj.errs.append(field + ' has an invalid ' + argname + ': ' + stringify(bound) + '.')
|
|
2799
|
+
return SKIP
|
|
2800
|
+
|
|
2801
|
+
ctype = typify(cval)
|
|
2802
|
+
|
|
2803
|
+
if nargs == 2 and not _admits(cval, present, _lookup(parent, 2), inj, store):
|
|
2804
|
+
specdesc = re.sub(
|
|
2805
|
+
r'`\$([A-Z]+)`', lambda m: m.group(1).lower(), stringify(_lookup(parent, 2))
|
|
2806
|
+
)
|
|
2807
|
+
inj.errs.append(_invalidTypeMsg(inj.path, specdesc, ctype, cval, 'V0410'))
|
|
2808
|
+
return SKIP
|
|
2809
|
+
|
|
2810
|
+
if ((T_string | T_list | T_map if islen else T_string if islike else T_number) & ctype) == 0:
|
|
2811
|
+
needtype = 'string, list or map' if islen else S_string if islike else S_number
|
|
2812
|
+
inj.errs.append(_invalidTypeMsg(inj.path, needtype, ctype, cval, 'V0420'))
|
|
2813
|
+
return SKIP
|
|
2814
|
+
|
|
2815
|
+
length = size(cval) if islen else 0
|
|
2816
|
+
|
|
2817
|
+
if islen:
|
|
2818
|
+
inbound = lo <= length and (hi == -1 or length <= hi)
|
|
2819
|
+
elif islike:
|
|
2820
|
+
inbound = re_test(like, cval)
|
|
2821
|
+
else:
|
|
2822
|
+
inbound = _inrange(bound, cval)
|
|
2823
|
+
|
|
2824
|
+
if not inbound:
|
|
2825
|
+
needtype = ('' if size(inj.path) > 1 else 'value ') + desc
|
|
2826
|
+
inj.errs.append(_invalidTypeMsg(inj.path, needtype, ctype, cval, 'V0430'))
|
|
2827
|
+
|
|
2828
|
+
return SKIP
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
# The bounds of a $LEN bound, with -1 for no maximum, and the words for it,
|
|
2832
|
+
# which are absent when the bound is invalid.
|
|
2833
|
+
def _lenbound(bound):
|
|
2834
|
+
lo, hi, countdesc = _nofcount(bound, -1)
|
|
2835
|
+
|
|
2836
|
+
if countdesc is UNDEF:
|
|
2837
|
+
return 0, 0, UNDEF
|
|
2838
|
+
|
|
2839
|
+
if lo == hi:
|
|
2840
|
+
desc = str(lo)
|
|
2841
|
+
elif hi == -1:
|
|
2842
|
+
desc = 'at least ' + str(lo)
|
|
2843
|
+
elif lo == 0:
|
|
2844
|
+
desc = 'at most ' + str(hi)
|
|
2845
|
+
else:
|
|
2846
|
+
desc = str(lo) + ' to ' + str(hi)
|
|
2847
|
+
|
|
2848
|
+
return lo, hi, 'of length ' + desc
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
# A $LIKE pattern compiled by the port's own regex engine; absent unless it compiles.
|
|
2852
|
+
def _likere(pattern):
|
|
2853
|
+
if not isinstance(pattern, str):
|
|
2854
|
+
return UNDEF
|
|
2855
|
+
try:
|
|
2856
|
+
return re_compile(pattern)
|
|
2857
|
+
except Exception:
|
|
2858
|
+
return UNDEF
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
# The words for a $RANGE bound, which are absent when the bound is invalid.
|
|
2862
|
+
def _rangedesc(bound):
|
|
2863
|
+
if not ismap(bound):
|
|
2864
|
+
return UNDEF
|
|
2865
|
+
|
|
2866
|
+
# Every value must be a number, so below a None is a side the bound lacks.
|
|
2867
|
+
valid = size(bound) > 0 and all(
|
|
2868
|
+
k in ('min', 'max', 'gt', 'lt') and (T_number & typify(v)) > 0 for k, v in bound.items()
|
|
2869
|
+
)
|
|
2870
|
+
|
|
2871
|
+
mn = _lookup(bound, 'min')
|
|
2872
|
+
mx = _lookup(bound, 'max')
|
|
2873
|
+
gt = _lookup(bound, 'gt')
|
|
2874
|
+
lt = _lookup(bound, 'lt')
|
|
2875
|
+
lower = gt if mn is UNDEF else mn
|
|
2876
|
+
upper = lt if mx is UNDEF else mx
|
|
2877
|
+
|
|
2878
|
+
valid = (
|
|
2879
|
+
valid
|
|
2880
|
+
and (mn is UNDEF or gt is UNDEF)
|
|
2881
|
+
and (mx is UNDEF or lt is UNDEF)
|
|
2882
|
+
and (lower is UNDEF or upper is UNDEF or lower <= upper)
|
|
2883
|
+
)
|
|
2884
|
+
|
|
2885
|
+
if not valid:
|
|
2886
|
+
return UNDEF
|
|
2887
|
+
|
|
2888
|
+
parts = []
|
|
2889
|
+
|
|
2890
|
+
if mn is not UNDEF:
|
|
2891
|
+
parts.append('at least ' + stringify(mn))
|
|
2892
|
+
elif gt is not UNDEF:
|
|
2893
|
+
parts.append('greater than ' + stringify(gt))
|
|
2894
|
+
|
|
2895
|
+
if mx is not UNDEF:
|
|
2896
|
+
parts.append('at most ' + stringify(mx))
|
|
2897
|
+
elif lt is not UNDEF:
|
|
2898
|
+
parts.append('less than ' + stringify(lt))
|
|
2899
|
+
|
|
2900
|
+
return ' and '.join(parts)
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
# A number within a valid $RANGE bound.
|
|
2904
|
+
def _inrange(bound, val):
|
|
2905
|
+
mn = _lookup(bound, 'min')
|
|
2906
|
+
mx = _lookup(bound, 'max')
|
|
2907
|
+
gt = _lookup(bound, 'gt')
|
|
2908
|
+
lt = _lookup(bound, 'lt')
|
|
2909
|
+
|
|
2910
|
+
return (
|
|
2911
|
+
(mn is UNDEF or mn <= val)
|
|
2912
|
+
and (mx is UNDEF or val <= mx)
|
|
2913
|
+
and (gt is UNDEF or gt < val)
|
|
2914
|
+
and (lt is UNDEF or val < lt)
|
|
2915
|
+
)
|
|
2916
|
+
|
|
2917
|
+
|
|
2612
2918
|
def _validation(pval, key, parent, inj):
|
|
2613
2919
|
if inj == UNDEF:
|
|
2614
2920
|
return
|
|
@@ -2644,8 +2950,8 @@ def _validation(pval, key, parent, inj):
|
|
|
2644
2950
|
ckeys = keysof(cval)
|
|
2645
2951
|
pkeys = keysof(pval)
|
|
2646
2952
|
|
|
2647
|
-
#
|
|
2648
|
-
if len(pkeys) > 0 and getprop(pval, '`$OPEN`') is not True:
|
|
2953
|
+
# Only a spec written as {} is open, even if named keys resolved away.
|
|
2954
|
+
if (len(pkeys) > 0 or inj.named) and getprop(pval, '`$OPEN`') is not True:
|
|
2649
2955
|
badkeys = []
|
|
2650
2956
|
for ckey in ckeys:
|
|
2651
2957
|
# Literal presence: the shape DECLARES ckey even when its value
|
|
@@ -2669,6 +2975,17 @@ def _validation(pval, key, parent, inj):
|
|
|
2669
2975
|
elif islist(cval):
|
|
2670
2976
|
if not islist(pval):
|
|
2671
2977
|
inj.errs.append(_invalidTypeMsg(inj.path, typename(ptype), ctype, cval, 'V0030'))
|
|
2978
|
+
elif size(pval) > 0:
|
|
2979
|
+
# Closed list, so reject items past the end of the shape.
|
|
2980
|
+
badkeys = [strkey(i) for i in range(size(pval), size(cval))]
|
|
2981
|
+
if size(badkeys) > 0:
|
|
2982
|
+
msg = (
|
|
2983
|
+
'Unexpected keys at field ' + pathify(inj.path, 1) + S_VIZ + join(badkeys, ', ')
|
|
2984
|
+
)
|
|
2985
|
+
inj.errs.append(msg)
|
|
2986
|
+
else:
|
|
2987
|
+
# Empty spec list [] means list can be open (any items).
|
|
2988
|
+
merge([pval, cval])
|
|
2672
2989
|
|
|
2673
2990
|
elif exact:
|
|
2674
2991
|
if cval != pval:
|
|
@@ -2721,8 +3038,13 @@ def validate(data, spec, injdef=UNDEF):
|
|
|
2721
3038
|
'$INSTANCE': validate_TYPE,
|
|
2722
3039
|
'$ANY': validate_ANY,
|
|
2723
3040
|
'$CHILD': validate_CHILD,
|
|
2724
|
-
'$ONE': validate_ONE,
|
|
2725
3041
|
'$EXACT': validate_EXACT,
|
|
3042
|
+
'$NOF': validate_NOF,
|
|
3043
|
+
'$ALL': validate_ALL,
|
|
3044
|
+
'$LEN': validate_LEN,
|
|
3045
|
+
'$RANGE': validate_RANGE,
|
|
3046
|
+
'$LIKE': validate_LIKE,
|
|
3047
|
+
'$REST': validate_REST,
|
|
2726
3048
|
},
|
|
2727
3049
|
({} if extra is UNDEF or extra is None else extra),
|
|
2728
3050
|
{
|
|
@@ -2735,17 +3057,25 @@ def validate(data, spec, injdef=UNDEF):
|
|
|
2735
3057
|
meta = getprop(injdef, 'meta', {})
|
|
2736
3058
|
setprop(meta, S_BEXACT, getprop(meta, S_BEXACT, False))
|
|
2737
3059
|
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
3060
|
+
# A spec that names an unknown checker validates nothing.
|
|
3061
|
+
numerrs = size(errs)
|
|
3062
|
+
_checknames(spec, store, [], errs)
|
|
3063
|
+
|
|
3064
|
+
if numerrs < size(errs):
|
|
3065
|
+
out = clone(data)
|
|
3066
|
+
else:
|
|
3067
|
+
out = transform(
|
|
3068
|
+
data,
|
|
3069
|
+
spec,
|
|
3070
|
+
{
|
|
3071
|
+
'meta': meta,
|
|
3072
|
+
'extra': store,
|
|
3073
|
+
'modify': _validation,
|
|
3074
|
+
'handler': _validatehandler,
|
|
3075
|
+
'errs': errs,
|
|
3076
|
+
'_noval': getprop(injdef, '_noval'),
|
|
3077
|
+
},
|
|
3078
|
+
)
|
|
2749
3079
|
|
|
2750
3080
|
generr = len(errs) > 0 and not collect
|
|
2751
3081
|
if generr:
|
|
@@ -2801,7 +3131,6 @@ def _updateAncestors(_state, target, tkey, tval):
|
|
|
2801
3131
|
# optionally allows transforms to be ordered by alphanumeric sorting.
|
|
2802
3132
|
def _injectstr(val, store, inj=UNDEF):
|
|
2803
3133
|
# Can't inject into non-strings
|
|
2804
|
-
full_re = re.compile(r'^`(\$[A-Z]+|[^`]*)[0-9]*`$')
|
|
2805
3134
|
part_re = re.compile(r'`([^`]*)`')
|
|
2806
3135
|
|
|
2807
3136
|
if not isinstance(val, str) or val == S_MT:
|
|
@@ -2810,7 +3139,7 @@ def _injectstr(val, store, inj=UNDEF):
|
|
|
2810
3139
|
out = val
|
|
2811
3140
|
|
|
2812
3141
|
# Pattern examples: "`a.b.c`", "`$NAME`", "`$NAME1`"
|
|
2813
|
-
m =
|
|
3142
|
+
m = R_INJECTION_FULL.match(val)
|
|
2814
3143
|
|
|
2815
3144
|
# Full string of the val is an injection.
|
|
2816
3145
|
if m:
|
|
@@ -2882,13 +3211,219 @@ def _invalidTypeMsg(path, needtype, vt, v, _whence=None):
|
|
|
2882
3211
|
)
|
|
2883
3212
|
|
|
2884
3213
|
|
|
3214
|
+
# Names a validate spec may use besides its checkers: transform's that it keeps, and $OPEN.
|
|
3215
|
+
VALIDATE_NAMES = [
|
|
3216
|
+
'$TOP',
|
|
3217
|
+
'$SPEC',
|
|
3218
|
+
'$BT',
|
|
3219
|
+
'$DS',
|
|
3220
|
+
'$WHEN',
|
|
3221
|
+
'$ANNO',
|
|
3222
|
+
'$REF',
|
|
3223
|
+
'$FORMAT',
|
|
3224
|
+
'$APPLY',
|
|
3225
|
+
'$OPEN',
|
|
3226
|
+
]
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
# Report each checker the spec names that validate lacks, and each misplaced
|
|
3230
|
+
# $REST; $EXACT's arguments are literals. Last: spec is a list's last item.
|
|
3231
|
+
def _checknames(spec, store, path, errs, last=False):
|
|
3232
|
+
name = _refname(spec)
|
|
3233
|
+
if name is not UNDEF:
|
|
3234
|
+
if _unknownname(name, store):
|
|
3235
|
+
errs.append('Unknown validator ' + name + ' at field ' + pathify(path) + '.')
|
|
3236
|
+
elif name == '$REST':
|
|
3237
|
+
errs.append(_restmsg(path, ' must be the last element of an array.'))
|
|
3238
|
+
return
|
|
3239
|
+
|
|
3240
|
+
head = _refname(_lookup(spec, 0)) if islist(spec) else UNDEF
|
|
3241
|
+
if head == '$EXACT':
|
|
3242
|
+
return
|
|
3243
|
+
|
|
3244
|
+
if head == '$REST':
|
|
3245
|
+
if not last:
|
|
3246
|
+
errs.append(_restmsg(path, ' must be the last element of an array.'))
|
|
3247
|
+
elif size(spec) != 2:
|
|
3248
|
+
errs.append(_restmsg(path, ' must have exactly one spec.'))
|
|
3249
|
+
_checknames(_lookup(spec, 1), store, [*path, 1], errs)
|
|
3250
|
+
return
|
|
3251
|
+
|
|
3252
|
+
restkey = '`$REST`'
|
|
3253
|
+
if ismap(spec) and _present(spec, restkey) and _present(spec, '`$CHILD`'):
|
|
3254
|
+
errs.append(_restmsg(path, ' cannot be used with $CHILD.'))
|
|
3255
|
+
|
|
3256
|
+
lastkey = strkey(size(spec) - 1) if islist(spec) else UNDEF
|
|
3257
|
+
for key in keysof(spec):
|
|
3258
|
+
if ismap(spec) and key != restkey:
|
|
3259
|
+
_checknames(key, store, path, errs)
|
|
3260
|
+
_checknames(_lookup(spec, key), store, [*path, key], errs, key == lastkey)
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
# The name a whole-string reference gives, when it is a checker name in any case.
|
|
3264
|
+
def _refname(val):
|
|
3265
|
+
m = re_find(R_INJECTION_FULL, val) if isinstance(val, str) else None
|
|
3266
|
+
return m[1] if m is not None and re_test(R_CHECKER_NAME, m[1].upper()) else UNDEF
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
# Unknown: undefined and upper case, or a defined name in another case. None disables a name.
|
|
3270
|
+
def _unknownname(name, store):
|
|
3271
|
+
def known(n):
|
|
3272
|
+
return n in VALIDATE_NAMES or _lookup(store, n) is not None
|
|
3273
|
+
|
|
3274
|
+
upper = name.upper()
|
|
3275
|
+
return not known(name) and (upper == name or known(upper))
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
# Whether a node holds a key or index at all, even with a None value.
|
|
3279
|
+
def _present(val, key):
|
|
3280
|
+
if ismap(val):
|
|
3281
|
+
return _ismapkey(key) and str(key) in val
|
|
3282
|
+
if islist(val):
|
|
3283
|
+
return _listindex(key, len(val)) >= 0
|
|
3284
|
+
return False
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
# The data value at a list directive's slot, and whether the slot holds one:
|
|
3288
|
+
# a stored null and an absent value are both None, so presence tells them apart.
|
|
3289
|
+
def _slotval(inj):
|
|
3290
|
+
prior = inj.prior
|
|
3291
|
+
if prior is None:
|
|
3292
|
+
return inj.dparent, inj.dparent is not None
|
|
3293
|
+
return _lookup(prior.dparent, prior.key), _present(prior.dparent, prior.key)
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
# Put the slot's value in place of the directive's list. Injection.setval
|
|
3297
|
+
# deletes on None, which would drop a null the data holds.
|
|
3298
|
+
def _setslot(inj, cval, present):
|
|
3299
|
+
if cval is None and present:
|
|
3300
|
+
setprop(getelem(inj.nodes, -2), getelem(inj.path, -2), cval)
|
|
3301
|
+
else:
|
|
3302
|
+
inj.setval(cval, 2)
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
# JSON equality: numbers by value, lists in order, maps by key in any order.
|
|
3306
|
+
def _deepequal(a, b):
|
|
3307
|
+
atype = typify(a)
|
|
3308
|
+
btype = typify(b)
|
|
3309
|
+
|
|
3310
|
+
# An integer equals a decimal of the same value; typify keeps bool apart.
|
|
3311
|
+
if (T_number & atype) > 0 and (T_number & btype) > 0:
|
|
3312
|
+
return a == b
|
|
3313
|
+
|
|
3314
|
+
if atype != btype:
|
|
3315
|
+
return False
|
|
3316
|
+
|
|
3317
|
+
# Functions and instances equal only themselves.
|
|
3318
|
+
if ((T_list | T_map) & atype) == 0:
|
|
3319
|
+
return a == b if ((T_string | T_boolean | T_null) & atype) > 0 else a is b
|
|
3320
|
+
|
|
3321
|
+
akeys = keysof(a)
|
|
3322
|
+
bkeys = keysof(b)
|
|
3323
|
+
if size(akeys) != size(bkeys):
|
|
3324
|
+
return False
|
|
3325
|
+
|
|
3326
|
+
for kI in range(size(akeys)):
|
|
3327
|
+
k = akeys[kI]
|
|
3328
|
+
if k != bkeys[kI] or not _deepequal(_lookup(a, k), _lookup(b, k)):
|
|
3329
|
+
return False
|
|
3330
|
+
|
|
3331
|
+
return True
|
|
3332
|
+
|
|
3333
|
+
|
|
3334
|
+
# Every member val has is in out, unchanged. A member only out has is a
|
|
3335
|
+
# default the spec supplied, and is ignored.
|
|
3336
|
+
def _keeps(val, out):
|
|
3337
|
+
if ((T_list | T_map) & typify(val)) == 0 or islist(val) != islist(out) or not isnode(out):
|
|
3338
|
+
return _deepequal(val, out)
|
|
3339
|
+
|
|
3340
|
+
for k in keysof(val):
|
|
3341
|
+
if not _present(out, k) or not _keeps(_lookup(val, k), _lookup(out, k)):
|
|
3342
|
+
return False
|
|
3343
|
+
|
|
3344
|
+
return True
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
# A spec admits a value when validating the value against it finds no error
|
|
3348
|
+
# and gives back the value as it is. An absent value has nothing to give back.
|
|
3349
|
+
def _admits(val, present, spec, inj, store):
|
|
3350
|
+
terrs = []
|
|
3351
|
+
|
|
3352
|
+
vstore = merge([{}, store], 1)
|
|
3353
|
+
vstore[S_DTOP] = val if present else _ABSENT
|
|
3354
|
+
|
|
3355
|
+
out = validate(
|
|
3356
|
+
val,
|
|
3357
|
+
spec,
|
|
3358
|
+
{
|
|
3359
|
+
'extra': vstore,
|
|
3360
|
+
'errs': terrs,
|
|
3361
|
+
'meta': inj.meta,
|
|
3362
|
+
'_noval': _ABSENT,
|
|
3363
|
+
},
|
|
3364
|
+
)
|
|
3365
|
+
|
|
3366
|
+
return size(terrs) == 0 and (not present or _keeps(val, out))
|
|
3367
|
+
|
|
3368
|
+
|
|
3369
|
+
# The bounds of a $NOF count, and the words for it, which are absent when
|
|
3370
|
+
# the count is invalid. Without a max, the bound is the number of specs.
|
|
3371
|
+
def _nofcount(count, numtvals):
|
|
3372
|
+
def isnat(n):
|
|
3373
|
+
return (T_integer & typify(n)) > 0 and n >= 0
|
|
3374
|
+
|
|
3375
|
+
# JavaScript has one number type, so 2.0 is the count 2.
|
|
3376
|
+
def whole(n):
|
|
3377
|
+
return int(n) if isinstance(n, float) and n.is_integer() else n
|
|
3378
|
+
|
|
3379
|
+
count = whole(count)
|
|
3380
|
+
if isnat(count):
|
|
3381
|
+
return count, count, 'none' if count == 0 else 'exactly ' + str(count)
|
|
3382
|
+
|
|
3383
|
+
hasmin = _present(count, 'min')
|
|
3384
|
+
hasmax = _present(count, 'max')
|
|
3385
|
+
mn = whole(_lookup(count, 'min'))
|
|
3386
|
+
mx = whole(_lookup(count, 'max'))
|
|
3387
|
+
|
|
3388
|
+
valid = (
|
|
3389
|
+
ismap(count)
|
|
3390
|
+
and size(count) > 0
|
|
3391
|
+
and size(count) == (1 if hasmin else 0) + (1 if hasmax else 0)
|
|
3392
|
+
and (not hasmin or isnat(mn))
|
|
3393
|
+
and (not hasmax or isnat(mx))
|
|
3394
|
+
and (not hasmin or not hasmax or mn <= mx)
|
|
3395
|
+
)
|
|
3396
|
+
|
|
3397
|
+
if not valid:
|
|
3398
|
+
return 0, 0, UNDEF
|
|
3399
|
+
|
|
3400
|
+
lo = mn if hasmin else 0
|
|
3401
|
+
hi = mx if hasmax else numtvals
|
|
3402
|
+
|
|
3403
|
+
if not hasmax:
|
|
3404
|
+
desc = 'at least ' + str(lo)
|
|
3405
|
+
elif hi == 0:
|
|
3406
|
+
desc = 'none'
|
|
3407
|
+
elif not hasmin:
|
|
3408
|
+
desc = 'at most ' + str(hi)
|
|
3409
|
+
elif lo == hi:
|
|
3410
|
+
desc = 'exactly ' + str(lo)
|
|
3411
|
+
else:
|
|
3412
|
+
desc = str(lo) + ' to ' + str(hi)
|
|
3413
|
+
|
|
3414
|
+
return lo, hi, desc
|
|
3415
|
+
|
|
3416
|
+
|
|
2885
3417
|
# Create a StructUtils class with all utility functions as attributes
|
|
2886
3418
|
class StructUtility:
|
|
2887
3419
|
def __init__(self):
|
|
2888
3420
|
self.clone = clone
|
|
3421
|
+
self.condense = condense
|
|
3422
|
+
self.condenseview = condenseview
|
|
2889
3423
|
self.delprop = delprop
|
|
2890
3424
|
self.escre = escre
|
|
2891
3425
|
self.escurl = escurl
|
|
3426
|
+
self.expand = expand
|
|
2892
3427
|
self.filter = filter
|
|
2893
3428
|
self.flatten = flatten
|
|
2894
3429
|
self.getdef = getdef
|
|
@@ -2898,6 +3433,7 @@ class StructUtility:
|
|
|
2898
3433
|
self.haskey = haskey
|
|
2899
3434
|
self.inject = inject
|
|
2900
3435
|
self.isempty = isempty
|
|
3436
|
+
self.iscondensed = iscondensed
|
|
2901
3437
|
self.isfunc = isfunc
|
|
2902
3438
|
self.iskey = iskey
|
|
2903
3439
|
self.islist = islist
|
|
@@ -2952,6 +3488,325 @@ class StructUtility:
|
|
|
2952
3488
|
self.injectChild = injectChild
|
|
2953
3489
|
|
|
2954
3490
|
|
|
3491
|
+
CONDENSE_VERSION = 1
|
|
3492
|
+
|
|
3493
|
+
CONDENSE_MAP = 0
|
|
3494
|
+
CONDENSE_LIST = 1
|
|
3495
|
+
CONDENSE_STR = 2
|
|
3496
|
+
CONDENSE_NUM = 3
|
|
3497
|
+
CONDENSE_TRUE = 4
|
|
3498
|
+
CONDENSE_FALSE = 5
|
|
3499
|
+
CONDENSE_NULL = 6
|
|
3500
|
+
|
|
3501
|
+
S_condense = '$condense'
|
|
3502
|
+
S_condsym = 'sym'
|
|
3503
|
+
S_condnode = 'node'
|
|
3504
|
+
S_condroot = 'root'
|
|
3505
|
+
|
|
3506
|
+
S_CONDENSED_IMMUTABLE = (
|
|
3507
|
+
'struct: condensed structures are immutable - expand() first, then modify the copy'
|
|
3508
|
+
)
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
def _isnumber(val):
|
|
3512
|
+
return isinstance(val, (int, float)) and not isinstance(val, bool)
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
# The item at index i, or None. A negative or fractional i is no item, as in JavaScript.
|
|
3516
|
+
def _condenseat(lst, i):
|
|
3517
|
+
if isinstance(i, float) and i.is_integer():
|
|
3518
|
+
i = int(i)
|
|
3519
|
+
if islist(lst) and isinstance(i, int) and not isinstance(i, bool) and 0 <= i < len(lst):
|
|
3520
|
+
return lst[i]
|
|
3521
|
+
return None
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
# An encoding's kind tag, or None. A boolean is no kind: JavaScript compares kinds strictly.
|
|
3525
|
+
def _condensekind(enc):
|
|
3526
|
+
kind = _condenseat(enc, 0)
|
|
3527
|
+
return None if isinstance(kind, bool) else kind
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
# A path part's string form, as JavaScript writes it: True is 'true', 1.0 is '1'.
|
|
3531
|
+
def _condensestr(key):
|
|
3532
|
+
if isinstance(key, float) and key.is_integer():
|
|
3533
|
+
return str(int(key))
|
|
3534
|
+
return key if isinstance(key, str) else _jsstr(key)
|
|
3535
|
+
|
|
3536
|
+
|
|
3537
|
+
def iscondensed(val: Any = UNDEF) -> bool:
|
|
3538
|
+
# The version must MATCH, not merely be numeric: a future profile would
|
|
3539
|
+
# otherwise be decoded under this one's schema.
|
|
3540
|
+
return (
|
|
3541
|
+
ismap(val)
|
|
3542
|
+
and _isnumber(val.get(S_condense))
|
|
3543
|
+
and val.get(S_condense) == CONDENSE_VERSION
|
|
3544
|
+
and islist(val.get(S_condsym))
|
|
3545
|
+
and islist(val.get(S_condnode))
|
|
3546
|
+
and _isnumber(val.get(S_condroot))
|
|
3547
|
+
)
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
# Condense any JSON-shaped node. Pure: the same input always produces a
|
|
3551
|
+
# byte-identical result, on every port.
|
|
3552
|
+
def condense(val: Any = UNDEF) -> dict[str, Any]:
|
|
3553
|
+
# Pass one: every distinct map key and string value, once, sorted.
|
|
3554
|
+
symset: set[str] = set()
|
|
3555
|
+
|
|
3556
|
+
def collect(n):
|
|
3557
|
+
if ismap(n):
|
|
3558
|
+
for k in keysof(n):
|
|
3559
|
+
symset.add(k)
|
|
3560
|
+
collect(n[k])
|
|
3561
|
+
elif islist(n):
|
|
3562
|
+
for item in n:
|
|
3563
|
+
collect(item)
|
|
3564
|
+
elif isinstance(n, str):
|
|
3565
|
+
symset.add(n)
|
|
3566
|
+
|
|
3567
|
+
collect(val)
|
|
3568
|
+
|
|
3569
|
+
# Python orders strings by code point.
|
|
3570
|
+
sym = sorted(symset)
|
|
3571
|
+
symid = {s: i for i, s in enumerate(sym)}
|
|
3572
|
+
|
|
3573
|
+
# Pass two: build post-order, interning on the encoding. Because children
|
|
3574
|
+
# are built first, identical subtrees have already been interned by the
|
|
3575
|
+
# time a parent references them, so sharing costs nothing extra.
|
|
3576
|
+
node: list[list[Any]] = []
|
|
3577
|
+
seen: dict[tuple[Any, ...], int] = {}
|
|
3578
|
+
|
|
3579
|
+
def intern(enc):
|
|
3580
|
+
# A tuple compares numbers by value, so 1 and 1.0 share a node.
|
|
3581
|
+
enckey = tuple(enc)
|
|
3582
|
+
hit = seen.get(enckey)
|
|
3583
|
+
if hit is not None:
|
|
3584
|
+
return hit
|
|
3585
|
+
idx = len(node)
|
|
3586
|
+
node.append(enc)
|
|
3587
|
+
seen[enckey] = idx
|
|
3588
|
+
return idx
|
|
3589
|
+
|
|
3590
|
+
def build(n):
|
|
3591
|
+
if ismap(n):
|
|
3592
|
+
enc = [CONDENSE_MAP]
|
|
3593
|
+
# keysof sorts, so the key ids ascend and lookup can bisect.
|
|
3594
|
+
for k in keysof(n):
|
|
3595
|
+
enc.append(symid[k])
|
|
3596
|
+
enc.append(build(n[k]))
|
|
3597
|
+
return intern(enc)
|
|
3598
|
+
if islist(n):
|
|
3599
|
+
enc = [CONDENSE_LIST]
|
|
3600
|
+
for item in n:
|
|
3601
|
+
enc.append(build(item))
|
|
3602
|
+
return intern(enc)
|
|
3603
|
+
if isinstance(n, str):
|
|
3604
|
+
return intern([CONDENSE_STR, symid[n]])
|
|
3605
|
+
if n is True:
|
|
3606
|
+
return intern([CONDENSE_TRUE])
|
|
3607
|
+
if n is False:
|
|
3608
|
+
return intern([CONDENSE_FALSE])
|
|
3609
|
+
if _isnumber(n):
|
|
3610
|
+
return intern([CONDENSE_NUM, n])
|
|
3611
|
+
return intern([CONDENSE_NULL])
|
|
3612
|
+
|
|
3613
|
+
root = build(val)
|
|
3614
|
+
|
|
3615
|
+
out: dict[str, Any] = {}
|
|
3616
|
+
out[S_condense] = CONDENSE_VERSION
|
|
3617
|
+
out[S_condsym] = sym
|
|
3618
|
+
out[S_condnode] = node
|
|
3619
|
+
out[S_condroot] = root
|
|
3620
|
+
return out
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
# Resolve a symbol to its id by bisecting the sorted symbol table. -1 when
|
|
3624
|
+
# the string does not occur anywhere in the structure, which is itself a fast
|
|
3625
|
+
# negative answer for a key lookup.
|
|
3626
|
+
def condenseSymId(cond, key):
|
|
3627
|
+
sym = _lookup(cond, S_condsym)
|
|
3628
|
+
lo = 0
|
|
3629
|
+
hi = len(sym) - 1 if islist(sym) else -1
|
|
3630
|
+
while lo <= hi:
|
|
3631
|
+
mid = (lo + hi) >> 1
|
|
3632
|
+
s = sym[mid]
|
|
3633
|
+
if s == key:
|
|
3634
|
+
return mid
|
|
3635
|
+
if isinstance(s, str) and s < key:
|
|
3636
|
+
lo = mid + 1
|
|
3637
|
+
else:
|
|
3638
|
+
hi = mid - 1
|
|
3639
|
+
return -1
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
# The node index of `key` inside node `idx`, or -1. Touches only this node.
|
|
3643
|
+
def condenseChild(cond, idx, key):
|
|
3644
|
+
enc = _condenseat(_lookup(cond, S_condnode), idx)
|
|
3645
|
+
kind = _condensekind(enc)
|
|
3646
|
+
|
|
3647
|
+
if kind == CONDENSE_MAP:
|
|
3648
|
+
symid = condenseSymId(cond, _condensestr(key)) if _ismapkey(key) else -1
|
|
3649
|
+
if symid < 0:
|
|
3650
|
+
return -1
|
|
3651
|
+
# Pairs live at [1,2], [3,4], ... with keys ascending: bisect the pairs.
|
|
3652
|
+
lo = 0
|
|
3653
|
+
hi = (len(enc) - 1) // 2 - 1
|
|
3654
|
+
while lo <= hi:
|
|
3655
|
+
mid = (lo + hi) >> 1
|
|
3656
|
+
k = enc[1 + mid * 2]
|
|
3657
|
+
if k == symid:
|
|
3658
|
+
return enc[2 + mid * 2]
|
|
3659
|
+
if _isnumber(k) and k < symid:
|
|
3660
|
+
lo = mid + 1
|
|
3661
|
+
else:
|
|
3662
|
+
hi = mid - 1
|
|
3663
|
+
return -1
|
|
3664
|
+
|
|
3665
|
+
if kind == CONDENSE_LIST:
|
|
3666
|
+
# Read as an ordinary list is, so condensing never changes which value a path selects.
|
|
3667
|
+
i = _listindex(key, len(enc) - 1)
|
|
3668
|
+
return -1 if i < 0 else enc[1 + i]
|
|
3669
|
+
|
|
3670
|
+
return -1
|
|
3671
|
+
|
|
3672
|
+
|
|
3673
|
+
# Walk a path from a starting node, returning the node index or -1.
|
|
3674
|
+
def condenseResolve(cond, idx, path):
|
|
3675
|
+
if islist(path):
|
|
3676
|
+
parts = path
|
|
3677
|
+
elif isinstance(path, str):
|
|
3678
|
+
parts = [] if path == S_MT else path.split(S_DT)
|
|
3679
|
+
elif path is None:
|
|
3680
|
+
parts = []
|
|
3681
|
+
else:
|
|
3682
|
+
parts = [_condensestr(path)]
|
|
3683
|
+
|
|
3684
|
+
at = idx
|
|
3685
|
+
for part in parts:
|
|
3686
|
+
if not _isnumber(at) or at < 0:
|
|
3687
|
+
return -1
|
|
3688
|
+
if part == S_MT:
|
|
3689
|
+
continue
|
|
3690
|
+
at = condenseChild(cond, at, part)
|
|
3691
|
+
# A child index that is not a number names no node.
|
|
3692
|
+
return at if _isnumber(at) else -1
|
|
3693
|
+
|
|
3694
|
+
|
|
3695
|
+
def condenseMaterialise(cond, idx):
|
|
3696
|
+
sym = _lookup(cond, S_condsym)
|
|
3697
|
+
node = _lookup(cond, S_condnode)
|
|
3698
|
+
|
|
3699
|
+
def rebuild(i):
|
|
3700
|
+
enc = _condenseat(node, i)
|
|
3701
|
+
if enc is None:
|
|
3702
|
+
return UNDEF
|
|
3703
|
+
kind = _condensekind(enc)
|
|
3704
|
+
if kind == CONDENSE_MAP:
|
|
3705
|
+
out = {}
|
|
3706
|
+
for j in range(1, len(enc), 2):
|
|
3707
|
+
out[_condenseat(sym, enc[j])] = rebuild(_condenseat(enc, j + 1))
|
|
3708
|
+
return out
|
|
3709
|
+
if kind == CONDENSE_LIST:
|
|
3710
|
+
return [rebuild(enc[j]) for j in range(1, len(enc))]
|
|
3711
|
+
if kind == CONDENSE_STR:
|
|
3712
|
+
return _condenseat(sym, _condenseat(enc, 1))
|
|
3713
|
+
if kind == CONDENSE_NUM:
|
|
3714
|
+
return _condenseat(enc, 1)
|
|
3715
|
+
if kind == CONDENSE_TRUE:
|
|
3716
|
+
return True
|
|
3717
|
+
if kind == CONDENSE_FALSE:
|
|
3718
|
+
return False
|
|
3719
|
+
return None
|
|
3720
|
+
|
|
3721
|
+
return rebuild(idx)
|
|
3722
|
+
|
|
3723
|
+
|
|
3724
|
+
# Fully materialise a condensed structure. The escape hatch: correct for any
|
|
3725
|
+
# caller, but it gives up every benefit of condensing, so prefer a view or a
|
|
3726
|
+
# path read.
|
|
3727
|
+
def expand(cond: Any = UNDEF) -> Any:
|
|
3728
|
+
if not iscondensed(cond):
|
|
3729
|
+
return cond
|
|
3730
|
+
return condenseMaterialise(cond, cond[S_condroot])
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
# The keys of node `idx`, WITHOUT materialising any of its values. This is
|
|
3734
|
+
# the point of the whole exercise for enumeration: listing the names in a
|
|
3735
|
+
# large collection should cost a symbol-table read, not a full decode.
|
|
3736
|
+
def condenseKeys(cond, idx):
|
|
3737
|
+
enc = _condenseat(_lookup(cond, S_condnode), idx)
|
|
3738
|
+
kind = _condensekind(enc)
|
|
3739
|
+
if kind == CONDENSE_MAP:
|
|
3740
|
+
sym = _lookup(cond, S_condsym)
|
|
3741
|
+
return [_condenseat(sym, enc[j]) for j in range(1, len(enc), 2)]
|
|
3742
|
+
if kind == CONDENSE_LIST:
|
|
3743
|
+
return [str(j - 1) for j in range(1, len(enc))]
|
|
3744
|
+
return []
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
class CondenseView:
|
|
3748
|
+
"""
|
|
3749
|
+
A cursor into a condensed structure. Reads resolve by integer index and
|
|
3750
|
+
touch only the nodes on the path, so the cost of a lookup is proportional
|
|
3751
|
+
to path depth and result size, never to total structure size.
|
|
3752
|
+
"""
|
|
3753
|
+
|
|
3754
|
+
def __init__(self, cond: Any, start: Any, refmemo: dict[Any, Any]) -> None:
|
|
3755
|
+
self.cond = cond
|
|
3756
|
+
self.start = start
|
|
3757
|
+
# Shared materialisations, handed out ONLY by ref(). Threaded through
|
|
3758
|
+
# at() so every cursor into the same structure shares one memo.
|
|
3759
|
+
self.refmemo = refmemo
|
|
3760
|
+
|
|
3761
|
+
# The value at path, materialised. Scalars come back directly; a
|
|
3762
|
+
# container comes back as an independent copy.
|
|
3763
|
+
def get(self, path: Any = UNDEF) -> Any:
|
|
3764
|
+
return condenseMaterialise(self.cond, condenseResolve(self.cond, self.start, path))
|
|
3765
|
+
|
|
3766
|
+
# Key names at path, with no value decoding at all.
|
|
3767
|
+
def keys(self, path: Any = UNDEF) -> list[Any]:
|
|
3768
|
+
at = condenseResolve(self.cond, self.start, path)
|
|
3769
|
+
return [] if at < 0 else condenseKeys(self.cond, at)
|
|
3770
|
+
|
|
3771
|
+
def has(self, path: Any = UNDEF) -> bool:
|
|
3772
|
+
return condenseResolve(self.cond, self.start, path) >= 0
|
|
3773
|
+
|
|
3774
|
+
# Chainable cursor. Cheap: no decoding happens here.
|
|
3775
|
+
def at(self, path: Any = UNDEF) -> 'CondenseView':
|
|
3776
|
+
return condenseview(self.cond, condenseResolve(self.cond, self.start, path), self.refmemo)
|
|
3777
|
+
|
|
3778
|
+
def value(self) -> Any:
|
|
3779
|
+
return condenseMaterialise(self.cond, self.start)
|
|
3780
|
+
|
|
3781
|
+
def size(self) -> int:
|
|
3782
|
+
enc = _condenseat(_lookup(self.cond, S_condnode), self.start)
|
|
3783
|
+
kind = _condensekind(enc)
|
|
3784
|
+
if kind == CONDENSE_MAP:
|
|
3785
|
+
return (len(enc) - 1) // 2
|
|
3786
|
+
if kind == CONDENSE_LIST:
|
|
3787
|
+
return len(enc) - 1
|
|
3788
|
+
return 0
|
|
3789
|
+
|
|
3790
|
+
def exists(self) -> bool:
|
|
3791
|
+
return self.start >= 0
|
|
3792
|
+
|
|
3793
|
+
# DANGER, and named to say so. Returns a SHARED materialisation: the same
|
|
3794
|
+
# object for the same node, every time. Mutating it corrupts every other
|
|
3795
|
+
# reader of that node, including ones reached by a different path,
|
|
3796
|
+
# because the structure is a DAG. Use value() unless a profile says this
|
|
3797
|
+
# matters.
|
|
3798
|
+
def ref(self) -> Any:
|
|
3799
|
+
if self.start not in self.refmemo:
|
|
3800
|
+
self.refmemo[self.start] = condenseMaterialise(self.cond, self.start)
|
|
3801
|
+
return self.refmemo[self.start]
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
def condenseview(cond: Any = UNDEF, idx: Any = UNDEF, memo: Any = UNDEF) -> CondenseView:
|
|
3805
|
+
start = (cond[S_condroot] if iscondensed(cond) else -1) if idx is None else idx
|
|
3806
|
+
# A start that is not a number reads as no node, as it does in JavaScript.
|
|
3807
|
+
return CondenseView(cond, start if _isnumber(start) else -1, {} if memo is None else memo)
|
|
3808
|
+
|
|
3809
|
+
|
|
2955
3810
|
__all__ = [
|
|
2956
3811
|
'DELETE',
|
|
2957
3812
|
'MODENAME',
|
|
@@ -2978,9 +3833,12 @@ __all__ = [
|
|
|
2978
3833
|
'T_symbol',
|
|
2979
3834
|
'checkPlacement',
|
|
2980
3835
|
'clone',
|
|
3836
|
+
'condense',
|
|
3837
|
+
'condenseview',
|
|
2981
3838
|
'delprop',
|
|
2982
3839
|
'escre',
|
|
2983
3840
|
'escurl',
|
|
3841
|
+
'expand',
|
|
2984
3842
|
'filter',
|
|
2985
3843
|
'flatten',
|
|
2986
3844
|
'getdef',
|
|
@@ -2991,6 +3849,7 @@ __all__ = [
|
|
|
2991
3849
|
'inject',
|
|
2992
3850
|
'injectChild',
|
|
2993
3851
|
'injectorArgs',
|
|
3852
|
+
'iscondensed',
|
|
2994
3853
|
'isempty',
|
|
2995
3854
|
'isfunc',
|
|
2996
3855
|
'iskey',
|