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.
@@ -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
@@ -1,4 +1,8 @@
1
+ export * from "./auth-login";
2
+ export * from "./auth-token";
3
+ export * from "./auth-verify";
1
4
  export * from "./notification";
5
+ export * from "./profile";
2
6
  export * from "./team";
3
7
  export * from "./team-user-params";
4
8
  export * from "./team-users";
@@ -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
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  npmName: gopadjs
3
- npmVersion: 1.1.0
3
+ npmVersion: 1.3.0
4
4
  supportsES6: true
5
5
  useSingleRequestParameter: true
6
6
  withNodeImports: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gopadjs",
3
- "version": "1.1.0",
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.12",
37
+ "@types/node": "12.11.5 - 20.13",
38
38
  "prettier": "^3.2.5",
39
39
  "typescript": "^4.0 || ^5.0"
40
40
  }