@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/naming.js
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Reserved-word sanitiser for generated doc-example variable names.
|
|
3
|
-
//
|
|
4
|
-
// A doc example binds a variable named after the lowercased entity name
|
|
5
|
-
// (e.g. `const delete = await client.Delete().load()`). When that name is a
|
|
6
|
-
// reserved word in the target language the snippet does not compile
|
|
7
|
-
// (TS1109/TS1389 for `delete`). `safeVarName` appends `_` to any reserved
|
|
8
|
-
// name so the example still reads clearly and compiles.
|
|
9
|
-
//
|
|
10
|
-
// Only languages whose build/vet actually rejects the name are listed. JS and
|
|
11
|
-
// TS share the ECMAScript reserved set (plus the strict-mode / contextual
|
|
12
|
-
// words a `const` binding trips on). Go lists its 25 keywords — a var named
|
|
13
|
-
// `type`/`func`/`range` fails `go build`; Go builtins like `delete`/`len` are
|
|
14
|
-
// NOT keywords and are legal identifiers, so they are intentionally omitted.
|
|
15
|
-
// rb/py/lua list the keywords that are illegal as a local-variable binding
|
|
16
|
-
// (e.g. a `Self` entity -> `self = client.Self` is a Ruby SyntaxError, an
|
|
17
|
-
// `End` entity -> `end = ...` a Lua one). PHP variables are `$`-prefixed so a
|
|
18
|
-
// lowercased entity name never collides (only `$this` is special, and no
|
|
19
|
-
// entity is named `this`), so PHP is not treated.
|
|
20
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
3
|
exports.isReservedName = isReservedName;
|
|
22
4
|
exports.safeVarName = safeVarName;
|
|
@@ -44,7 +26,6 @@ const JS_RESERVED = new Set([
|
|
|
44
26
|
'finally', 'for', 'function', 'if', 'import', 'in', 'instanceof', 'new',
|
|
45
27
|
'null', 'return', 'super', 'switch', 'this', 'throw', 'true', 'try',
|
|
46
28
|
'typeof', 'var', 'void', 'while', 'with', 'yield',
|
|
47
|
-
// strict-mode / contextual words that are invalid as a `const`/`let` binding
|
|
48
29
|
'await', 'implements', 'interface', 'let', 'package', 'private',
|
|
49
30
|
'protected', 'public', 'static',
|
|
50
31
|
]);
|
|
@@ -54,7 +35,6 @@ const GO_RESERVED = new Set([
|
|
|
54
35
|
'map', 'package', 'range', 'return', 'select', 'struct', 'switch', 'type',
|
|
55
36
|
'var',
|
|
56
37
|
]);
|
|
57
|
-
// Ruby keywords — illegal as a local-variable name (e.g. `self`, `end`).
|
|
58
38
|
const RB_RESERVED = new Set([
|
|
59
39
|
'alias', 'and', 'begin', 'break', 'case', 'class', 'def', 'defined?',
|
|
60
40
|
'do', 'else', 'elsif', 'end', 'ensure', 'false', 'for', 'if', 'in',
|
|
@@ -62,7 +42,6 @@ const RB_RESERVED = new Set([
|
|
|
62
42
|
'self', 'super', 'then', 'true', 'undef', 'unless', 'until', 'when',
|
|
63
43
|
'while', 'yield', '__FILE__', '__LINE__', '__ENCODING__', 'BEGIN', 'END',
|
|
64
44
|
]);
|
|
65
|
-
// Python keywords — illegal as a variable name.
|
|
66
45
|
const PY_RESERVED = new Set([
|
|
67
46
|
'False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break',
|
|
68
47
|
'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally',
|
|
@@ -83,88 +62,31 @@ const RESERVED = {
|
|
|
83
62
|
py: PY_RESERVED,
|
|
84
63
|
lua: LUA_RESERVED,
|
|
85
64
|
};
|
|
86
|
-
// Ruby CORE CONSTANTS — a different hazard from the keyword sets above.
|
|
87
|
-
//
|
|
88
|
-
// The keyword sets guard local-variable BINDINGS. This set guards generated
|
|
89
|
-
// top-level CONSTANTS. Ruby constants share one namespace with the core
|
|
90
|
-
// classes, and reassigning one is not an error — it silently replaces it:
|
|
91
|
-
//
|
|
92
|
-
// File = Struct.new(:name) # ::File is now a Struct
|
|
93
|
-
// File.join('a', 'b') # NoMethodError — every later caller breaks
|
|
94
|
-
//
|
|
95
|
-
// The typed model emits `<Name> = Struct.new(...)` per entity, so an API with
|
|
96
|
-
// a `/files` collection (entity `File`) used to clobber Ruby's File class and
|
|
97
|
-
// take the whole SDK down with it — the generated test runner calls
|
|
98
|
-
// `File.join` to locate `.env.local`, so `rb` failed at require time.
|
|
99
|
-
//
|
|
100
|
-
// Only names Ruby itself defines at top level are listed: reassigning any of
|
|
101
|
-
// them breaks working code somewhere. Names that merely LOOK builtin but are
|
|
102
|
-
// not core constants (e.g. `Response`, `Record`) are safe and stay untouched,
|
|
103
|
-
// which keeps the rename off every SDK that does not actually collide.
|
|
104
65
|
const RB_CORE_CONSTANTS = new Set([
|
|
105
|
-
// classes an entity name plausibly lands on
|
|
106
66
|
'Array', 'Binding', 'Class', 'Comparable', 'Complex', 'Data', 'Dir',
|
|
107
67
|
'Encoding', 'Enumerator', 'Exception', 'Fiber', 'File', 'Float', 'Hash',
|
|
108
68
|
'IO', 'Integer', 'Method', 'Module', 'Mutex', 'Numeric', 'Object', 'Proc',
|
|
109
69
|
'Queue', 'Random', 'Range', 'Rational', 'Regexp', 'Set', 'Signal', 'String',
|
|
110
70
|
'Struct', 'Symbol', 'Thread', 'Time', 'UnboundMethod',
|
|
111
|
-
// modules / singletons
|
|
112
71
|
'Enumerable', 'GC', 'Kernel', 'Marshal', 'Math', 'ObjectSpace', 'Process',
|
|
113
72
|
'Warning',
|
|
114
|
-
// the rest of the exception hierarchy an API might name an entity after
|
|
115
73
|
'ArgumentError', 'IndexError', 'IOError', 'KeyError', 'NameError',
|
|
116
74
|
'NotImplementedError', 'RangeError', 'RuntimeError', 'StandardError',
|
|
117
75
|
'StopIteration', 'SystemExit', 'TypeError', 'ZeroDivisionError',
|
|
118
|
-
// literal singletons
|
|
119
76
|
'FalseClass', 'NilClass', 'TrueClass',
|
|
120
77
|
]);
|
|
121
|
-
// Is `Name` a constant Ruby already defines at top level?
|
|
122
78
|
function isRbCoreConstant(Name) {
|
|
123
79
|
return RB_CORE_CONSTANTS.has(Name);
|
|
124
80
|
}
|
|
125
|
-
// RUBY SDK-OWNED CONSTANTS — the OTHER half of "already taken".
|
|
126
|
-
//
|
|
127
|
-
// `RB_CORE_CONSTANTS` guards names the LANGUAGE owns. This guards names the
|
|
128
|
-
// GENERATED SCAFFOLDING claims for itself, which is a distinct hazard and the
|
|
129
|
-
// one that stayed open: an entity named `Runner` produced `class Runner` in
|
|
130
|
-
// `<Sdk>_types.rb`, and the generated harness then does
|
|
131
|
-
//
|
|
132
|
-
// Runner = ProjectNameTestRunner # tm/rb/test/runner.rb
|
|
133
|
-
//
|
|
134
|
-
// so inside the test process the entity TYPE silently *is* the test runner.
|
|
135
|
-
// Ruby warns (`already initialized constant Runner`) and carries on, which is
|
|
136
|
-
// why it survived: nothing in the suite exercises the type, so `rb` passed.
|
|
137
|
-
// Reported on gitlab-sdk, which has a `Runner` entity (issue #64).
|
|
138
|
-
//
|
|
139
|
-
// EVERYTHING SHARES ONE NAMESPACE HERE, unlike swift. Swift's Tests module is
|
|
140
|
-
// separate from the SDK module, so `SWIFT_SDK_TYPES` can exclude test-only
|
|
141
|
-
// declarations. Ruby has no such split — the types file and the test files are
|
|
142
|
-
// all required into one process when the suite runs, which is exactly the
|
|
143
|
-
// reported symptom — so test-declared names belong in this set.
|
|
144
|
-
//
|
|
145
|
-
// PREFIXED DECLARATIONS ARE DELIBERATELY ABSENT. `ProjectNameUtility` and
|
|
146
|
-
// friends substitute to `<Sdk>Utility`, and a generated entity type is the
|
|
147
|
-
// bare entity name, so those cannot collide. Only the UNPREFIXED declarations
|
|
148
|
-
// are reachable.
|
|
149
|
-
//
|
|
150
|
-
// `rb-sdk-constants.test.ts` re-derives this list from the templates AND the
|
|
151
|
-
// components and fails on drift — the same discipline as
|
|
152
|
-
// `swift-sdk-types.test.ts`, and for the same reason: the first cut of that
|
|
153
|
-
// list was collected by hand and missed three names, one of them declared by
|
|
154
|
-
// a component rather than a template.
|
|
155
81
|
const RB_SDK_CONSTANTS = new Set([
|
|
156
|
-
// module-level aliases the test harness defines for convenience
|
|
157
82
|
'Helpers', 'Runner', 'Vs',
|
|
158
|
-
// vendored struct library and its test scaffolding
|
|
159
83
|
'StructRunner', 'StructTestClient', 'StructUtilityTest', 'VoxgigStruct',
|
|
160
84
|
'STRUCT_TEST_JSON_FILE',
|
|
161
|
-
// vendored omni runner and its smoke test (vendor-tag rollout)
|
|
162
85
|
'VoxgigOmni', 'OmniSmokeTest',
|
|
163
86
|
// vendored sekreto and its plugin host — the `secrets` feature's library,
|
|
164
87
|
// shipped only when that feature is selected, but declared at the top
|
|
165
88
|
// level when it is
|
|
166
89
|
'VoxgigSekreto', 'VoxgigPlugin',
|
|
167
|
-
// the generated/templated test classes
|
|
168
90
|
'ExistsTest', 'FeatureCorpusTest', 'FeatureTest', 'NetsimTest',
|
|
169
91
|
'PipelineTest', 'PrimaryUtilityTest', 'ReadmeExamplesTest',
|
|
170
92
|
'SecretsFeatureTest',
|
|
@@ -174,62 +96,16 @@ const RB_SDK_CONSTANTS = new Set([
|
|
|
174
96
|
function isRbSdkConstant(Name) {
|
|
175
97
|
return RB_SDK_CONSTANTS.has(Name);
|
|
176
98
|
}
|
|
177
|
-
// A top-level-safe Ruby constant name for a generated type: the name
|
|
178
|
-
// unchanged, unless it is ALREADY TAKEN — by Ruby core, or by the SDK's own
|
|
179
|
-
// scaffolding — in which case `Type` is appended (`File` -> `FileType`,
|
|
180
|
-
// `Runner` -> `RunnerType`). Applied ONLY to the bare entity data type: the
|
|
181
|
-
// per-op type names always carry a suffix (`FileCreateData`,
|
|
182
|
-
// `FileLoadMatch`), which nothing in either set matches.
|
|
183
|
-
//
|
|
184
|
-
// The entity ACCESSOR keeps its original name (`client.File(...)`): methods
|
|
185
|
-
// and constants live in separate namespaces in Ruby, so the accessor never
|
|
186
|
-
// collided and the public surface is unchanged.
|
|
187
99
|
function rbSafeTypeName(Name) {
|
|
188
100
|
return isRbCoreConstant(Name) || isRbSdkConstant(Name) ? Name + 'Type' : Name;
|
|
189
101
|
}
|
|
190
|
-
// Swift SDK-OWNED TYPE NAMES — a third hazard, distinct from both sets above.
|
|
191
|
-
//
|
|
192
|
-
// The keyword sets guard local bindings; the Ruby set guards clobbering the
|
|
193
|
-
// LANGUAGE's core. This set guards clobbering OUR OWN runtime, because Swift
|
|
194
|
-
// has no namespacing WITHIN a module: every type the swift templates declare
|
|
195
|
-
// and every generated entity type land in the same module. Two declarations
|
|
196
|
-
// of one name is a hard error, not a silent override:
|
|
197
|
-
//
|
|
198
|
-
// // core/Response.swift (template)
|
|
199
|
-
// public final class Response { ... } // transport wrapper
|
|
200
|
-
// // entity/<Prefix>Types.swift (generated from a spec schema named Response)
|
|
201
|
-
// public struct Response { ... }
|
|
202
|
-
// -> error: invalid redeclaration of 'Response'
|
|
203
|
-
// -> error: 'Response' is ambiguous for type lookup (every core file)
|
|
204
|
-
//
|
|
205
|
-
// Found 2026-08-07: the Hook0 spec has a `Response` schema, which took the
|
|
206
|
-
// whole swift target down. `Response` is merely the first collision to be
|
|
207
|
-
// hit — every name below is equally exposed.
|
|
208
|
-
//
|
|
209
|
-
// Sourced by scanning BOTH `tm/swift/Sources/*/` (templates) and
|
|
210
|
-
// `src/cmp/swift/*.ts` (components) for top-level type declarations —
|
|
211
|
-
// regardless of access level. `internal` is Swift's default and is still
|
|
212
|
-
// module-wide, and `open class BaseFeature` is not `public` either, so an
|
|
213
|
-
// access-level filter under-collects and silently reopens the bug.
|
|
214
|
-
//
|
|
215
|
-
// Nested types (a `typealias Element` inside a struct) and the separate Tests
|
|
216
|
-
// module (`ReadmeExamplesTest`) do NOT share this namespace and are excluded.
|
|
217
|
-
//
|
|
218
|
-
// `swift-sdk-types.test.ts` re-derives this list from the templates and fails
|
|
219
|
-
// on drift, so adding a public type to a swift template cannot silently
|
|
220
|
-
// reopen the bug.
|
|
221
102
|
const SWIFT_SDK_TYPES = new Set([
|
|
222
|
-
// core runtime
|
|
223
103
|
'Context', 'Control', 'Entity', 'Operation', 'Point', 'Response', 'Result',
|
|
224
104
|
'SdkConfig', 'SdkSchema', 'Spec', 'Utility',
|
|
225
|
-
// struct library
|
|
226
105
|
'Injection', 'Injector', 'JSON', 'JSONParseError', 'Modify',
|
|
227
106
|
'OrderedDictionary', 'Sentinel', 'Value', 'VList', 'VMap', 'WalkApply',
|
|
228
|
-
// function/callback aliases
|
|
229
107
|
'FetcherFunc', 'Formatter', 'NativeCall0', 'NativeRef', 'SystemFetch',
|
|
230
|
-
// transport plumbing
|
|
231
108
|
'ManualRedirectDelegate',
|
|
232
|
-
// features
|
|
233
109
|
'AuditFeature', 'BaseFeature', 'CacheFeature', 'ClienttrackFeature',
|
|
234
110
|
'CostBucket', 'CostBudget', 'CostFeature', 'CostPending', 'CostRecord',
|
|
235
111
|
'CostTotal', 'DebugFeature', 'IdempotencyFeature', 'LogFeature',
|
|
@@ -238,53 +114,13 @@ const SWIFT_SDK_TYPES = new Set([
|
|
|
238
114
|
'SecretsFeature', 'StreamingFeature', 'TelemetryFeature', 'TestFeature',
|
|
239
115
|
'TimeoutFeature', 'ValidateFeature',
|
|
240
116
|
]);
|
|
241
|
-
// Does `Name` collide with a type the swift SDK runtime already declares?
|
|
242
117
|
function isSwiftSdkType(Name) {
|
|
243
118
|
return SWIFT_SDK_TYPES.has(Name);
|
|
244
119
|
}
|
|
245
|
-
// A module-safe Swift type name for a generated type: unchanged, unless the
|
|
246
|
-
// swift runtime already declares it, in which case `Type` is appended
|
|
247
|
-
// (`Response` -> `ResponseType`). Mirrors rbSafeTypeName deliberately — same
|
|
248
|
-
// suffix, same "only rename on an actual collision" rule, so SDKs that do not
|
|
249
|
-
// collide are byte-identical to before.
|
|
250
|
-
//
|
|
251
|
-
// Applied ONLY to the bare entity data type. Per-op type names already carry
|
|
252
|
-
// their own suffix (`ResponseCreateData`, `ResponseLoadMatch`) and the entity
|
|
253
|
-
// CLASS is separately suffixed (`ResponseEntity`), so neither ever collided.
|
|
254
120
|
function swiftSafeTypeName(Name) {
|
|
255
121
|
return isSwiftSdkType(Name) ? Name + 'Type' : Name;
|
|
256
122
|
}
|
|
257
|
-
// PHP RESERVED WORDS THAT CANNOT BE A CLASS NAME — a fifth hazard, and the
|
|
258
|
-
// only one of the five where the check must be CASE-INSENSITIVE.
|
|
259
|
-
//
|
|
260
|
-
// PHP's grammar refuses a reserved word where a class name is expected, so a
|
|
261
|
-
// spec with a `Namespace` entity emitted a file that does not parse at all:
|
|
262
|
-
//
|
|
263
|
-
// /** Namespace entity data model. */
|
|
264
|
-
// class Namespace
|
|
265
|
-
// {
|
|
266
|
-
// }
|
|
267
|
-
// -> PHP Parse error: syntax error, unexpected token "namespace",
|
|
268
|
-
// expecting identifier
|
|
269
|
-
//
|
|
270
|
-
// Found on gitlab-sdk (issue #64), and LATENT in the worst way: `types/` is on
|
|
271
|
-
// the composer classmap but nothing references the file, so PHP never loads it
|
|
272
|
-
// and the php lane passed for as long as the target has existed. It would
|
|
273
|
-
// fatal the moment anything required it, and the documented type is unusable
|
|
274
|
-
// either way.
|
|
275
|
-
//
|
|
276
|
-
// CASE-INSENSITIVITY IS THE WHOLE TRICK. Class and function names in PHP are
|
|
277
|
-
// case-insensitive, so `Namespace`, `NAMESPACE` and `namespace` are one
|
|
278
|
-
// identifier — and the generated name is PascalCase while the reserved word is
|
|
279
|
-
// lowercase. A case-sensitive `Set.has('Namespace')` against a lowercase list
|
|
280
|
-
// therefore matches NOTHING and reopens the bug silently. Entries are stored
|
|
281
|
-
// folded, and the lookup folds too.
|
|
282
|
-
//
|
|
283
|
-
// Taken from the PHP manual's reserved-words tables wholesale rather than
|
|
284
|
-
// grown one collision at a time: the list is fixed by the language, and
|
|
285
|
-
// picking from it by hand is how the second `Namespace` gets shipped.
|
|
286
123
|
const PHP_RESERVED_TYPES = new Set([
|
|
287
|
-
// keywords
|
|
288
124
|
'abstract', 'and', 'array', 'as', 'break', 'callable', 'case', 'catch',
|
|
289
125
|
'class', 'clone', 'const', 'continue', 'declare', 'default', 'do', 'echo',
|
|
290
126
|
'else', 'elseif', 'empty', 'enddeclare', 'endfor', 'endforeach', 'endif',
|
|
@@ -295,90 +131,36 @@ const PHP_RESERVED_TYPES = new Set([
|
|
|
295
131
|
'private', 'protected', 'public', 'readonly', 'require', 'require_once',
|
|
296
132
|
'return', 'static', 'switch', 'throw', 'trait', 'try', 'unset', 'use',
|
|
297
133
|
'var', 'while', 'xor', 'yield',
|
|
298
|
-
// compile-time constants
|
|
299
134
|
'__class__', '__dir__', '__file__', '__function__', '__line__',
|
|
300
135
|
'__method__', '__namespace__', '__trait__',
|
|
301
136
|
// reserved as type names / cannot be declared as a class
|
|
302
137
|
'bool', 'false', 'float', 'int', 'iterable', 'mixed', 'never', 'null',
|
|
303
138
|
'numeric', 'object', 'parent', 'resource', 'self', 'string', 'true', 'void',
|
|
304
139
|
]);
|
|
305
|
-
// Does `Name` collide with a word PHP reserves, ignoring case as PHP does?
|
|
306
140
|
function isPhpReservedType(Name) {
|
|
307
141
|
return PHP_RESERVED_TYPES.has(String(Name).toLowerCase());
|
|
308
142
|
}
|
|
309
|
-
// CLASSES THE GENERATED PHP SDK ITSELF DECLARES — the second half of "already
|
|
310
|
-
// taken", exactly as RB_SDK_CONSTANTS is for ruby. `PHP_RESERVED_TYPES` covers
|
|
311
|
-
// what the LANGUAGE owns; this covers what OUR OWN scaffolding claims, which a
|
|
312
|
-
// keyword list can never catch.
|
|
313
|
-
//
|
|
314
|
-
// The generated PHP SDK uses NO NAMESPACES, and composer classmaps both the
|
|
315
|
-
// runtime (`types/`) and the tests (`autoload-dev`: `test/`). An entity named
|
|
316
|
-
// `feature_test` emits `class FeatureTest` in `<Sdk>Types.php` while
|
|
317
|
-
// `tm/php/test/FeatureTest.php` declares one too: composer maps one name to
|
|
318
|
-
// two files, and loading both fatals on redeclaration. Ruby's equivalent only
|
|
319
|
-
// warns; PHP does not.
|
|
320
|
-
//
|
|
321
|
-
// Only UNPREFIXED, UNNAMESPACED declarations are listed. `ProjectNameUtility`
|
|
322
|
-
// substitutes to `<Sdk>Utility`, which no bare entity type can equal, and
|
|
323
|
-
// `utility/struct/Struct.php` and `test/StructRunner.php` declare inside a
|
|
324
|
-
// namespace — neither is reachable from the global name an entity type takes.
|
|
325
|
-
//
|
|
326
|
-
// `php-sdk-classes.test.ts` re-derives this from the templates AND the
|
|
327
|
-
// components and fails on drift, the same discipline as the rb and swift
|
|
328
|
-
// guards, and for the same reason: a hand-collected list rots.
|
|
329
|
-
//
|
|
330
|
-
// Folded, and matched folded: PHP class names are case-insensitive, so
|
|
331
|
-
// `FeatureTest` and `featuretest` are one identifier.
|
|
332
143
|
const PHP_SDK_CLASSES = new Set([
|
|
333
|
-
// the generated/templated test classes
|
|
334
144
|
'existstest', 'featurecorpustest', 'featuretest', 'netsimtest',
|
|
335
145
|
'omnismoketest', 'pipelinetest', 'primaryutilitytest',
|
|
336
146
|
'readmeexamplestest', 'structutilitytest',
|
|
337
|
-
// helper classes those suites declare beside them
|
|
338
147
|
'ftclient', 'ftclock', 'ftctrl', 'ftentity', 'ftharness', 'ftrecorder',
|
|
339
148
|
'plclient', 'plentity', 'plentityitem',
|
|
340
149
|
]);
|
|
341
|
-
// Does `Name` collide with a class the generated PHP SDK already declares?
|
|
342
150
|
function isPhpSdkClass(Name) {
|
|
343
151
|
return PHP_SDK_CLASSES.has(String(Name).toLowerCase());
|
|
344
152
|
}
|
|
345
|
-
// A declarable PHP class name for a generated type: unchanged, unless the name
|
|
346
|
-
// is ALREADY TAKEN — by PHP itself, or by the SDK's own scaffolding — in which
|
|
347
|
-
// case `Type` is appended (`Namespace` -> `NamespaceType`). Mirrors
|
|
348
|
-
// rbSafeTypeName and swiftSafeTypeName deliberately — same suffix, same "only
|
|
349
|
-
// rename on an actual collision" rule, so every SDK that does not collide is
|
|
350
|
-
// byte-identical to before.
|
|
351
|
-
//
|
|
352
|
-
// Applied ONLY to the bare entity data class. Per-op type names already carry
|
|
353
|
-
// their own suffix (`NamespaceLoadData`, `NamespaceCreateData`), which neither
|
|
354
|
-
// set matches, and the entity ACCESSOR is a method rather than a class — PHP
|
|
355
|
-
// resolves those separately — so the public surface is unchanged.
|
|
356
153
|
function phpSafeTypeName(Name) {
|
|
357
154
|
return isPhpReservedType(Name) || isPhpSdkClass(Name) ? Name + 'Type' : Name;
|
|
358
155
|
}
|
|
359
|
-
// TypeScript GLOBAL TYPE NAMES — a fourth hazard, same shape as the Ruby and
|
|
360
|
-
// Swift ones above but for TS/JS builtins, which are in scope everywhere
|
|
361
|
-
// with no import. An entity named `Record` emitted `export interface Record
|
|
362
|
-
// {...}` and canonToType's own generic-object mapping (`Record<string,
|
|
363
|
-
// any>`) then resolved to that flat interface INSIDE THE SAME FILE instead
|
|
364
|
-
// of the builtin: `error TS2315: Type 'Record' is not generic` — on a
|
|
365
|
-
// field of the `Record` entity itself.
|
|
366
|
-
//
|
|
367
|
-
// Utility types (`Record`, `Partial`, ...) and common global constructors
|
|
368
|
-
// (`Array`, `Map`, `Promise`, ...) that a REST entity name plausibly lands
|
|
369
|
-
// on. Mirrors RB_CORE_CONSTANTS / SWIFT_SDK_TYPES: only real builtins are
|
|
370
|
-
// listed, so a non-colliding SDK stays byte-identical to before.
|
|
371
156
|
const TS_RESERVED_TYPES = new Set([
|
|
372
|
-
// utility types
|
|
373
157
|
'Record', 'Partial', 'Required', 'Readonly', 'Pick', 'Omit', 'Exclude',
|
|
374
158
|
'Extract', 'NonNullable', 'Parameters', 'ReturnType', 'InstanceType',
|
|
375
159
|
'Awaited', 'ConstructorParameters',
|
|
376
|
-
// global constructors / builtins
|
|
377
160
|
'Array', 'Object', 'Map', 'Set', 'WeakMap', 'WeakSet', 'Date', 'Error',
|
|
378
161
|
'Function', 'Promise', 'RegExp', 'String', 'Number', 'Boolean', 'Symbol',
|
|
379
162
|
'ArrayBuffer', 'Proxy', 'Reflect', 'JSON', 'Math',
|
|
380
163
|
]);
|
|
381
|
-
// Does `Name` collide with a TS/JS global type?
|
|
382
164
|
function isTsReservedType(Name) {
|
|
383
165
|
return TS_RESERVED_TYPES.has(Name);
|
|
384
166
|
}
|
|
@@ -389,7 +171,6 @@ function isTsReservedType(Name) {
|
|
|
389
171
|
function tsSafeTypeName(Name) {
|
|
390
172
|
return isTsReservedType(Name) ? Name + 'Type' : Name;
|
|
391
173
|
}
|
|
392
|
-
// Is `name` a reserved word (an illegal identifier) in the target language?
|
|
393
174
|
function isReservedName(name, lang) {
|
|
394
175
|
const set = RESERVED[lang];
|
|
395
176
|
return !!set && set.has(name);
|
|
@@ -399,21 +180,6 @@ function isReservedName(name, lang) {
|
|
|
399
180
|
function safeVarName(name, lang) {
|
|
400
181
|
return isReservedName(name, lang) ? name + '_' : name;
|
|
401
182
|
}
|
|
402
|
-
// Members the generated PHP SDK class already declares (see the php target's
|
|
403
|
-
// fragment/Main.fragment.php). An entity accessor or backing field reusing one
|
|
404
|
-
// is a FATAL redeclare — PHP will not parse the file, so the SDK yields zero
|
|
405
|
-
// working tests rather than a degraded one.
|
|
406
|
-
//
|
|
407
|
-
// PHP method names are CASE-INSENSITIVE at declaration time, hence the
|
|
408
|
-
// lowercased comparison: an entity `graph_ql` derives the accessor `GraphQl()`,
|
|
409
|
-
// the same declaration as the SDK's own `graphql()`.
|
|
410
|
-
//
|
|
411
|
-
// This lives here, not in the php component, because the ACCESSOR NAME has to
|
|
412
|
-
// agree across the SDK class and every doc/example component that calls it.
|
|
413
|
-
// It did not: MainEntity_php emitted `Test_()` for an entity named `test`
|
|
414
|
-
// while eight readme components emitted `Test()`, so the generated examples
|
|
415
|
-
// called the static test-mode constructor and died with
|
|
416
|
-
// "Call to undefined method <Name>SDK::load()".
|
|
417
183
|
const PHP_SDK_METHODS = new Set([
|
|
418
184
|
'construct', '__construct', 'direct', 'get_root_ctx', 'get_utility',
|
|
419
185
|
'graphql', 'op_allowed', 'op_denied', 'options_map', 'prepare',
|
|
@@ -425,7 +191,6 @@ const PHP_SDK_METHODS = new Set([
|
|
|
425
191
|
// silently aliases the SDK's own field, so `client:Utility()` hands back the
|
|
426
192
|
// internal utility object and every entity method on it is nil.
|
|
427
193
|
const SDK_FIELDS = new Set(['rootctx', 'utility', 'client', 'entctx']);
|
|
428
|
-
/** The PHP accessor method for an entity: `$client-><Name>()`. */
|
|
429
194
|
function phpEntityAccessor(Name) {
|
|
430
195
|
return PHP_SDK_METHODS.has(String(Name).toLowerCase()) ? Name + '_' : Name;
|
|
431
196
|
}
|
|
@@ -437,17 +202,6 @@ function phpEntityAccessor(Name) {
|
|
|
437
202
|
function entityCacheField(name) {
|
|
438
203
|
return SDK_FIELDS.has(String(name).toLowerCase()) ? name + '_' : name;
|
|
439
204
|
}
|
|
440
|
-
// Symbols a doc example CALLS, which a same-named example variable would
|
|
441
|
-
// shadow. The variable is syntactically fine; the example then fails at
|
|
442
|
-
// RUNTIME, which is far harder to read than a compile error:
|
|
443
|
-
//
|
|
444
|
-
// const consoles = await client.Console().list()
|
|
445
|
-
// for (const console of consoles) { console.log(console) }
|
|
446
|
-
// -> "console.log is not a function" (nexarda, an API with a Console entity)
|
|
447
|
-
//
|
|
448
|
-
// Only languages where a plain variable can capture the symbol are listed.
|
|
449
|
-
// php is absent on purpose: its variables carry a `$` sigil, so `$echo` can
|
|
450
|
-
// never shadow `echo`.
|
|
451
205
|
const EXAMPLE_GLOBALS = {
|
|
452
206
|
ts: ['console', 'process', 'globalThis'],
|
|
453
207
|
js: ['console', 'process', 'globalThis'],
|
|
@@ -456,14 +210,6 @@ const EXAMPLE_GLOBALS = {
|
|
|
456
210
|
lua: ['print'],
|
|
457
211
|
go: ['fmt'],
|
|
458
212
|
};
|
|
459
|
-
// A variable name for a doc EXAMPLE entity. Doc examples bind the SDK instance
|
|
460
|
-
// to `client` (e.g. `const client = ...SDK.test()`), so an entity whose
|
|
461
|
-
// lowercased name is also `client` — an API with a `Client` entity — would
|
|
462
|
-
// shadow it: `const client = client.Client()...` is self-referential (TS2448/
|
|
463
|
-
// TS7022) and breaks the readme_examples type-check. Append `_` to keep the
|
|
464
|
-
// example variable distinct from the SDK instance. The same applies to any
|
|
465
|
-
// symbol the example itself calls (EXAMPLE_GLOBALS). Also applies the normal
|
|
466
|
-
// language-reserved-word guard.
|
|
467
213
|
function exampleVarName(name, lang) {
|
|
468
214
|
const v = safeVarName(name, lang);
|
|
469
215
|
if ('client' === v)
|
|
@@ -472,33 +218,6 @@ function exampleVarName(name, lang) {
|
|
|
472
218
|
return v + '_';
|
|
473
219
|
return v;
|
|
474
220
|
}
|
|
475
|
-
// LEADING DIGITS — the one hazard on this page that is not about a word being
|
|
476
|
-
// taken. Every other guard here asks "is this name already claimed?"; this one
|
|
477
|
-
// asks whether the name is an identifier at all. No target language permits
|
|
478
|
-
// one that starts with a digit, and ordinary resources produce one:
|
|
479
|
-
//
|
|
480
|
-
// /3ds-sessions -> entity `3ds_session` -> Name `3dsSession`
|
|
481
|
-
// /2fa-tokens -> entity `2fa_token` -> Name `2faToken`
|
|
482
|
-
//
|
|
483
|
-
// `Name` feeds the class name, the SDK accessor and every generated type
|
|
484
|
-
// name, so the SDK does not compile at all — it is not a degraded SDK, it is
|
|
485
|
-
// no SDK (issue #124).
|
|
486
|
-
//
|
|
487
|
-
// The prefix takes the case of the name it guards — lower for `3ds_session`,
|
|
488
|
-
// upper for `3DSecure` — so the result stays in whatever casing convention
|
|
489
|
-
// the caller works in. Applied to the STEM before PascalCasing, which is why
|
|
490
|
-
// `Name` comes out `N3dsSession` and not `n3dsSession`.
|
|
491
|
-
//
|
|
492
|
-
// This is deliberately the SAME rule, spelled the same way, as apidef's
|
|
493
|
-
// `prefixLeadingDigit`. A model that came through apidef is already guarded,
|
|
494
|
-
// so this is a no-op on it; a hand-authored `.sdk/model` entity gets the
|
|
495
|
-
// identical name apidef would have given it. Idempotent by construction.
|
|
496
|
-
//
|
|
497
|
-
// The rule is applied ONCE, to the model's own entity name, by
|
|
498
|
-
// `guardModelNames` — never to a derived form. Guarding `Name` alone does not
|
|
499
|
-
// survive: a consumer's scaffolded `Root.ts` runs its own
|
|
500
|
-
// `names(entity, entity.name)` per target, which re-derives `Name` from the
|
|
501
|
-
// unguarded name and silently undoes the correction.
|
|
502
221
|
function prefixLeadingDigit(s) {
|
|
503
222
|
if (null == s || '' === s)
|
|
504
223
|
return s;
|
|
@@ -509,15 +228,7 @@ function prefixLeadingDigit(s) {
|
|
|
509
228
|
const upper = null != letter && letter[0] >= 'A' && letter[0] <= 'Z';
|
|
510
229
|
return (upper ? 'N' : 'n') + s;
|
|
511
230
|
}
|
|
512
|
-
// A valid ECMAScript identifier — the only shape `obj.name` can express.
|
|
513
231
|
const JS_IDENT = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
514
|
-
// A safe JS/TS property-access expression for a SPEC-DERIVED key: dot
|
|
515
|
-
// notation when the key is a valid identifier, bracket notation otherwise.
|
|
516
|
-
// OpenAPI path/query parameter names are not constrained to identifiers —
|
|
517
|
-
// e.g. Evervault's `/payments/3ds-sessions/{3ds_session_id}` yields
|
|
518
|
-
// `3ds_session_id`, and `params.3ds_session_id` is a syntax error (TS1434).
|
|
519
|
-
// The other language targets already quote these keys (`params["..."]`);
|
|
520
|
-
// this keeps ts/js in parity.
|
|
521
232
|
function jsProp(obj, name) {
|
|
522
233
|
return JS_IDENT.test(name) ? `${obj}.${name}` : `${obj}[${JSON.stringify(name)}]`;
|
|
523
234
|
}
|
|
@@ -528,20 +239,6 @@ function jsKey(name) {
|
|
|
528
239
|
return JS_IDENT.test(name) ? name : `'${name}'`;
|
|
529
240
|
}
|
|
530
241
|
const LUA_IDENT = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
531
|
-
// A safe Lua TABLE-CONSTRUCTOR key for a spec-derived field name: bare when the
|
|
532
|
-
// name is a valid identifier that is not a keyword, bracketed and quoted
|
|
533
|
-
// otherwise.
|
|
534
|
-
//
|
|
535
|
-
// Unlike `jsKey`, this MUST consult the keyword list. A reserved word is a legal
|
|
536
|
-
// JS object key (`{ end: 1 }` is fine) but not a legal Lua one — `{ end = 1 }`
|
|
537
|
-
// is a syntax error, because `end` closes a block. The trap is that a keyword
|
|
538
|
-
// also matches the identifier pattern, so a shape-only test passes it through
|
|
539
|
-
// looking correct.
|
|
540
|
-
//
|
|
541
|
-
// Real case: aareguru's /v2018 range query takes a parameter named `end`, so
|
|
542
|
-
// every generated lua doc example emitted `{ ..., end = "end", ... }` and the
|
|
543
|
-
// readme-examples test could not compile the block. 13 of the 626 freepublicapis
|
|
544
|
-
// specs name a parameter with a lua reserved word.
|
|
545
242
|
function luaKey(name) {
|
|
546
243
|
return LUA_IDENT.test(name) && !isReservedName(name, 'lua')
|
|
547
244
|
? name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.js","sourceRoot":"","sources":["../../src/helpers/naming.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,oEAAoE;AACpE,0EAA0E;AAC1E,wDAAwD;AACxD,EAAE;AACF,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,2EAA2E;AAC3E,0EAA0E;AAC1E,8EAA8E;AAC9E,yEAAyE;AACzE,kDAAkD;;QAokBhD,cAAc;QACd,WAAW;QACX,cAAc;QACd,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;QAChB,eA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,CAAC"}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Renders a single, type-correct entity-op CALL for the neutral doc
|
|
3
|
-
// components (ReadmeErrors, ReadmeExplanation) that illustrate a convention
|
|
4
|
-
// (throw-on-error, stateful entities) with one representative operation.
|
|
5
|
-
//
|
|
6
|
-
// Two model traps this centralises:
|
|
7
|
-
// 1. OP-AWARENESS — the illustrated op must be one the entity actually
|
|
8
|
-
// exposes. A create-only entity has no `load` method, so these components
|
|
9
|
-
// pick the entity's PRIMARY op (entityPrimaryOp) rather than hardcoding
|
|
10
|
-
// `load`, and this module renders whatever op that is.
|
|
11
|
-
// 2. TYPE-CORRECT MATCH ID — an entity can carry its id ONLY in the
|
|
12
|
-
// load-match params (no `id` data field). The example id literal is
|
|
13
|
-
// therefore derived from the OP's param type (opRequestShape), not the
|
|
14
|
-
// entity fields, so a numeric match id renders `1` and not `"example_id"`
|
|
15
|
-
// (which would be a TS2322 against a `number` match).
|
|
16
|
-
//
|
|
17
|
-
// Output is the invocation EXPRESSION and its result binding; the surrounding
|
|
18
|
-
// prose / try-catch scaffolding stays in each component's per-language table.
|
|
19
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
3
|
exports.primaryOpCall = primaryOpCall;
|
|
21
4
|
exports.idLiteral = idLiteral;
|
|
@@ -57,8 +40,6 @@ function litFor(lang, type) {
|
|
|
57
40
|
}
|
|
58
41
|
return '"example"';
|
|
59
42
|
}
|
|
60
|
-
// The example id literal for an op's match key, typed from the op's declared
|
|
61
|
-
// param (falling back to the entity field) so a numeric id is never quoted.
|
|
62
43
|
function idLiteral(ent, op, idF) {
|
|
63
44
|
if (null == idF)
|
|
64
45
|
return '"example_id"';
|
|
@@ -66,17 +47,8 @@ function idLiteral(ent, op, idF) {
|
|
|
66
47
|
const k = (0, canonType_1.canonKey)(item && item.type);
|
|
67
48
|
return ('INTEGER' === k || 'NUMBER' === k) ? '1' : '"example_id"';
|
|
68
49
|
}
|
|
69
|
-
// Render a match object `{ idF: idLit }` (or empty when the entity has no id
|
|
70
|
-
// key) in the target language's object syntax.
|
|
71
|
-
// Spec-derived field names are NOT constrained to be identifiers — e.g.
|
|
72
|
-
// Evervault's `/payments/3ds-sessions/{3ds_session_id}` yields the match key
|
|
73
|
-
// `3ds_session_id`. py/php/rb/go quote every literal key already, but ts/js
|
|
74
|
-
// (`{ key: v }`) and lua (`{ key = v }`) write them bare, and a leading digit
|
|
75
|
-
// or a `-` makes that a syntax error (TS1351 / Lua "'}' expected"). Quote
|
|
76
|
-
// exactly those, leaving ordinary keys in the idiomatic bare form.
|
|
77
50
|
const JS_IDENT = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
78
51
|
const LUA_IDENT = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
79
|
-
// A `key<sep>value` literal pair in the target language's object syntax.
|
|
80
52
|
function litPair(lang, name, value) {
|
|
81
53
|
switch (lang) {
|
|
82
54
|
case 'py': return `"${name}": ${value}`;
|
|
@@ -89,12 +61,6 @@ function litPair(lang, name, value) {
|
|
|
89
61
|
`${name}: ${value}` : `'${name}': ${value}`;
|
|
90
62
|
}
|
|
91
63
|
}
|
|
92
|
-
// The match argument for a load/remove — ALL required match params, not just
|
|
93
|
-
// the primary id. A composite-match entity (e.g. Umbrella's FlatPermission,
|
|
94
|
-
// `/public/database/{id}/permission/{msisdn}`) has two required path params
|
|
95
|
-
// (database_id + id); emitting only `{ id }` fails the typed <Name>LoadMatch.
|
|
96
|
-
// The idF field takes the specific id literal; other required fields take a
|
|
97
|
-
// type-correct example value (mirrors dataArg).
|
|
98
64
|
function matchArg(lang, ent, op, idF, idLit) {
|
|
99
65
|
const items = (0, opShape_1.opRequestShape)(ent, op).items.filter((it) => !it.optional);
|
|
100
66
|
if (0 === items.length)
|
|
@@ -107,24 +73,10 @@ function matchArg(lang, ent, op, idF, idLit) {
|
|
|
107
73
|
default: return `{ ${pairs.join(', ')} }`;
|
|
108
74
|
}
|
|
109
75
|
}
|
|
110
|
-
// The entity's required writable fields for a create/update body, rendered as
|
|
111
|
-
// `key: value` pairs (capped) in the target language's object syntax. Ensures
|
|
112
|
-
// the body satisfies a typed CreateData/UpdateData (required fields present).
|
|
113
76
|
function dataArg(lang, ent, op, idF) {
|
|
114
|
-
// The id is normally server-assigned on create, so it is dropped from the
|
|
115
|
-
// example body. But it is only safe to drop when the request shape says it is
|
|
116
|
-
// OPTIONAL: an op whose id comes from a PATH PARAMETER requires it, and a
|
|
117
|
-
// typed CreateData then rejects a body without it.
|
|
118
|
-
//
|
|
119
|
-
// Conecto's `/integrations/{slug}/actions/{action}/run/` is the case — the
|
|
120
|
-
// guide renames the `action` param to `id`, so ActionCreateData is
|
|
121
|
-
// `{id, slug, ok}` and the generated snippet emitted only `{slug, ok}`,
|
|
122
|
-
// failing to compile with "Property 'id' is missing".
|
|
123
77
|
const items = (0, opShape_1.opRequestShape)(ent, op).items
|
|
124
78
|
.filter((it) => (it.name !== idF && it.name !== 'id') || !it.optional);
|
|
125
79
|
const required = items.filter((it) => !it.optional);
|
|
126
|
-
// ALL required fields must appear (a typed CreateData rejects a partial); cap
|
|
127
|
-
// only the optional fallback used when the op declares no required field.
|
|
128
80
|
const chosen = required.length ? required : items.slice(0, 3);
|
|
129
81
|
const pairs = chosen.map((it) => litPair(lang, it.name, litFor(lang, it.type)));
|
|
130
82
|
switch (lang) {
|
|
@@ -143,7 +95,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
|
|
|
143
95
|
const isList = 'list' === op;
|
|
144
96
|
const isData = 'create' === op || 'update' === op;
|
|
145
97
|
const idLit = idLiteral(ent, op, idF);
|
|
146
|
-
// Factory + method spelling per language.
|
|
147
98
|
const method = 'go' === lang ? cap(op) : op;
|
|
148
99
|
let factory;
|
|
149
100
|
let sep;
|
|
@@ -170,7 +121,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
|
|
|
170
121
|
factory = `client.${eName}()`;
|
|
171
122
|
sep = '.';
|
|
172
123
|
}
|
|
173
|
-
// Argument string per op + language.
|
|
174
124
|
let arg;
|
|
175
125
|
if (isList) {
|
|
176
126
|
arg = 'go' === lang ? 'nil' : '';
|
|
@@ -184,7 +134,6 @@ function primaryOpCall(lang, eName, eLower, op, idF, ent) {
|
|
|
184
134
|
else {
|
|
185
135
|
arg = 'go' === lang ? 'nil' : '';
|
|
186
136
|
}
|
|
187
|
-
// Go passes a trailing ctrl arg on every entity method.
|
|
188
137
|
if ('go' === lang) {
|
|
189
138
|
arg = arg + ', nil';
|
|
190
139
|
}
|