@lssm/example.versioned-knowledge-base 0.0.0-canary-20251220002821 → 0.0.0-canary-20251220021406
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/.turbo/turbo-build$colon$bundle.log +32 -32
- package/.turbo/turbo-build.log +21 -21
- package/CHANGELOG.md +3 -3
- package/dist/contracts/kb.d.ts +70 -70
- package/dist/entities/models.d.ts +36 -36
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/ownership.js.map +1 -1
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema84 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/models.d.ts
|
|
4
|
-
declare const SourceDocumentModel:
|
|
4
|
+
declare const SourceDocumentModel: _lssm_lib_schema84.SchemaModel<{
|
|
5
5
|
id: {
|
|
6
|
-
type:
|
|
6
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
8
8
|
};
|
|
9
9
|
jurisdiction: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
authority: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
title: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
fetchedAt: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema84.FieldType<Date, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
hash: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
fileId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
|
-
declare const SourceRefModel:
|
|
34
|
+
declare const SourceRefModel: _lssm_lib_schema84.SchemaModel<{
|
|
35
35
|
sourceDocumentId: {
|
|
36
|
-
type:
|
|
36
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
excerpt: {
|
|
40
|
-
type:
|
|
40
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
41
41
|
isOptional: true;
|
|
42
42
|
};
|
|
43
43
|
}>;
|
|
44
|
-
declare const RuleModel:
|
|
44
|
+
declare const RuleModel: _lssm_lib_schema84.SchemaModel<{
|
|
45
45
|
id: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
jurisdiction: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
topicKey: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
}>;
|
|
58
|
-
declare const RuleVersionModel:
|
|
58
|
+
declare const RuleVersionModel: _lssm_lib_schema84.SchemaModel<{
|
|
59
59
|
id: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
ruleId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
jurisdiction: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
topicKey: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
version: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema84.FieldType<number, number>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
content: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
sourceRefs: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema84.SchemaModel<{
|
|
85
85
|
sourceDocumentId: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
excerpt: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
}>;
|
|
@@ -95,42 +95,42 @@ declare const RuleVersionModel: _lssm_lib_schema15.SchemaModel<{
|
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
status: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
approvedBy: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
approvedAt: {
|
|
106
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema84.FieldType<Date, string>;
|
|
107
107
|
isOptional: true;
|
|
108
108
|
};
|
|
109
109
|
createdAt: {
|
|
110
|
-
type:
|
|
110
|
+
type: _lssm_lib_schema84.FieldType<Date, string>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
}>;
|
|
114
|
-
declare const KBSnapshotModel:
|
|
114
|
+
declare const KBSnapshotModel: _lssm_lib_schema84.SchemaModel<{
|
|
115
115
|
id: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
jurisdiction: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
asOfDate: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema84.FieldType<Date, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
includedRuleVersionIds: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema84.FieldType<string, string>;
|
|
129
129
|
isArray: true;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
publishedAt: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema84.FieldType<Date, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
}>;
|
|
@@ -13,6 +13,7 @@ const OwnersEnum = {
|
|
|
13
13
|
ProductArtisanos: "product.artisanos",
|
|
14
14
|
PlatformSigil: "platform.sigil",
|
|
15
15
|
PlatformMarketplace: "platform.marketplace",
|
|
16
|
+
PlatformMessaging: "platform.messaging",
|
|
16
17
|
PlatformContent: "platform.content",
|
|
17
18
|
PlatformFeatureFlags: "platform.featureflags",
|
|
18
19
|
PlatformFinance: "platform.finance"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ownership.js","names":[],"sources":["../../../../../../libs/contracts/dist/ownership.js"],"sourcesContent":["//#region src/ownership.ts\nconst StabilityEnum = {\n\tIdea: \"idea\",\n\tInCreation: \"in_creation\",\n\tExperimental: \"experimental\",\n\tBeta: \"beta\",\n\tStable: \"stable\",\n\tDeprecated: \"deprecated\"\n};\nconst OwnersEnum = {\n\tProductColiving: \"product.coliving\",\n\tProductStrit: \"product.strit\",\n\tProductArtisanos: \"product.artisanos\",\n\tPlatformSigil: \"platform.sigil\",\n\tPlatformMarketplace: \"platform.marketplace\",\n\tPlatformContent: \"platform.content\",\n\tPlatformFeatureFlags: \"platform.featureflags\",\n\tPlatformFinance: \"platform.finance\"\n};\nconst Owners = OwnersEnum;\nconst TagsEnum = {\n\tSpots: \"spots\",\n\tCollectivity: \"collectivity\",\n\tMarketplace: \"marketplace\",\n\tSellers: \"sellers\",\n\tAuth: \"auth\",\n\tLogin: \"login\",\n\tSignup: \"signup\",\n\tGuide: \"guide\",\n\tDocs: \"docs\",\n\tI18n: \"i18n\",\n\tIncident: \"incident\",\n\tAutomation: \"automation\",\n\tHygiene: \"hygiene\"\n};\nconst Tags = TagsEnum;\n\n//#endregion\nexport { Owners, OwnersEnum, StabilityEnum, Tags, TagsEnum };"],"mappings":";AACA,MAAM,gBAAgB;CACrB,MAAM;CACN,YAAY;CACZ,cAAc;CACd,MAAM;CACN,QAAQ;CACR,YAAY;CACZ;AACD,MAAM,aAAa;CAClB,iBAAiB;CACjB,cAAc;CACd,kBAAkB;CAClB,eAAe;CACf,qBAAqB;CACrB,iBAAiB;CACjB,sBAAsB;CACtB,iBAAiB;CACjB"}
|
|
1
|
+
{"version":3,"file":"ownership.js","names":[],"sources":["../../../../../../libs/contracts/dist/ownership.js"],"sourcesContent":["//#region src/ownership.ts\nconst StabilityEnum = {\n\tIdea: \"idea\",\n\tInCreation: \"in_creation\",\n\tExperimental: \"experimental\",\n\tBeta: \"beta\",\n\tStable: \"stable\",\n\tDeprecated: \"deprecated\"\n};\nconst OwnersEnum = {\n\tProductColiving: \"product.coliving\",\n\tProductStrit: \"product.strit\",\n\tProductArtisanos: \"product.artisanos\",\n\tPlatformSigil: \"platform.sigil\",\n\tPlatformMarketplace: \"platform.marketplace\",\n\tPlatformMessaging: \"platform.messaging\",\n\tPlatformContent: \"platform.content\",\n\tPlatformFeatureFlags: \"platform.featureflags\",\n\tPlatformFinance: \"platform.finance\"\n};\nconst Owners = OwnersEnum;\nconst TagsEnum = {\n\tSpots: \"spots\",\n\tCollectivity: \"collectivity\",\n\tMarketplace: \"marketplace\",\n\tSellers: \"sellers\",\n\tAuth: \"auth\",\n\tLogin: \"login\",\n\tSignup: \"signup\",\n\tGuide: \"guide\",\n\tDocs: \"docs\",\n\tI18n: \"i18n\",\n\tIncident: \"incident\",\n\tAutomation: \"automation\",\n\tHygiene: \"hygiene\"\n};\nconst Tags = TagsEnum;\n\n//#endregion\nexport { Owners, OwnersEnum, StabilityEnum, Tags, TagsEnum };"],"mappings":";AACA,MAAM,gBAAgB;CACrB,MAAM;CACN,YAAY;CACZ,cAAc;CACd,MAAM;CACN,QAAQ;CACR,YAAY;CACZ;AACD,MAAM,aAAa;CAClB,iBAAiB;CACjB,cAAc;CACd,kBAAkB;CAClB,eAAe;CACf,qBAAqB;CACrB,mBAAmB;CACnB,iBAAiB;CACjB,sBAAsB;CACtB,iBAAiB;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.versioned-knowledge-base",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251220021406",
|
|
4
4
|
"description": "Example: curated, versioned knowledge base with immutable sources, rule versions, and published snapshots.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
39
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
38
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251220021406",
|
|
39
|
+
"@lssm/lib.schema": "0.0.0-canary-20251220021406",
|
|
40
40
|
"zod": "^4.1.13"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
44
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
43
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251220021406",
|
|
44
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251220021406",
|
|
45
45
|
"tsdown": "^0.18.1",
|
|
46
46
|
"typescript": "^5.9.3"
|
|
47
47
|
},
|