@voxgig/sdkgen 4.21.0 → 4.23.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/action.js +0 -65
- package/dist/action/action.js.map +1 -1
- package/dist/action/check.js +0 -88
- package/dist/action/check.js.map +1 -1
- package/dist/action/dispatch.js +0 -27
- package/dist/action/dispatch.js.map +1 -1
- package/dist/action/doctor.d.ts +1 -0
- package/dist/action/doctor.js +55 -321
- package/dist/action/doctor.js.map +1 -1
- package/dist/action/edition.js +1 -87
- package/dist/action/edition.js.map +1 -1
- package/dist/action/feature.js +0 -48
- package/dist/action/feature.js.map +1 -1
- package/dist/action/kind.js +0 -132
- package/dist/action/kind.js.map +1 -1
- package/dist/action/package.js +0 -221
- package/dist/action/package.js.map +1 -1
- package/dist/action/resolve.js +0 -145
- package/dist/action/resolve.js.map +1 -1
- package/dist/action/target.js +0 -177
- package/dist/action/target.js.map +1 -1
- package/dist/cmp/AgentGuide.js +0 -7
- package/dist/cmp/AgentGuide.js.map +1 -1
- package/dist/cmp/AgentGuideContent.js +0 -24
- package/dist/cmp/AgentGuideContent.js.map +1 -1
- package/dist/cmp/AgentGuideTop.js +0 -7
- package/dist/cmp/AgentGuideTop.js.map +1 -1
- package/dist/cmp/Changelog.js +0 -14
- package/dist/cmp/Changelog.js.map +1 -1
- package/dist/cmp/Deploy.js +1 -31
- package/dist/cmp/Deploy.js.map +1 -1
- package/dist/cmp/Entity.js +0 -4
- package/dist/cmp/Entity.js.map +1 -1
- package/dist/cmp/ExternalTarget.js +0 -36
- package/dist/cmp/ExternalTarget.js.map +1 -1
- package/dist/cmp/Feature.js +0 -14
- package/dist/cmp/Feature.js.map +1 -1
- package/dist/cmp/FeatureDocs.js +0 -25
- package/dist/cmp/FeatureDocs.js.map +1 -1
- package/dist/cmp/PublishWorkflow.js +0 -60
- package/dist/cmp/PublishWorkflow.js.map +1 -1
- package/dist/cmp/ReadmeErrors.js +0 -2
- package/dist/cmp/ReadmeErrors.js.map +1 -1
- package/dist/cmp/ReadmeExplanation.js +0 -5
- package/dist/cmp/ReadmeExplanation.js.map +1 -1
- package/dist/cmp/ReadmeFeatures.js +0 -10
- package/dist/cmp/ReadmeFeatures.js.map +1 -1
- package/dist/cmp/ReadmeRefFeatures.js +0 -19
- package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
- package/dist/cmp/ReadmeStation.js +0 -19
- package/dist/cmp/ReadmeStation.js.map +1 -1
- package/dist/cmp/ReadmeTop.js +1 -81
- package/dist/cmp/ReadmeTop.js.map +1 -1
- package/dist/cmp/ReadmeUnions.js +1 -16
- package/dist/cmp/ReadmeUnions.js.map +1 -1
- package/dist/cmp/Registered.js +0 -30
- package/dist/cmp/Registered.js.map +1 -1
- package/dist/cmp/Security.js +0 -2
- package/dist/cmp/Security.js.map +1 -1
- package/dist/cmp/Test.js +3 -2
- package/dist/cmp/Test.js.map +1 -1
- package/dist/cmp/TestControl.js +0 -25
- package/dist/cmp/TestControl.js.map +1 -1
- package/dist/helpers/applicability.js +0 -60
- package/dist/helpers/applicability.js.map +1 -1
- package/dist/helpers/buildIdNames.d.ts +3 -1
- package/dist/helpers/buildIdNames.js +15 -19
- package/dist/helpers/buildIdNames.js.map +1 -1
- package/dist/helpers/canonSpec.js +2 -116
- package/dist/helpers/canonSpec.js.map +1 -1
- package/dist/helpers/canonType.js +0 -87
- package/dist/helpers/canonType.js.map +1 -1
- package/dist/helpers/collectDeps.js +0 -27
- package/dist/helpers/collectDeps.js.map +1 -1
- package/dist/helpers/definition.js +0 -29
- package/dist/helpers/definition.js.map +1 -1
- package/dist/helpers/dryrun.js +0 -8
- package/dist/helpers/dryrun.js.map +1 -1
- package/dist/helpers/featureSource.js +0 -145
- package/dist/helpers/featureSource.js.map +1 -1
- package/dist/helpers/getMatchEntries.js +2 -6
- package/dist/helpers/getMatchEntries.js.map +1 -1
- package/dist/helpers/junk.js +9 -85
- package/dist/helpers/junk.js.map +1 -1
- package/dist/helpers/manifest.js +0 -138
- package/dist/helpers/manifest.js.map +1 -1
- package/dist/helpers/modelNames.js +5 -79
- package/dist/helpers/modelNames.js.map +1 -1
- package/dist/helpers/modelcheck.js +0 -106
- package/dist/helpers/modelcheck.js.map +1 -1
- package/dist/helpers/naming.d.ts +0 -1
- package/dist/helpers/naming.js +0 -303
- package/dist/helpers/naming.js.map +1 -1
- package/dist/helpers/opExample.js +0 -51
- package/dist/helpers/opExample.js.map +1 -1
- package/dist/helpers/opShape.js +33 -231
- package/dist/helpers/opShape.js.map +1 -1
- package/dist/helpers/optspec.js +0 -77
- package/dist/helpers/optspec.js.map +1 -1
- package/dist/helpers/packageMeta.js +1 -200
- package/dist/helpers/packageMeta.js.map +1 -1
- package/dist/helpers/pointPath.js +5 -65
- package/dist/helpers/pointPath.js.map +1 -1
- package/dist/helpers/resolved.d.ts +6 -0
- package/dist/helpers/resolved.js +22 -0
- package/dist/helpers/resolved.js.map +1 -0
- package/dist/helpers/semver.js +0 -61
- package/dist/helpers/semver.js.map +1 -1
- package/dist/helpers/serverVars.js +0 -44
- package/dist/helpers/serverVars.js.map +1 -1
- package/dist/helpers/shipped.js +0 -14
- package/dist/helpers/shipped.js.map +1 -1
- package/dist/helpers/station.js +0 -32
- package/dist/helpers/station.js.map +1 -1
- package/dist/helpers/stdrep.js +0 -26
- package/dist/helpers/stdrep.js.map +1 -1
- package/dist/helpers/testPolicy.js +0 -4
- package/dist/helpers/testPolicy.js.map +1 -1
- package/dist/sdkgen.d.ts +3 -2
- package/dist/sdkgen.js +15 -242
- package/dist/sdkgen.js.map +1 -1
- package/dist/testkit.js +6 -266
- package/dist/testkit.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utility.js +15 -250
- package/dist/utility.js.map +1 -1
- package/model/sdkgen.aon +12 -489
- package/package.json +4 -4
- package/project/.sdk/model/feature/audit.aon +0 -7
- package/project/.sdk/model/feature/cache.aon +0 -7
- package/project/.sdk/model/feature/clienttrack.aon +0 -7
- package/project/.sdk/model/feature/cost.aon +0 -13
- package/project/.sdk/model/feature/debug.aon +0 -7
- package/project/.sdk/model/feature/idempotency.aon +0 -7
- package/project/.sdk/model/feature/log.aon +0 -7
- package/project/.sdk/model/feature/metrics.aon +0 -7
- package/project/.sdk/model/feature/netsim.aon +0 -10
- package/project/.sdk/model/feature/paging.aon +0 -7
- package/project/.sdk/model/feature/proxy.aon +0 -7
- package/project/.sdk/model/feature/ratelimit.aon +0 -7
- package/project/.sdk/model/feature/retry.aon +0 -7
- package/project/.sdk/model/feature/secrets.aon +0 -482
- package/project/.sdk/model/feature/streaming.aon +0 -7
- package/project/.sdk/model/feature/telemetry.aon +0 -7
- package/project/.sdk/model/feature/test.aon +1 -8
- package/project/.sdk/model/feature/timeout.aon +0 -7
- package/project/.sdk/model/feature/validate.aon +0 -32
- package/project/.sdk/model/target/c.aon +0 -41
- package/project/.sdk/model/target/clojure.aon +0 -36
- package/project/.sdk/model/target/cpp.aon +0 -42
- package/project/.sdk/model/target/csharp.aon +0 -26
- package/project/.sdk/model/target/elixir.aon +0 -22
- package/project/.sdk/model/target/go-cli.aon +0 -30
- package/project/.sdk/model/target/go-mcp.aon +0 -21
- package/project/.sdk/model/target/go.aon +0 -9
- package/project/.sdk/model/target/java.aon +0 -29
- package/project/.sdk/model/target/js.aon +2 -21
- package/project/.sdk/model/target/kotlin.aon +0 -31
- package/project/.sdk/model/target/lua.aon +0 -32
- package/project/.sdk/model/target/ocaml.aon +0 -64
- package/project/.sdk/model/target/perl.aon +0 -20
- package/project/.sdk/model/target/php.aon +0 -17
- package/project/.sdk/model/target/py-data.aon +0 -33
- package/project/.sdk/model/target/py.aon +0 -17
- package/project/.sdk/model/target/rb.aon +0 -17
- package/project/.sdk/model/target/rust.aon +0 -25
- package/project/.sdk/model/target/scala.aon +0 -74
- package/project/.sdk/model/target/swift.aon +0 -41
- package/project/.sdk/model/target/ts.aon +3 -25
- package/project/.sdk/model/target/zig.aon +0 -50
- package/project/.sdk/src/cmp/c/Config_c.ts +0 -100
- package/project/.sdk/src/cmp/c/EntityTypes_c.ts +4 -40
- package/project/.sdk/src/cmp/c/Main_c.ts +0 -44
- package/project/.sdk/src/cmp/c/Package_c.ts +0 -14
- package/project/.sdk/src/cmp/c/PrepareAuth_c.ts +0 -85
- package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +3 -3
- package/project/.sdk/src/cmp/c/ReadmeExamplesTest_c.ts +0 -20
- package/project/.sdk/src/cmp/c/ReadmeModel_c.ts +3 -3
- package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +7 -10
- package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +0 -2
- package/project/.sdk/src/cmp/c/Schema_c.ts +1 -20
- package/project/.sdk/src/cmp/c/TestDirect_c.ts +12 -12
- package/project/.sdk/src/cmp/c/utility_c.ts +0 -47
- package/project/.sdk/src/cmp/clojure/Config_clojure.ts +0 -63
- package/project/.sdk/src/cmp/clojure/Entity_clojure.ts +0 -1
- package/project/.sdk/src/cmp/clojure/Main_clojure.ts +0 -41
- package/project/.sdk/src/cmp/clojure/Package_clojure.ts +0 -20
- package/project/.sdk/src/cmp/clojure/PrepareAuth_clojure.ts +0 -130
- package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +3 -3
- package/project/.sdk/src/cmp/clojure/ReadmeExamplesTest_clojure.ts +0 -16
- package/project/.sdk/src/cmp/clojure/ReadmeModel_clojure.ts +3 -3
- package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +7 -10
- package/project/.sdk/src/cmp/clojure/Schema_clojure.ts +1 -21
- package/project/.sdk/src/cmp/clojure/TestDirect_clojure.ts +0 -6
- package/project/.sdk/src/cmp/clojure/TestEntity_clojure.ts +0 -10
- package/project/.sdk/src/cmp/clojure/Test_clojure.ts +0 -8
- package/project/.sdk/src/cmp/clojure/featureextra_clojure.ts +0 -34
- package/project/.sdk/src/cmp/clojure/utility_clojure.ts +0 -47
- package/project/.sdk/src/cmp/cpp/Config_cpp.ts +0 -109
- package/project/.sdk/src/cmp/cpp/EntityTypes_cpp.ts +3 -39
- package/project/.sdk/src/cmp/cpp/Main_cpp.ts +0 -47
- package/project/.sdk/src/cmp/cpp/Package_cpp.ts +0 -14
- package/project/.sdk/src/cmp/cpp/PrepareAuth_cpp.ts +0 -125
- package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +3 -3
- package/project/.sdk/src/cmp/cpp/ReadmeExamplesTest_cpp.ts +0 -19
- package/project/.sdk/src/cmp/cpp/ReadmeModel_cpp.ts +3 -3
- package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +0 -7
- package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +7 -10
- package/project/.sdk/src/cmp/cpp/Schema_cpp.ts +1 -22
- package/project/.sdk/src/cmp/cpp/TestDirect_cpp.ts +14 -14
- package/project/.sdk/src/cmp/cpp/TestEntity_cpp.ts +51 -53
- package/project/.sdk/src/cmp/cpp/Test_cpp.ts +0 -3
- package/project/.sdk/src/cmp/cpp/utility_cpp.ts +0 -28
- package/project/.sdk/src/cmp/csharp/Config_csharp.ts +0 -79
- package/project/.sdk/src/cmp/csharp/EntityOperation_csharp.ts +0 -3
- package/project/.sdk/src/cmp/csharp/EntityTypes_csharp.ts +4 -54
- package/project/.sdk/src/cmp/csharp/Entity_csharp.ts +0 -1
- package/project/.sdk/src/cmp/csharp/Main_csharp.ts +0 -24
- package/project/.sdk/src/cmp/csharp/Package_csharp.ts +0 -20
- package/project/.sdk/src/cmp/csharp/PrepareAuth_csharp.ts +0 -81
- package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +3 -4
- package/project/.sdk/src/cmp/csharp/ReadmeExamplesTest_csharp.ts +0 -23
- package/project/.sdk/src/cmp/csharp/ReadmeModel_csharp.ts +3 -3
- package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +7 -10
- package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +0 -2
- package/project/.sdk/src/cmp/csharp/Schema_csharp.ts +1 -19
- package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +30 -30
- package/project/.sdk/src/cmp/csharp/TestEntity_csharp.ts +66 -69
- package/project/.sdk/src/cmp/csharp/utility_csharp.ts +0 -72
- package/project/.sdk/src/cmp/elixir/Config_elixir.ts +0 -78
- package/project/.sdk/src/cmp/elixir/EntityTypes_elixir.ts +4 -42
- package/project/.sdk/src/cmp/elixir/Main_elixir.ts +0 -40
- package/project/.sdk/src/cmp/elixir/Package_elixir.ts +0 -13
- package/project/.sdk/src/cmp/elixir/PrepareAuth_elixir.ts +0 -123
- package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +3 -3
- package/project/.sdk/src/cmp/elixir/ReadmeExamplesTest_elixir.ts +0 -19
- package/project/.sdk/src/cmp/elixir/ReadmeModel_elixir.ts +3 -3
- package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +6 -9
- package/project/.sdk/src/cmp/elixir/Schema_elixir.ts +1 -25
- package/project/.sdk/src/cmp/elixir/utility_elixir.ts +0 -34
- package/project/.sdk/src/cmp/go/Config_go.ts +0 -41
- package/project/.sdk/src/cmp/go/EntityTypes_go.ts +4 -75
- package/project/.sdk/src/cmp/go/Entity_go.ts +0 -5
- package/project/.sdk/src/cmp/go/Main_go.ts +0 -28
- package/project/.sdk/src/cmp/go/Package_go.ts +0 -7
- package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +0 -64
- package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +3 -8
- package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +0 -30
- package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +0 -3
- package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +0 -7
- package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +3 -14
- package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +0 -21
- package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +7 -19
- package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +0 -9
- package/project/.sdk/src/cmp/go/Schema_go.ts +1 -22
- package/project/.sdk/src/cmp/go/TestDirect_go.ts +38 -61
- package/project/.sdk/src/cmp/go/TestEntity_go.ts +75 -82
- package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +0 -21
- package/project/.sdk/src/cmp/go/fragment/Main.fragment.go +0 -12
- package/project/.sdk/src/cmp/go/utility_go.ts +5 -75
- package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +0 -49
- package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +0 -12
- package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +0 -36
- package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +0 -20
- package/project/.sdk/src/cmp/go-mcp/fragment/tools.fragment.go +0 -3
- package/project/.sdk/src/cmp/java/Config_java.ts +0 -63
- package/project/.sdk/src/cmp/java/EntityTypes_java.ts +4 -54
- package/project/.sdk/src/cmp/java/Entity_java.ts +0 -6
- package/project/.sdk/src/cmp/java/Main_java.ts +0 -24
- package/project/.sdk/src/cmp/java/PrepareAuth_java.ts +0 -55
- package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +3 -4
- package/project/.sdk/src/cmp/java/ReadmeExamplesTest_java.ts +0 -20
- package/project/.sdk/src/cmp/java/ReadmeModel_java.ts +3 -3
- package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +0 -4
- package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +7 -10
- package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +0 -7
- package/project/.sdk/src/cmp/java/Schema_java.ts +1 -20
- package/project/.sdk/src/cmp/java/TestDirect_java.ts +30 -37
- package/project/.sdk/src/cmp/java/TestEntity_java.ts +69 -72
- package/project/.sdk/src/cmp/java/Test_java.ts +0 -6
- package/project/.sdk/src/cmp/java/utility_java.ts +0 -33
- package/project/.sdk/src/cmp/js/Config_js.ts +0 -46
- package/project/.sdk/src/cmp/js/EntityTypes_js.ts +5 -38
- package/project/.sdk/src/cmp/js/Main_js.ts +0 -33
- package/project/.sdk/src/cmp/js/Package_js.ts +2 -7
- package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +0 -57
- package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +3 -12
- package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +0 -2
- package/project/.sdk/src/cmp/js/ReadmeModel_js.ts +3 -3
- package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +0 -15
- package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +7 -12
- package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +0 -7
- package/project/.sdk/src/cmp/js/Schema_js.ts +1 -22
- package/project/.sdk/src/cmp/js/TestDirect_js.ts +29 -43
- package/project/.sdk/src/cmp/js/TestEntity_js.ts +69 -82
- package/project/.sdk/src/cmp/js/TestLive_js.ts +12 -5
- package/project/.sdk/src/cmp/js/utility_js.ts +5 -63
- package/project/.sdk/src/cmp/kotlin/Config_kotlin.ts +0 -46
- package/project/.sdk/src/cmp/kotlin/EntityOperation_kotlin.ts +0 -2
- package/project/.sdk/src/cmp/kotlin/EntityTypes_kotlin.ts +4 -57
- package/project/.sdk/src/cmp/kotlin/Entity_kotlin.ts +0 -4
- package/project/.sdk/src/cmp/kotlin/Main_kotlin.ts +0 -46
- package/project/.sdk/src/cmp/kotlin/PrepareAuth_kotlin.ts +0 -113
- package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +3 -4
- package/project/.sdk/src/cmp/kotlin/ReadmeExamplesTest_kotlin.ts +0 -20
- package/project/.sdk/src/cmp/kotlin/ReadmeModel_kotlin.ts +3 -3
- package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +7 -10
- package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +0 -5
- package/project/.sdk/src/cmp/kotlin/Schema_kotlin.ts +1 -20
- package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +30 -30
- package/project/.sdk/src/cmp/kotlin/TestEntity_kotlin.ts +67 -70
- package/project/.sdk/src/cmp/kotlin/Test_kotlin.ts +0 -6
- package/project/.sdk/src/cmp/kotlin/utility_kotlin.ts +0 -33
- package/project/.sdk/src/cmp/lua/Config_lua.ts +0 -56
- package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +5 -35
- package/project/.sdk/src/cmp/lua/Entity_lua.ts +0 -7
- package/project/.sdk/src/cmp/lua/Main_lua.ts +0 -58
- package/project/.sdk/src/cmp/lua/Package_lua.ts +0 -20
- package/project/.sdk/src/cmp/lua/PrepareAuth_lua.ts +0 -61
- package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +3 -11
- package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +0 -24
- package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +3 -13
- package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +4 -25
- package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +7 -17
- package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +0 -3
- package/project/.sdk/src/cmp/lua/Schema_lua.ts +1 -17
- package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +25 -27
- package/project/.sdk/src/cmp/lua/TestEntity_lua.ts +66 -65
- package/project/.sdk/src/cmp/lua/utility_lua.ts +0 -30
- package/project/.sdk/src/cmp/ocaml/Config_ocaml.ts +0 -98
- package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +0 -6
- package/project/.sdk/src/cmp/ocaml/Main_ocaml.ts +0 -78
- package/project/.sdk/src/cmp/ocaml/Package_ocaml.ts +0 -13
- package/project/.sdk/src/cmp/ocaml/PrepareAuth_ocaml.ts +0 -145
- package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +3 -3
- package/project/.sdk/src/cmp/ocaml/ReadmeExamplesTest_ocaml.ts +0 -17
- package/project/.sdk/src/cmp/ocaml/ReadmeModel_ocaml.ts +3 -3
- package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +7 -10
- package/project/.sdk/src/cmp/ocaml/Schema_ocaml.ts +1 -24
- package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +0 -4
- package/project/.sdk/src/cmp/ocaml/TestEntity_ocaml.ts +0 -5
- package/project/.sdk/src/cmp/ocaml/utility_ocaml.ts +0 -27
- package/project/.sdk/src/cmp/perl/Config_perl.ts +0 -52
- package/project/.sdk/src/cmp/perl/Entity_perl.ts +0 -3
- package/project/.sdk/src/cmp/perl/Main_perl.ts +0 -33
- package/project/.sdk/src/cmp/perl/Package_perl.ts +0 -8
- package/project/.sdk/src/cmp/perl/PrepareAuth_perl.ts +0 -84
- package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +3 -6
- package/project/.sdk/src/cmp/perl/ReadmeExamplesTest_perl.ts +0 -27
- package/project/.sdk/src/cmp/perl/ReadmeModel_perl.ts +3 -3
- package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +7 -10
- package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +0 -2
- package/project/.sdk/src/cmp/perl/Schema_perl.ts +1 -19
- package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +25 -27
- package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +60 -59
- package/project/.sdk/src/cmp/perl/utility_perl.ts +0 -26
- package/project/.sdk/src/cmp/php/Config_php.ts +0 -76
- package/project/.sdk/src/cmp/php/EntityTypes_php.ts +5 -56
- package/project/.sdk/src/cmp/php/MainEntity_php.ts +0 -6
- package/project/.sdk/src/cmp/php/Main_php.ts +0 -15
- package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +0 -73
- package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +3 -7
- package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +0 -33
- package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +0 -1
- package/project/.sdk/src/cmp/php/ReadmeModel_php.ts +3 -3
- package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +4 -23
- package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +7 -12
- package/project/.sdk/src/cmp/php/Schema_php.ts +1 -16
- package/project/.sdk/src/cmp/php/TestDirect_php.ts +25 -25
- package/project/.sdk/src/cmp/php/TestEntity_php.ts +66 -74
- package/project/.sdk/src/cmp/php/utility_php.ts +0 -22
- package/project/.sdk/src/cmp/py/Config_py.ts +0 -53
- package/project/.sdk/src/cmp/py/EntityTypes_py.ts +4 -59
- package/project/.sdk/src/cmp/py/Entity_py.ts +0 -16
- package/project/.sdk/src/cmp/py/Main_py.ts +1 -61
- package/project/.sdk/src/cmp/py/Package_py.ts +0 -3
- package/project/.sdk/src/cmp/py/PrepareAuth_py.ts +0 -69
- package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +3 -16
- package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +0 -31
- package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +0 -3
- package/project/.sdk/src/cmp/py/ReadmeModel_py.ts +3 -3
- package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +0 -28
- package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +7 -21
- package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +0 -14
- package/project/.sdk/src/cmp/py/Schema_py.ts +1 -20
- package/project/.sdk/src/cmp/py/TestDirect_py.ts +25 -27
- package/project/.sdk/src/cmp/py/TestEntity_py.ts +66 -65
- package/project/.sdk/src/cmp/py/utility_py.ts +0 -22
- package/project/.sdk/src/cmp/py-data/Main_py-data.ts +13 -47
- package/project/.sdk/src/cmp/rb/Config_rb.ts +0 -56
- package/project/.sdk/src/cmp/rb/EntityTypes_rb.ts +4 -62
- package/project/.sdk/src/cmp/rb/Entity_rb.ts +0 -3
- package/project/.sdk/src/cmp/rb/Main_rb.ts +0 -10
- package/project/.sdk/src/cmp/rb/Package_rb.ts +0 -5
- package/project/.sdk/src/cmp/rb/PrepareAuth_rb.ts +0 -81
- package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +3 -10
- package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +0 -32
- package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +0 -9
- package/project/.sdk/src/cmp/rb/ReadmeModel_rb.ts +3 -3
- package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +4 -27
- package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +7 -15
- package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +0 -5
- package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +0 -3
- package/project/.sdk/src/cmp/rb/Schema_rb.ts +1 -16
- package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +25 -27
- package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +66 -65
- package/project/.sdk/src/cmp/rb/utility_rb.ts +0 -22
- package/project/.sdk/src/cmp/rust/Config_rust.ts +0 -35
- package/project/.sdk/src/cmp/rust/EntityTypes_rust.ts +4 -38
- package/project/.sdk/src/cmp/rust/Entity_rust.ts +0 -9
- package/project/.sdk/src/cmp/rust/Main_rust.ts +0 -58
- package/project/.sdk/src/cmp/rust/Package_rust.ts +0 -30
- package/project/.sdk/src/cmp/rust/PrepareAuth_rust.ts +0 -84
- package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +3 -3
- package/project/.sdk/src/cmp/rust/ReadmeExamplesTest_rust.ts +0 -16
- package/project/.sdk/src/cmp/rust/ReadmeModel_rust.ts +3 -3
- package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +7 -10
- package/project/.sdk/src/cmp/rust/Schema_rust.ts +1 -19
- package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +18 -25
- package/project/.sdk/src/cmp/rust/TestEntity_rust.ts +63 -71
- package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +0 -14
- package/project/.sdk/src/cmp/rust/fragment/EntityRemoveOp.fragment.rs +0 -4
- package/project/.sdk/src/cmp/rust/fragment/Main.fragment.rs +0 -20
- package/project/.sdk/src/cmp/rust/fragment/SdkError.fragment.rs +0 -6
- package/project/.sdk/src/cmp/rust/utility_rust.ts +0 -47
- package/project/.sdk/src/cmp/scala/Config_scala.ts +0 -31
- package/project/.sdk/src/cmp/scala/EntityTypes_scala.ts +4 -55
- package/project/.sdk/src/cmp/scala/Main_scala.ts +0 -78
- package/project/.sdk/src/cmp/scala/PrepareAuth_scala.ts +0 -102
- package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/ReadmeExamplesTest_scala.ts +0 -23
- package/project/.sdk/src/cmp/scala/ReadmeModel_scala.ts +3 -3
- package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +7 -10
- package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +0 -5
- package/project/.sdk/src/cmp/scala/Schema_scala.ts +1 -20
- package/project/.sdk/src/cmp/scala/TestDirect_scala.ts +14 -14
- package/project/.sdk/src/cmp/scala/TestEntity_scala.ts +60 -67
- package/project/.sdk/src/cmp/scala/Test_scala.ts +0 -3
- package/project/.sdk/src/cmp/scala/utility_scala.ts +0 -31
- package/project/.sdk/src/cmp/swift/Config_swift.ts +0 -62
- package/project/.sdk/src/cmp/swift/EntityOperation_swift.ts +0 -3
- package/project/.sdk/src/cmp/swift/EntityTypes_swift.ts +5 -44
- package/project/.sdk/src/cmp/swift/Main_swift.ts +0 -42
- package/project/.sdk/src/cmp/swift/Package_swift.ts +0 -69
- package/project/.sdk/src/cmp/swift/PrepareAuth_swift.ts +0 -134
- package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +3 -5
- package/project/.sdk/src/cmp/swift/ReadmeExamplesTest_swift.ts +0 -22
- package/project/.sdk/src/cmp/swift/ReadmeModel_swift.ts +3 -3
- package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +7 -10
- package/project/.sdk/src/cmp/swift/Schema_swift.ts +1 -19
- package/project/.sdk/src/cmp/swift/TestEntity_swift.ts +0 -4
- package/project/.sdk/src/cmp/swift/utility_swift.ts +0 -51
- package/project/.sdk/src/cmp/ts/Config_ts.ts +0 -46
- package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +5 -39
- package/project/.sdk/src/cmp/ts/Entity_ts.ts +0 -6
- package/project/.sdk/src/cmp/ts/Main_ts.ts +0 -28
- package/project/.sdk/src/cmp/ts/Package_ts.ts +2 -26
- package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +0 -55
- package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +3 -12
- package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +0 -6
- package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +0 -25
- package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +4 -9
- package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +0 -7
- package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +3 -6
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +1 -44
- package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +7 -25
- package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +0 -11
- package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +6 -9
- package/project/.sdk/src/cmp/ts/Schema_ts.ts +1 -22
- package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +42 -93
- package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +76 -107
- package/project/.sdk/src/cmp/ts/TestLive_ts.ts +12 -6
- package/project/.sdk/src/cmp/ts/Test_ts.ts +0 -4
- package/project/.sdk/src/cmp/ts/fragment/Config.data.fragment.ts +0 -27
- package/project/.sdk/src/cmp/ts/fragment/Config.fragment.ts +0 -7
- package/project/.sdk/src/cmp/ts/fragment/Direct.test.fragment.ts +0 -7
- package/project/.sdk/src/cmp/ts/fragment/Entity.fragment.ts +0 -1
- package/project/.sdk/src/cmp/ts/fragment/Entity.test.fragment.ts +0 -4
- package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +0 -20
- package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +0 -6
- package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +0 -6
- package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +0 -15
- package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +0 -6
- package/project/.sdk/src/cmp/ts/fragment/Main.fragment.ts +0 -15
- package/project/.sdk/src/cmp/ts/fragment/MainStation.fragment.ts +0 -12
- package/project/.sdk/src/cmp/ts/fragment/SdkError.fragment.ts +0 -9
- package/project/.sdk/src/cmp/ts/utility_ts.ts +5 -64
- package/project/.sdk/src/cmp/zig/Config_zig.ts +0 -70
- package/project/.sdk/src/cmp/zig/Entity_zig.ts +0 -3
- package/project/.sdk/src/cmp/zig/Main_zig.ts +0 -83
- package/project/.sdk/src/cmp/zig/Package_zig.ts +0 -22
- package/project/.sdk/src/cmp/zig/PrepareAuth_zig.ts +0 -136
- package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +3 -3
- package/project/.sdk/src/cmp/zig/ReadmeExamplesTest_zig.ts +0 -18
- package/project/.sdk/src/cmp/zig/ReadmeModel_zig.ts +3 -3
- package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +0 -3
- package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +7 -10
- package/project/.sdk/src/cmp/zig/Schema_zig.ts +1 -24
- package/project/.sdk/src/cmp/zig/TestDirect_zig.ts +0 -11
- package/project/.sdk/src/cmp/zig/TestEntity_zig.ts +0 -8
- package/project/.sdk/src/cmp/zig/Test_zig.ts +0 -11
- package/project/.sdk/src/cmp/zig/utility_zig.ts +0 -47
- package/project/.sdk/tm/c/feature/test.c +20 -4
- package/project/.sdk/tm/clojure/src/sdk/features.clj +6 -4
- package/project/.sdk/tm/cpp/feature/test.hpp +17 -6
- package/project/.sdk/tm/csharp/feature/FeatureOptions.cs +18 -5
- package/project/.sdk/tm/csharp/feature/TestFeature.cs +10 -4
- package/project/.sdk/tm/elixir/lib/projectname/feature/test.ex +11 -5
- package/project/.sdk/tm/go/core/context.go +0 -9
- package/project/.sdk/tm/go/core/types.go +0 -3
- package/project/.sdk/tm/go/feature/audit_feature.go +0 -9
- package/project/.sdk/tm/go/feature/cache_feature.go +0 -8
- package/project/.sdk/tm/go/feature/clienttrack_feature.go +0 -7
- package/project/.sdk/tm/go/feature/cost_feature.go +0 -51
- package/project/.sdk/tm/go/feature/debug_feature.go +0 -6
- package/project/.sdk/tm/go/feature/feature_options.go +108 -21
- package/project/.sdk/tm/go/feature/idempotency_feature.go +0 -6
- package/project/.sdk/tm/go/feature/metrics_feature.go +0 -6
- package/project/.sdk/tm/go/feature/netsim_feature.go +0 -8
- package/project/.sdk/tm/go/feature/paging_feature.go +0 -9
- package/project/.sdk/tm/go/feature/proxy_feature.go +0 -7
- package/project/.sdk/tm/go/feature/ratelimit_feature.go +0 -6
- package/project/.sdk/tm/go/feature/rbac_feature.go +0 -10
- package/project/.sdk/tm/go/feature/retry_feature.go +0 -6
- package/project/.sdk/tm/go/feature/secrets_feature.go +0 -173
- package/project/.sdk/tm/go/feature/streaming_feature.go +0 -7
- package/project/.sdk/tm/go/feature/telemetry_feature.go +0 -8
- package/project/.sdk/tm/go/feature/test_feature.go +0 -23
- package/project/.sdk/tm/go/feature/validate_feature.go +0 -66
- package/project/.sdk/tm/go/test/custom_utility_test.go +0 -29
- package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +0 -100
- package/project/.sdk/tm/go/test/feature_corpus_test.go +1 -60
- package/project/.sdk/tm/go/test/feature_harness_test.go +0 -10
- package/project/.sdk/tm/go/test/feature_test.go +107 -9
- package/project/.sdk/tm/go/test/omniresolver_test.go +0 -74
- package/project/.sdk/tm/go/test/omnismoke_test.go +0 -4
- package/project/.sdk/tm/go/test/pipeline_test.go +0 -10
- package/project/.sdk/tm/go/test/primary_utility_test.go +0 -32
- package/project/.sdk/tm/go/test/struct_utility_test.go +0 -38
- package/project/.sdk/tm/go/test/testsupport_test.go +0 -25
- package/project/.sdk/tm/go/utility/feature_add.go +0 -6
- package/project/.sdk/tm/go/utility/fetcher.go +0 -6
- package/project/.sdk/tm/go/utility/graphql.go +1 -31
- package/project/.sdk/tm/go/utility/make_options.go +38 -49
- package/project/.sdk/tm/go/utility/make_point.go +0 -11
- package/project/.sdk/tm/go/utility/make_spec.go +0 -15
- package/project/.sdk/tm/go/utility/register.go +0 -28
- package/project/.sdk/tm/go/utility/transform_request.go +0 -20
- package/project/.sdk/tm/go/utility/transform_response.go +0 -8
- package/project/.sdk/tm/java/feature/TestFeature.java +11 -6
- package/project/.sdk/tm/js/src/feature/test/TestFeature.js +12 -4
- package/project/.sdk/tm/js/test/live-entity.js +29 -29
- package/project/.sdk/tm/js/test/live-scenarios.js +4 -4
- package/project/.sdk/tm/kotlin/feature/TestFeature.kt +8 -4
- package/project/.sdk/tm/ocaml/sdk_features.ml +6 -4
- package/project/.sdk/tm/perl/feature/test_feature.pm +6 -4
- package/project/.sdk/tm/rb/feature/test_feature.rb +6 -4
- package/project/.sdk/tm/rust/core/context.rs +0 -5
- package/project/.sdk/tm/rust/core/control.rs +0 -1
- package/project/.sdk/tm/rust/core/helpers.rs +0 -15
- package/project/.sdk/tm/rust/core/operation.rs +0 -1
- package/project/.sdk/tm/rust/core/point.rs +0 -3
- package/project/.sdk/tm/rust/core/response.rs +0 -2
- package/project/.sdk/tm/rust/core/result.rs +0 -1
- package/project/.sdk/tm/rust/core/spec.rs +0 -1
- package/project/.sdk/tm/rust/core/types.rs +0 -20
- package/project/.sdk/tm/rust/core/utility_type.rs +0 -5
- package/project/.sdk/tm/rust/feature/audit.rs +0 -9
- package/project/.sdk/tm/rust/feature/base.rs +0 -3
- package/project/.sdk/tm/rust/feature/cache.rs +0 -9
- package/project/.sdk/tm/rust/feature/clienttrack.rs +0 -7
- package/project/.sdk/tm/rust/feature/cost.rs +0 -48
- package/project/.sdk/tm/rust/feature/debug.rs +0 -7
- package/project/.sdk/tm/rust/feature/idempotency.rs +0 -7
- package/project/.sdk/tm/rust/feature/log.rs +0 -3
- package/project/.sdk/tm/rust/feature/metrics.rs +0 -7
- package/project/.sdk/tm/rust/feature/netsim.rs +0 -9
- package/project/.sdk/tm/rust/feature/paging.rs +0 -10
- package/project/.sdk/tm/rust/feature/proxy.rs +0 -8
- package/project/.sdk/tm/rust/feature/ratelimit.rs +0 -6
- package/project/.sdk/tm/rust/feature/rbac.rs +0 -10
- package/project/.sdk/tm/rust/feature/retry.rs +0 -6
- package/project/.sdk/tm/rust/feature/secrets.rs +1 -187
- package/project/.sdk/tm/rust/feature/streaming.rs +0 -7
- package/project/.sdk/tm/rust/feature/support.rs +0 -6
- package/project/.sdk/tm/rust/feature/telemetry.rs +0 -9
- package/project/.sdk/tm/rust/feature/test.rs +8 -23
- package/project/.sdk/tm/rust/feature/timeout.rs +0 -7
- package/project/.sdk/tm/rust/feature/validate.rs +0 -81
- package/project/.sdk/tm/rust/tests/common/mod.rs +0 -35
- package/project/.sdk/tm/rust/tests/custom_utility_test.rs +0 -2
- package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +0 -95
- package/project/.sdk/tm/rust/tests/feature_test.rs +0 -16
- package/project/.sdk/tm/rust/tests/netsim_test.rs +0 -6
- package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +0 -135
- package/project/.sdk/tm/rust/tests/omni_smoke_test.rs +0 -15
- package/project/.sdk/tm/rust/tests/pipeline_test.rs +0 -6
- package/project/.sdk/tm/rust/tests/primary_utility_test.rs +0 -22
- package/project/.sdk/tm/rust/tests/struct_utility_test.rs +0 -25
- package/project/.sdk/tm/rust/utility/fetcher.rs +0 -5
- package/project/.sdk/tm/rust/utility/graphql.rs +1 -30
- package/project/.sdk/tm/rust/utility/make_error.rs +0 -2
- package/project/.sdk/tm/rust/utility/make_options.rs +0 -46
- package/project/.sdk/tm/rust/utility/make_point.rs +0 -12
- package/project/.sdk/tm/rust/utility/make_spec.rs +0 -4
- package/project/.sdk/tm/rust/utility/voxgigstruct/consts.rs +14 -20
- package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +0 -13
- package/project/.sdk/tm/rust/utility/voxgigstruct/mini.rs +0 -14
- package/project/.sdk/tm/rust/utility/voxgigstruct/mod.rs +0 -2
- package/project/.sdk/tm/rust/utility/voxgigstruct/ordered_map.rs +0 -18
- package/project/.sdk/tm/rust/utility/voxgigstruct/re.rs +0 -11
- package/project/.sdk/tm/rust/utility/voxgigstruct/value.rs +0 -3
- package/project/.sdk/tm/scala/feature/TestFeature.scala +10 -6
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/TestFeature.swift +10 -6
- package/project/.sdk/tm/ts/src/Context.ts +0 -5
- package/project/.sdk/tm/ts/src/feature/audit/AuditFeature.ts +0 -7
- package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +0 -8
- package/project/.sdk/tm/ts/src/feature/clienttrack/ClienttrackFeature.ts +0 -7
- package/project/.sdk/tm/ts/src/feature/cost/CostFeature.ts +0 -52
- package/project/.sdk/tm/ts/src/feature/debug/DebugFeature.ts +0 -6
- package/project/.sdk/tm/ts/src/feature/metrics/MetricsFeature.ts +0 -6
- package/project/.sdk/tm/ts/src/feature/netsim/NetsimFeature.ts +0 -8
- package/project/.sdk/tm/ts/src/feature/paging/PagingFeature.ts +0 -13
- package/project/.sdk/tm/ts/src/feature/proxy/ProxyFeature.ts +0 -8
- package/project/.sdk/tm/ts/src/feature/ratelimit/RatelimitFeature.ts +0 -6
- package/project/.sdk/tm/ts/src/feature/rbac/RbacFeature.ts +0 -9
- package/project/.sdk/tm/ts/src/feature/retry/RetryFeature.ts +0 -6
- package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +0 -136
- package/project/.sdk/tm/ts/src/feature/streaming/StreamingFeature.ts +0 -7
- package/project/.sdk/tm/ts/src/feature/telemetry/TelemetryFeature.ts +0 -7
- package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +13 -88
- package/project/.sdk/tm/ts/src/feature/validate/ValidateFeature.ts +0 -87
- package/project/.sdk/tm/ts/src/utility/CleanUtility.ts +0 -12
- package/project/.sdk/tm/ts/src/utility/FeatureAddUtility.ts +0 -1
- package/project/.sdk/tm/ts/src/utility/GraphqlUtility.ts +2 -30
- package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +0 -4
- package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +0 -46
- package/project/.sdk/tm/ts/src/utility/MakePointUtility.ts +0 -34
- package/project/.sdk/tm/ts/src/utility/MakeRequestUtility.ts +0 -1
- package/project/.sdk/tm/ts/src/utility/MakeSpecUtility.ts +0 -5
- package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +0 -1
- package/project/.sdk/tm/ts/src/utility/ParamUtility.ts +0 -8
- package/project/.sdk/tm/ts/src/utility/PrepareBodyUtility.ts +0 -3
- package/project/.sdk/tm/ts/src/utility/PrepareParamsUtility.ts +0 -6
- package/project/.sdk/tm/ts/src/utility/ResultBasicUtility.ts +0 -1
- package/project/.sdk/tm/ts/src/utility/TransformRequestUtility.ts +0 -20
- package/project/.sdk/tm/ts/src/utility/TransformResponseUtility.ts +0 -4
- package/project/.sdk/tm/ts/test/exists.test.ts +0 -10
- package/project/.sdk/tm/ts/test/feature/Corpus.test.ts +0 -56
- package/project/.sdk/tm/ts/test/feature/harness.ts +0 -9
- package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +0 -106
- package/project/.sdk/tm/ts/test/live-contract.ts +0 -2
- package/project/.sdk/tm/ts/test/live-entity.ts +26 -26
- package/project/.sdk/tm/ts/test/live-scenarios.ts +3 -3
- package/project/.sdk/tm/ts/test/omni.ts +0 -32
- package/project/.sdk/tm/ts/test/pipeline.test.ts +45 -28
- package/project/.sdk/tm/ts/test/utility/Corpus.test.ts +0 -13
- package/project/.sdk/tm/ts/test/utility/PrimaryUtility.test.ts +56 -29
- package/project/.sdk/tm/ts/test/utility/StructUtility.test.ts +0 -7
- package/project/.sdk/tm/ts/test/utility.ts +0 -55
- package/project/.sdk/tm/zig/feature/test.zig +11 -4
- package/project/sdkgen-package.json +1 -1
- package/src/action/action.ts +0 -65
- package/src/action/check.ts +0 -88
- package/src/action/dispatch.ts +0 -27
- package/src/action/doctor.ts +69 -329
- package/src/action/edition.ts +1 -87
- package/src/action/feature.ts +1 -49
- package/src/action/kind.ts +0 -149
- package/src/action/package.ts +0 -228
- package/src/action/resolve.ts +0 -148
- package/src/action/target.ts +0 -177
- package/src/cmp/AgentGuide.ts +0 -7
- package/src/cmp/AgentGuideContent.ts +0 -24
- package/src/cmp/AgentGuideTop.ts +0 -7
- package/src/cmp/Changelog.ts +0 -14
- package/src/cmp/Deploy.ts +1 -31
- package/src/cmp/Entity.ts +0 -4
- package/src/cmp/ExternalTarget.ts +0 -36
- package/src/cmp/Feature.ts +0 -14
- package/src/cmp/FeatureDocs.ts +0 -37
- package/src/cmp/PublishWorkflow.ts +0 -60
- package/src/cmp/ReadmeErrors.ts +0 -17
- package/src/cmp/ReadmeExplanation.ts +2 -11
- package/src/cmp/ReadmeFeatures.ts +0 -10
- package/src/cmp/ReadmeRefFeatures.ts +0 -19
- package/src/cmp/ReadmeStation.ts +0 -19
- package/src/cmp/ReadmeTop.ts +1 -81
- package/src/cmp/ReadmeUnions.ts +1 -16
- package/src/cmp/Registered.ts +0 -30
- package/src/cmp/Security.ts +0 -2
- package/src/cmp/Test.ts +4 -2
- package/src/cmp/TestControl.ts +0 -25
- package/src/helpers/applicability.ts +0 -60
- package/src/helpers/buildIdNames.ts +17 -19
- package/src/helpers/canonSpec.ts +2 -116
- package/src/helpers/canonType.ts +0 -87
- package/src/helpers/collectDeps.ts +0 -27
- package/src/helpers/definition.ts +0 -29
- package/src/helpers/dryrun.ts +0 -8
- package/src/helpers/featureSource.ts +0 -152
- package/src/helpers/getMatchEntries.ts +2 -6
- package/src/helpers/junk.ts +13 -89
- package/src/helpers/manifest.ts +0 -169
- package/src/helpers/modelNames.ts +6 -82
- package/src/helpers/modelcheck.ts +0 -106
- package/src/helpers/naming.ts +0 -303
- package/src/helpers/opExample.ts +0 -56
- package/src/helpers/opShape.ts +33 -233
- package/src/helpers/optspec.ts +0 -77
- package/src/helpers/packageMeta.ts +1 -200
- package/src/helpers/pointPath.ts +5 -65
- package/src/helpers/resolved.ts +39 -0
- package/src/helpers/semver.ts +0 -61
- package/src/helpers/serverVars.ts +0 -44
- package/src/helpers/shipped.ts +0 -14
- package/src/helpers/station.ts +0 -32
- package/src/helpers/stdrep.ts +0 -52
- package/src/helpers/testPolicy.ts +0 -4
- package/src/sdkgen.ts +18 -264
- package/src/testkit.ts +6 -312
- package/src/types.ts +1 -30
- package/src/utility.ts +16 -250
package/dist/helpers/optspec.js
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// THE CLIENT OPTION SPEC, assembled from the model.
|
|
3
|
-
//
|
|
4
|
-
// One schema, not twenty. `main.kit.optspec` (model/sdkgen.aon) declares the
|
|
5
|
-
// standard SDK options; each active feature's own `config.options` declares
|
|
6
|
-
// its own. Both are already struct.validate specs in the by-example sense — a
|
|
7
|
-
// concrete value is the type AND the default — so assembling them is a merge,
|
|
8
|
-
// not a translation. The `Spec` component writes the result into the SDK and
|
|
9
|
-
// makeOptions validates the caller's options against it.
|
|
10
|
-
//
|
|
11
|
-
// WHAT THIS REPLACES. Every language's make_options template carried its own
|
|
12
|
-
// literal copy of the standard options (cpp and scala as JSON string
|
|
13
|
-
// constants), and the feature half did not exist at all: the shipped spec was
|
|
14
|
-
//
|
|
15
|
-
// feature: { `$CHILD`: { `$OPEN`: true, active: false } }
|
|
16
|
-
//
|
|
17
|
-
// so a feature's options were never checked and a typo in one was silently
|
|
18
|
-
// ignored — `{ feature: { cache: { ttl: '5s' } } }` configured nothing and
|
|
19
|
-
// said nothing. Meanwhile the README's option tables came from a THIRD place
|
|
20
|
-
// (`target.options`, `feature.config.options`), which is how a documented
|
|
21
|
-
// option and a validated option could be different sets.
|
|
22
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
3
|
exports.optionSpec = optionSpec;
|
|
24
4
|
exports.featureOptionSpec = featureOptionSpec;
|
|
@@ -31,49 +11,16 @@ const S_CHILD = (0, canonSpec_1.sentinel)('CHILD');
|
|
|
31
11
|
const S_OPEN = (0, canonSpec_1.sentinel)('OPEN');
|
|
32
12
|
const S_ONE = (0, canonSpec_1.sentinel)('ONE');
|
|
33
13
|
const S_NIL = (0, canonSpec_1.sentinel)('NIL');
|
|
34
|
-
// A feature entry the caller may omit.
|
|
35
|
-
//
|
|
36
|
-
// WHY NOT A BARE MAP. A spec value is also the value validate INSERTS when
|
|
37
|
-
// the key is absent, so naming every feature with a bare map would put an
|
|
38
|
-
// entry for every feature the model declares into `options.feature` — and
|
|
39
|
-
// `makeOptions` derives the feature ADD ORDER from that map's keys. The
|
|
40
|
-
// `$ONE`/`$NIL` union keeps an absent feature absent and validates a supplied
|
|
41
|
-
// one, which is the behaviour `$CHILD` had and the behaviour callers have.
|
|
42
14
|
function optional(spec) {
|
|
43
15
|
return [S_ONE, spec, S_NIL];
|
|
44
16
|
}
|
|
45
|
-
// The spec for one feature's options.
|
|
46
|
-
//
|
|
47
|
-
// TWO DECLARATIONS, ONE SPEC:
|
|
48
|
-
// `config.options` — options WITH a default. Also the docs table.
|
|
49
|
-
// `config.optspec` — options with NO sensible default: callbacks (`sink`,
|
|
50
|
-
// `now`, `idgen`), injected objects (`logger`), values
|
|
51
|
-
// that only make sense when supplied. Declared as bare
|
|
52
|
-
// sentinels, so they type-check without inventing a
|
|
53
|
-
// default the feature would then have to ignore.
|
|
54
|
-
//
|
|
55
|
-
// OPEN BY DEFAULT. A feature may read an option neither list names — the
|
|
56
|
-
// shipped set still does, which is why this is open rather than closed — and
|
|
57
|
-
// rejecting those would break working clients on upgrade. `config.strict:
|
|
58
|
-
// true` closes one feature's spec once its options are fully declared.
|
|
59
17
|
function featureOptionSpec(feat) {
|
|
60
18
|
const config = (feat && feat.config) || {};
|
|
61
19
|
const spec = {};
|
|
62
20
|
if (true !== config.strict) {
|
|
63
21
|
spec[S_OPEN] = true;
|
|
64
22
|
}
|
|
65
|
-
// Every feature takes `active`, whatever else it declares. Stated rather
|
|
66
|
-
// than assumed: a feature whose model omits `config.options` entirely
|
|
67
|
-
// (nothing stops one) must still validate the one option it certainly has.
|
|
68
23
|
spec.active = (0, canonSpec_1.optionalSpec)((0, canonSpec_1.byExampleSpec)(false));
|
|
69
|
-
// EVERY FEATURE OPTION IS OPTIONAL, and that is not a policy choice here —
|
|
70
|
-
// it is what a caller does. `{ feature: { cost: { active: true, unit:
|
|
71
|
-
// 0.002 } } }` names two of cost's nine options and means the defaults for
|
|
72
|
-
// the other seven, which the feature's own code applies. A spec naming a
|
|
73
|
-
// key requires it, so without this widening cost's own corpus case failed
|
|
74
|
-
// its own feature's spec for the seven it did not mention.
|
|
75
|
-
//
|
|
76
|
-
// Widened to their KIND as well — see byExampleSpec.
|
|
77
24
|
for (const [name, val] of Object.entries(config.options || {})) {
|
|
78
25
|
spec[name] = (0, canonSpec_1.optionalSpec)((0, canonSpec_1.byExampleSpec)(val));
|
|
79
26
|
}
|
|
@@ -91,22 +38,8 @@ function featureOptionSpec(feat) {
|
|
|
91
38
|
// target must not validate against — or document — a feature it has no
|
|
92
39
|
// implementation for. Without a name every active feature is included.
|
|
93
40
|
function optionSpec(model, targetname) {
|
|
94
|
-
// `only_active: false` IS THE WHOLE SPEC. getModelPath filters out any
|
|
95
|
-
// child whose `active` is false, and a spec is full of them: `test: {
|
|
96
|
-
// active: false }`, the `$CHILD` entity template, every feature default.
|
|
97
|
-
// Filtered, the spec silently lost its `test` entry and validate then
|
|
98
|
-
// rejected a perfectly ordinary `{ test: { active: true } }` with
|
|
99
|
-
// "Unexpected keys at field <root>: test". This is a SCHEMA, not a set of
|
|
100
|
-
// things to emit — `active: false` here is a default value, not a switch.
|
|
101
41
|
const base = (0, apidef_1.getModelPath)(model, `main.${apidef_1.KIT}.optspec`, { required: false, only_active: false }) || {};
|
|
102
|
-
// Cloned, because the model is shared across every target in one build and
|
|
103
|
-
// a spec assembled for `ts` must not be the object `js` then extends.
|
|
104
42
|
const spec = JSON.parse(JSON.stringify(base));
|
|
105
|
-
// The generic entry, kept from the shipped spec: a feature supplied at
|
|
106
|
-
// construction through `extend` (the station adopt path) is not in the
|
|
107
|
-
// model, so its options must still pass. Named entries below are checked
|
|
108
|
-
// against their own spec; anything else gets `active` checked and the rest
|
|
109
|
-
// waved through.
|
|
110
43
|
const feature = {
|
|
111
44
|
[S_CHILD]: {
|
|
112
45
|
[S_OPEN]: true,
|
|
@@ -123,16 +56,6 @@ function optionSpec(model, targetname) {
|
|
|
123
56
|
spec.feature = feature;
|
|
124
57
|
return spec;
|
|
125
58
|
}
|
|
126
|
-
// The per-entity data/request specs a target needs, or null when it needs
|
|
127
|
-
// none.
|
|
128
|
-
//
|
|
129
|
-
// GATED ON THE FEATURE, and that gate is the whole reason this returns null
|
|
130
|
-
// rather than an empty map. The specs are derived data: every one of them can
|
|
131
|
-
// be rebuilt from `fields[].type`, which the generated config already
|
|
132
|
-
// carries. Emitting them unconditionally would grow every existing project's
|
|
133
|
-
// generated source — and, above the config size threshold, flip targets from
|
|
134
|
-
// the literal representation to the parsed-JSON one — to carry a spec nothing
|
|
135
|
-
// reads. A project that turns `validate` on pays for it; nobody else does.
|
|
136
59
|
function entitySpecMap(model, targetname) {
|
|
137
60
|
const feats = (0, applicability_1.targetFeatures)(model, null == targetname ? undefined : targetname);
|
|
138
61
|
const validate = feats.validate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optspec.js","sourceRoot":"","sources":["../../src/helpers/optspec.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"optspec.js","sourceRoot":"","sources":["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AU,EAAE,UAAmB;IACpD,MAAM,KAAK,GAAG,IAAA,8BAAc,EAAC,KAAK,EAAE,IAAI,IAAI,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAA;IAChF,MAAM,QAAQ,GAAI,KAAa,CAAC,QAAQ,CAAA;IAExC,IAAI,IAAI,IAAI,QAAQ,IAAI,KAAK,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;QAClD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,MAAM,GAAG,IAAA,qBAAY,EAAC,KAAK,EAAE,QAAQ,YAAG,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,IAAI,EAAE,CAAA;IAEnF,MAAM,KAAK,GAAwB,EAAE,CAAA;IACrC,IAAA,eAAI,EAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;QAChC,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;YACpC,OAAM;QACR,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAA,uBAAW,EAAC,GAAG,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,OAAO,KAAK,CAAA;AACd,CAAC"}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Single source of truth for a generated SDK's PUBLISHED identity and its
|
|
3
|
-
// descriptive metadata, shared by the per-language Package_<lang>.ts manifest
|
|
4
|
-
// generators AND the README install/heading components — so the install
|
|
5
|
-
// command a README prints can never drift from the real published package name
|
|
6
|
-
// (the #1 defect the publishing recommendations call out).
|
|
7
|
-
//
|
|
8
|
-
// The recommendations require, for every package:
|
|
9
|
-
// - install commands that match the real package name EXACTLY;
|
|
10
|
-
// - description "Unofficial generated <Lang> SDK for the <API> public API.";
|
|
11
|
-
// - a generic non-affiliation statement (upstream owner names are unreliable);
|
|
12
|
-
// - homepage / repository / issues under github.com/<origin>/<slug>-sdk;
|
|
13
|
-
// - the fixed keyword set [voxgig sdk generated-sdk openapi api-client <slug>].
|
|
14
|
-
//
|
|
15
|
-
// Every value here is derived from the resolved model (model.name, model.origin,
|
|
16
|
-
// main.kit.info.title) — no new inputs required.
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.LANG_LABEL = exports.GENERATOR_URL = exports.SECURITY_EMAIL = exports.PUBLISHER_URL = exports.PUBLISHER = void 0;
|
|
19
4
|
exports.langLabel = langLabel;
|
|
@@ -65,47 +50,16 @@ exports.LANG_LABEL = LANG_LABEL;
|
|
|
65
50
|
function langLabel(target) {
|
|
66
51
|
return LANG_LABEL[target] || target;
|
|
67
52
|
}
|
|
68
|
-
// THE NAME WHOSE LANGUAGE RULES APPLY.
|
|
69
|
-
//
|
|
70
|
-
// A target name does two unrelated jobs in this file, and conflating them is
|
|
71
|
-
// the defect this exists to end. `go~go2` installs a SECOND Go SDK: its
|
|
72
|
-
// CONFIG lives under `main.kit.target.go2` (its own module path, its own
|
|
73
|
-
// registry state), but it is still Go — the same go.mod shape, the same
|
|
74
|
-
// `go get` install line, the same "Go" label.
|
|
75
|
-
//
|
|
76
|
-
// So: look config up by the target's OWN name, and select behaviour by this.
|
|
77
|
-
// `origname` is stamped at add time precisely for aliased installs and is
|
|
78
|
-
// empty when a target was installed under its own name, which makes the
|
|
79
|
-
// unaliased case identical to what it was.
|
|
80
|
-
//
|
|
81
|
-
// Ecosystem keys ('npm', 'gem', 'composer') pass through untouched: there is
|
|
82
|
-
// no target node under those names, so they answer for themselves.
|
|
83
53
|
function originName(model, target) {
|
|
84
54
|
const orig = model?.main?.[apidef_1.KIT]?.target?.[target]?.origname;
|
|
85
55
|
return (null != orig && '' !== orig) ? String(orig) : target;
|
|
86
56
|
}
|
|
87
|
-
// Git host, org/repo path, and the canonical repo URLs.
|
|
88
|
-
//
|
|
89
|
-
// `<origin>/<slug>-sdk` is a DERIVATION, not a law. A project whose repo is
|
|
90
|
-
// named anything else — `voxgig-sdk/voxgig-solardemo-sdk`, say, where the slug
|
|
91
|
-
// is `solardemo` — used to have no way to say so, and got a `go.mod` module
|
|
92
|
-
// path that 404s on `go get` plus `homepage`/`repository`/`bugs` URLs pointing
|
|
93
|
-
// at a repo that does not exist. The only escape was renaming the slug, which
|
|
94
|
-
// also renames the SDK classes: a public-API break, and no help at all to a
|
|
95
|
-
// project that has already published.
|
|
96
|
-
//
|
|
97
|
-
// main: kit: repo: {
|
|
98
|
-
// path: 'voxgig-sdk/voxgig-solardemo-sdk' # overrides <origin>/<slug>-sdk
|
|
99
|
-
// host: 'github.com' # default
|
|
100
|
-
// }
|
|
101
57
|
function repoInfo(model) {
|
|
102
58
|
const slug = model.name;
|
|
103
59
|
const origin = model.origin || 'voxgig-sdk';
|
|
104
60
|
const declared = (model && model.main && model.main[apidef_1.KIT] && model.main[apidef_1.KIT].repo) || {};
|
|
105
61
|
const host = '' === (declared.host || '') ? 'github.com' : (declared.host || 'github.com');
|
|
106
62
|
const path = '' === (declared.path || '') ? `${origin}/${slug}-sdk` : String(declared.path);
|
|
107
|
-
// Last segment is the repo; everything before it is the org (which may
|
|
108
|
-
// itself contain slashes on hosts that allow subgroups, e.g. GitLab).
|
|
109
63
|
const seg = path.split('/');
|
|
110
64
|
const repo = seg[seg.length - 1];
|
|
111
65
|
const repoUrl = `https://${host}/${path}`;
|
|
@@ -113,45 +67,15 @@ function repoInfo(model) {
|
|
|
113
67
|
slug,
|
|
114
68
|
origin,
|
|
115
69
|
host,
|
|
116
|
-
// 'org/repo' — the path under the host, and the base of a go module path.
|
|
117
70
|
path,
|
|
118
71
|
repo,
|
|
119
72
|
repoUrl,
|
|
120
73
|
issuesUrl: `${repoUrl}/issues`,
|
|
121
74
|
changelogUrl: `${repoUrl}/blob/main/CHANGELOG.md`,
|
|
122
|
-
// The Releases page. Honest where a link is LABELLED "Releases", which is
|
|
123
|
-
// what the twenty per-target ReadmeInstall components do with it. Those
|
|
124
|
-
// are project-owned and install-once, so this key has to keep existing:
|
|
125
|
-
// dropping it stops every already-generated SDK compiling.
|
|
126
75
|
releasesUrl: `${repoUrl}/releases`,
|
|
127
|
-
// The TAGS page: where the `<target>/vX.Y.Z` tags a pending
|
|
128
|
-
// (not-yet-on-registry) package is installed from actually live.
|
|
129
|
-
//
|
|
130
|
-
// SEPARATE FROM `releasesUrl`, because they are separate pages and only
|
|
131
|
-
// one of them holds tags. A GitHub Release is an object a human publishes;
|
|
132
|
-
// a tag is not one. This fleet pushes tags and cuts no Releases, so every
|
|
133
|
-
// pending target told the reader to install from a git tag and then linked
|
|
134
|
-
// a page reading "There aren't any releases" -- on a repository carrying
|
|
135
|
-
// 72 of them. Use this wherever the sentence promises a tag.
|
|
136
76
|
tagsUrl: `${repoUrl}/tags`,
|
|
137
77
|
};
|
|
138
78
|
}
|
|
139
|
-
// THE GENERATED DOCUMENTATION SITE, when this project publishes one.
|
|
140
|
-
//
|
|
141
|
-
// `docs_url` in the OpenAPI info block is the UPSTREAM API's documentation —
|
|
142
|
-
// docs.nofrixion.com and its like — so nothing in a generated README ever
|
|
143
|
-
// pointed at the site docgen builds from the same model. The repository was
|
|
144
|
-
// therefore the one place the documentation could not be found from: no link
|
|
145
|
-
// in the README, and GitHub's `homepage` field is not ours to set.
|
|
146
|
-
//
|
|
147
|
-
// Derived, not declared, because a GitHub project page has exactly one
|
|
148
|
-
// address: `https://<org>.github.io/<repo>/`. Reading it from the model would
|
|
149
|
-
// mean a second place for it to be wrong.
|
|
150
|
-
//
|
|
151
|
-
// NOTHING IS RETURNED UNLESS THE SITE WILL EXIST. The edition has to be
|
|
152
|
-
// declared, of kind `github-pages`, and not switched off; and the host has to
|
|
153
|
-
// be github.com, since the derivation is GitHub's and holds nowhere else. A
|
|
154
|
-
// link to a Pages site that was never deployed is worse than no link.
|
|
155
79
|
function docsSiteUrl(model) {
|
|
156
80
|
const { host, path } = repoInfo(model);
|
|
157
81
|
if ('github.com' !== host) {
|
|
@@ -168,16 +92,6 @@ function docsSiteUrl(model) {
|
|
|
168
92
|
const repo = seg[seg.length - 1];
|
|
169
93
|
return org && repo ? `https://${org}.github.io/${repo}/` : '';
|
|
170
94
|
}
|
|
171
|
-
// The go module path for a go-family target: the declared override, else the
|
|
172
|
-
// repo path plus the target's subdirectory.
|
|
173
|
-
//
|
|
174
|
-
// main: kit: target: go: module: path: 'github.com/acme/legacy-sdk/go'
|
|
175
|
-
//
|
|
176
|
-
// THE ONLY implementation. Twelve go components used to re-derive
|
|
177
|
-
// `github.com/${origin}/${name}-sdk/go` inline, so fixing the path in one
|
|
178
|
-
// place fixed nothing — and `ReadmeTop`, which prints the module in the root
|
|
179
|
-
// README's package table, lives inside node_modules where a consumer cannot
|
|
180
|
-
// patch it at all.
|
|
181
95
|
function goModule(model, target) {
|
|
182
96
|
const declared = model?.main?.[apidef_1.KIT]?.target?.[target]?.module?.path;
|
|
183
97
|
if (null != declared && '' !== declared) {
|
|
@@ -186,28 +100,10 @@ function goModule(model, target) {
|
|
|
186
100
|
const { host, path } = repoInfo(model);
|
|
187
101
|
return `${host}/${path}/${target}`;
|
|
188
102
|
}
|
|
189
|
-
// The SDK's OWN release version, for this target's manifest and release tag.
|
|
190
|
-
//
|
|
191
|
-
// main: kit: target: ts: publish: version: '0.0.2'
|
|
192
|
-
//
|
|
193
|
-
// Defaults to '0.0.1' (the schema default), which is what every manifest
|
|
194
|
-
// emitter used to HARDCODE. That is why regeneration reset a published
|
|
195
|
-
// version: the value lived only in the generated output, so overwriting the
|
|
196
|
-
// output threw it away, and a project that had shipped 0.0.2 silently got a
|
|
197
|
-
// 0.0.1 manifest back. Declaring it in the model makes the manifest, the
|
|
198
|
-
// install docs and the port's VERSION file agree, and survive.
|
|
199
103
|
function packageVersion(model, target) {
|
|
200
104
|
const declared = model?.main?.[apidef_1.KIT]?.target?.[target]?.publish?.version;
|
|
201
105
|
return null != declared && '' !== declared ? String(declared) : '0.0.1';
|
|
202
106
|
}
|
|
203
|
-
// The Go language version for a go-family target's go.mod.
|
|
204
|
-
//
|
|
205
|
-
// main: kit: target: go: module: goversion: '1.23'
|
|
206
|
-
//
|
|
207
|
-
// Defaults to 1.21, the release that introduced `log/slog` — which sdkgen's
|
|
208
|
-
// own `log` feature template imports. The previous hardcoded `go 1.20` meant a
|
|
209
|
-
// generated SDK could not compile the feature source sdkgen had just written
|
|
210
|
-
// into it.
|
|
211
107
|
function goVersion(model, target, fallback) {
|
|
212
108
|
const declared = model?.main?.[apidef_1.KIT]?.target?.[target]?.module?.goversion;
|
|
213
109
|
if (null != declared && '' !== declared) {
|
|
@@ -215,21 +111,6 @@ function goVersion(model, target, fallback) {
|
|
|
215
111
|
}
|
|
216
112
|
return fallback || '1.21';
|
|
217
113
|
}
|
|
218
|
-
// The root Go package IDENTIFIER — `package voxgigsolardemosdk`. Go requires
|
|
219
|
-
// a plain identifier here, so unlike the module path it must be concatenated
|
|
220
|
-
// from the slug rather than taken from the repo.
|
|
221
|
-
//
|
|
222
|
-
// main: kit: target: go: module: package: 'acmesdk'
|
|
223
|
-
//
|
|
224
|
-
// The default concatenates `<origin><slug>sdk`, which DOUBLES the org prefix
|
|
225
|
-
// whenever the slug already carries it: slug `voxgig-solardemo` under origin
|
|
226
|
-
// `voxgig-sdk` produced `package voxgigvoxgigsolardemosdk`. A slug repeating
|
|
227
|
-
// its org is the natural shape for a repo named `<org>-<product>`, so the
|
|
228
|
-
// default now drops a leading origin prefix instead of restating it.
|
|
229
|
-
//
|
|
230
|
-
// This was the last of the four things the slug derives that had no override,
|
|
231
|
-
// and the only one that came out wrong — see the identity note at the top of
|
|
232
|
-
// model/sdkgen.aon.
|
|
233
114
|
function goPackageIdent(model, target) {
|
|
234
115
|
const declared = model?.main?.[apidef_1.KIT]?.target?.[target]?.module?.package;
|
|
235
116
|
if (null != declared && '' !== declared) {
|
|
@@ -243,18 +124,7 @@ function goPackageIdent(model, target) {
|
|
|
243
124
|
}
|
|
244
125
|
return org + slug + 'sdk';
|
|
245
126
|
}
|
|
246
|
-
// Publication state of a target's package registry, tri-state + tag-only:
|
|
247
|
-
// 'tag' — no registry (the go family); resolved from the git tag.
|
|
248
|
-
// 'pending' — registry declared but the package is not uploaded yet
|
|
249
|
-
// (the fleet default): install from the git tag.
|
|
250
|
-
// 'active' — package is live on the registry: show the real install cmd.
|
|
251
|
-
// 'inactive' — registry deliberately disabled (tag-only, like pending).
|
|
252
|
-
// Reads main.kit.target.<t>.publish.registry.state (default 'pending').
|
|
253
|
-
// The legacy boolean `registry.active: true` is honoured as a back-compat
|
|
254
|
-
// alias for state === 'active'.
|
|
255
127
|
function registryState(model, target) {
|
|
256
|
-
// Tag-only is a property of the Go toolchain, not of one target name, so
|
|
257
|
-
// an aliased `go~go2` must be tag-only too.
|
|
258
128
|
const eco = originName(model, target);
|
|
259
129
|
if ('go' === eco || 'go-cli' === eco || 'go-mcp' === eco)
|
|
260
130
|
return 'tag';
|
|
@@ -262,7 +132,7 @@ function registryState(model, target) {
|
|
|
262
132
|
if (null == reg || '' === (reg.name || ''))
|
|
263
133
|
return 'tag';
|
|
264
134
|
if (true === reg.active)
|
|
265
|
-
return 'active';
|
|
135
|
+
return 'active';
|
|
266
136
|
const s = reg.state;
|
|
267
137
|
if ('active' === s || 'inactive' === s || 'pending' === s)
|
|
268
138
|
return s;
|
|
@@ -303,32 +173,17 @@ function vendorCommand(model, target) {
|
|
|
303
173
|
}
|
|
304
174
|
}
|
|
305
175
|
}
|
|
306
|
-
// API display name for descriptions, e.g. "Aare.guru". Uses the OpenAPI
|
|
307
|
-
// info.title (present for ~98% of the fleet), stripping a trailing " API" so
|
|
308
|
-
// we don't render "... Aare.guru API public API". Falls back to the normalised
|
|
309
|
-
// SDK Name, then the slug.
|
|
310
176
|
function apiName(model) {
|
|
311
177
|
const info = (model.main && model.main[apidef_1.KIT] && model.main[apidef_1.KIT].info) || {};
|
|
312
178
|
const raw = (null != info.title ? String(info.title) : '').trim();
|
|
313
179
|
const stripped = raw.replace(/\s*API\s*$/i, '').trim();
|
|
314
180
|
return stripped || (0, apidef_1.nom)(model, 'Name') || model.name;
|
|
315
181
|
}
|
|
316
|
-
// The REAL published package name per ecosystem — mirrors the exact formula in
|
|
317
|
-
// each Package_<lang>.ts. This is the one canonical implementation.
|
|
318
182
|
function packageName(model, eco) {
|
|
319
183
|
const slug = model.name;
|
|
320
184
|
const origin = model.origin || 'voxgig-sdk';
|
|
321
185
|
const base = origin.endsWith('-sdk') ? slug : `${slug}-sdk`;
|
|
322
186
|
const npmScoped = `@${origin}/${slug}${origin.endsWith('-sdk') ? '' : '-sdk'}`;
|
|
323
|
-
// A target may name its published package outright — the escape hatch for a
|
|
324
|
-
// project whose registry name is not what the slug derives, and which cannot
|
|
325
|
-
// rename the slug without renaming its SDK classes:
|
|
326
|
-
//
|
|
327
|
-
// main: kit: target: ts: publish: registry: package: '@acme/legacy-client'
|
|
328
|
-
//
|
|
329
|
-
// The key already existed in the schema ("registry package name ('' ->
|
|
330
|
-
// derived)") and was simply never read. Keyed by TARGET, so the ecosystem
|
|
331
|
-
// aliases ('npm', 'pypi', ...) resolve to the target that publishes to them.
|
|
332
187
|
const ECO_TARGET = {
|
|
333
188
|
npm: 'ts', pypi: 'py', gem: 'rb', luarocks: 'lua', composer: 'php',
|
|
334
189
|
};
|
|
@@ -365,8 +220,6 @@ function packageName(model, eco) {
|
|
|
365
220
|
case 'go-cli':
|
|
366
221
|
case 'go-mcp':
|
|
367
222
|
return goModule(model, eco);
|
|
368
|
-
// The notebook/analyst package layered on `py`. Distinct PyPI name so it
|
|
369
|
-
// can version and publish independently of the SDK it wraps.
|
|
370
223
|
case 'py-data':
|
|
371
224
|
return `${origin}-${base}-data`;
|
|
372
225
|
default:
|
|
@@ -382,12 +235,6 @@ function installCommand(model, target) {
|
|
|
382
235
|
if (!isPublished(model, target)) {
|
|
383
236
|
return vendorCommand(model, target);
|
|
384
237
|
}
|
|
385
|
-
// WHICH package manager is the language's business, so the switch follows
|
|
386
|
-
// the origin; WHICH package name is this target's own, so every arm passes
|
|
387
|
-
// `target` rather than a hardcoded ecosystem key. Before, an aliased
|
|
388
|
-
// `ts~ts2` matched no case and returned '' — a README with an empty install
|
|
389
|
-
// line — and even had it matched, `packageName(model, 'npm')` would have
|
|
390
|
-
// printed the ORIGIN's package.
|
|
391
238
|
switch (originName(model, target)) {
|
|
392
239
|
case 'ts':
|
|
393
240
|
case 'js':
|
|
@@ -409,8 +256,6 @@ function installCommand(model, target) {
|
|
|
409
256
|
return '';
|
|
410
257
|
}
|
|
411
258
|
}
|
|
412
|
-
// The standard one-line package description (with the generic non-affiliation
|
|
413
|
-
// statement inline) used in every manifest.
|
|
414
259
|
function pkgDescription(model, target) {
|
|
415
260
|
return `Unofficial generated ${langLabel(originName(model, target))} SDK` +
|
|
416
261
|
` for the ${apiName(model)} public API.` +
|
|
@@ -427,29 +272,6 @@ function nonAffiliation(model) {
|
|
|
427
272
|
function keywords(model) {
|
|
428
273
|
return ['voxgig', 'sdk', 'generated-sdk', 'openapi', 'api-client', model.name];
|
|
429
274
|
}
|
|
430
|
-
// WHO WROTE THE PACKAGE — `main: kit: author` / `main: kit: contributor`.
|
|
431
|
-
//
|
|
432
|
-
// Attribution cannot be derived: it is not a function of the slug, the repo or
|
|
433
|
-
// the API. And because generated output is OVERWRITTEN, a name hand-edited
|
|
434
|
-
// into a manifest is deleted by the next regeneration — silently, because no
|
|
435
|
-
// build step can tell that a person is missing. The seneca-provider target
|
|
436
|
-
// dropped a hand-written provider's author and both its named contributors
|
|
437
|
-
// exactly that way. So attribution is declared in the model and read here.
|
|
438
|
-
//
|
|
439
|
-
// An unset author is the PUBLISHER, which is what every generated SDK manifest
|
|
440
|
-
// has always carried (Package_ts hardcoded it); a project that has never
|
|
441
|
-
// thought about authorship keeps the previous behaviour.
|
|
442
|
-
//
|
|
443
|
-
// PER TARGET, falling back to the model-wide value. One model can produce
|
|
444
|
-
// packages with different authors: the SDK is a generated artefact of the
|
|
445
|
-
// publisher, while a Seneca provider is an independently released package with
|
|
446
|
-
// its own human maintainers. A single model-wide name cannot be right for
|
|
447
|
-
// both — and it was not: the solardemo model named a person, the target that
|
|
448
|
-
// read it credited them, and the SDK's own manifest went on saying Voxgig
|
|
449
|
-
// because it read nothing at all.
|
|
450
|
-
//
|
|
451
|
-
// main: kit: author: { ... } # every package from this model
|
|
452
|
-
// main: kit: target: ts: author: { ... } # ...except this one
|
|
453
275
|
function authorInfo(model, target) {
|
|
454
276
|
const perTarget = null == target ? null :
|
|
455
277
|
model?.main?.[apidef_1.KIT]?.target?.[target]?.author;
|
|
@@ -457,19 +279,10 @@ function authorInfo(model, target) {
|
|
|
457
279
|
perTarget : (model?.main?.[apidef_1.KIT]?.author || {});
|
|
458
280
|
const name = null != declared.name && '' !== declared.name ?
|
|
459
281
|
String(declared.name) : PUBLISHER;
|
|
460
|
-
// A declared author with no url gets none — inventing PUBLISHER_URL for a
|
|
461
|
-
// named human would credit them to Voxgig's homepage.
|
|
462
282
|
const url = null != declared.url && '' !== declared.url ? String(declared.url) :
|
|
463
283
|
(PUBLISHER === name ? PUBLISHER_URL : '');
|
|
464
284
|
return { name, url };
|
|
465
285
|
}
|
|
466
|
-
// Contributors, in sorted-key order so the manifest is byte-stable. `each`
|
|
467
|
-
// rather than Object.keys: the model is an aontu map and carries metadata
|
|
468
|
-
// keys alongside its entries.
|
|
469
|
-
//
|
|
470
|
-
// An entry with no name is DROPPED rather than rendered as `{}` — the schema
|
|
471
|
-
// makes `name` required, but a partially-unified model can still reach here
|
|
472
|
-
// during a dry run.
|
|
473
286
|
function contributorList(model) {
|
|
474
287
|
return (0, jostraca_1.each)(model?.main?.[apidef_1.KIT]?.contributor || {})
|
|
475
288
|
.filter((c) => null != c && null != c.name && '' !== c.name)
|
|
@@ -478,21 +291,9 @@ function contributorList(model) {
|
|
|
478
291
|
url: null != c.url && '' !== c.url ? String(c.url) : '',
|
|
479
292
|
}));
|
|
480
293
|
}
|
|
481
|
-
// A VALID uppercase env-var token: 'unsolicited-advice' -> 'UNSOLICITED_ADVICE'.
|
|
482
|
-
//
|
|
483
|
-
// THE ONLY WAY to build an env-var name segment. There used to be three
|
|
484
|
-
// spellings of this in the components — `envToken(name)`,
|
|
485
|
-
// `nom(x, 'NAME')` (the camel form uppercased, which SWALLOWS the hyphen) and
|
|
486
|
-
// `x.name.toUpperCase().replace(...)` — and they agree only while the name has
|
|
487
|
-
// no hyphen in it. A slug like `voxgig-solardemo` produced both
|
|
488
|
-
// `VOXGIG_SOLARDEMO_TEST_LIVE` and `VOXGIGSOLARDEMO_TEST_LIVE` in the SAME
|
|
489
|
-
// generated SDK: `test/utility.ts` read one, `PlanetEntity.test.ts` the other,
|
|
490
|
-
// so setting either sent half the suite live and left the rest mocked — with
|
|
491
|
-
// the suite reporting green either way.
|
|
492
294
|
function envToken(name) {
|
|
493
295
|
return String(name || '').toUpperCase().replace(/[^A-Z0-9]+/g, '_').replace(/^_+|_+$/g, '');
|
|
494
296
|
}
|
|
495
|
-
// The env-var base for this SDK: <NAME>_APIKEY, <NAME>_TEST_LIVE, ...
|
|
496
297
|
function envName(model) {
|
|
497
298
|
return envToken(model.name);
|
|
498
299
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageMeta.js","sourceRoot":"","sources":["../../src/helpers/packageMeta.ts"],"names":[],"mappings":";AAAA,0EAA0E;AAC1E,8EAA8E;AAC9E,wEAAwE;AACxE,+EAA+E;AAC/E,2DAA2D;AAC3D,EAAE;AACF,kDAAkD;AAClD,iEAAiE;AACjE,+EAA+E;AAC/E,iFAAiF;AACjF,2EAA2E;AAC3E,kFAAkF;AAClF,EAAE;AACF,iFAAiF;AACjF,iDAAiD;;;QAmgB/C,SAAS;QACT,UAAU;QACV,QAAQ;QACR,OAAO;QACP,WAAW;QACX,cAAc;QACd,aAAa;QACb,WAAW;QACX,YAAY;QACZ,aAAa;QACb,cAAc;QACd,cAAc;QACd,QAAQ;QACR,UAAU;QACV,eAAe;QACf,OAA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CAAC,KAAU;IACzB,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC7B,CAAC"}
|
|
@@ -5,84 +5,24 @@ exports.pointSegments = pointSegments;
|
|
|
5
5
|
exports.pointParts = pointParts;
|
|
6
6
|
exports.pointTerminalParam = pointTerminalParam;
|
|
7
7
|
exports.pointPathKey = pointPathKey;
|
|
8
|
-
// A point's path, as apidef resolves it.
|
|
9
|
-
//
|
|
10
|
-
// apidef ADR-003: the model carries the path as a typed segment vector —
|
|
11
|
-
// `[{ lit: 'element' }, { var: 'id' }]` — and no brace-templated string. A
|
|
12
|
-
// `var` names one of the point's `args.params` directly, so a consumer walks
|
|
13
|
-
// the vector instead of parsing anything.
|
|
14
|
-
//
|
|
15
|
-
// The generated SDK runtimes still speak the older braced-string form
|
|
16
|
-
// (`['element', '{id}']`), which this file reconstructs in ONE place. Every
|
|
17
|
-
// generation-time consumer and the embedded config go through here, so when
|
|
18
|
-
// the runtimes move onto segments there is a single call site to retire —
|
|
19
|
-
// rather than the twenty-odd hand-written brace parsers ADR-003 is about.
|
|
20
8
|
const utility_1 = require("../utility");
|
|
21
|
-
// The segment vector, defensively. GraphQL points address the single endpoint
|
|
22
|
-
// and carry no path, so an empty vector is normal, not a fault.
|
|
23
|
-
//
|
|
24
|
-
// A point carrying the OLD `parts` and no `segments` is a different thing
|
|
25
|
-
// entirely: a model generated by apidef <= 8.1, checked in under a project's
|
|
26
|
-
// `.sdk/model/`, that has not been regenerated. Treating it as pathless
|
|
27
|
-
// would emit an SDK whose every request goes to the API ROOT — silently,
|
|
28
|
-
// because an empty path is indistinguishable from a GraphQL point here.
|
|
29
|
-
//
|
|
30
|
-
// THIS is where the check belongs. apidef 8.2.0 tried it in the schema
|
|
31
|
-
// (`parts?: null`) and that bricked the upgrade instead: the stale model is
|
|
32
|
-
// the INPUT to the tool that rewrites it, and voxgig-model unifies before it
|
|
33
|
-
// runs apidef's build, so the file blocked its own regeneration. Here the
|
|
34
|
-
// model unifies, apidef regenerates it, and a stale point only ever reaches
|
|
35
|
-
// this helper when that regeneration did NOT happen — exactly when the
|
|
36
|
-
// project needs to be told.
|
|
37
9
|
function pointSegments(point) {
|
|
38
|
-
const segments = point && point.
|
|
39
|
-
if (!Array.isArray(segments) && Array.isArray(point
|
|
40
|
-
throw new utility_1.SdkGenError('model: the point for `' + (
|
|
41
|
-
'`
|
|
42
|
-
|
|
43
|
-
'replaced the braced-string form with the typed segment vector in ' +
|
|
44
|
-
'8.2.0 (its ADR-003), so this model was generated by an older apidef ' +
|
|
45
|
-
'and has not been regenerated. Generating from it would build every ' +
|
|
46
|
-
'URL as the API root. Run `npm run generate` in the project\'s `.sdk` ' +
|
|
47
|
-
'so apidef rewrites its entity models, then generate again.');
|
|
10
|
+
const segments = point && point.s;
|
|
11
|
+
if (!Array.isArray(segments) && (Array.isArray(point?.parts) || Array.isArray(point?.segments))) {
|
|
12
|
+
throw new utility_1.SdkGenError('model: the point for `' + (point?.o || point?.orig || '(unknown path)') +
|
|
13
|
+
'` uses an obsolete path shape. Typed segments belong in `s`. ' +
|
|
14
|
+
'Run `npm run generate` in the project\'s `.sdk` to regenerate the API model.');
|
|
48
15
|
}
|
|
49
16
|
return Array.isArray(segments) ? segments : [];
|
|
50
17
|
}
|
|
51
|
-
// The braced-string form the SDK runtimes still consume. A `lit` is emitted
|
|
52
|
-
// verbatim — including one that contains braces, which apidef leaves literal
|
|
53
|
-
// (a compound element like `{a}.{b}` names no single parameter). That is the
|
|
54
|
-
// lossiness ADR-003 removed from the model, and it survives here only because
|
|
55
|
-
// this is the OLD representation being reconstructed on the way out.
|
|
56
18
|
function pointParts(point) {
|
|
57
19
|
return pointSegments(point).map((seg) => null == seg.var ? String(seg.lit ?? '') : '{' + seg.var + '}');
|
|
58
20
|
}
|
|
59
|
-
// Does the path end in a parameter?
|
|
60
|
-
//
|
|
61
|
-
// DELIBERATELY asked of the reconstructed part, not of the vector, even
|
|
62
|
-
// though the vector states it directly and more accurately.
|
|
63
|
-
//
|
|
64
|
-
// The same rule runs at RUNTIME, in all 21 languages' makePoint template
|
|
65
|
-
// (`0 === last.indexOf('{')` over `parts`), to pick a fallback route when no
|
|
66
|
-
// point's `select.exist` matches. Those templates ship standalone, outside
|
|
67
|
-
// this package, so the rule is written twice on purpose and BOTH SIDES MUST
|
|
68
|
-
// MOVE TOGETHER — see the note in opShape.ts and in each template.
|
|
69
|
-
//
|
|
70
|
-
// Reading the vector here would break that. A path ending in a LITERAL that
|
|
71
|
-
// contains braces (`/reports/{id}.json`) is not a terminal parameter by the
|
|
72
|
-
// vector, but every runtime still says it is, because from the reconstructed
|
|
73
|
-
// string it cannot tell. Generation-time `ownPoint` would then pick a
|
|
74
|
-
// different route than the SDK picks at request time — for the same model.
|
|
75
|
-
//
|
|
76
|
-
// So this stays bug-compatible with the runtimes until they move onto
|
|
77
|
-
// segments, at which point this becomes `null != last.var` and all 21 change
|
|
78
|
-
// with it.
|
|
79
21
|
function pointTerminalParam(point) {
|
|
80
22
|
const parts = pointParts(point);
|
|
81
23
|
const last = 0 < parts.length ? parts[parts.length - 1] : '';
|
|
82
24
|
return 0 === last.indexOf('{');
|
|
83
25
|
}
|
|
84
|
-
// Do two points describe the same route? Compares the vectors, so a literal
|
|
85
|
-
// containing braces cannot be mistaken for a parameter of the same spelling.
|
|
86
26
|
function pointPathKey(point) {
|
|
87
27
|
return pointSegments(point)
|
|
88
28
|
.map((seg) => null == seg.var ? 'l:' + String(seg.lit ?? '') : 'v:' + seg.var)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pointPath.js","sourceRoot":"","sources":["../../src/helpers/pointPath.ts"],"names":[],"mappings":";AAAA,iDAAiD;;
|
|
1
|
+
{"version":3,"file":"pointPath.js","sourceRoot":"","sources":["../../src/helpers/pointPath.ts"],"names":[],"mappings":";AAAA,iDAAiD;;QAqD/C,aAAa;QACb,UAAU;QACV,kBAAkB;QAClB,YAAY;AApDd,wCAAwC;AASxC,SAAS,aAAa,C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