0.8.14 • Published 7 days ago

@svws-nrw/svws-core v0.8.14

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
7 days ago

SVWS-NRW CoreTS-Bibliothek

Die CoreTS-Bibliothek ist eine aus Java transpilierte Bibliothek, die alle für den SVWS-Server notwendigen Typen zur Verfügung stellt. Ebenso wird ein API-Client mitgeliefert, der mit einem SVWS-Server kommunizieren kann.

Alle API-Anfragen bzw- Antworten sind typsicher mit dieser Bibliothek.

Beispiel zur Nutzung der CoreTS-Bibliothek:

import { ApiServer, List, DBSchemaListeEintrag, ArrayList, SchuelerListeEintrag } from "@svws-nrw/svws-core"

const url = process.env.SVWS_URL;
const user = process.env.SVWS_USER;
const password = process.env.PASSWORD;
const server = new ApiServer(url, "", "");
let schemata: Ref<List<DBSchemaListeEintrag>> = new ArrayList();
let api: ApiServer | undefined;
let schueler: List<SchuelerListeEintrag> = new ArrayList();
const schemata = await server.getConfigDBSchemata();
try {
	const schema = schemata.value.get(0).name;
	api = new ApiServer(url, user, password);
	schueler = await api.getSchuelerAktuell(schema);
	console.log(schueler)
} catch(error) {
	console.log("Es trat ein Verbindungsfehler auf: ", error)
}
0.8.14

7 days ago

0.8.13

1 month ago

0.8.12

2 months ago

0.8.11

2 months ago

0.8.10

3 months ago

0.0.93

3 months ago

0.0.91

4 months ago

0.0.92

4 months ago

0.8.9

4 months ago

0.8.8

4 months ago

0.8.7

5 months ago

0.8.6

5 months ago

0.8.5

5 months ago

0.0.14

5 months ago

0.8.3

5 months ago

0.0.12

5 months ago

0.8.2

6 months ago

0.7.9

6 months ago

0.0.2

6 months ago

0.8.1

6 months ago

0.8.0

6 months ago

0.6.11

11 months ago

0.7.6

8 months ago

0.7.5

8 months ago

0.7.8

6 months ago

0.7.7

7 months ago

0.6.18

9 months ago

0.6.17

9 months ago

0.7.2

8 months ago

0.7.1

9 months ago

0.7.3

8 months ago

0.7.0

9 months ago

0.6.10

11 months ago

0.6.9

12 months ago

0.6.8

12 months ago

0.6.7

12 months ago

0.6.6

12 months ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.7

1 year ago