@swimresults/api 0.0.0-stage → 0.1.1

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/dist/user.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "@swimresults/api",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "TypeScript types for the SwimResults APIs, generated from the OpenAPI specs",
5
+ "license": "GPL-3.0-only",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/SwimResults/swimresults-api.git",
9
+ "directory": "typescript"
10
+ },
11
+ "homepage": "https://github.com/SwimResults/swimresults-api#readme",
12
+ "type": "module",
13
+ "sideEffects": false,
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "exports": {
18
+ "./meeting": {
19
+ "types": "./dist/meeting.d.ts",
20
+ "default": "./dist/meeting.js"
21
+ },
22
+ "./athlete": {
23
+ "types": "./dist/athlete.d.ts",
24
+ "default": "./dist/athlete.js"
25
+ },
26
+ "./start": {
27
+ "types": "./dist/start.d.ts",
28
+ "default": "./dist/start.js"
29
+ },
30
+ "./user": {
31
+ "types": "./dist/user.d.ts",
32
+ "default": "./dist/user.js"
33
+ },
34
+ "./import": {
35
+ "types": "./dist/import.d.ts",
36
+ "default": "./dist/import.js"
37
+ }
38
+ },
39
+ "scripts": {
40
+ "generate": "for s in meeting athlete start user import; do openapi-typescript ../specs/$s.yaml --root-types --root-types-no-schema-prefix -o src/$s.ts || exit 1; done",
41
+ "build": "tsc -p tsconfig.json",
42
+ "prepublishOnly": "npm run build",
43
+ "test": "tsc --noEmit -p tsconfig.json && tsc --noEmit --strict --module ES2022 --moduleResolution bundler --target ES2022 test/usage.ts"
44
+ },
45
+ "devDependencies": {
46
+ "openapi-typescript": "7.13.0",
47
+ "typescript": "5.8.3"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public",
51
+ "provenance": true
52
+ }
53
+ }