@voxgig/create-sdkgen 0.0.2 → 0.0.5
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/run-create-sdkgen.js +73 -12
- package/dist/create-sdkgen.d.ts +5 -2
- package/dist/create-sdkgen.js +10 -2
- package/dist/create-sdkgen.js.map +1 -1
- package/dist/standard/ModelSdk.js +21 -14
- package/dist/standard/ModelSdk.js.map +1 -1
- package/dist/standard/Root.js +13 -47
- package/dist/standard/Root.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -7
- package/src/create-sdkgen.ts +21 -4
- package/src/standard/ModelSdk.ts +30 -15
- package/src/standard/Root.ts +15 -54
- package/tm/standard/.env.local +2 -0
- package/tm/standard/build/doc.js +23 -0
- package/tm/standard/build/sdk.js +22 -0
- package/tm/standard/def/DEFINITION.md +4 -0
- package/tm/standard/model/.model-config/model-config.jsonic +15 -0
- package/tm/standard/model/go.jsonic +6 -0
- package/tm/standard/model/js.jsonic +6 -0
- package/tm/standard/model/php.jsonic +6 -0
- package/tm/standard/model/py.jsonic +7 -0
- package/tm/standard/model/rb.jsonic +6 -0
- package/tm/standard/package.json +31 -0
- package/tm/standard/src/DocStaticRoot.ts +32 -0
- package/tm/standard/src/Root.ts +62 -0
- package/tm/standard/src/go/Entity_go.ts +226 -0
- package/tm/standard/src/go/MainEntity_go.ts +26 -0
- package/tm/standard/src/go/Main_go.ts +168 -0
- package/tm/standard/src/go/Quick_go.ts +108 -0
- package/tm/standard/src/go/ReadmeInstall_go.ts +19 -0
- package/tm/standard/src/go/ReadmeQuick_go.ts +45 -0
- package/tm/standard/src/go/TestAcceptEntity_go.ts +219 -0
- package/tm/standard/src/go/TestAccept_go.ts +38 -0
- package/tm/standard/src/go/TestEntity_go.ts +79 -0
- package/tm/standard/src/go/TestMain_go.ts +61 -0
- package/tm/standard/src/go/Test_go.ts +20 -0
- package/tm/standard/src/js/Entity_js.ts +196 -0
- package/tm/standard/src/js/MainEntity_js.ts +22 -0
- package/tm/standard/src/js/Main_js.ts +154 -0
- package/tm/standard/src/js/Quick_js.ts +81 -0
- package/tm/standard/src/js/ReadmeInstall_js.ts +19 -0
- package/tm/standard/src/js/ReadmeQuick_js.ts +27 -0
- package/tm/standard/src/js/TestAcceptEntity_js.ts +101 -0
- package/tm/standard/src/js/TestAccept_js.ts +60 -0
- package/tm/standard/src/js/TestEntity_js.ts +24 -0
- package/tm/standard/src/js/TestMain_js.ts +123 -0
- package/tm/standard/src/js/Test_js.ts +24 -0
- package/tm/standard/src/php/Entity_php.ts +97 -0
- package/tm/standard/src/php/MainEntity_php.ts +43 -0
- package/tm/standard/src/php/Main_php.ts +50 -0
- package/tm/standard/src/php/Quick_php.ts +59 -0
- package/tm/standard/src/php/TestAcceptEntity_php.ts +81 -0
- package/tm/standard/src/php/TestAccept_php.ts +33 -0
- package/tm/standard/src/php/TestEntity_php.ts +64 -0
- package/tm/standard/src/php/TestMain_php.ts +120 -0
- package/tm/standard/src/php/Test_php.ts +21 -0
- package/tm/standard/src/py/Entity_py.ts +98 -0
- package/tm/standard/src/py/MainEntity_py.ts +19 -0
- package/tm/standard/src/py/Main_py.ts +211 -0
- package/tm/standard/src/py/Quick_py.ts +133 -0
- package/tm/standard/src/py/TestAcceptEntity_py.ts +47 -0
- package/tm/standard/src/py/TestAccept_py.ts +77 -0
- package/tm/standard/src/py/TestEntity_py.ts +50 -0
- package/tm/standard/src/py/TestMain_py.ts +103 -0
- package/tm/standard/src/py/Test_py.ts +28 -0
- package/tm/standard/src/rb/Client_rb.ts +142 -0
- package/tm/standard/src/rb/Entity_rb.ts +153 -0
- package/tm/standard/src/rb/Error_rb.ts +56 -0
- package/tm/standard/src/rb/MainEntity_rb.ts +16 -0
- package/tm/standard/src/rb/Main_rb.ts +55 -0
- package/tm/standard/src/rb/Quick_rb.ts +65 -0
- package/tm/standard/src/rb/ReadmeInstall_rb.ts +19 -0
- package/tm/standard/src/rb/ReadmeQuick_rb.ts +30 -0
- package/tm/standard/src/rb/TestAcceptEntity_rb.ts +83 -0
- package/tm/standard/src/rb/TestAccept_rb.ts +45 -0
- package/tm/standard/src/rb/TestEntity_rb.ts +82 -0
- package/tm/standard/src/rb/TestMain_rb.ts +67 -0
- package/tm/standard/src/rb/Test_rb.ts +27 -0
- package/tm/standard/src/tsconfig.json +15 -0
- package/tm/standard/tm/go/.env.example +2 -0
- package/tm/standard/tm/go/LICENSE +22 -0
- package/tm/standard/tm/go/go.mod +5 -0
- package/tm/standard/tm/go/go.sum +2 -0
- package/tm/standard/tm/js/LICENSE +22 -0
- package/tm/standard/tm/js/package.json +17 -0
- package/tm/standard/tm/php/LICENSE +22 -0
- package/tm/standard/tm/py/LICENSE +22 -0
- package/tm/standard/tm/py/MANIFEST.in +4 -0
- package/tm/standard/tm/py/Makefile +14 -0
- package/tm/standard/tm/py/pyproject.toml +4 -0
- package/tm/standard/tm/py/pytest.ini +3 -0
- package/tm/standard/tm/py/requirements.txt +4 -0
- package/tm/standard/tm/py/setup.cfg +2 -0
- package/tm/standard/tm/py/setup.py +82 -0
- package/tm/standard/tm/rb/.rspec +1 -0
- package/tm/standard/tm/rb/Gemfile +21 -0
- package/tm/standard/tm/rb/LICENSE +22 -0
- package/tm/standard/tm/rb/Rakefile +6 -0
- package/tm/standard/tm/rb/spec/spec_helper.rb +22 -0
- package/tm/standard/tm/rb/tm.gemspec +39 -0
- package/src/standard/Root.ts~ +0 -3
- /package/{src/standard/ModelSdk.ts~ → bin/run-create-sdkgen.js~} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# $$name$$_sdk.gemspec
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |spec|
|
|
4
|
+
spec.name = "$$name$$_sdk"
|
|
5
|
+
spec.version = "0.1.0"
|
|
6
|
+
spec.authors = ["$$Name$$"]
|
|
7
|
+
spec.email = ["admin@$$name$$.com"]
|
|
8
|
+
|
|
9
|
+
spec.summary = "A Ruby SDK for interacting with the $$Name$$ API"
|
|
10
|
+
spec.description = "This SDK provides a simple interface to interact with the $$Name$$ API, enabling developers to manage assets, rooms, and other entities within the $$Name$$ ecosystem."
|
|
11
|
+
spec.homepage = "https://$$name$$.com/"
|
|
12
|
+
spec.license = "MIT"
|
|
13
|
+
|
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
15
|
+
spec.metadata["source_code_uri"] = "https://$$name$$.com/sdk"
|
|
16
|
+
spec.metadata["changelog_uri"] = "https://$$name$$.com/sdk/changelog"
|
|
17
|
+
|
|
18
|
+
spec.required_ruby_version = ">= 2.6"
|
|
19
|
+
|
|
20
|
+
spec.files = Dir["lib/**/*.rb"]
|
|
21
|
+
spec.bindir = "bin"
|
|
22
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
23
|
+
spec.require_paths = ["lib"]
|
|
24
|
+
|
|
25
|
+
# Runtime dependencies
|
|
26
|
+
spec.add_dependency "json", "~> 2.7"
|
|
27
|
+
|
|
28
|
+
# Development dependencies
|
|
29
|
+
spec.add_development_dependency "rake", "~> 13.2"
|
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
|
31
|
+
spec.add_development_dependency "rspec-json_expectations", "~> 2.2"
|
|
32
|
+
spec.add_development_dependency "webmock", "~> 3.23"
|
|
33
|
+
spec.add_development_dependency "simplecov", "~> 0.22"
|
|
34
|
+
spec.add_development_dependency "codecov"
|
|
35
|
+
spec.add_development_dependency "pry", "~> 0.14"
|
|
36
|
+
|
|
37
|
+
# If you use any files in your Gemfile that should be explicitly included in the gem:
|
|
38
|
+
spec.files += Dir["lib/**/*", "bin/*", "README.md", "LICENSE.txt"]
|
|
39
|
+
end
|
package/src/standard/Root.ts~
DELETED
|
File without changes
|