@ttt-productions/ttt-core 0.7.4 → 0.7.5

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/index.d.ts CHANGED
@@ -4,5 +4,4 @@ export * from './constants/index.js';
4
4
  export * from './utils/index.js';
5
5
  export * from './media/index.js';
6
6
  export * from './permissions/index.js';
7
- export * from './ttt-keys.js';
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -4,5 +4,4 @@ export * from './constants/index.js';
4
4
  export * from './utils/index.js';
5
5
  export * from './media/index.js';
6
6
  export * from './permissions/index.js';
7
- export * from './ttt-keys.js';
8
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/ttt-core",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Core types, Firestore path constants, and shared constants for TTT Productions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,10 +79,6 @@
79
79
  "./permissions": {
80
80
  "types": "./dist/permissions/index.d.ts",
81
81
  "default": "./dist/permissions/index.js"
82
- },
83
- "./ttt-keys": {
84
- "types": "./dist/ttt-keys.d.ts",
85
- "default": "./dist/ttt-keys.js"
86
82
  }
87
83
  },
88
84
  "scripts": {
@@ -96,7 +92,6 @@
96
92
  "@ttt-productions/audit-core": "*",
97
93
  "@ttt-productions/chat-schemas": "*",
98
94
  "@ttt-productions/media-schemas": "*",
99
- "@ttt-productions/query-core": "*",
100
95
  "@ttt-productions/report-core": "*",
101
96
  "zod": "^3.23.8"
102
97
  },
@@ -1,68 +0,0 @@
1
- /**
2
- * TTT-specific query-key scopes. Composed via createKeyScope from query-core,
3
- * which keeps the key-builder mechanism in the generic package and the
4
- * TTT-vocabulary scopes in ttt-core.
5
- *
6
- * Convention:
7
- * - tttKeys.craftSkills.all => ['craftSkills']
8
- * - tttKeys.craftSkills.detail(id) => ['craftSkills', 'detail', id]
9
- * - tttKeys.craftSkills.list(param?) => ['craftSkills', 'list', param?]
10
- * - tttKeys.craftSkills.custom('list', filter) => ['craftSkills', 'list', filter]
11
- */
12
- export declare const tttKeys: {
13
- readonly craftSkills: {
14
- readonly all: import("@ttt-productions/query-core").QueryKey;
15
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
16
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
17
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
18
- };
19
- readonly thresholdLibrary: {
20
- readonly all: import("@ttt-productions/query-core").QueryKey;
21
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
22
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
23
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
24
- };
25
- readonly hallLibrary: {
26
- readonly all: import("@ttt-productions/query-core").QueryKey;
27
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
28
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
29
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
30
- };
31
- readonly auditionBoard: {
32
- readonly all: import("@ttt-productions/query-core").QueryKey;
33
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
34
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
35
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
36
- };
37
- readonly commissionListings: {
38
- readonly all: import("@ttt-productions/query-core").QueryKey;
39
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
40
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
41
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
42
- };
43
- readonly pledgePayments: {
44
- readonly all: import("@ttt-productions/query-core").QueryKey;
45
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
46
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
47
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
48
- };
49
- readonly futurePlans: {
50
- readonly all: import("@ttt-productions/query-core").QueryKey;
51
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
52
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
53
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
54
- };
55
- readonly rulesAndAgreements: {
56
- readonly all: import("@ttt-productions/query-core").QueryKey;
57
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
58
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
59
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
60
- };
61
- readonly violations: {
62
- readonly all: import("@ttt-productions/query-core").QueryKey;
63
- readonly detail: (id: string) => import("@ttt-productions/query-core").QueryKey;
64
- readonly list: (param?: string | number | boolean | null | undefined) => import("@ttt-productions/query-core").QueryKey;
65
- readonly custom: (...parts: (string | number | boolean | null | undefined)[]) => import("@ttt-productions/query-core").QueryKey;
66
- };
67
- };
68
- //# sourceMappingURL=ttt-keys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ttt-keys.d.ts","sourceRoot":"","sources":["../src/ttt-keys.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO;;;;6BAW8mF,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;;;;6BAA5D,CAAC;0BAAwD,GAAG;;CADprF,CAAC"}
package/dist/ttt-keys.js DELETED
@@ -1,24 +0,0 @@
1
- import { createKeyScope } from '@ttt-productions/query-core';
2
- /**
3
- * TTT-specific query-key scopes. Composed via createKeyScope from query-core,
4
- * which keeps the key-builder mechanism in the generic package and the
5
- * TTT-vocabulary scopes in ttt-core.
6
- *
7
- * Convention:
8
- * - tttKeys.craftSkills.all => ['craftSkills']
9
- * - tttKeys.craftSkills.detail(id) => ['craftSkills', 'detail', id]
10
- * - tttKeys.craftSkills.list(param?) => ['craftSkills', 'list', param?]
11
- * - tttKeys.craftSkills.custom('list', filter) => ['craftSkills', 'list', filter]
12
- */
13
- export const tttKeys = {
14
- craftSkills: createKeyScope('craftSkills'),
15
- thresholdLibrary: createKeyScope('thresholdLibrary'),
16
- hallLibrary: createKeyScope('hallLibrary'),
17
- auditionBoard: createKeyScope('auditionBoard'),
18
- commissionListings: createKeyScope('commissionListings'),
19
- pledgePayments: createKeyScope('pledgePayments'),
20
- futurePlans: createKeyScope('futurePlans'),
21
- rulesAndAgreements: createKeyScope('rulesAndAgreements'),
22
- violations: createKeyScope('violations'),
23
- };
24
- //# sourceMappingURL=ttt-keys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ttt-keys.js","sourceRoot":"","sources":["../src/ttt-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC;IAC1C,gBAAgB,EAAE,cAAc,CAAC,kBAAkB,CAAC;IACpD,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC;IAC1C,aAAa,EAAE,cAAc,CAAC,eAAe,CAAC;IAC9C,kBAAkB,EAAE,cAAc,CAAC,oBAAoB,CAAC;IACxD,cAAc,EAAE,cAAc,CAAC,gBAAgB,CAAC;IAChD,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC;IAC1C,kBAAkB,EAAE,cAAc,CAAC,oBAAoB,CAAC;IACxD,UAAU,EAAE,cAAc,CAAC,YAAY,CAAC;CAChC,CAAC"}