@drxsuperapp/sdk 1.0.0 → 1.1.1
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/api.ts +12 -0
- package/deploy.log +17 -310
- package/dist/api.d.ts +12 -0
- package/docs/ApiExamplesGet200ResponseInner.md +4 -0
- package/package.json +1 -1
- package/workflow.sh +9 -1
package/api.ts
CHANGED
|
@@ -47,6 +47,18 @@ export interface ApiExamplesGet200ResponseInner {
|
|
|
47
47
|
* @memberof ApiExamplesGet200ResponseInner
|
|
48
48
|
*/
|
|
49
49
|
'email': string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ApiExamplesGet200ResponseInner
|
|
54
|
+
*/
|
|
55
|
+
'wkwkwkwk': string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ApiExamplesGet200ResponseInner
|
|
60
|
+
*/
|
|
61
|
+
'wkwkwkwk2': string;
|
|
50
62
|
}
|
|
51
63
|
/**
|
|
52
64
|
*
|
package/deploy.log
CHANGED
|
@@ -1,51 +1,3 @@
|
|
|
1
|
-
🚀 START: Thu Jun 5 09:00:56 UTC 2025
|
|
2
|
-
Already on 'master'
|
|
3
|
-
Your branch is up to date with 'origin/master'.
|
|
4
|
-
HEAD is now at ca72431 init
|
|
5
|
-
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
6
|
-
* branch master -> FETCH_HEAD
|
|
7
|
-
Already up to date.
|
|
8
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
9
|
-
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
10
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
11
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
|
|
12
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
|
|
13
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_get_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
14
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
15
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
16
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
17
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
18
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
19
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
|
|
20
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
|
|
21
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
22
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
23
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
24
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
|
|
25
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
26
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
27
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
28
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
29
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
30
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
31
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
32
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
|
|
33
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
|
|
34
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
|
|
35
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
|
|
36
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
|
|
37
|
-
[main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
|
|
38
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
|
|
39
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
|
|
40
|
-
################################################################################
|
|
41
|
-
# Thanks for using OpenAPI Generator. #
|
|
42
|
-
# Please consider donation to help us maintain this project 🙏 #
|
|
43
|
-
# https://opencollective.com/openapi_generator/donate #
|
|
44
|
-
################################################################################
|
|
45
|
-
✅ SDK generated
|
|
46
|
-
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
47
|
-
* branch master -> FETCH_HEAD
|
|
48
|
-
Already up to date.
|
|
49
1
|
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
50
2
|
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
51
3
|
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
@@ -84,274 +36,29 @@ Already up to date.
|
|
|
84
36
|
# https://opencollective.com/openapi_generator/donate #
|
|
85
37
|
################################################################################
|
|
86
38
|
✅ SDK generated
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
create mode 100644 package.json
|
|
90
|
-
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
91
|
-
59ff01e..2e7e263 master -> master
|
|
92
|
-
✅ Changes committed and pushed
|
|
93
|
-
npm error Git working directory not clean.
|
|
94
|
-
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_05_36_696Z-debug-0.log
|
|
95
|
-
Everything up-to-date
|
|
96
|
-
✅ Version bumped
|
|
97
|
-
|
|
98
|
-
> @drx/sdk@1.0.0 prepublishOnly
|
|
99
|
-
> npm run build
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
> @drx/sdk@1.0.0 build
|
|
103
|
-
> tsc
|
|
39
|
+
On branch master
|
|
40
|
+
Your branch is up to date with 'origin/master'.
|
|
104
41
|
|
|
105
|
-
|
|
106
|
-
npm error code 127
|
|
107
|
-
npm error path /root/drx-sdk
|
|
108
|
-
npm error command failed
|
|
109
|
-
npm error command sh -c npm run build
|
|
110
|
-
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_05_37_942Z-debug-0.log
|
|
111
|
-
❌ NPM publish failed
|
|
112
|
-
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
113
|
-
* branch master -> FETCH_HEAD
|
|
114
|
-
Already up to date.
|
|
115
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
116
|
-
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
117
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
118
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
|
|
119
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
|
|
120
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_get_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
121
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
122
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
123
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
124
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
125
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
126
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
|
|
127
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
|
|
128
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
129
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
130
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
131
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
|
|
132
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
133
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
134
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
135
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
136
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
137
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
138
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
139
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
|
|
140
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
|
|
141
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
|
|
142
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
|
|
143
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
|
|
144
|
-
[main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
|
|
145
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
|
|
146
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
|
|
147
|
-
################################################################################
|
|
148
|
-
# Thanks for using OpenAPI Generator. #
|
|
149
|
-
# Please consider donation to help us maintain this project 🙏 #
|
|
150
|
-
# https://opencollective.com/openapi_generator/donate #
|
|
151
|
-
################################################################################
|
|
152
|
-
✅ SDK generated
|
|
153
|
-
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
154
|
-
* branch master -> FETCH_HEAD
|
|
155
|
-
Already up to date.
|
|
156
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
157
|
-
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
158
|
-
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
159
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
|
|
160
|
-
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
|
|
161
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_get_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
162
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
163
|
-
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
164
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
165
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
166
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
167
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
|
|
168
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
|
|
169
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
170
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
171
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
172
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
|
|
173
|
-
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
174
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
175
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
176
|
-
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
177
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
178
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
179
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
180
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
|
|
181
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
|
|
182
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
|
|
183
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
|
|
184
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
|
|
185
|
-
[main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
|
|
186
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
|
|
187
|
-
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
|
|
188
|
-
################################################################################
|
|
189
|
-
# Thanks for using OpenAPI Generator. #
|
|
190
|
-
# Please consider donation to help us maintain this project 🙏 #
|
|
191
|
-
# https://opencollective.com/openapi_generator/donate #
|
|
192
|
-
################################################################################
|
|
193
|
-
✅ SDK generated
|
|
194
|
-
[master 5306192] VPS: Generated API SDK
|
|
195
|
-
1 file changed, 41 insertions(+)
|
|
196
|
-
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
197
|
-
fce4117..5306192 master -> master
|
|
198
|
-
✅ Changes committed and pushed
|
|
199
|
-
npm error Git working directory not clean.
|
|
200
|
-
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_13_34_387Z-debug-0.log
|
|
42
|
+
nothing to commit, working tree clean
|
|
201
43
|
Everything up-to-date
|
|
44
|
+
✅ Changes committed and pushed
|
|
45
|
+
v1.1.1
|
|
46
|
+
remote:
|
|
47
|
+
remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
|
|
48
|
+
remote:
|
|
49
|
+
remote: Please update your Git remote:
|
|
50
|
+
remote:
|
|
51
|
+
remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
|
|
52
|
+
remote:
|
|
53
|
+
remote:
|
|
54
|
+
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
55
|
+
dfc42a2..362615b master -> master
|
|
202
56
|
✅ Version bumped
|
|
203
57
|
|
|
204
|
-
> @
|
|
58
|
+
> @drxsuperapp/sdk@1.1.1 prepublishOnly
|
|
205
59
|
> npm run build
|
|
206
60
|
|
|
207
61
|
|
|
208
|
-
> @
|
|
62
|
+
> @drxsuperapp/sdk@1.1.1 build
|
|
209
63
|
> tsc
|
|
210
64
|
|
|
211
|
-
Version 5.8.3
|
|
212
|
-
tsc: The TypeScript Compiler - Version 5.8.3
|
|
213
|
-
|
|
214
|
-
COMMON COMMANDS
|
|
215
|
-
|
|
216
|
-
tsc
|
|
217
|
-
Compiles the current project (tsconfig.json in the working directory.)
|
|
218
|
-
|
|
219
|
-
tsc app.ts util.ts
|
|
220
|
-
Ignoring tsconfig.json, compiles the specified files with default compiler options.
|
|
221
|
-
|
|
222
|
-
tsc -b
|
|
223
|
-
Build a composite project in the working directory.
|
|
224
|
-
|
|
225
|
-
tsc --init
|
|
226
|
-
Creates a tsconfig.json with the recommended settings in the working directory.
|
|
227
|
-
|
|
228
|
-
tsc -p ./path/to/tsconfig.json
|
|
229
|
-
Compiles the TypeScript project located at the specified path.
|
|
230
|
-
|
|
231
|
-
tsc --help --all
|
|
232
|
-
An expanded version of this information, showing all possible compiler options
|
|
233
|
-
|
|
234
|
-
tsc --noEmit
|
|
235
|
-
tsc --target esnext
|
|
236
|
-
Compiles the current project, with additional settings.
|
|
237
|
-
|
|
238
|
-
COMMAND LINE FLAGS
|
|
239
|
-
|
|
240
|
-
--help, -h
|
|
241
|
-
Print this message.
|
|
242
|
-
|
|
243
|
-
--watch, -w
|
|
244
|
-
Watch input files.
|
|
245
|
-
|
|
246
|
-
--all
|
|
247
|
-
Show all compiler options.
|
|
248
|
-
|
|
249
|
-
--version, -v
|
|
250
|
-
Print the compiler's version.
|
|
251
|
-
|
|
252
|
-
--init
|
|
253
|
-
Initializes a TypeScript project and creates a tsconfig.json file.
|
|
254
|
-
|
|
255
|
-
--project, -p
|
|
256
|
-
Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.
|
|
257
|
-
|
|
258
|
-
--showConfig
|
|
259
|
-
Print the final configuration instead of building.
|
|
260
|
-
|
|
261
|
-
--build, -b
|
|
262
|
-
Build one or more projects and their dependencies, if out of date
|
|
263
|
-
|
|
264
|
-
COMMON COMPILER OPTIONS
|
|
265
|
-
|
|
266
|
-
--pretty
|
|
267
|
-
Enable color and formatting in TypeScript's output to make compiler errors easier to read.
|
|
268
|
-
type: boolean
|
|
269
|
-
default: true
|
|
270
|
-
|
|
271
|
-
--declaration, -d
|
|
272
|
-
Generate .d.ts files from TypeScript and JavaScript files in your project.
|
|
273
|
-
type: boolean
|
|
274
|
-
default: `false`, unless `composite` is set
|
|
275
|
-
|
|
276
|
-
--declarationMap
|
|
277
|
-
Create sourcemaps for d.ts files.
|
|
278
|
-
type: boolean
|
|
279
|
-
default: false
|
|
280
|
-
|
|
281
|
-
--emitDeclarationOnly
|
|
282
|
-
Only output d.ts files and not JavaScript files.
|
|
283
|
-
type: boolean
|
|
284
|
-
default: false
|
|
285
|
-
|
|
286
|
-
--sourceMap
|
|
287
|
-
Create source map files for emitted JavaScript files.
|
|
288
|
-
type: boolean
|
|
289
|
-
default: false
|
|
290
|
-
|
|
291
|
-
--noEmit
|
|
292
|
-
Disable emitting files from a compilation.
|
|
293
|
-
type: boolean
|
|
294
|
-
default: false
|
|
295
|
-
|
|
296
|
-
--target, -t
|
|
297
|
-
Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
|
|
298
|
-
one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext
|
|
299
|
-
default: es5
|
|
300
|
-
|
|
301
|
-
--module, -m
|
|
302
|
-
Specify what module code is generated.
|
|
303
|
-
one of: none, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, node18, nodenext, preserve
|
|
304
|
-
default: undefined
|
|
305
|
-
|
|
306
|
-
--lib
|
|
307
|
-
Specify a set of bundled library declaration files that describe the target runtime environment.
|
|
308
|
-
one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, decorators, decorators.legacy
|
|
309
|
-
default: undefined
|
|
310
|
-
|
|
311
|
-
--allowJs
|
|
312
|
-
Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
|
|
313
|
-
type: boolean
|
|
314
|
-
default: false
|
|
315
|
-
|
|
316
|
-
--checkJs
|
|
317
|
-
Enable error reporting in type-checked JavaScript files.
|
|
318
|
-
type: boolean
|
|
319
|
-
default: false
|
|
320
|
-
|
|
321
|
-
--jsx
|
|
322
|
-
Specify what JSX code is generated.
|
|
323
|
-
one of: preserve, react, react-native, react-jsx, react-jsxdev
|
|
324
|
-
default: undefined
|
|
325
|
-
|
|
326
|
-
--outFile
|
|
327
|
-
Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output.
|
|
328
|
-
|
|
329
|
-
--outDir
|
|
330
|
-
Specify an output folder for all emitted files.
|
|
331
|
-
|
|
332
|
-
--removeComments
|
|
333
|
-
Disable emitting comments.
|
|
334
|
-
type: boolean
|
|
335
|
-
default: false
|
|
336
|
-
|
|
337
|
-
--strict
|
|
338
|
-
Enable all strict type-checking options.
|
|
339
|
-
type: boolean
|
|
340
|
-
default: false
|
|
341
|
-
|
|
342
|
-
--types
|
|
343
|
-
Specify type package names to be included without being referenced in a source file.
|
|
344
|
-
|
|
345
|
-
--esModuleInterop
|
|
346
|
-
Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility.
|
|
347
|
-
type: boolean
|
|
348
|
-
default: false
|
|
349
|
-
|
|
350
|
-
You can learn about all of the compiler options at https://aka.ms/tsc
|
|
351
|
-
|
|
352
|
-
npm error code 1
|
|
353
|
-
npm error path /root/drx-sdk
|
|
354
|
-
npm error command failed
|
|
355
|
-
npm error command sh -c npm run build
|
|
356
|
-
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_13_36_082Z-debug-0.log
|
|
357
|
-
❌ NPM publish failed
|
package/dist/api.d.ts
CHANGED
|
@@ -37,6 +37,18 @@ export interface ApiExamplesGet200ResponseInner {
|
|
|
37
37
|
* @memberof ApiExamplesGet200ResponseInner
|
|
38
38
|
*/
|
|
39
39
|
'email': string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiExamplesGet200ResponseInner
|
|
44
|
+
*/
|
|
45
|
+
'wkwkwkwk': string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ApiExamplesGet200ResponseInner
|
|
50
|
+
*/
|
|
51
|
+
'wkwkwkwk2': string;
|
|
40
52
|
}
|
|
41
53
|
/**
|
|
42
54
|
*
|
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**email** | **string** | | [default to undefined]
|
|
11
|
+
**wkwkwkwk** | **string** | | [default to undefined]
|
|
12
|
+
**wkwkwkwk2** | **string** | | [default to undefined]
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ const instance: ApiExamplesGet200ResponseInner = {
|
|
|
18
20
|
id,
|
|
19
21
|
name,
|
|
20
22
|
email,
|
|
23
|
+
wkwkwkwk,
|
|
24
|
+
wkwkwkwk2,
|
|
21
25
|
};
|
|
22
26
|
```
|
|
23
27
|
|
package/package.json
CHANGED
package/workflow.sh
CHANGED
|
@@ -20,19 +20,27 @@ fi
|
|
|
20
20
|
cd /root/drx-sdk || exit 1
|
|
21
21
|
|
|
22
22
|
# Step 1: Reset and pull latest code
|
|
23
|
+
git pull
|
|
24
|
+
git push
|
|
25
|
+
git fetch
|
|
23
26
|
git checkout master >> "$LOGFILE" 2>&1
|
|
24
27
|
git reset --hard HEAD >> "$LOGFILE" 2>&1
|
|
25
28
|
git pull origin master >> "$LOGFILE" 2>&1
|
|
26
29
|
|
|
27
30
|
rm -rf apis models >> "$LOGFILE" 2>&1
|
|
28
|
-
|
|
31
|
+
rm deploy.log
|
|
29
32
|
# Step 2: Generate SDK
|
|
33
|
+
[ -f .gitignore ] && cp .gitignore .gitignore.backup
|
|
34
|
+
|
|
30
35
|
openapi-generator-cli generate \
|
|
31
36
|
-i https://master-api.drxasia.com/swagger.json \
|
|
32
37
|
-g typescript-axios \
|
|
33
38
|
-o ./ \
|
|
34
39
|
--auth "Authorization:Basic%20Z2FtYnVsbHM6OGQxbUZKcWJmZTVybVJ6" >> "$LOGFILE" 2>&1
|
|
35
40
|
|
|
41
|
+
# Restore .gitignore
|
|
42
|
+
[ -f .gitignore.backup ] && mv .gitignore.backup .gitignore
|
|
43
|
+
|
|
36
44
|
if [ $? -ne 0 ]; then
|
|
37
45
|
echo "❌ SDK generation failed at $(date)" >> "$LOGFILE"
|
|
38
46
|
exit 1
|