bump version to 1.2.4 in package.json

This commit is contained in:
Nicolai Ort 2025-04-17 21:01:57 +02:00
parent ea3d42427b
commit f2e54490f2
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
7 changed files with 15 additions and 7 deletions

View File

@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.OpenAPI = void 0; exports.OpenAPI = void 0;
exports.OpenAPI = { exports.OpenAPI = {
BASE: '', BASE: '',
VERSION: '1.3.9', VERSION: '1.3.11',
WITH_CREDENTIALS: false, WITH_CREDENTIALS: false,
TOKEN: undefined, TOKEN: undefined,
USERNAME: undefined, USERNAME: undefined,

View File

@ -53,8 +53,9 @@ export declare class RunnerOrganizationService {
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran. * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param onlyDirect * @param onlyDirect
* @param selfserviceLinks
* @result ResponseRunner * @result ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerOrganizationControllerGetRunners(id: number, onlyDirect?: boolean): Promise<Array<ResponseRunner>>; static runnerOrganizationControllerGetRunners(id: number, onlyDirect?: boolean, selfserviceLinks?: boolean): Promise<Array<ResponseRunner>>;
} }

View File

@ -91,15 +91,17 @@ class RunnerOrganizationService {
* Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran. * Lists all runners from this org and it's teams (if you don't provide the ?onlyDirect=true param). <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param onlyDirect * @param onlyDirect
* @param selfserviceLinks
* @result ResponseRunner * @result ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerOrganizationControllerGetRunners(id, onlyDirect) { static async runnerOrganizationControllerGetRunners(id, onlyDirect, selfserviceLinks) {
const result = await (0, request_1.request)({ const result = await (0, request_1.request)({
method: 'GET', method: 'GET',
path: `/api/organizations/${id}/runners`, path: `/api/organizations/${id}/runners`,
query: { query: {
'onlyDirect': onlyDirect, 'onlyDirect': onlyDirect,
'selfservice_links': selfserviceLinks,
}, },
}); });
return result.body; return result.body;

View File

@ -52,8 +52,9 @@ export declare class RunnerTeamService {
* Get runners * Get runners
* Lists all runners from this team. <br> This includes the runner's group and distance ran. * Lists all runners from this team. <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param selfserviceLinks
* @result ResponseRunner * @result ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static runnerTeamControllerGetRunners(id: number): Promise<Array<ResponseRunner>>; static runnerTeamControllerGetRunners(id: number, selfserviceLinks?: boolean): Promise<Array<ResponseRunner>>;
} }

View File

@ -90,13 +90,17 @@ class RunnerTeamService {
* Get runners * Get runners
* Lists all runners from this team. <br> This includes the runner's group and distance ran. * Lists all runners from this team. <br> This includes the runner's group and distance ran.
* @param id * @param id
* @param selfserviceLinks
* @result ResponseRunner * @result ResponseRunner
* @throws ApiError * @throws ApiError
*/ */
static async runnerTeamControllerGetRunners(id) { static async runnerTeamControllerGetRunners(id, selfserviceLinks) {
const result = await (0, request_1.request)({ const result = await (0, request_1.request)({
method: 'GET', method: 'GET',
path: `/api/teams/${id}/runners`, path: `/api/teams/${id}/runners`,
query: {
'selfservice_links': selfserviceLinks,
},
}); });
return result.body; return result.body;
} }

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "@odit/lfk-client-js", "name": "@odit/lfk-client-js",
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.", "description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.",
"version": "1.2.3", "version": "1.2.4",
"license": "CC-BY-NC-SA-4.0", "license": "CC-BY-NC-SA-4.0",
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",