@kernhq/module-tracker 0.8.0 → 0.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernhq/module-tracker",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Kern tracker module: projects, work item types, custom fields, workflows, issues, KQL, cycles, views, reports, intake, time tracking (server + client skeleton)",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",
@@ -1,70 +1,13 @@
1
1
  /**
2
2
  * The contract types a tracker UI works with, re-exported for hosts.
3
3
  *
4
- * Types only: nothing here survives compilation, so importing this file never pulls the zod schemas
5
- * (or the server contract) into a browser bundle. Anything that needs the schemas at runtime should
6
- * import `@kernhq/module-tracker/contract` instead.
4
+ * `export type *` rather than a hand-kept list. Types only: the form is erased at compile time, so
5
+ * importing this never pulls the zod schemas — or the server contract into a browser bundle.
6
+ * Anything that needs the schemas at runtime should import `@kernhq/module-tracker/contract`.
7
+ *
8
+ * It used to be an allowlist, which meant every interface that reached for one more model needed a
9
+ * publish of this package before it could name what it was already receiving. The list guarded
10
+ * nothing: the types it omitted were as erased as the ones it named.
7
11
  */
8
12
 
9
- export type {
10
- ApprovalState,
11
- Attachment,
12
- AvailableTransition,
13
- BoardColumn,
14
- Comment,
15
- Component,
16
- CreateIssue,
17
- Cycle,
18
- CycleStatus,
19
- DateOnly,
20
- EstimateUnit,
21
- FieldDef,
22
- FieldLayoutItem,
23
- FieldOption,
24
- FieldType,
25
- GroupBy,
26
- IntakeForm,
27
- IntakeSubmission,
28
- Issue,
29
- IssueApproval,
30
- IssueHistoryEntry,
31
- IssueKey,
32
- IssueQueryInput,
33
- IssueQueryResult,
34
- IssueSummary,
35
- KqlFieldInfo,
36
- KqlParseResult,
37
- KqlSuggestion,
38
- Label,
39
- Link,
40
- Milestone,
41
- OrderBy,
42
- Priority,
43
- Project,
44
- ProjectKey,
45
- ProjectMember,
46
- ProjectTemplate,
47
- ProjectTemplateBody,
48
- ProjectTemplateId,
49
- ReactionSummary,
50
- RelationSummary,
51
- RelationType,
52
- RelationView,
53
- ResolvedField,
54
- ResolvedLayout,
55
- RichDoc,
56
- StatusCategory,
57
- StatusHistoryEntry,
58
- StatusInfo,
59
- SystemFieldId,
60
- Timer,
61
- TimesheetRow,
62
- UpdateIssue,
63
- Version,
64
- View,
65
- ViewDisplay,
66
- ViewLayout,
67
- Workflow,
68
- WorkItemType,
69
- Worklog,
70
- } from '../contract/index.js'
13
+ export type * from '../contract/index.js'