@sekolaos/shared-api 1.0.0 → 1.1.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.
Files changed (1) hide show
  1. package/package.json +138 -139
package/package.json CHANGED
@@ -1,139 +1,138 @@
1
- {
2
- "name": "@sekolaos/shared-api",
3
- "version": "1.0.0",
4
- "description": "Shared HTTP API client, TanStack Query hooks, and query key factory for Sekolaos ecosystem aligned with OpenAPI 3.0.3",
5
- "license": "ISC",
6
- "author": "Sekolaos",
7
- "type": "module",
8
- "main": "./dist/index.cjs",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "sideEffects": false,
12
- "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
17
- },
18
- "./client": {
19
- "types": "./dist/client/index.d.ts",
20
- "import": "./dist/client/index.js",
21
- "require": "./dist/client/index.cjs"
22
- },
23
- "./keys": {
24
- "types": "./dist/keys/index.d.ts",
25
- "import": "./dist/keys/index.js",
26
- "require": "./dist/keys/index.cjs"
27
- },
28
- "./provider": {
29
- "types": "./dist/provider.d.ts",
30
- "import": "./dist/provider.js",
31
- "require": "./dist/provider.cjs"
32
- },
33
- "./auth": {
34
- "types": "./dist/modules/auth/index.d.ts",
35
- "import": "./dist/modules/auth/index.js",
36
- "require": "./dist/modules/auth/index.cjs"
37
- },
38
- "./tenant": {
39
- "types": "./dist/modules/tenant/index.d.ts",
40
- "import": "./dist/modules/tenant/index.js",
41
- "require": "./dist/modules/tenant/index.cjs"
42
- },
43
- "./academic": {
44
- "types": "./dist/modules/academic/index.d.ts",
45
- "import": "./dist/modules/academic/index.js",
46
- "require": "./dist/modules/academic/index.cjs"
47
- },
48
- "./classroom": {
49
- "types": "./dist/modules/classroom/index.d.ts",
50
- "import": "./dist/modules/classroom/index.js",
51
- "require": "./dist/modules/classroom/index.cjs"
52
- },
53
- "./student": {
54
- "types": "./dist/modules/student/index.d.ts",
55
- "import": "./dist/modules/student/index.js",
56
- "require": "./dist/modules/student/index.cjs"
57
- },
58
- "./subject": {
59
- "types": "./dist/modules/subject/index.d.ts",
60
- "import": "./dist/modules/subject/index.js",
61
- "require": "./dist/modules/subject/index.cjs"
62
- },
63
- "./teaching-schedule": {
64
- "types": "./dist/modules/teaching-schedule/index.d.ts",
65
- "import": "./dist/modules/teaching-schedule/index.js",
66
- "require": "./dist/modules/teaching-schedule/index.cjs"
67
- },
68
- "./user": {
69
- "types": "./dist/modules/user/index.d.ts",
70
- "import": "./dist/modules/user/index.js",
71
- "require": "./dist/modules/user/index.cjs"
72
- },
73
- "./attendance": {
74
- "types": "./dist/modules/attendance/index.d.ts",
75
- "import": "./dist/modules/attendance/index.js",
76
- "require": "./dist/modules/attendance/index.cjs"
77
- },
78
- "./upload": {
79
- "types": "./dist/modules/upload/index.d.ts",
80
- "import": "./dist/modules/upload/index.js",
81
- "require": "./dist/modules/upload/index.cjs"
82
- },
83
- "./lead": {
84
- "types": "./dist/modules/lead/index.d.ts",
85
- "import": "./dist/modules/lead/index.js",
86
- "require": "./dist/modules/lead/index.cjs"
87
- },
88
- "./system": {
89
- "types": "./dist/modules/system/index.d.ts",
90
- "import": "./dist/modules/system/index.js",
91
- "require": "./dist/modules/system/index.cjs"
92
- },
93
- "./package.json": "./package.json"
94
- },
95
- "files": [
96
- "dist"
97
- ],
98
- "engines": {
99
- "node": ">=20.0.0"
100
- },
101
- "scripts": {
102
- "dev": "tsup --watch",
103
- "build": "tsup",
104
- "typecheck": "tsc --noEmit",
105
- "clean": "rimraf dist",
106
- "prepublishOnly": "pnpm run typecheck && pnpm run build"
107
- },
108
- "peerDependencies": {
109
- "react": "^19.3.1",
110
- "react-dom": "^19.3.1"
111
- },
112
- "dependencies": {
113
- "@sekolaos/shared-schema": "^1.5.0",
114
- "@tanstack/react-query": "^5.59.16",
115
- "axios": "^1.7.7"
116
- },
117
- "devDependencies": {
118
- "@tanstack/react-query": "^5.59.16",
119
- "@types/node": "^22.9.0",
120
- "@types/react": "19.0.0",
121
- "@types/react-dom": "19.0.0",
122
- "react": "19.3.1",
123
- "react-dom": "19.3.1",
124
- "rimraf": "^6.0.1",
125
- "tsup": "^8.3.5",
126
- "typescript": "^5.6.3"
127
- },
128
- "publishConfig": {
129
- "access": "public",
130
- "registry": "https://registry.npmjs.org"
131
- },
132
- "keywords": [
133
- "sekolaos",
134
- "http-client",
135
- "axios",
136
- "tanstack-query",
137
- "query-key-factory"
138
- ]
139
- }
1
+ {
2
+ "name": "@sekolaos/shared-api",
3
+ "version": "1.1.0",
4
+ "description": "Shared HTTP API client, TanStack Query hooks, and query key factory for Sekolaos ecosystem aligned with OpenAPI 3.0.3",
5
+ "license": "ISC",
6
+ "author": "Sekolaos",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "sideEffects": false,
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs"
17
+ },
18
+ "./client": {
19
+ "types": "./dist/client/index.d.ts",
20
+ "import": "./dist/client/index.js",
21
+ "require": "./dist/client/index.cjs"
22
+ },
23
+ "./keys": {
24
+ "types": "./dist/keys/index.d.ts",
25
+ "import": "./dist/keys/index.js",
26
+ "require": "./dist/keys/index.cjs"
27
+ },
28
+ "./provider": {
29
+ "types": "./dist/provider.d.ts",
30
+ "import": "./dist/provider.js",
31
+ "require": "./dist/provider.cjs"
32
+ },
33
+ "./auth": {
34
+ "types": "./dist/modules/auth/index.d.ts",
35
+ "import": "./dist/modules/auth/index.js",
36
+ "require": "./dist/modules/auth/index.cjs"
37
+ },
38
+ "./tenant": {
39
+ "types": "./dist/modules/tenant/index.d.ts",
40
+ "import": "./dist/modules/tenant/index.js",
41
+ "require": "./dist/modules/tenant/index.cjs"
42
+ },
43
+ "./academic": {
44
+ "types": "./dist/modules/academic/index.d.ts",
45
+ "import": "./dist/modules/academic/index.js",
46
+ "require": "./dist/modules/academic/index.cjs"
47
+ },
48
+ "./classroom": {
49
+ "types": "./dist/modules/classroom/index.d.ts",
50
+ "import": "./dist/modules/classroom/index.js",
51
+ "require": "./dist/modules/classroom/index.cjs"
52
+ },
53
+ "./student": {
54
+ "types": "./dist/modules/student/index.d.ts",
55
+ "import": "./dist/modules/student/index.js",
56
+ "require": "./dist/modules/student/index.cjs"
57
+ },
58
+ "./subject": {
59
+ "types": "./dist/modules/subject/index.d.ts",
60
+ "import": "./dist/modules/subject/index.js",
61
+ "require": "./dist/modules/subject/index.cjs"
62
+ },
63
+ "./teaching-schedule": {
64
+ "types": "./dist/modules/teaching-schedule/index.d.ts",
65
+ "import": "./dist/modules/teaching-schedule/index.js",
66
+ "require": "./dist/modules/teaching-schedule/index.cjs"
67
+ },
68
+ "./user": {
69
+ "types": "./dist/modules/user/index.d.ts",
70
+ "import": "./dist/modules/user/index.js",
71
+ "require": "./dist/modules/user/index.cjs"
72
+ },
73
+ "./attendance": {
74
+ "types": "./dist/modules/attendance/index.d.ts",
75
+ "import": "./dist/modules/attendance/index.js",
76
+ "require": "./dist/modules/attendance/index.cjs"
77
+ },
78
+ "./upload": {
79
+ "types": "./dist/modules/upload/index.d.ts",
80
+ "import": "./dist/modules/upload/index.js",
81
+ "require": "./dist/modules/upload/index.cjs"
82
+ },
83
+ "./lead": {
84
+ "types": "./dist/modules/lead/index.d.ts",
85
+ "import": "./dist/modules/lead/index.js",
86
+ "require": "./dist/modules/lead/index.cjs"
87
+ },
88
+ "./system": {
89
+ "types": "./dist/modules/system/index.d.ts",
90
+ "import": "./dist/modules/system/index.js",
91
+ "require": "./dist/modules/system/index.cjs"
92
+ },
93
+ "./package.json": "./package.json"
94
+ },
95
+ "files": [
96
+ "dist"
97
+ ],
98
+ "engines": {
99
+ "node": ">=20.0.0"
100
+ },
101
+ "scripts": {
102
+ "dev": "tsup --watch",
103
+ "build": "tsup",
104
+ "typecheck": "tsc --noEmit",
105
+ "clean": "rimraf dist",
106
+ "prepublishOnly": "pnpm run typecheck && pnpm run build"
107
+ },
108
+ "peerDependencies": {
109
+ "react": "^19.3.1",
110
+ "react-dom": "^19.3.1"
111
+ },
112
+ "dependencies": {
113
+ "@sekolaos/shared-schema": "^1.5.0",
114
+ "@tanstack/react-query": "^5.59.16",
115
+ "axios": "^1.7.7"
116
+ },
117
+ "devDependencies": {
118
+ "@types/node": "^22.9.0",
119
+ "@types/react": "19.0.0",
120
+ "@types/react-dom": "19.0.0",
121
+ "react": "19.3.1",
122
+ "react-dom": "19.3.1",
123
+ "rimraf": "^6.0.1",
124
+ "tsup": "^8.3.5",
125
+ "typescript": "^5.6.3"
126
+ },
127
+ "publishConfig": {
128
+ "access": "public",
129
+ "registry": "https://registry.npmjs.org"
130
+ },
131
+ "keywords": [
132
+ "sekolaos",
133
+ "http-client",
134
+ "axios",
135
+ "tanstack-query",
136
+ "query-key-factory"
137
+ ]
138
+ }