@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.
@@ -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"
@@ -1,4 +1,4 @@
1
- import { Prisma } from '../../prisma/generated/default.js';
1
+ import type { Prisma } from '../../prisma/generated/default.js';
2
2
  import { UserRole } from './types.js';
3
3
  export declare const DBUserSelectArgs: {
4
4
  select: {
@@ -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
- export const DBUserPartial = Prisma.validator()(DBUserSelectArgs);
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
- "version": "1.1.56",
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
- "scripts": {
8
- "ts": "pnpm install typescript --save-dev -g",
9
- "init": "pnpm install && pnpm run build",
10
- "build": "tsc --build",
11
- "watch": "tsc --watch",
12
- "lint": "eslint . --ext .ts",
13
- "postinstall": "prisma generate",
14
- "updates": "pnpm npm-check-updates -i --format group"
15
- },
16
- "main": "dist/index.js",
17
- "types": "dist/index.d.ts",
18
- "license": "GPL-3.0",
19
- "pnpm": {
20
- "onlyBuiltDependencies": [
21
- "@prisma/client",
22
- "@prisma/engines",
23
- "prisma"
24
- ]
25
- },
26
- "files": [
27
- "dist",
28
- "prisma/schema",
29
- "prisma.config.ts",
30
- "README.md",
31
- "LICENSE"
32
- ],
33
- "devDependencies": {
34
- "@types/node": "20.14.13",
35
- "@typescript-eslint/eslint-plugin": "6.18.0",
36
- "@typescript-eslint/parser": "6.18.0",
37
- "eslint": "8.56.0",
38
- "typescript": "7.0.2"
39
- },
40
- "engines": {
41
- "node": ">=20.2.0"
42
- },
43
- "dependencies": {
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