@kernhq/module-tracker 0.8.1 → 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 +1 -1
- package/src/client/types.ts +8 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernhq/module-tracker",
|
|
3
|
-
"version": "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",
|
package/src/client/types.ts
CHANGED
|
@@ -1,73 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The contract types a tracker UI works with, re-exported for hosts.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* import `@kernhq/module-tracker/contract
|
|
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
|
-
IssueTemplate,
|
|
36
|
-
KqlFieldInfo,
|
|
37
|
-
KqlParseResult,
|
|
38
|
-
KqlSuggestion,
|
|
39
|
-
Label,
|
|
40
|
-
Link,
|
|
41
|
-
Milestone,
|
|
42
|
-
OrderBy,
|
|
43
|
-
Priority,
|
|
44
|
-
Project,
|
|
45
|
-
ProjectKey,
|
|
46
|
-
ProjectMember,
|
|
47
|
-
ProjectTemplate,
|
|
48
|
-
ProjectTemplateBody,
|
|
49
|
-
ProjectTemplateId,
|
|
50
|
-
ReactionSummary,
|
|
51
|
-
RecurrenceRule,
|
|
52
|
-
RecurringIssue,
|
|
53
|
-
RelationSummary,
|
|
54
|
-
RelationType,
|
|
55
|
-
RelationView,
|
|
56
|
-
ResolvedField,
|
|
57
|
-
ResolvedLayout,
|
|
58
|
-
RichDoc,
|
|
59
|
-
StatusCategory,
|
|
60
|
-
StatusHistoryEntry,
|
|
61
|
-
StatusInfo,
|
|
62
|
-
SystemFieldId,
|
|
63
|
-
Timer,
|
|
64
|
-
TimesheetRow,
|
|
65
|
-
UpdateIssue,
|
|
66
|
-
Version,
|
|
67
|
-
View,
|
|
68
|
-
ViewDisplay,
|
|
69
|
-
ViewLayout,
|
|
70
|
-
Workflow,
|
|
71
|
-
WorkItemType,
|
|
72
|
-
Worklog,
|
|
73
|
-
} from '../contract/index.js'
|
|
13
|
+
export type * from '../contract/index.js'
|