@excali-boards/boards-api-client 1.1.56 → 1.1.57
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/external/types.d.ts +1 -1
- package/dist/external/vars.d.ts +1 -1
- package/dist/external/vars.js +3 -2
- package/package.json +42 -49
- package/prisma.config.ts +0 -0
package/dist/external/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BoardRole, CategoryRole, GroupRole } from './vars.js';
|
|
2
|
-
import { BoardType } from '../../prisma/generated/default.js';
|
|
2
|
+
import type { BoardType } from '../../prisma/generated/default.js';
|
|
3
3
|
export type UserRole = BoardRole | CategoryRole | GroupRole | GlobalRole;
|
|
4
4
|
export declare enum GlobalRole {
|
|
5
5
|
Developer = "Developer"
|
package/dist/external/vars.d.ts
CHANGED
package/dist/external/vars.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Prisma } from '../../prisma/generated/default.js';
|
|
2
1
|
import { GlobalRole } from './types.js';
|
|
3
2
|
export const DBUserSelectArgs = {
|
|
4
3
|
select: {
|
|
@@ -16,7 +15,9 @@ export const DBUserSelectArgs = {
|
|
|
16
15
|
loginMethods: { select: { platform: true, platformEmail: true } },
|
|
17
16
|
},
|
|
18
17
|
};
|
|
19
|
-
|
|
18
|
+
// `satisfies` retains the precise selection type without loading Prisma's
|
|
19
|
+
// generated runtime into consumers of the API-client barrel export.
|
|
20
|
+
export const DBUserPartial = DBUserSelectArgs;
|
|
20
21
|
export var Platforms;
|
|
21
22
|
(function (Platforms) {
|
|
22
23
|
Platforms["Google"] = "Google";
|
package/package.json
CHANGED
|
@@ -1,50 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@prisma/client": "6.16.2",
|
|
45
|
-
"axios": "1.12.2",
|
|
46
|
-
"prisma": "6.16.2",
|
|
47
|
-
"ts-prisma": "1.3.3",
|
|
48
|
-
"zod": "4.1.9"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
2
|
+
"version": "1.1.57",
|
|
3
|
+
"name": "@excali-boards/boards-api-client",
|
|
4
|
+
"description": "A simple API client for the Boards API.",
|
|
5
|
+
"repository": "https://github.com/Excali-Boards/boards-api-client",
|
|
6
|
+
"author": "Digital39999",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"license": "GPL-3.0",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"prisma/schema",
|
|
13
|
+
"prisma.config.ts",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/node": "20.14.13",
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "6.18.0",
|
|
20
|
+
"@typescript-eslint/parser": "6.18.0",
|
|
21
|
+
"eslint": "8.56.0",
|
|
22
|
+
"typescript": "7.0.2"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.2.0"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@prisma/client": "6.16.2",
|
|
29
|
+
"axios": "1.12.2",
|
|
30
|
+
"prisma": "6.16.2",
|
|
31
|
+
"ts-prisma": "1.3.3",
|
|
32
|
+
"zod": "4.1.9"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"ts": "pnpm install typescript --save-dev -g",
|
|
36
|
+
"init": "pnpm install && pnpm run build",
|
|
37
|
+
"build": "tsc --build",
|
|
38
|
+
"watch": "tsc --watch",
|
|
39
|
+
"lint": "eslint . --ext .ts",
|
|
40
|
+
"postinstall": "prisma generate",
|
|
41
|
+
"updates": "pnpm npm-check-updates -i --format group"
|
|
42
|
+
}
|
|
43
|
+
}
|
package/prisma.config.ts
CHANGED
|
File without changes
|