gopadjs 1.1.0 → 1.3.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/RELEASE +1 -1
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +1 -8
- package/.openapi-generator/FILES +5 -0
- package/.releaserc +3 -2
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/api/auth-api.ts +344 -0
- package/api/profile-api.ts +431 -0
- package/api/team-api.ts +36 -0
- package/api/user-api.ts +36 -0
- package/api.ts +1 -0
- package/flake.lock +3 -3
- package/hack/generate-client.sh +1 -1
- package/model/auth-login.ts +33 -0
- package/model/auth-token.ts +33 -0
- package/model/auth-verify.ts +33 -0
- package/model/index.ts +4 -0
- package/model/profile.ts +100 -0
- package/openapi.yml +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
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 AuthToken
|
|
19
|
+
*/
|
|
20
|
+
export interface AuthToken {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof AuthToken
|
|
25
|
+
*/
|
|
26
|
+
token: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AuthToken
|
|
31
|
+
*/
|
|
32
|
+
expires_at?: string | null;
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 AuthVerify
|
|
19
|
+
*/
|
|
20
|
+
export interface AuthVerify {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof AuthVerify
|
|
25
|
+
*/
|
|
26
|
+
username: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AuthVerify
|
|
31
|
+
*/
|
|
32
|
+
created_at?: string | null;
|
|
33
|
+
}
|
package/model/index.ts
CHANGED
package/model/profile.ts
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { UserAuth } from "./user-auth";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserTeam } from "./user-team";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Model to represent profile
|
|
24
|
+
* @export
|
|
25
|
+
* @interface Profile
|
|
26
|
+
*/
|
|
27
|
+
export interface Profile {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof Profile
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Profile
|
|
38
|
+
*/
|
|
39
|
+
username?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Profile
|
|
44
|
+
*/
|
|
45
|
+
password?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Profile
|
|
50
|
+
*/
|
|
51
|
+
email?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof Profile
|
|
56
|
+
*/
|
|
57
|
+
fullname?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof Profile
|
|
62
|
+
*/
|
|
63
|
+
profile?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof Profile
|
|
68
|
+
*/
|
|
69
|
+
admin?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof Profile
|
|
74
|
+
*/
|
|
75
|
+
active?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof Profile
|
|
80
|
+
*/
|
|
81
|
+
created_at?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof Profile
|
|
86
|
+
*/
|
|
87
|
+
updated_at?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<UserAuth>}
|
|
91
|
+
* @memberof Profile
|
|
92
|
+
*/
|
|
93
|
+
auths?: Array<UserAuth> | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<UserTeam>}
|
|
97
|
+
* @memberof Profile
|
|
98
|
+
*/
|
|
99
|
+
teams?: Array<UserTeam> | null;
|
|
100
|
+
}
|
package/openapi.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gopadjs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "OpenAPI client for Gopad",
|
|
5
5
|
"homepage": "https://github.com/gopad/gopad-js#readme",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"axios": "^1.6.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "12.11.5 - 20.
|
|
37
|
+
"@types/node": "12.11.5 - 20.13",
|
|
38
38
|
"prettier": "^3.2.5",
|
|
39
39
|
"typescript": "^4.0 || ^5.0"
|
|
40
40
|
}
|