kleisterjs 1.2.0 → 2.0.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/settings.yml +73 -0
- package/.github/workflows/flake.yml +17 -28
- package/.github/workflows/openapi.yml +1 -1
- package/.github/workflows/release.yml +3 -0
- package/.openapi-generator/FILES +2 -0
- package/CHANGELOG.md +26 -0
- package/README.md +2 -2
- package/api/auth-api.ts +93 -0
- package/flake.lock +266 -51
- package/model/index.ts +2 -0
- package/model/provider.ts +45 -0
- package/model/providers.ts +37 -0
- package/openapi.yml +1 -1
- package/package.json +2 -2
package/.github/RELEASE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Mon
|
|
1
|
+
Mon Oct 28 08:18:05 UTC 2024
|
package/.github/settings.yml
CHANGED
|
@@ -41,4 +41,77 @@ branches:
|
|
|
41
41
|
- bots
|
|
42
42
|
- members
|
|
43
43
|
|
|
44
|
+
teams:
|
|
45
|
+
- name: admins
|
|
46
|
+
permission: admin
|
|
47
|
+
- name: bots
|
|
48
|
+
permission: admin
|
|
49
|
+
- name: members
|
|
50
|
+
permission: maintain
|
|
51
|
+
|
|
52
|
+
labels:
|
|
53
|
+
- name: bug
|
|
54
|
+
color: fc2929
|
|
55
|
+
description: Something isn't working
|
|
56
|
+
- name: duplicate
|
|
57
|
+
color: cccccc
|
|
58
|
+
description: This issue or pull request already exists
|
|
59
|
+
- name: enhancement
|
|
60
|
+
color: 84b6eb
|
|
61
|
+
description: New feature or request
|
|
62
|
+
- name: good first issue
|
|
63
|
+
color: 7057ff
|
|
64
|
+
description: Good for newcomers
|
|
65
|
+
- name: help wanted
|
|
66
|
+
color: 159818
|
|
67
|
+
description: Extra attention is needed
|
|
68
|
+
- name: invalid
|
|
69
|
+
color: e6e6e6
|
|
70
|
+
description: This doesn't seem right
|
|
71
|
+
- name: question
|
|
72
|
+
color: cc317c
|
|
73
|
+
description: Further information is requested
|
|
74
|
+
- name: renovate
|
|
75
|
+
color: 1d76db
|
|
76
|
+
description: Automated action from Renovate
|
|
77
|
+
- name: wontfix
|
|
78
|
+
color: 5319e7
|
|
79
|
+
description: This will not be worked on
|
|
80
|
+
- name: hacktoberfest
|
|
81
|
+
color: d4c5f9
|
|
82
|
+
description: Contribution at Hacktoberfest appreciated
|
|
83
|
+
- name: ready
|
|
84
|
+
color: ededed
|
|
85
|
+
description: This is ready to be worked on
|
|
86
|
+
- name: in progress
|
|
87
|
+
color: ededed
|
|
88
|
+
description: This is currently worked on
|
|
89
|
+
- name: infra
|
|
90
|
+
color: 006b75
|
|
91
|
+
description: Related to the infrastructure
|
|
92
|
+
- name: lint
|
|
93
|
+
color: fbca04
|
|
94
|
+
description: Related to linting tools
|
|
95
|
+
- name: poc
|
|
96
|
+
color: c2e0c6
|
|
97
|
+
description: Proof of concept for new feature
|
|
98
|
+
- name: rebase
|
|
99
|
+
color: ffa8a5
|
|
100
|
+
description: Branch requires a rebase
|
|
101
|
+
- name: third-party
|
|
102
|
+
color: e99695
|
|
103
|
+
description: Depends on third-party tool or library
|
|
104
|
+
- name: translation
|
|
105
|
+
color: b60205
|
|
106
|
+
description: Change or issue related to translations
|
|
107
|
+
- name: ci
|
|
108
|
+
color: b60105
|
|
109
|
+
description: Related to Continous Integration
|
|
110
|
+
- name: docs
|
|
111
|
+
color: b60305
|
|
112
|
+
description: Related to documentation
|
|
113
|
+
- name: outdated
|
|
114
|
+
color: cccccc
|
|
115
|
+
description: This is out of scope and outdated
|
|
116
|
+
|
|
44
117
|
...
|
|
@@ -8,49 +8,38 @@ name: flake
|
|
|
8
8
|
|
|
9
9
|
permissions:
|
|
10
10
|
contents: write
|
|
11
|
-
pull-requests: write
|
|
12
11
|
|
|
13
12
|
jobs:
|
|
14
13
|
flake:
|
|
15
14
|
runs-on: ubuntu-latest
|
|
16
15
|
|
|
17
16
|
steps:
|
|
18
|
-
- name: Generate token
|
|
19
|
-
id: token
|
|
20
|
-
uses: tibdex/github-app-token@v2
|
|
21
|
-
with:
|
|
22
|
-
app_id: ${{ secrets.TOKEN_EXCHANGE_APP }}
|
|
23
|
-
installation_retrieval_mode: id
|
|
24
|
-
installation_retrieval_payload: ${{ secrets.TOKEN_EXCHANGE_INSTALL }}
|
|
25
|
-
private_key: ${{ secrets.TOKEN_EXCHANGE_KEY }}
|
|
26
|
-
permissions: >-
|
|
27
|
-
{"contents": "write", "pull_requests": "write"}
|
|
28
|
-
|
|
29
17
|
- name: Checkout source
|
|
30
18
|
id: source
|
|
31
19
|
uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
token: ${{ secrets.BOT_ACCESS_TOKEN }}
|
|
32
22
|
|
|
33
23
|
- name: Install nix
|
|
34
24
|
id: nix
|
|
35
|
-
uses: cachix/install-nix-action@
|
|
25
|
+
uses: cachix/install-nix-action@v30
|
|
36
26
|
|
|
37
27
|
- name: Update flake
|
|
38
28
|
id: flake
|
|
39
|
-
|
|
29
|
+
run: nix flake update
|
|
30
|
+
|
|
31
|
+
- name: Source rebase
|
|
32
|
+
id: rebase
|
|
33
|
+
run: git pull --autostash --rebase
|
|
34
|
+
|
|
35
|
+
- name: Commit changes
|
|
36
|
+
uses: EndBug/add-and-commit@v9
|
|
40
37
|
with:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
token: ${{ steps.token.outputs.token }}
|
|
48
|
-
|
|
49
|
-
- name: Enable automerge
|
|
50
|
-
id: automerge
|
|
51
|
-
if: steps.flake.outputs.pull-request-operation == 'created'
|
|
52
|
-
run: gh pr merge --rebase --auto "${{ steps.flake.outputs.pull-request-number }}"
|
|
53
|
-
env:
|
|
54
|
-
GH_TOKEN: ${{ steps.token.outputs.token }}
|
|
38
|
+
author_name: GitHub Actions
|
|
39
|
+
author_email: github@webhippie.de
|
|
40
|
+
add: flake.lock
|
|
41
|
+
message: "chore(flake): updated lockfile [skip ci]"
|
|
42
|
+
push: true
|
|
43
|
+
commit: --signoff
|
|
55
44
|
|
|
56
45
|
...
|
package/.openapi-generator/FILES
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.0](https://github.com/kleister/kleister-js/compare/v1.3.0...v2.0.0) (2024-11-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* automated openapi client update ([26e32d4](https://github.com/kleister/kleister-js/commit/26e32d44e4657b08e2ea10efc7bb8aaf9ccac70b))
|
|
9
|
+
* **deps:** update dependency @types/node to 12.11.5 - 20.17 ([d1ebe10](https://github.com/kleister/kleister-js/commit/d1ebe10a07bda333b9463af28628bd4cd10b7929))
|
|
10
|
+
* **deps:** update dependency @types/node to v22 ([4300e87](https://github.com/kleister/kleister-js/commit/4300e87584e20e76a6c0d0601c2b708c256d9d95))
|
|
11
|
+
|
|
12
|
+
## [1.3.0](https://github.com/kleister/kleister-js/compare/v1.2.0...v1.3.0) (2024-10-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **deps:** update dependency @types/node to 12.11.5 - 20.15 ([f029585](https://github.com/kleister/kleister-js/commit/f029585a9cb5690370ca9382e13caf0c661a74c6))
|
|
18
|
+
* **deps:** update dependency @types/node to 12.11.5 - 20.16 ([3438b7f](https://github.com/kleister/kleister-js/commit/3438b7f982fb8681bf3b64d91296a15c5ee6bed7))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bugfixes
|
|
22
|
+
|
|
23
|
+
* **deps:** update dependency axios to v1.7.3 ([8da6994](https://github.com/kleister/kleister-js/commit/8da69947d9616e1859f23da8ee03b9368884ca2d))
|
|
24
|
+
* **deps:** update dependency axios to v1.7.4 [security] ([c66936e](https://github.com/kleister/kleister-js/commit/c66936e4ffce105bd31f9eba12c08554b71abd53))
|
|
25
|
+
* **deps:** update dependency axios to v1.7.5 ([1ac6ea6](https://github.com/kleister/kleister-js/commit/1ac6ea6e223cf7a567db4c7b6c2e96782b6e3d52))
|
|
26
|
+
* **deps:** update dependency axios to v1.7.6 ([7d13e7e](https://github.com/kleister/kleister-js/commit/7d13e7e47e300c672bcb5176675f0355e6ba2e59))
|
|
27
|
+
* **deps:** update dependency axios to v1.7.7 ([05efa52](https://github.com/kleister/kleister-js/commit/05efa527e752ca1f883984b514c9b172fad063ea))
|
|
28
|
+
|
|
3
29
|
## [1.2.0](https://github.com/kleister/kleister-js/compare/v1.1.1...v1.2.0) (2024-07-15)
|
|
4
30
|
|
|
5
31
|
|
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:
|
|
9
|
+
- Package version: 2.0.0
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
|
|
11
11
|
|
|
12
12
|
For more information, please visit [https://kleister.eu](https://kleister.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 kleisterjs@
|
|
42
|
+
npm install --save kleisterjs@2.0.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Installation with Git
|
package/api/auth-api.ts
CHANGED
|
@@ -49,6 +49,8 @@ import type { AuthToken } from "../model";
|
|
|
49
49
|
import type { AuthVerify } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { Notification } from "../model";
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { Providers } from "../model";
|
|
52
54
|
/**
|
|
53
55
|
* AuthApi - axios parameter creator
|
|
54
56
|
* @export
|
|
@@ -167,6 +169,45 @@ export const AuthApiAxiosParamCreator = function (
|
|
|
167
169
|
options: localVarRequestOptions,
|
|
168
170
|
};
|
|
169
171
|
},
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Fetch the available auth providers
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
externalProviders: async (
|
|
179
|
+
options: RawAxiosRequestConfig = {},
|
|
180
|
+
): Promise<RequestArgs> => {
|
|
181
|
+
const localVarPath = `/auth/providers`;
|
|
182
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
183
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
184
|
+
let baseOptions;
|
|
185
|
+
if (configuration) {
|
|
186
|
+
baseOptions = configuration.baseOptions;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
const localVarRequestOptions = {
|
|
190
|
+
method: "GET",
|
|
191
|
+
...baseOptions,
|
|
192
|
+
...options,
|
|
193
|
+
};
|
|
194
|
+
const localVarHeaderParameter = {} as any;
|
|
195
|
+
const localVarQueryParameter = {} as any;
|
|
196
|
+
|
|
197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
|
+
let headersFromBaseOptions =
|
|
199
|
+
baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
+
localVarRequestOptions.headers = {
|
|
201
|
+
...localVarHeaderParameter,
|
|
202
|
+
...headersFromBaseOptions,
|
|
203
|
+
...options.headers,
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
return {
|
|
207
|
+
url: toPathString(localVarUrlObj),
|
|
208
|
+
options: localVarRequestOptions,
|
|
209
|
+
};
|
|
210
|
+
},
|
|
170
211
|
/**
|
|
171
212
|
*
|
|
172
213
|
* @summary Authenticate an user by credentials
|
|
@@ -412,6 +453,32 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
412
453
|
configuration,
|
|
413
454
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
414
455
|
},
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @summary Fetch the available auth providers
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
async externalProviders(
|
|
463
|
+
options?: RawAxiosRequestConfig,
|
|
464
|
+
): Promise<
|
|
465
|
+
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Providers>
|
|
466
|
+
> {
|
|
467
|
+
const localVarAxiosArgs =
|
|
468
|
+
await localVarAxiosParamCreator.externalProviders(options);
|
|
469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
470
|
+
const localVarOperationServerBasePath =
|
|
471
|
+
operationServerMap["AuthApi.externalProviders"]?.[
|
|
472
|
+
localVarOperationServerIndex
|
|
473
|
+
]?.url;
|
|
474
|
+
return (axios, basePath) =>
|
|
475
|
+
createRequestFunction(
|
|
476
|
+
localVarAxiosArgs,
|
|
477
|
+
globalAxios,
|
|
478
|
+
BASE_PATH,
|
|
479
|
+
configuration,
|
|
480
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
481
|
+
},
|
|
415
482
|
/**
|
|
416
483
|
*
|
|
417
484
|
* @summary Authenticate an user by credentials
|
|
@@ -545,6 +612,19 @@ export const AuthApiFactory = function (
|
|
|
545
612
|
)
|
|
546
613
|
.then((request) => request(axios, basePath));
|
|
547
614
|
},
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @summary Fetch the available auth providers
|
|
618
|
+
* @param {*} [options] Override http request option.
|
|
619
|
+
* @throws {RequiredError}
|
|
620
|
+
*/
|
|
621
|
+
externalProviders(
|
|
622
|
+
options?: RawAxiosRequestConfig,
|
|
623
|
+
): AxiosPromise<Providers> {
|
|
624
|
+
return localVarFp
|
|
625
|
+
.externalProviders(options)
|
|
626
|
+
.then((request) => request(axios, basePath));
|
|
627
|
+
},
|
|
548
628
|
/**
|
|
549
629
|
*
|
|
550
630
|
* @summary Authenticate an user by credentials
|
|
@@ -698,6 +778,19 @@ export class AuthApi extends BaseAPI {
|
|
|
698
778
|
.then((request) => request(this.axios, this.basePath));
|
|
699
779
|
}
|
|
700
780
|
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @summary Fetch the available auth providers
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
* @memberof AuthApi
|
|
787
|
+
*/
|
|
788
|
+
public externalProviders(options?: RawAxiosRequestConfig) {
|
|
789
|
+
return AuthApiFp(this.configuration)
|
|
790
|
+
.externalProviders(options)
|
|
791
|
+
.then((request) => request(this.axios, this.basePath));
|
|
792
|
+
}
|
|
793
|
+
|
|
701
794
|
/**
|
|
702
795
|
*
|
|
703
796
|
* @summary Authenticate an user by credentials
|
package/flake.lock
CHANGED
|
@@ -7,11 +7,47 @@
|
|
|
7
7
|
"devenv",
|
|
8
8
|
"flake-compat"
|
|
9
9
|
],
|
|
10
|
+
"git-hooks": [
|
|
11
|
+
"devenv",
|
|
12
|
+
"pre-commit-hooks"
|
|
13
|
+
],
|
|
10
14
|
"nixpkgs": [
|
|
11
15
|
"devenv",
|
|
12
16
|
"nixpkgs"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"locked": {
|
|
20
|
+
"lastModified": 1726520618,
|
|
21
|
+
"narHash": "sha256-jOsaBmJ/EtX5t/vbylCdS7pWYcKGmWOKg4QKUzKr6dA=",
|
|
22
|
+
"owner": "cachix",
|
|
23
|
+
"repo": "cachix",
|
|
24
|
+
"rev": "695525f9086542dfb09fde0871dbf4174abbf634",
|
|
25
|
+
"type": "github"
|
|
26
|
+
},
|
|
27
|
+
"original": {
|
|
28
|
+
"owner": "cachix",
|
|
29
|
+
"repo": "cachix",
|
|
30
|
+
"type": "github"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"cachix_2": {
|
|
34
|
+
"inputs": {
|
|
35
|
+
"devenv": "devenv_3",
|
|
36
|
+
"flake-compat": [
|
|
37
|
+
"devenv",
|
|
38
|
+
"cachix",
|
|
39
|
+
"devenv",
|
|
40
|
+
"flake-compat"
|
|
41
|
+
],
|
|
42
|
+
"nixpkgs": [
|
|
43
|
+
"devenv",
|
|
44
|
+
"cachix",
|
|
45
|
+
"devenv",
|
|
46
|
+
"nixpkgs"
|
|
13
47
|
],
|
|
14
48
|
"pre-commit-hooks": [
|
|
49
|
+
"devenv",
|
|
50
|
+
"cachix",
|
|
15
51
|
"devenv",
|
|
16
52
|
"pre-commit-hooks"
|
|
17
53
|
]
|
|
@@ -34,16 +70,16 @@
|
|
|
34
70
|
"inputs": {
|
|
35
71
|
"cachix": "cachix",
|
|
36
72
|
"flake-compat": "flake-compat_2",
|
|
37
|
-
"nix": "
|
|
38
|
-
"nixpkgs": "
|
|
39
|
-
"pre-commit-hooks": "pre-commit-
|
|
73
|
+
"nix": "nix_3",
|
|
74
|
+
"nixpkgs": "nixpkgs_3",
|
|
75
|
+
"pre-commit-hooks": "pre-commit-hooks_2"
|
|
40
76
|
},
|
|
41
77
|
"locked": {
|
|
42
|
-
"lastModified":
|
|
43
|
-
"narHash": "sha256-
|
|
78
|
+
"lastModified": 1730676843,
|
|
79
|
+
"narHash": "sha256-NbAwRfCzXIi+CoJFJ+qlaqf/pM+nKyUSkA0svzKsP8k=",
|
|
44
80
|
"owner": "cachix",
|
|
45
81
|
"repo": "devenv",
|
|
46
|
-
"rev": "
|
|
82
|
+
"rev": "7250dbb33f62c30dec5cf1191b0947b76bec5248",
|
|
47
83
|
"type": "github"
|
|
48
84
|
},
|
|
49
85
|
"original": {
|
|
@@ -54,15 +90,53 @@
|
|
|
54
90
|
},
|
|
55
91
|
"devenv_2": {
|
|
56
92
|
"inputs": {
|
|
93
|
+
"cachix": "cachix_2",
|
|
57
94
|
"flake-compat": [
|
|
58
95
|
"devenv",
|
|
59
96
|
"cachix",
|
|
60
97
|
"flake-compat"
|
|
61
98
|
],
|
|
99
|
+
"nix": "nix_2",
|
|
100
|
+
"nixpkgs": [
|
|
101
|
+
"devenv",
|
|
102
|
+
"cachix",
|
|
103
|
+
"nixpkgs"
|
|
104
|
+
],
|
|
105
|
+
"pre-commit-hooks": [
|
|
106
|
+
"devenv",
|
|
107
|
+
"cachix",
|
|
108
|
+
"git-hooks"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"locked": {
|
|
112
|
+
"lastModified": 1723156315,
|
|
113
|
+
"narHash": "sha256-0JrfahRMJ37Rf1i0iOOn+8Z4CLvbcGNwa2ChOAVrp/8=",
|
|
114
|
+
"owner": "cachix",
|
|
115
|
+
"repo": "devenv",
|
|
116
|
+
"rev": "ff5eb4f2accbcda963af67f1a1159e3f6c7f5f91",
|
|
117
|
+
"type": "github"
|
|
118
|
+
},
|
|
119
|
+
"original": {
|
|
120
|
+
"owner": "cachix",
|
|
121
|
+
"repo": "devenv",
|
|
122
|
+
"type": "github"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"devenv_3": {
|
|
126
|
+
"inputs": {
|
|
127
|
+
"flake-compat": [
|
|
128
|
+
"devenv",
|
|
129
|
+
"cachix",
|
|
130
|
+
"devenv",
|
|
131
|
+
"cachix",
|
|
132
|
+
"flake-compat"
|
|
133
|
+
],
|
|
62
134
|
"nix": "nix",
|
|
63
135
|
"nixpkgs": "nixpkgs",
|
|
64
136
|
"poetry2nix": "poetry2nix",
|
|
65
137
|
"pre-commit-hooks": [
|
|
138
|
+
"devenv",
|
|
139
|
+
"cachix",
|
|
66
140
|
"devenv",
|
|
67
141
|
"cachix",
|
|
68
142
|
"pre-commit-hooks"
|
|
@@ -116,15 +190,37 @@
|
|
|
116
190
|
}
|
|
117
191
|
},
|
|
118
192
|
"flake-parts": {
|
|
193
|
+
"inputs": {
|
|
194
|
+
"nixpkgs-lib": [
|
|
195
|
+
"devenv",
|
|
196
|
+
"nix",
|
|
197
|
+
"nixpkgs"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"locked": {
|
|
201
|
+
"lastModified": 1712014858,
|
|
202
|
+
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
|
|
203
|
+
"owner": "hercules-ci",
|
|
204
|
+
"repo": "flake-parts",
|
|
205
|
+
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
|
|
206
|
+
"type": "github"
|
|
207
|
+
},
|
|
208
|
+
"original": {
|
|
209
|
+
"owner": "hercules-ci",
|
|
210
|
+
"repo": "flake-parts",
|
|
211
|
+
"type": "github"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"flake-parts_2": {
|
|
119
215
|
"inputs": {
|
|
120
216
|
"nixpkgs-lib": "nixpkgs-lib"
|
|
121
217
|
},
|
|
122
218
|
"locked": {
|
|
123
|
-
"lastModified":
|
|
124
|
-
"narHash": "sha256-
|
|
219
|
+
"lastModified": 1730504689,
|
|
220
|
+
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
|
|
125
221
|
"owner": "hercules-ci",
|
|
126
222
|
"repo": "flake-parts",
|
|
127
|
-
"rev": "
|
|
223
|
+
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
|
|
128
224
|
"type": "github"
|
|
129
225
|
},
|
|
130
226
|
"original": {
|
|
@@ -152,15 +248,12 @@
|
|
|
152
248
|
}
|
|
153
249
|
},
|
|
154
250
|
"flake-utils_2": {
|
|
155
|
-
"inputs": {
|
|
156
|
-
"systems": "systems_2"
|
|
157
|
-
},
|
|
158
251
|
"locked": {
|
|
159
|
-
"lastModified":
|
|
160
|
-
"narHash": "sha256-
|
|
252
|
+
"lastModified": 1667395993,
|
|
253
|
+
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
|
161
254
|
"owner": "numtide",
|
|
162
255
|
"repo": "flake-utils",
|
|
163
|
-
"rev": "
|
|
256
|
+
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
|
164
257
|
"type": "github"
|
|
165
258
|
},
|
|
166
259
|
"original": {
|
|
@@ -191,10 +284,28 @@
|
|
|
191
284
|
"type": "github"
|
|
192
285
|
}
|
|
193
286
|
},
|
|
287
|
+
"libgit2": {
|
|
288
|
+
"flake": false,
|
|
289
|
+
"locked": {
|
|
290
|
+
"lastModified": 1697646580,
|
|
291
|
+
"narHash": "sha256-oX4Z3S9WtJlwvj0uH9HlYcWv+x1hqp8mhXl7HsLu2f0=",
|
|
292
|
+
"owner": "libgit2",
|
|
293
|
+
"repo": "libgit2",
|
|
294
|
+
"rev": "45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5",
|
|
295
|
+
"type": "github"
|
|
296
|
+
},
|
|
297
|
+
"original": {
|
|
298
|
+
"owner": "libgit2",
|
|
299
|
+
"repo": "libgit2",
|
|
300
|
+
"type": "github"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
194
303
|
"nix": {
|
|
195
304
|
"inputs": {
|
|
196
305
|
"flake-compat": "flake-compat",
|
|
197
306
|
"nixpkgs": [
|
|
307
|
+
"devenv",
|
|
308
|
+
"cachix",
|
|
198
309
|
"devenv",
|
|
199
310
|
"cachix",
|
|
200
311
|
"devenv",
|
|
@@ -220,6 +331,8 @@
|
|
|
220
331
|
"nix-github-actions": {
|
|
221
332
|
"inputs": {
|
|
222
333
|
"nixpkgs": [
|
|
334
|
+
"devenv",
|
|
335
|
+
"cachix",
|
|
223
336
|
"devenv",
|
|
224
337
|
"cachix",
|
|
225
338
|
"devenv",
|
|
@@ -244,10 +357,14 @@
|
|
|
244
357
|
"nix_2": {
|
|
245
358
|
"inputs": {
|
|
246
359
|
"flake-compat": [
|
|
360
|
+
"devenv",
|
|
361
|
+
"cachix",
|
|
247
362
|
"devenv",
|
|
248
363
|
"flake-compat"
|
|
249
364
|
],
|
|
250
365
|
"nixpkgs": [
|
|
366
|
+
"devenv",
|
|
367
|
+
"cachix",
|
|
251
368
|
"devenv",
|
|
252
369
|
"nixpkgs"
|
|
253
370
|
],
|
|
@@ -268,6 +385,34 @@
|
|
|
268
385
|
"type": "github"
|
|
269
386
|
}
|
|
270
387
|
},
|
|
388
|
+
"nix_3": {
|
|
389
|
+
"inputs": {
|
|
390
|
+
"flake-compat": [
|
|
391
|
+
"devenv",
|
|
392
|
+
"flake-compat"
|
|
393
|
+
],
|
|
394
|
+
"flake-parts": "flake-parts",
|
|
395
|
+
"libgit2": "libgit2",
|
|
396
|
+
"nixpkgs": "nixpkgs_2",
|
|
397
|
+
"nixpkgs-23-11": "nixpkgs-23-11",
|
|
398
|
+
"nixpkgs-regression": "nixpkgs-regression_3",
|
|
399
|
+
"pre-commit-hooks": "pre-commit-hooks"
|
|
400
|
+
},
|
|
401
|
+
"locked": {
|
|
402
|
+
"lastModified": 1727438425,
|
|
403
|
+
"narHash": "sha256-X8ES7I1cfNhR9oKp06F6ir4Np70WGZU5sfCOuNBEwMg=",
|
|
404
|
+
"owner": "domenkozar",
|
|
405
|
+
"repo": "nix",
|
|
406
|
+
"rev": "f6c5ae4c1b2e411e6b1e6a8181cc84363d6a7546",
|
|
407
|
+
"type": "github"
|
|
408
|
+
},
|
|
409
|
+
"original": {
|
|
410
|
+
"owner": "domenkozar",
|
|
411
|
+
"ref": "devenv-2.24",
|
|
412
|
+
"repo": "nix",
|
|
413
|
+
"type": "github"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
271
416
|
"nixpkgs": {
|
|
272
417
|
"locked": {
|
|
273
418
|
"lastModified": 1692808169,
|
|
@@ -284,16 +429,32 @@
|
|
|
284
429
|
"type": "github"
|
|
285
430
|
}
|
|
286
431
|
},
|
|
432
|
+
"nixpkgs-23-11": {
|
|
433
|
+
"locked": {
|
|
434
|
+
"lastModified": 1717159533,
|
|
435
|
+
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
|
|
436
|
+
"owner": "NixOS",
|
|
437
|
+
"repo": "nixpkgs",
|
|
438
|
+
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
|
439
|
+
"type": "github"
|
|
440
|
+
},
|
|
441
|
+
"original": {
|
|
442
|
+
"owner": "NixOS",
|
|
443
|
+
"repo": "nixpkgs",
|
|
444
|
+
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
|
|
445
|
+
"type": "github"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
287
448
|
"nixpkgs-lib": {
|
|
288
449
|
"locked": {
|
|
289
|
-
"lastModified":
|
|
290
|
-
"narHash": "sha256-
|
|
450
|
+
"lastModified": 1730504152,
|
|
451
|
+
"narHash": "sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s=",
|
|
291
452
|
"type": "tarball",
|
|
292
|
-
"url": "https://github.com/NixOS/nixpkgs/archive/
|
|
453
|
+
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
|
293
454
|
},
|
|
294
455
|
"original": {
|
|
295
456
|
"type": "tarball",
|
|
296
|
-
"url": "https://github.com/NixOS/nixpkgs/archive/
|
|
457
|
+
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
|
|
297
458
|
}
|
|
298
459
|
},
|
|
299
460
|
"nixpkgs-regression": {
|
|
@@ -328,29 +489,61 @@
|
|
|
328
489
|
"type": "github"
|
|
329
490
|
}
|
|
330
491
|
},
|
|
492
|
+
"nixpkgs-regression_3": {
|
|
493
|
+
"locked": {
|
|
494
|
+
"lastModified": 1643052045,
|
|
495
|
+
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
|
|
496
|
+
"owner": "NixOS",
|
|
497
|
+
"repo": "nixpkgs",
|
|
498
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
499
|
+
"type": "github"
|
|
500
|
+
},
|
|
501
|
+
"original": {
|
|
502
|
+
"owner": "NixOS",
|
|
503
|
+
"repo": "nixpkgs",
|
|
504
|
+
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
|
|
505
|
+
"type": "github"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
331
508
|
"nixpkgs-stable": {
|
|
332
509
|
"locked": {
|
|
333
|
-
"lastModified":
|
|
334
|
-
"narHash": "sha256-
|
|
510
|
+
"lastModified": 1720386169,
|
|
511
|
+
"narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=",
|
|
335
512
|
"owner": "NixOS",
|
|
336
513
|
"repo": "nixpkgs",
|
|
337
|
-
"rev": "
|
|
514
|
+
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
|
|
338
515
|
"type": "github"
|
|
339
516
|
},
|
|
340
517
|
"original": {
|
|
341
518
|
"owner": "NixOS",
|
|
342
|
-
"ref": "nixos-
|
|
519
|
+
"ref": "nixos-24.05",
|
|
343
520
|
"repo": "nixpkgs",
|
|
344
521
|
"type": "github"
|
|
345
522
|
}
|
|
346
523
|
},
|
|
347
524
|
"nixpkgs_2": {
|
|
348
525
|
"locked": {
|
|
349
|
-
"lastModified":
|
|
350
|
-
"narHash": "sha256
|
|
526
|
+
"lastModified": 1717432640,
|
|
527
|
+
"narHash": "sha256-+f9c4/ZX5MWDOuB1rKoWj+lBNm0z0rs4CK47HBLxy1o=",
|
|
528
|
+
"owner": "NixOS",
|
|
529
|
+
"repo": "nixpkgs",
|
|
530
|
+
"rev": "88269ab3044128b7c2f4c7d68448b2fb50456870",
|
|
531
|
+
"type": "github"
|
|
532
|
+
},
|
|
533
|
+
"original": {
|
|
534
|
+
"owner": "NixOS",
|
|
535
|
+
"ref": "release-24.05",
|
|
536
|
+
"repo": "nixpkgs",
|
|
537
|
+
"type": "github"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"nixpkgs_3": {
|
|
541
|
+
"locked": {
|
|
542
|
+
"lastModified": 1716977621,
|
|
543
|
+
"narHash": "sha256-Q1UQzYcMJH4RscmpTkjlgqQDX5yi1tZL0O345Ri6vXQ=",
|
|
351
544
|
"owner": "cachix",
|
|
352
545
|
"repo": "devenv-nixpkgs",
|
|
353
|
-
"rev": "
|
|
546
|
+
"rev": "4267e705586473d3e5c8d50299e71503f16a6fb6",
|
|
354
547
|
"type": "github"
|
|
355
548
|
},
|
|
356
549
|
"original": {
|
|
@@ -360,13 +553,13 @@
|
|
|
360
553
|
"type": "github"
|
|
361
554
|
}
|
|
362
555
|
},
|
|
363
|
-
"
|
|
556
|
+
"nixpkgs_4": {
|
|
364
557
|
"locked": {
|
|
365
|
-
"lastModified":
|
|
366
|
-
"narHash": "sha256-
|
|
558
|
+
"lastModified": 1730531603,
|
|
559
|
+
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
|
|
367
560
|
"owner": "NixOS",
|
|
368
561
|
"repo": "nixpkgs",
|
|
369
|
-
"rev": "
|
|
562
|
+
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
|
|
370
563
|
"type": "github"
|
|
371
564
|
},
|
|
372
565
|
"original": {
|
|
@@ -381,6 +574,8 @@
|
|
|
381
574
|
"flake-utils": "flake-utils",
|
|
382
575
|
"nix-github-actions": "nix-github-actions",
|
|
383
576
|
"nixpkgs": [
|
|
577
|
+
"devenv",
|
|
578
|
+
"cachix",
|
|
384
579
|
"devenv",
|
|
385
580
|
"cachix",
|
|
386
581
|
"devenv",
|
|
@@ -405,22 +600,30 @@
|
|
|
405
600
|
"inputs": {
|
|
406
601
|
"flake-compat": [
|
|
407
602
|
"devenv",
|
|
408
|
-
"
|
|
603
|
+
"nix"
|
|
409
604
|
],
|
|
410
605
|
"flake-utils": "flake-utils_2",
|
|
411
|
-
"gitignore":
|
|
606
|
+
"gitignore": [
|
|
607
|
+
"devenv",
|
|
608
|
+
"nix"
|
|
609
|
+
],
|
|
412
610
|
"nixpkgs": [
|
|
413
611
|
"devenv",
|
|
612
|
+
"nix",
|
|
414
613
|
"nixpkgs"
|
|
415
614
|
],
|
|
416
|
-
"nixpkgs-stable":
|
|
615
|
+
"nixpkgs-stable": [
|
|
616
|
+
"devenv",
|
|
617
|
+
"nix",
|
|
618
|
+
"nixpkgs"
|
|
619
|
+
]
|
|
417
620
|
},
|
|
418
621
|
"locked": {
|
|
419
|
-
"lastModified":
|
|
420
|
-
"narHash": "sha256-
|
|
622
|
+
"lastModified": 1712897695,
|
|
623
|
+
"narHash": "sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y=",
|
|
421
624
|
"owner": "cachix",
|
|
422
625
|
"repo": "pre-commit-hooks.nix",
|
|
423
|
-
"rev": "
|
|
626
|
+
"rev": "40e6053ecb65fcbf12863338a6dcefb3f55f1bf8",
|
|
424
627
|
"type": "github"
|
|
425
628
|
},
|
|
426
629
|
"original": {
|
|
@@ -429,29 +632,41 @@
|
|
|
429
632
|
"type": "github"
|
|
430
633
|
}
|
|
431
634
|
},
|
|
432
|
-
"
|
|
635
|
+
"pre-commit-hooks_2": {
|
|
433
636
|
"inputs": {
|
|
434
|
-
"
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
637
|
+
"flake-compat": [
|
|
638
|
+
"devenv",
|
|
639
|
+
"flake-compat"
|
|
640
|
+
],
|
|
641
|
+
"gitignore": "gitignore",
|
|
642
|
+
"nixpkgs": [
|
|
643
|
+
"devenv",
|
|
644
|
+
"nixpkgs"
|
|
645
|
+
],
|
|
646
|
+
"nixpkgs-stable": "nixpkgs-stable"
|
|
647
|
+
},
|
|
440
648
|
"locked": {
|
|
441
|
-
"lastModified":
|
|
442
|
-
"narHash": "sha256-
|
|
443
|
-
"owner": "
|
|
444
|
-
"repo": "
|
|
445
|
-
"rev": "
|
|
649
|
+
"lastModified": 1726745158,
|
|
650
|
+
"narHash": "sha256-D5AegvGoEjt4rkKedmxlSEmC+nNLMBPWFxvmYnVLhjk=",
|
|
651
|
+
"owner": "cachix",
|
|
652
|
+
"repo": "pre-commit-hooks.nix",
|
|
653
|
+
"rev": "4e743a6920eab45e8ba0fbe49dc459f1423a4b74",
|
|
446
654
|
"type": "github"
|
|
447
655
|
},
|
|
448
656
|
"original": {
|
|
449
|
-
"owner": "
|
|
450
|
-
"repo": "
|
|
657
|
+
"owner": "cachix",
|
|
658
|
+
"repo": "pre-commit-hooks.nix",
|
|
451
659
|
"type": "github"
|
|
452
660
|
}
|
|
453
661
|
},
|
|
454
|
-
"
|
|
662
|
+
"root": {
|
|
663
|
+
"inputs": {
|
|
664
|
+
"devenv": "devenv",
|
|
665
|
+
"flake-parts": "flake-parts_2",
|
|
666
|
+
"nixpkgs": "nixpkgs_4"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"systems": {
|
|
455
670
|
"locked": {
|
|
456
671
|
"lastModified": 1681028828,
|
|
457
672
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
package/model/index.ts
CHANGED
|
@@ -39,6 +39,8 @@ export * from "./pack-user-params";
|
|
|
39
39
|
export * from "./pack-users";
|
|
40
40
|
export * from "./packs";
|
|
41
41
|
export * from "./profile";
|
|
42
|
+
export * from "./provider";
|
|
43
|
+
export * from "./providers";
|
|
42
44
|
export * from "./quilt";
|
|
43
45
|
export * from "./quilt-build-params";
|
|
44
46
|
export * from "./quilt-builds";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@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
|
+
* Model to represent auth provider
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Provider
|
|
19
|
+
*/
|
|
20
|
+
export interface Provider {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Provider
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Provider
|
|
31
|
+
*/
|
|
32
|
+
driver?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Provider
|
|
37
|
+
*/
|
|
38
|
+
display?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Provider
|
|
43
|
+
*/
|
|
44
|
+
icon?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Kleister OpenAPI
|
|
5
|
+
* API definition for Kleister, manage mod packs for Minecraft
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: kleister@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 { Provider } from "./provider";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Model to represent list of auth providers
|
|
21
|
+
* @export
|
|
22
|
+
* @interface Providers
|
|
23
|
+
*/
|
|
24
|
+
export interface Providers {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof Providers
|
|
29
|
+
*/
|
|
30
|
+
total?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Provider>}
|
|
34
|
+
* @memberof Providers
|
|
35
|
+
*/
|
|
36
|
+
listing?: Array<Provider>;
|
|
37
|
+
}
|
package/openapi.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kleisterjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "OpenAPI client for Kleister",
|
|
5
5
|
"homepage": "https://github.com/kleister/kleister-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 -
|
|
37
|
+
"@types/node": "12.11.5 - 22.8",
|
|
38
38
|
"prettier": "^3.2.5",
|
|
39
39
|
"typescript": "^4.0 || ^5.0"
|
|
40
40
|
}
|