@platzio/sdk 0.5.3-beta.4 → 0.6.0-beta.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/.github/workflows/release.yaml +19 -8
- package/dist/api.d.ts +7831 -0
- package/dist/api.js +4987 -0
- package/dist/api.js.map +1 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +69 -0
- package/dist/base.js.map +1 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +147 -0
- package/dist/common.js.map +1 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/openapi.yaml +213 -2
- package/package.json +3 -3
- package/src/.openapi-generator/VERSION +1 -0
- package/{api.ts → src/api.ts} +674 -523
- package/{base.ts → src/base.ts} +2 -2
- package/{common.ts → src/common.ts} +1 -1
- package/.openapi-generator/VERSION +0 -1
- package/openapitools.json +0 -7
- /package/{.openapi-generator → src/.openapi-generator}/FILES +0 -0
- /package/{.openapi-generator-ignore → src/.openapi-generator-ignore} +0 -0
- /package/{configuration.ts → src/configuration.ts} +0 -0
- /package/{git_push.sh → src/git_push.sh} +0 -0
- /package/{index.ts → src/index.ts} +0 -0
|
@@ -14,9 +14,9 @@ jobs:
|
|
|
14
14
|
uses: actions/checkout@v3
|
|
15
15
|
|
|
16
16
|
- name: 🛠️ Setup node
|
|
17
|
-
uses: actions/setup-node@
|
|
17
|
+
uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
|
-
node-version:
|
|
19
|
+
node-version: latest
|
|
20
20
|
|
|
21
21
|
- name: 🎲 Choose backend version
|
|
22
22
|
id: backend_tag
|
|
@@ -36,12 +36,23 @@ jobs:
|
|
|
36
36
|
fileName: "openapi.yaml"
|
|
37
37
|
|
|
38
38
|
- name: 🏗️ Generate SDK
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
run: |
|
|
40
|
+
docker run --rm \
|
|
41
|
+
-v "$(pwd):/local" \
|
|
42
|
+
openapitools/openapi-generator-cli \
|
|
43
|
+
generate \
|
|
44
|
+
-i /local/openapi.yaml \
|
|
45
|
+
-g typescript-axios \
|
|
46
|
+
-o /local/src \
|
|
47
|
+
--additional-properties=useSingleRequestParameter=true
|
|
48
|
+
|
|
49
|
+
- name: 👷 npm install
|
|
50
|
+
run: |
|
|
51
|
+
npm install
|
|
52
|
+
|
|
53
|
+
- name: 👷 npm build
|
|
54
|
+
run: |
|
|
55
|
+
npm run build
|
|
45
56
|
|
|
46
57
|
- name: 🚀 Publish to NPM
|
|
47
58
|
uses: JS-DevTools/npm-publish@v2
|