Compare commits

...

2 Commits

8 changed files with 14 additions and 10 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.4.0', VERSION: '1.4.3',
WITH_CREDENTIALS: false, WITH_CREDENTIALS: false,
TOKEN: undefined, TOKEN: undefined,
USERNAME: undefined, USERNAME: undefined,

1
dist/index.d.ts vendored
View File

@ -10,6 +10,7 @@ export type { ConfigFlag } from './models/ConfigFlag';
export type { CreateAnonymousDonation } from './models/CreateAnonymousDonation'; export type { CreateAnonymousDonation } from './models/CreateAnonymousDonation';
export type { CreateAuth } from './models/CreateAuth'; export type { CreateAuth } from './models/CreateAuth';
export type { CreateDistanceDonation } from './models/CreateDistanceDonation'; export type { CreateDistanceDonation } from './models/CreateDistanceDonation';
export type { CreateDonation } from './models/CreateDonation';
export type { CreateDonor } from './models/CreateDonor'; export type { CreateDonor } from './models/CreateDonor';
export type { CreateFixedDonation } from './models/CreateFixedDonation'; export type { CreateFixedDonation } from './models/CreateFixedDonation';
export type { CreateGroupContact } from './models/CreateGroupContact'; export type { CreateGroupContact } from './models/CreateGroupContact';

View File

@ -1,3 +1,5 @@
export type CreateAnonymousDonation = { export type CreateAnonymousDonation = {
amount: number; amount: number;
donor?: number;
paidAmount?: number;
}; };

View File

@ -1,6 +1,6 @@
export type CreateDistanceDonation = { export type CreateDistanceDonation = {
donor: number; donor?: number;
paidAmount: number; paidAmount?: number;
runner: number; runner: number;
amountPerDistance: number; amountPerDistance: number;
}; };

View File

@ -1,5 +1,5 @@
export type CreateFixedDonation = { export type CreateFixedDonation = {
donor: number; donor?: number;
paidAmount: number; paidAmount?: number;
amount: number; amount: number;
}; };

View File

@ -1,5 +1,6 @@
export type ResponseRunner = { export type ResponseRunner = {
distance: number; distance: number;
donationAmount: number;
group: any; group: any;
selfserviceLink?: string; selfserviceLink?: string;
id: number; id: number;

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.5", "version": "1.2.6",
"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",
@ -28,7 +28,7 @@
"build:cleanup": "rimraf ./lib", "build:cleanup": "rimraf ./lib",
"update:openapi": "rimraf ./openapi.json && node ./scripts/getliveopenapi.js", "update:openapi": "rimraf ./openapi.json && node ./scripts/getliveopenapi.js",
"update:auto": "npm run update:openapi && npm run build && npm run release", "update:auto": "npm run update:openapi && npm run build && npm run release",
"release": "release-it --only-version" "release": "release-it --only-version && npm publish"
}, },
"bugs": { "bugs": {
"url": "https://git.odit.services/lfk/lfk-client-js/issues" "url": "https://git.odit.services/lfk/lfk-client-js/issues"
@ -51,7 +51,7 @@
"tagAnnotation": "${version}" "tagAnnotation": "${version}"
}, },
"npm": { "npm": {
"publish": true "publish": false
} }
} }
} }