@ttt-productions/q-core 0.1.0 → 0.1.2

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 (178) hide show
  1. package/dist/constants/business.d.ts +12 -0
  2. package/dist/constants/business.d.ts.map +1 -1
  3. package/dist/constants/business.js +24 -0
  4. package/dist/constants/business.js.map +1 -1
  5. package/dist/constants/media.d.ts +1 -0
  6. package/dist/constants/media.d.ts.map +1 -1
  7. package/dist/constants/media.js +5 -0
  8. package/dist/constants/media.js.map +1 -1
  9. package/dist/constants/sports.js.map +1 -1
  10. package/dist/constants/storage-keys.js.map +1 -1
  11. package/dist/doc-schemas/admin-notifications.d.ts +1 -0
  12. package/dist/doc-schemas/admin-notifications.d.ts.map +1 -1
  13. package/dist/doc-schemas/admin-notifications.js +4 -0
  14. package/dist/doc-schemas/admin-notifications.js.map +1 -1
  15. package/dist/doc-schemas/atoms.d.ts +2 -0
  16. package/dist/doc-schemas/atoms.d.ts.map +1 -1
  17. package/dist/doc-schemas/audit-event.d.ts +2 -0
  18. package/dist/doc-schemas/audit-event.d.ts.map +1 -1
  19. package/dist/doc-schemas/catalogs.js.map +1 -1
  20. package/dist/doc-schemas/gallery.d.ts +1 -0
  21. package/dist/doc-schemas/gallery.d.ts.map +1 -1
  22. package/dist/doc-schemas/gallery.js +3 -0
  23. package/dist/doc-schemas/gallery.js.map +1 -1
  24. package/dist/doc-schemas/game-location.js.map +1 -1
  25. package/dist/doc-schemas/game-stats.js.map +1 -1
  26. package/dist/doc-schemas/league-team.js.map +1 -1
  27. package/dist/doc-schemas/migration-console.d.ts +2 -0
  28. package/dist/doc-schemas/migration-console.d.ts.map +1 -1
  29. package/dist/doc-schemas/migration-console.js +5 -0
  30. package/dist/doc-schemas/migration-console.js.map +1 -1
  31. package/dist/doc-schemas/pending-media.d.ts +1 -0
  32. package/dist/doc-schemas/pending-media.d.ts.map +1 -1
  33. package/dist/doc-schemas/pending-media.js +8 -0
  34. package/dist/doc-schemas/pending-media.js.map +1 -1
  35. package/dist/doc-schemas/registry.d.ts +12 -0
  36. package/dist/doc-schemas/registry.d.ts.map +1 -1
  37. package/dist/doc-schemas/registry.js.map +1 -1
  38. package/dist/doc-schemas/sport-game.js.map +1 -1
  39. package/dist/doc-schemas/stats-operation.d.ts.map +1 -1
  40. package/dist/doc-schemas/stats-operation.js +6 -11
  41. package/dist/doc-schemas/stats-operation.js.map +1 -1
  42. package/dist/doc-schemas/system.d.ts +7 -0
  43. package/dist/doc-schemas/system.d.ts.map +1 -1
  44. package/dist/doc-schemas/system.js +4 -1
  45. package/dist/doc-schemas/system.js.map +1 -1
  46. package/dist/doc-schemas/user-profile.d.ts +1 -0
  47. package/dist/doc-schemas/user-profile.d.ts.map +1 -1
  48. package/dist/doc-schemas/user-profile.js +5 -0
  49. package/dist/doc-schemas/user-profile.js.map +1 -1
  50. package/dist/doc-schemas/waiver-template.d.ts +1 -0
  51. package/dist/doc-schemas/waiver-template.d.ts.map +1 -1
  52. package/dist/doc-schemas/waiver-template.js +10 -1
  53. package/dist/doc-schemas/waiver-template.js.map +1 -1
  54. package/dist/doc-schemas/waivers-and-hardware.d.ts +1 -0
  55. package/dist/doc-schemas/waivers-and-hardware.d.ts.map +1 -1
  56. package/dist/doc-schemas/waivers-and-hardware.js +17 -9
  57. package/dist/doc-schemas/waivers-and-hardware.js.map +1 -1
  58. package/dist/ids/index.js.map +1 -1
  59. package/dist/ids/minted-ids.d.ts +1 -0
  60. package/dist/ids/minted-ids.d.ts.map +1 -1
  61. package/dist/ids/minted-ids.js +6 -0
  62. package/dist/ids/minted-ids.js.map +1 -1
  63. package/dist/ids/stats-operation-ids.js.map +1 -1
  64. package/dist/index.js.map +1 -1
  65. package/dist/input-formats/index.d.ts +2 -2
  66. package/dist/input-formats/index.d.ts.map +1 -1
  67. package/dist/input-formats/index.js +2 -2
  68. package/dist/input-formats/index.js.map +1 -1
  69. package/dist/media/file-origins.js.map +1 -1
  70. package/dist/notifications/archive-all.d.ts +2 -0
  71. package/dist/notifications/archive-all.d.ts.map +1 -0
  72. package/dist/notifications/archive-all.js +6 -0
  73. package/dist/notifications/archive-all.js.map +1 -0
  74. package/dist/notifications/index.d.ts +1 -0
  75. package/dist/notifications/index.d.ts.map +1 -1
  76. package/dist/notifications/index.js +1 -0
  77. package/dist/notifications/index.js.map +1 -1
  78. package/dist/paths/collection-refs.js.map +1 -1
  79. package/dist/paths/collections.js.map +1 -1
  80. package/dist/paths/path-builders.js.map +1 -1
  81. package/dist/paths/utils.js.map +1 -1
  82. package/dist/schemas/account-settings.js.map +1 -1
  83. package/dist/schemas/admin-notifications.d.ts +1 -0
  84. package/dist/schemas/admin-notifications.d.ts.map +1 -1
  85. package/dist/schemas/admin-notifications.js +4 -2
  86. package/dist/schemas/admin-notifications.js.map +1 -1
  87. package/dist/schemas/app-config.d.ts +2 -2
  88. package/dist/schemas/app-config.d.ts.map +1 -1
  89. package/dist/schemas/app-config.js +9 -5
  90. package/dist/schemas/app-config.js.map +1 -1
  91. package/dist/schemas/atoms.js.map +1 -1
  92. package/dist/schemas/awards.d.ts +16 -4
  93. package/dist/schemas/awards.d.ts.map +1 -1
  94. package/dist/schemas/awards.js +10 -6
  95. package/dist/schemas/awards.js.map +1 -1
  96. package/dist/schemas/game-locations.d.ts +4 -4
  97. package/dist/schemas/game-locations.d.ts.map +1 -1
  98. package/dist/schemas/game-locations.js +11 -3
  99. package/dist/schemas/game-locations.js.map +1 -1
  100. package/dist/schemas/hardware-loan-contracts.js.map +1 -1
  101. package/dist/schemas/migration-console.d.ts +1 -0
  102. package/dist/schemas/migration-console.d.ts.map +1 -1
  103. package/dist/schemas/pictures.d.ts +3 -0
  104. package/dist/schemas/pictures.d.ts.map +1 -1
  105. package/dist/schemas/schedules.js.map +1 -1
  106. package/dist/schemas/scoring.js.map +1 -1
  107. package/dist/schemas/stats.d.ts +2 -0
  108. package/dist/schemas/stats.d.ts.map +1 -1
  109. package/dist/schemas/stats.js.map +1 -1
  110. package/dist/schemas/team-joining.js.map +1 -1
  111. package/dist/schemas/teams.d.ts +3 -2
  112. package/dist/schemas/teams.d.ts.map +1 -1
  113. package/dist/schemas/teams.js +19 -9
  114. package/dist/schemas/teams.js.map +1 -1
  115. package/dist/schemas/uploads.js.map +1 -1
  116. package/dist/schemas/users.d.ts +7 -3
  117. package/dist/schemas/users.d.ts.map +1 -1
  118. package/dist/schemas/users.js +10 -3
  119. package/dist/schemas/users.js.map +1 -1
  120. package/dist/schemas/waiver-templates.d.ts +1 -0
  121. package/dist/schemas/waiver-templates.d.ts.map +1 -1
  122. package/dist/schemas/waiver-templates.js +4 -1
  123. package/dist/schemas/waiver-templates.js.map +1 -1
  124. package/dist/sports/basketball-scoring.js.map +1 -1
  125. package/dist/sports/basketball.js.map +1 -1
  126. package/dist/sports/bulk-entry.js.map +1 -1
  127. package/dist/sports/contribution.js.map +1 -1
  128. package/dist/sports/curling-scoring.js.map +1 -1
  129. package/dist/sports/finalized-record.js.map +1 -1
  130. package/dist/sports/football-scoring.js.map +1 -1
  131. package/dist/sports/index.d.ts +1 -0
  132. package/dist/sports/index.d.ts.map +1 -1
  133. package/dist/sports/index.js +1 -0
  134. package/dist/sports/index.js.map +1 -1
  135. package/dist/sports/ledger-continuity.d.ts +13 -0
  136. package/dist/sports/ledger-continuity.d.ts.map +1 -0
  137. package/dist/sports/ledger-continuity.js +19 -0
  138. package/dist/sports/ledger-continuity.js.map +1 -0
  139. package/dist/sports/rankings.js.map +1 -1
  140. package/dist/sports/rollup-check.js.map +1 -1
  141. package/dist/sports/scoring.js.map +1 -1
  142. package/dist/sports/store-driver.js.map +1 -1
  143. package/dist/types/audit.d.ts +1 -1
  144. package/dist/types/audit.d.ts.map +1 -1
  145. package/dist/types/audit.js +5 -2
  146. package/dist/types/audit.js.map +1 -1
  147. package/dist/types/documents.js.map +1 -1
  148. package/dist/types/notifications.js.map +1 -1
  149. package/dist/types/picture-owners.js.map +1 -1
  150. package/dist/types/sports.js.map +1 -1
  151. package/dist/types/stats.js.map +1 -1
  152. package/dist/types/unions.d.ts +4 -2
  153. package/dist/types/unions.d.ts.map +1 -1
  154. package/dist/types/unions.js +6 -0
  155. package/dist/types/unions.js.map +1 -1
  156. package/dist/upload-variables/index.d.ts +3 -0
  157. package/dist/upload-variables/index.d.ts.map +1 -0
  158. package/dist/upload-variables/index.js +3 -0
  159. package/dist/upload-variables/index.js.map +1 -0
  160. package/dist/upload-variables/on-progress.d.ts +4 -0
  161. package/dist/upload-variables/on-progress.d.ts.map +1 -0
  162. package/dist/upload-variables/on-progress.js +10 -0
  163. package/dist/upload-variables/on-progress.js.map +1 -0
  164. package/dist/upload-variables/picture-upload-variables.d.ts +32 -0
  165. package/dist/upload-variables/picture-upload-variables.d.ts.map +1 -0
  166. package/dist/upload-variables/picture-upload-variables.js +21 -0
  167. package/dist/upload-variables/picture-upload-variables.js.map +1 -0
  168. package/dist/utils/account-status.js.map +1 -1
  169. package/dist/utils/app-config.d.ts +17 -3
  170. package/dist/utils/app-config.d.ts.map +1 -1
  171. package/dist/utils/app-config.js +21 -14
  172. package/dist/utils/app-config.js.map +1 -1
  173. package/dist/utils/app-routes.js.map +1 -1
  174. package/dist/utils/index.js.map +1 -1
  175. package/dist/utils/league-calendar.js.map +1 -1
  176. package/dist/utils/league-mode.js.map +1 -1
  177. package/dist/utils/team-member-actions.js.map +1 -1
  178. package/package.json +94 -90
package/package.json CHANGED
@@ -1,96 +1,100 @@
1
1
  {
2
- "name": "@ttt-productions/q-core",
3
- "version": "0.1.0",
4
- "description": "Core types, Firestore path constants, zod schemas, and shared constants for Q-Sports",
5
- "repository": {
6
- "type": "git",
7
- "url": "git+https://github.com/ttt-productions/ttt-packages.git",
8
- "directory": "packages/q-core"
2
+ "name": "@ttt-productions/q-core",
3
+ "version": "0.1.2",
4
+ "description": "Core types, Firestore path constants, zod schemas, and shared constants for Q-Sports",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ttt-productions/ttt-packages.git",
8
+ "directory": "packages/q-core"
9
+ },
10
+ "type": "module",
11
+ "main": "dist/index.js",
12
+ "module": "dist/index.js",
13
+ "types": "dist/index.d.ts",
14
+ "sideEffects": false,
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "default": "./dist/index.js"
9
22
  },
10
- "type": "module",
11
- "main": "dist/index.js",
12
- "module": "dist/index.js",
13
- "types": "dist/index.d.ts",
14
- "sideEffects": false,
15
- "files": [
16
- "dist"
17
- ],
18
- "exports": {
19
- ".": {
20
- "types": "./dist/index.d.ts",
21
- "default": "./dist/index.js"
22
- },
23
- "./types": {
24
- "types": "./dist/types/index.d.ts",
25
- "default": "./dist/types/index.js"
26
- },
27
- "./paths": {
28
- "types": "./dist/paths/index.d.ts",
29
- "default": "./dist/paths/index.js"
30
- },
31
- "./constants": {
32
- "types": "./dist/constants/index.d.ts",
33
- "default": "./dist/constants/index.js"
34
- },
35
- "./constants/business": {
36
- "types": "./dist/constants/business.d.ts",
37
- "default": "./dist/constants/business.js"
38
- },
39
- "./constants/sports": {
40
- "types": "./dist/constants/sports.d.ts",
41
- "default": "./dist/constants/sports.js"
42
- },
43
- "./constants/storage-keys": {
44
- "types": "./dist/constants/storage-keys.d.ts",
45
- "default": "./dist/constants/storage-keys.js"
46
- },
47
- "./utils": {
48
- "types": "./dist/utils/index.d.ts",
49
- "default": "./dist/utils/index.js"
50
- },
51
- "./ids": {
52
- "types": "./dist/ids/index.d.ts",
53
- "default": "./dist/ids/index.js"
54
- },
55
- "./domain-events": {
56
- "types": "./dist/domain-events/index.d.ts",
57
- "default": "./dist/domain-events/index.js"
58
- },
59
- "./media": {
60
- "types": "./dist/media/index.d.ts",
61
- "default": "./dist/media/index.js"
62
- },
63
- "./schemas": {
64
- "types": "./dist/schemas/index.d.ts",
65
- "default": "./dist/schemas/index.js"
66
- },
67
- "./doc-schemas": {
68
- "types": "./dist/doc-schemas/index.d.ts",
69
- "default": "./dist/doc-schemas/index.js"
70
- },
71
- "./sports": {
72
- "types": "./dist/sports/index.d.ts",
73
- "default": "./dist/sports/index.js"
74
- },
75
- "./notifications": {
76
- "types": "./dist/notifications/index.d.ts",
77
- "default": "./dist/notifications/index.js"
78
- }
23
+ "./types": {
24
+ "types": "./dist/types/index.d.ts",
25
+ "default": "./dist/types/index.js"
79
26
  },
80
- "scripts": {
81
- "build": "tsc",
82
- "clean": "rm -rf dist *.tsbuildinfo",
83
- "typecheck": "tsc --noEmit",
84
- "prepublishOnly": "npm run clean && npm run build",
85
- "test": "vitest run"
27
+ "./paths": {
28
+ "types": "./dist/paths/index.d.ts",
29
+ "default": "./dist/paths/index.js"
86
30
  },
87
- "dependencies": {
88
- "@ttt-productions/input-format-core": "*",
89
- "@ttt-productions/media-schemas": "*",
90
- "@ttt-productions/notification-core": "*",
91
- "@ttt-productions/theme-core": "*",
92
- "zod": "^4.4.3"
31
+ "./constants": {
32
+ "types": "./dist/constants/index.d.ts",
33
+ "default": "./dist/constants/index.js"
93
34
  },
94
- "author": "DJ (TTT Productions)",
95
- "license": "MIT"
35
+ "./constants/business": {
36
+ "types": "./dist/constants/business.d.ts",
37
+ "default": "./dist/constants/business.js"
38
+ },
39
+ "./constants/sports": {
40
+ "types": "./dist/constants/sports.d.ts",
41
+ "default": "./dist/constants/sports.js"
42
+ },
43
+ "./constants/storage-keys": {
44
+ "types": "./dist/constants/storage-keys.d.ts",
45
+ "default": "./dist/constants/storage-keys.js"
46
+ },
47
+ "./utils": {
48
+ "types": "./dist/utils/index.d.ts",
49
+ "default": "./dist/utils/index.js"
50
+ },
51
+ "./ids": {
52
+ "types": "./dist/ids/index.d.ts",
53
+ "default": "./dist/ids/index.js"
54
+ },
55
+ "./domain-events": {
56
+ "types": "./dist/domain-events/index.d.ts",
57
+ "default": "./dist/domain-events/index.js"
58
+ },
59
+ "./media": {
60
+ "types": "./dist/media/index.d.ts",
61
+ "default": "./dist/media/index.js"
62
+ },
63
+ "./upload-variables": {
64
+ "types": "./dist/upload-variables/index.d.ts",
65
+ "default": "./dist/upload-variables/index.js"
66
+ },
67
+ "./schemas": {
68
+ "types": "./dist/schemas/index.d.ts",
69
+ "default": "./dist/schemas/index.js"
70
+ },
71
+ "./doc-schemas": {
72
+ "types": "./dist/doc-schemas/index.d.ts",
73
+ "default": "./dist/doc-schemas/index.js"
74
+ },
75
+ "./sports": {
76
+ "types": "./dist/sports/index.d.ts",
77
+ "default": "./dist/sports/index.js"
78
+ },
79
+ "./notifications": {
80
+ "types": "./dist/notifications/index.d.ts",
81
+ "default": "./dist/notifications/index.js"
82
+ }
83
+ },
84
+ "scripts": {
85
+ "build": "tsc",
86
+ "clean": "rm -rf dist *.tsbuildinfo",
87
+ "typecheck": "tsc --noEmit",
88
+ "prepublishOnly": "npm run clean && npm run build",
89
+ "test": "vitest run"
90
+ },
91
+ "dependencies": {
92
+ "@ttt-productions/input-format-core": "^0.1.1",
93
+ "@ttt-productions/media-schemas": "^0.14.10",
94
+ "@ttt-productions/notification-core": "^0.15.16",
95
+ "@ttt-productions/theme-core": "^0.12.11",
96
+ "zod": "^4.4.3"
97
+ },
98
+ "author": "DJ (TTT Productions)",
99
+ "license": "MIT"
96
100
  }