gopadjs 2.6.3 → 2.6.4
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/RELEASE +1 -1
- package/.github/settings.yml +73 -20
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +7 -0
- package/README.md +2 -2
- package/api/auth-api.ts +133 -1
- package/api/group-api.ts +1 -1
- package/api/profile-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +8 -2
- package/flake.lock +12 -12
- package/hack/generate-client.sh +2 -2
- package/hack/openapi/templates/gitignore +1 -0
- package/index.ts +1 -1
- package/model/auth-token.ts +1 -1
- package/model/auth-verify.ts +1 -1
- package/model/create-group-request.ts +1 -1
- package/model/create-user-request.ts +1 -1
- package/model/delete-group-from-user-request.ts +1 -1
- package/model/delete-user-from-group-request.ts +1 -1
- package/model/group.ts +1 -1
- package/model/index.ts +1 -0
- package/model/list-group-users200-response.ts +1 -1
- package/model/list-groups200-response.ts +1 -1
- package/model/list-providers200-response.ts +1 -1
- package/model/list-user-groups200-response.ts +1 -1
- package/model/list-users200-response.ts +1 -1
- package/model/login-auth-request.ts +1 -1
- package/model/notification.ts +1 -1
- package/model/permit-group-user-request.ts +1 -1
- package/model/permit-user-group-request.ts +1 -1
- package/model/profile.ts +1 -1
- package/model/provider.ts +1 -1
- package/model/redirect-auth-request.ts +27 -0
- package/model/update-profile-request.ts +1 -1
- package/model/update-user-request.ts +1 -1
- package/model/user-auth.ts +1 -1
- package/model/user-group.ts +1 -1
- package/model/user.ts +1 -1
- package/model/validation.ts +1 -1
- package/openapi.yml +1 -1
- package/package.json +1 -1
- package/openapitools.json +0 -7
package/.github/RELEASE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Mon Mar
|
|
1
|
+
Mon Mar 24 08:13:29 UTC 2025
|
package/.github/settings.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
repository:
|
|
3
3
|
name: gopad-js
|
|
4
|
-
description:
|
|
4
|
+
description: Javascript SDK for Gopad
|
|
5
5
|
homepage: https://gopad.eu
|
|
6
6
|
topics: gopad, etherpad, sdk, openapi, javascript
|
|
7
7
|
|
|
@@ -12,8 +12,8 @@ repository:
|
|
|
12
12
|
|
|
13
13
|
default_branch: master
|
|
14
14
|
|
|
15
|
+
allow_merge_commit: false
|
|
15
16
|
allow_squash_merge: true
|
|
16
|
-
allow_merge_commit: true
|
|
17
17
|
allow_rebase_merge: true
|
|
18
18
|
|
|
19
19
|
allow_update_branch: true
|
|
@@ -22,24 +22,77 @@ repository:
|
|
|
22
22
|
enable_automated_security_fixes: true
|
|
23
23
|
enable_vulnerability_alerts: true
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
- name:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
25
|
+
rulesets:
|
|
26
|
+
- name: prevent destruction
|
|
27
|
+
target: branch
|
|
28
|
+
enforcement: active
|
|
29
|
+
conditions:
|
|
30
|
+
ref_name:
|
|
31
|
+
include:
|
|
32
|
+
- "~DEFAULT_BRANCH"
|
|
33
|
+
exclude: []
|
|
34
|
+
rules:
|
|
35
|
+
- type: required_linear_history
|
|
36
|
+
- type: deletion
|
|
37
|
+
- type: non_fast_forward
|
|
38
|
+
|
|
39
|
+
- name: check verification
|
|
40
|
+
target: branch
|
|
41
|
+
enforcement: active
|
|
42
|
+
conditions:
|
|
43
|
+
ref_name:
|
|
44
|
+
include:
|
|
45
|
+
- "~DEFAULT_BRANCH"
|
|
46
|
+
exclude: []
|
|
47
|
+
rules:
|
|
48
|
+
- type: required_status_checks
|
|
49
|
+
parameters:
|
|
50
|
+
strict_required_status_checks_policy: true
|
|
51
|
+
required_status_checks:
|
|
52
|
+
- context: Semantic PR
|
|
53
|
+
integration_id: 198092
|
|
54
|
+
- context: testing
|
|
55
|
+
integration_id: 15368
|
|
56
|
+
bypass_actors:
|
|
57
|
+
- actor_id: 1
|
|
58
|
+
actor_type: OrganizationAdmin
|
|
59
|
+
bypass_mode: always
|
|
60
|
+
- actor_id: 906029 # app
|
|
61
|
+
actor_type: Integration
|
|
62
|
+
bypass_mode: always
|
|
63
|
+
- actor_id: 2825367 # bots
|
|
64
|
+
actor_type: Team
|
|
65
|
+
bypass_mode: always
|
|
66
|
+
|
|
67
|
+
- name: require reviewing
|
|
68
|
+
target: branch
|
|
69
|
+
enforcement: active
|
|
70
|
+
conditions:
|
|
71
|
+
ref_name:
|
|
72
|
+
include:
|
|
73
|
+
- "~DEFAULT_BRANCH"
|
|
74
|
+
exclude: []
|
|
75
|
+
rules:
|
|
76
|
+
- type: pull_request
|
|
77
|
+
parameters:
|
|
78
|
+
allowed_merge_methods:
|
|
79
|
+
- squash
|
|
80
|
+
- rebase
|
|
81
|
+
dismiss_stale_reviews_on_push: false
|
|
82
|
+
require_code_owner_review: false
|
|
83
|
+
require_last_push_approval: false
|
|
84
|
+
required_approving_review_count: 0
|
|
85
|
+
required_review_thread_resolution: false
|
|
86
|
+
bypass_actors:
|
|
87
|
+
- actor_id: 1
|
|
88
|
+
actor_type: OrganizationAdmin
|
|
89
|
+
bypass_mode: always
|
|
90
|
+
- actor_id: 906029 # app
|
|
91
|
+
actor_type: Integration
|
|
92
|
+
bypass_mode: always
|
|
93
|
+
- actor_id: 2825367 # bots
|
|
94
|
+
actor_type: Team
|
|
95
|
+
bypass_mode: always
|
|
43
96
|
|
|
44
97
|
teams:
|
|
45
98
|
- name: admins
|
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.12.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.6.4](https://github.com/gopad/gopad-js/compare/v2.6.3...v2.6.4) (2025-03-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bugfixes
|
|
7
|
+
|
|
8
|
+
* use correct spec and update definition ([5f997ae](https://github.com/gopad/gopad-js/commit/5f997ae8ee5aefa335cb083d5aed50f2503a2677))
|
|
9
|
+
|
|
3
10
|
## [2.6.3](https://github.com/gopad/gopad-js/compare/v2.6.2...v2.6.3) (2025-03-24)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This repository provides a client SDK for Typescript/Javascript. This SDK is
|
|
|
6
6
|
automatically generated by the [OpenAPI Generator][generator] project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.0.0-alpha1
|
|
9
|
-
- Package version: 2.6.
|
|
9
|
+
- Package version: 2.6.4
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
|
|
11
11
|
|
|
12
12
|
For more information, please visit [https://gopad.eu](https://gopad.eu)
|
|
@@ -39,7 +39,7 @@ the following command within your project directory, after that you can import
|
|
|
39
39
|
it as other libraries:
|
|
40
40
|
|
|
41
41
|
```console
|
|
42
|
-
npm install --save gopadjs@2.6.
|
|
42
|
+
npm install --save gopadjs@2.6.4
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Installation with Git
|
package/api/auth-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Gopad OpenAPI
|
|
5
|
-
* API definition for Gopad, Etherpad for markdown with
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with Go
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
8
|
* Contact: gopad@webhippie.de
|
|
@@ -51,6 +51,8 @@ import type { ListProviders200Response } from "../model";
|
|
|
51
51
|
import type { LoginAuthRequest } from "../model";
|
|
52
52
|
// @ts-ignore
|
|
53
53
|
import type { Notification } from "../model";
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
import type { RedirectAuthRequest } from "../model";
|
|
54
56
|
/**
|
|
55
57
|
* AuthApi - axios parameter creator
|
|
56
58
|
* @export
|
|
@@ -206,6 +208,60 @@ export const AuthApiAxiosParamCreator = function (
|
|
|
206
208
|
options: localVarRequestOptions,
|
|
207
209
|
};
|
|
208
210
|
},
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary Retrieve real token after redirect
|
|
214
|
+
* @param {RedirectAuthRequest} redirectAuthRequest The redirect token to authenticate
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
redirectAuth: async (
|
|
219
|
+
redirectAuthRequest: RedirectAuthRequest,
|
|
220
|
+
options: RawAxiosRequestConfig = {},
|
|
221
|
+
): Promise<RequestArgs> => {
|
|
222
|
+
// verify required parameter 'redirectAuthRequest' is not null or undefined
|
|
223
|
+
assertParamExists(
|
|
224
|
+
"redirectAuth",
|
|
225
|
+
"redirectAuthRequest",
|
|
226
|
+
redirectAuthRequest,
|
|
227
|
+
);
|
|
228
|
+
const localVarPath = `/auth/redirect`;
|
|
229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
231
|
+
let baseOptions;
|
|
232
|
+
if (configuration) {
|
|
233
|
+
baseOptions = configuration.baseOptions;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const localVarRequestOptions = {
|
|
237
|
+
method: "POST",
|
|
238
|
+
...baseOptions,
|
|
239
|
+
...options,
|
|
240
|
+
};
|
|
241
|
+
const localVarHeaderParameter = {} as any;
|
|
242
|
+
const localVarQueryParameter = {} as any;
|
|
243
|
+
|
|
244
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
245
|
+
|
|
246
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
247
|
+
let headersFromBaseOptions =
|
|
248
|
+
baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
|
+
localVarRequestOptions.headers = {
|
|
250
|
+
...localVarHeaderParameter,
|
|
251
|
+
...headersFromBaseOptions,
|
|
252
|
+
...options.headers,
|
|
253
|
+
};
|
|
254
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
255
|
+
redirectAuthRequest,
|
|
256
|
+
localVarRequestOptions,
|
|
257
|
+
configuration,
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
return {
|
|
261
|
+
url: toPathString(localVarUrlObj),
|
|
262
|
+
options: localVarRequestOptions,
|
|
263
|
+
};
|
|
264
|
+
},
|
|
209
265
|
/**
|
|
210
266
|
*
|
|
211
267
|
* @summary Refresh an auth token before it expires
|
|
@@ -465,6 +521,36 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
465
521
|
configuration,
|
|
466
522
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
467
523
|
},
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @summary Retrieve real token after redirect
|
|
527
|
+
* @param {RedirectAuthRequest} redirectAuthRequest The redirect token to authenticate
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
async redirectAuth(
|
|
532
|
+
redirectAuthRequest: RedirectAuthRequest,
|
|
533
|
+
options?: RawAxiosRequestConfig,
|
|
534
|
+
): Promise<
|
|
535
|
+
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthToken>
|
|
536
|
+
> {
|
|
537
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redirectAuth(
|
|
538
|
+
redirectAuthRequest,
|
|
539
|
+
options,
|
|
540
|
+
);
|
|
541
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
542
|
+
const localVarOperationServerBasePath =
|
|
543
|
+
operationServerMap["AuthApi.redirectAuth"]?.[
|
|
544
|
+
localVarOperationServerIndex
|
|
545
|
+
]?.url;
|
|
546
|
+
return (axios, basePath) =>
|
|
547
|
+
createRequestFunction(
|
|
548
|
+
localVarAxiosArgs,
|
|
549
|
+
globalAxios,
|
|
550
|
+
BASE_PATH,
|
|
551
|
+
configuration,
|
|
552
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
553
|
+
},
|
|
468
554
|
/**
|
|
469
555
|
*
|
|
470
556
|
* @summary Refresh an auth token before it expires
|
|
@@ -608,6 +694,21 @@ export const AuthApiFactory = function (
|
|
|
608
694
|
.loginAuth(requestParameters.loginAuthRequest, options)
|
|
609
695
|
.then((request) => request(axios, basePath));
|
|
610
696
|
},
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @summary Retrieve real token after redirect
|
|
700
|
+
* @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
*/
|
|
704
|
+
redirectAuth(
|
|
705
|
+
requestParameters: AuthApiRedirectAuthRequest,
|
|
706
|
+
options?: RawAxiosRequestConfig,
|
|
707
|
+
): AxiosPromise<AuthToken> {
|
|
708
|
+
return localVarFp
|
|
709
|
+
.redirectAuth(requestParameters.redirectAuthRequest, options)
|
|
710
|
+
.then((request) => request(axios, basePath));
|
|
711
|
+
},
|
|
611
712
|
/**
|
|
612
713
|
*
|
|
613
714
|
* @summary Refresh an auth token before it expires
|
|
@@ -690,6 +791,20 @@ export interface AuthApiLoginAuthRequest {
|
|
|
690
791
|
readonly loginAuthRequest: LoginAuthRequest;
|
|
691
792
|
}
|
|
692
793
|
|
|
794
|
+
/**
|
|
795
|
+
* Request parameters for redirectAuth operation in AuthApi.
|
|
796
|
+
* @export
|
|
797
|
+
* @interface AuthApiRedirectAuthRequest
|
|
798
|
+
*/
|
|
799
|
+
export interface AuthApiRedirectAuthRequest {
|
|
800
|
+
/**
|
|
801
|
+
* The redirect token to authenticate
|
|
802
|
+
* @type {RedirectAuthRequest}
|
|
803
|
+
* @memberof AuthApiRedirectAuth
|
|
804
|
+
*/
|
|
805
|
+
readonly redirectAuthRequest: RedirectAuthRequest;
|
|
806
|
+
}
|
|
807
|
+
|
|
693
808
|
/**
|
|
694
809
|
* Request parameters for requestProvider operation in AuthApi.
|
|
695
810
|
* @export
|
|
@@ -763,6 +878,23 @@ export class AuthApi extends BaseAPI {
|
|
|
763
878
|
.then((request) => request(this.axios, this.basePath));
|
|
764
879
|
}
|
|
765
880
|
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @summary Retrieve real token after redirect
|
|
884
|
+
* @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
* @memberof AuthApi
|
|
888
|
+
*/
|
|
889
|
+
public redirectAuth(
|
|
890
|
+
requestParameters: AuthApiRedirectAuthRequest,
|
|
891
|
+
options?: RawAxiosRequestConfig,
|
|
892
|
+
) {
|
|
893
|
+
return AuthApiFp(this.configuration)
|
|
894
|
+
.redirectAuth(requestParameters.redirectAuthRequest, options)
|
|
895
|
+
.then((request) => request(this.axios, this.basePath));
|
|
896
|
+
}
|
|
897
|
+
|
|
766
898
|
/**
|
|
767
899
|
*
|
|
768
900
|
* @summary Refresh an auth token before it expires
|
package/api/group-api.ts
CHANGED
package/api/profile-api.ts
CHANGED
package/api/user-api.ts
CHANGED
package/api.ts
CHANGED
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Gopad OpenAPI
|
|
5
|
-
* API definition for Gopad, Etherpad for markdown with
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with Go
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
8
|
* Contact: gopad@webhippie.de
|
|
@@ -104,7 +104,13 @@ export class Configuration {
|
|
|
104
104
|
this.accessToken = param.accessToken;
|
|
105
105
|
this.basePath = param.basePath;
|
|
106
106
|
this.serverIndex = param.serverIndex;
|
|
107
|
-
this.baseOptions =
|
|
107
|
+
this.baseOptions = {
|
|
108
|
+
...param.baseOptions,
|
|
109
|
+
headers: {
|
|
110
|
+
"User-Agent": "gopad-js/1.0.0-alpha1",
|
|
111
|
+
...param.baseOptions?.headers,
|
|
112
|
+
},
|
|
113
|
+
};
|
|
108
114
|
this.formDataCtor = param.formDataCtor;
|
|
109
115
|
}
|
|
110
116
|
|
package/flake.lock
CHANGED
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"nixpkgs": "nixpkgs_3"
|
|
38
38
|
},
|
|
39
39
|
"locked": {
|
|
40
|
-
"lastModified":
|
|
41
|
-
"narHash": "sha256-
|
|
40
|
+
"lastModified": 1742659231,
|
|
41
|
+
"narHash": "sha256-7bvafmxXeRfoAtWSJeTFmHlCHMte0cZecGE/BvvgyqE=",
|
|
42
42
|
"owner": "cachix",
|
|
43
43
|
"repo": "devenv",
|
|
44
|
-
"rev": "
|
|
44
|
+
"rev": "c651cb04013be972767aaecb3e9a98fc930d080e",
|
|
45
45
|
"type": "github"
|
|
46
46
|
},
|
|
47
47
|
"original": {
|
|
@@ -154,11 +154,11 @@
|
|
|
154
154
|
"nixpkgs": "nixpkgs_4"
|
|
155
155
|
},
|
|
156
156
|
"locked": {
|
|
157
|
-
"lastModified":
|
|
158
|
-
"narHash": "sha256-
|
|
157
|
+
"lastModified": 1742649964,
|
|
158
|
+
"narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
|
|
159
159
|
"owner": "cachix",
|
|
160
160
|
"repo": "git-hooks.nix",
|
|
161
|
-
"rev": "
|
|
161
|
+
"rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
|
|
162
162
|
"type": "github"
|
|
163
163
|
},
|
|
164
164
|
"original": {
|
|
@@ -245,11 +245,11 @@
|
|
|
245
245
|
]
|
|
246
246
|
},
|
|
247
247
|
"locked": {
|
|
248
|
-
"lastModified":
|
|
249
|
-
"narHash": "sha256-
|
|
248
|
+
"lastModified": 1741798497,
|
|
249
|
+
"narHash": "sha256-E3j+3MoY8Y96mG1dUIiLFm2tZmNbRvSiyN7CrSKuAVg=",
|
|
250
250
|
"owner": "domenkozar",
|
|
251
251
|
"repo": "nix",
|
|
252
|
-
"rev": "
|
|
252
|
+
"rev": "f3f44b2baaf6c4c6e179de8cbb1cc6db031083cd",
|
|
253
253
|
"type": "github"
|
|
254
254
|
},
|
|
255
255
|
"original": {
|
|
@@ -340,11 +340,11 @@
|
|
|
340
340
|
},
|
|
341
341
|
"nixpkgs_5": {
|
|
342
342
|
"locked": {
|
|
343
|
-
"lastModified":
|
|
344
|
-
"narHash": "sha256-
|
|
343
|
+
"lastModified": 1742669843,
|
|
344
|
+
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
|
|
345
345
|
"owner": "NixOS",
|
|
346
346
|
"repo": "nixpkgs",
|
|
347
|
-
"rev": "
|
|
347
|
+
"rev": "1e5b653dff12029333a6546c11e108ede13052eb",
|
|
348
348
|
"type": "github"
|
|
349
349
|
},
|
|
350
350
|
"original": {
|
package/hack/generate-client.sh
CHANGED
|
@@ -14,11 +14,11 @@ if ! hash openapi-generator-cli 2>/dev/null; then
|
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
16
|
SPEC_VERSION="1.0.0-alpha1"
|
|
17
|
-
SPEC_DOWNLOAD=${SPEC:-https://dl.gopad.eu/openapi/${SPEC_VERSION}.
|
|
17
|
+
SPEC_DOWNLOAD=${SPEC:-https://dl.gopad.eu/openapi/${SPEC_VERSION}.yaml}
|
|
18
18
|
|
|
19
19
|
pushd "${ROOT}" >/dev/null
|
|
20
20
|
echo "> deleting apis and models"
|
|
21
|
-
rm -rf api model
|
|
21
|
+
rm -rf api model openapitools.json
|
|
22
22
|
|
|
23
23
|
export TS_POST_PROCESS_FILE="npx prettier -w"
|
|
24
24
|
|
package/index.ts
CHANGED
package/model/auth-token.ts
CHANGED
package/model/auth-verify.ts
CHANGED
package/model/group.ts
CHANGED
package/model/index.ts
CHANGED
|
@@ -16,6 +16,7 @@ export * from "./permit-group-user-request";
|
|
|
16
16
|
export * from "./permit-user-group-request";
|
|
17
17
|
export * from "./profile";
|
|
18
18
|
export * from "./provider";
|
|
19
|
+
export * from "./redirect-auth-request";
|
|
19
20
|
export * from "./update-profile-request";
|
|
20
21
|
export * from "./update-user-request";
|
|
21
22
|
export * from "./user";
|
package/model/notification.ts
CHANGED
package/model/profile.ts
CHANGED
package/model/provider.ts
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with Go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RedirectAuthRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface RedirectAuthRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RedirectAuthRequest
|
|
25
|
+
*/
|
|
26
|
+
token: string;
|
|
27
|
+
}
|
package/model/user-auth.ts
CHANGED
package/model/user-group.ts
CHANGED
package/model/user.ts
CHANGED
package/model/validation.ts
CHANGED
package/openapi.yml
CHANGED
package/package.json
CHANGED