@happyvertical/smrt-fields 0.61.3 → 0.61.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/chunks/{FieldPolicyCollection-DBBLWsQF.js → FieldPolicyCollection-D-pc-i1z.js} +11 -4
- package/dist/chunks/FieldPolicyCollection-D-pc-i1z.js.map +1 -0
- package/dist/collections/FieldUsageCounterCollection.d.ts.map +1 -1
- package/dist/index.js +36 -12
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1128 -925
- package/dist/smrt-knowledge.json +189 -189
- package/package.json +10 -10
- package/dist/chunks/FieldPolicyCollection-DBBLWsQF.js.map +0 -1
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-fields",
|
|
6
|
-
"packageVersion": "0.61.
|
|
6
|
+
"packageVersion": "0.61.5",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "a3d864fa2a26f93742452cdab9e70945ddd93bdb2b67fcee6da04ec2107e38a5",
|
|
11
|
+
"packageJson": "6e789c893a176d74c32f3acbf855274fae3be8995876ddaf00efaf05522f8376",
|
|
12
12
|
"agents": "94320fb58c6d7ef3ced33afc2207eb8cd4fef135f97c55206973dfbd5fdeb3b3",
|
|
13
13
|
"moduleDoc:agents/cookbook-policy.md": "e416094c4867b60730ae337669e03a8c51f74058a6a544c09abb244368a9679d"
|
|
14
14
|
},
|
|
@@ -64,6 +64,192 @@
|
|
|
64
64
|
"sensitive-fields-excluded"
|
|
65
65
|
],
|
|
66
66
|
"objects": [
|
|
67
|
+
{
|
|
68
|
+
"name": "FieldUsageCounter",
|
|
69
|
+
"qualifiedName": "@happyvertical/smrt-fields:FieldUsageCounter",
|
|
70
|
+
"collection": "fieldusagecounters",
|
|
71
|
+
"tableName": "_smrt_field_usage_counters",
|
|
72
|
+
"packageName": "@happyvertical/smrt-fields",
|
|
73
|
+
"extends": "SmrtObject",
|
|
74
|
+
"fields": [
|
|
75
|
+
{
|
|
76
|
+
"name": "objectRef",
|
|
77
|
+
"type": "text",
|
|
78
|
+
"required": true,
|
|
79
|
+
"columnType": "TEXT",
|
|
80
|
+
"default": ""
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "fieldName",
|
|
84
|
+
"type": "text",
|
|
85
|
+
"required": true,
|
|
86
|
+
"columnType": "TEXT",
|
|
87
|
+
"default": ""
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "tenantId",
|
|
91
|
+
"type": "text",
|
|
92
|
+
"required": true,
|
|
93
|
+
"columnType": "UUID"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "period",
|
|
97
|
+
"type": "text",
|
|
98
|
+
"required": true,
|
|
99
|
+
"columnType": "TEXT",
|
|
100
|
+
"default": ""
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "submissionCount",
|
|
104
|
+
"type": "integer",
|
|
105
|
+
"required": false,
|
|
106
|
+
"columnType": "INTEGER"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "setCount",
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"required": false,
|
|
112
|
+
"columnType": "INTEGER"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "distinctUserCount",
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"required": false,
|
|
118
|
+
"columnType": "INTEGER"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "distinctUserIds",
|
|
122
|
+
"type": "text",
|
|
123
|
+
"required": false,
|
|
124
|
+
"columnType": "TEXT"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "distinctUsersOverflowed",
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"required": false,
|
|
130
|
+
"columnType": "BOOLEAN"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "valueHistogram",
|
|
134
|
+
"type": "text",
|
|
135
|
+
"required": false,
|
|
136
|
+
"columnType": "TEXT"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "valueHistogramOverflowed",
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"required": false,
|
|
142
|
+
"columnType": "BOOLEAN"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"relationships": [],
|
|
146
|
+
"methods": [
|
|
147
|
+
"addDistinctUser",
|
|
148
|
+
"delete",
|
|
149
|
+
"getDistinctUserIds",
|
|
150
|
+
"getValueHistogram",
|
|
151
|
+
"isLegacyBucket",
|
|
152
|
+
"recordHistogramSample",
|
|
153
|
+
"save"
|
|
154
|
+
],
|
|
155
|
+
"methodSignatures": [
|
|
156
|
+
{
|
|
157
|
+
"name": "addDistinctUser",
|
|
158
|
+
"params": [
|
|
159
|
+
"userId: string"
|
|
160
|
+
],
|
|
161
|
+
"returns": "void"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "delete",
|
|
165
|
+
"async": true,
|
|
166
|
+
"returns": "Promise<void>"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "getDistinctUserIds",
|
|
170
|
+
"returns": "string[]"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "getValueHistogram",
|
|
174
|
+
"returns": "Record<string, number>"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "isLegacyBucket",
|
|
178
|
+
"returns": "boolean"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "recordHistogramSample",
|
|
182
|
+
"params": [
|
|
183
|
+
"key: string"
|
|
184
|
+
],
|
|
185
|
+
"returns": "void"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "save",
|
|
189
|
+
"async": true,
|
|
190
|
+
"params": [
|
|
191
|
+
"options?: SmrtSaveOptions"
|
|
192
|
+
],
|
|
193
|
+
"returns": "Promise<this>"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"conflictColumns": [
|
|
197
|
+
"object_ref",
|
|
198
|
+
"field_name",
|
|
199
|
+
"tenant_id",
|
|
200
|
+
"period"
|
|
201
|
+
],
|
|
202
|
+
"surfaces": [],
|
|
203
|
+
"withheldSurfaces": [
|
|
204
|
+
{
|
|
205
|
+
"kind": "api",
|
|
206
|
+
"operation": "addDistinctUser",
|
|
207
|
+
"code": "not-included",
|
|
208
|
+
"reason": "not listed in api.include",
|
|
209
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "api",
|
|
213
|
+
"operation": "getDistinctUserIds",
|
|
214
|
+
"code": "not-included",
|
|
215
|
+
"reason": "not listed in api.include",
|
|
216
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "api",
|
|
220
|
+
"operation": "getValueHistogram",
|
|
221
|
+
"code": "not-included",
|
|
222
|
+
"reason": "not listed in api.include",
|
|
223
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"kind": "api",
|
|
227
|
+
"operation": "isLegacyBucket",
|
|
228
|
+
"code": "not-included",
|
|
229
|
+
"reason": "not listed in api.include",
|
|
230
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "api",
|
|
234
|
+
"operation": "recordHistogramSample",
|
|
235
|
+
"code": "not-included",
|
|
236
|
+
"reason": "not listed in api.include",
|
|
237
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"kind": "api",
|
|
241
|
+
"operation": "save",
|
|
242
|
+
"code": "lifecycle-method",
|
|
243
|
+
"reason": "`save` is a framework lifecycle method, not a distinct operation",
|
|
244
|
+
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"relationshipFeatures": [
|
|
248
|
+
"uuidColumns"
|
|
249
|
+
],
|
|
250
|
+
"tags": [],
|
|
251
|
+
"risks": []
|
|
252
|
+
},
|
|
67
253
|
{
|
|
68
254
|
"name": "FieldPolicyCollection",
|
|
69
255
|
"qualifiedName": "@happyvertical/smrt-fields:FieldPolicyCollection",
|
|
@@ -793,192 +979,6 @@
|
|
|
793
979
|
"tags": [],
|
|
794
980
|
"risks": []
|
|
795
981
|
},
|
|
796
|
-
{
|
|
797
|
-
"name": "FieldUsageCounter",
|
|
798
|
-
"qualifiedName": "@happyvertical/smrt-fields:FieldUsageCounter",
|
|
799
|
-
"collection": "fieldusagecounters",
|
|
800
|
-
"tableName": "_smrt_field_usage_counters",
|
|
801
|
-
"packageName": "@happyvertical/smrt-fields",
|
|
802
|
-
"extends": "SmrtObject",
|
|
803
|
-
"fields": [
|
|
804
|
-
{
|
|
805
|
-
"name": "objectRef",
|
|
806
|
-
"type": "text",
|
|
807
|
-
"required": true,
|
|
808
|
-
"columnType": "TEXT",
|
|
809
|
-
"default": ""
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"name": "fieldName",
|
|
813
|
-
"type": "text",
|
|
814
|
-
"required": true,
|
|
815
|
-
"columnType": "TEXT",
|
|
816
|
-
"default": ""
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"name": "tenantId",
|
|
820
|
-
"type": "text",
|
|
821
|
-
"required": true,
|
|
822
|
-
"columnType": "UUID"
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"name": "period",
|
|
826
|
-
"type": "text",
|
|
827
|
-
"required": true,
|
|
828
|
-
"columnType": "TEXT",
|
|
829
|
-
"default": ""
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
"name": "submissionCount",
|
|
833
|
-
"type": "integer",
|
|
834
|
-
"required": false,
|
|
835
|
-
"columnType": "INTEGER"
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"name": "setCount",
|
|
839
|
-
"type": "integer",
|
|
840
|
-
"required": false,
|
|
841
|
-
"columnType": "INTEGER"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"name": "distinctUserCount",
|
|
845
|
-
"type": "integer",
|
|
846
|
-
"required": false,
|
|
847
|
-
"columnType": "INTEGER"
|
|
848
|
-
},
|
|
849
|
-
{
|
|
850
|
-
"name": "distinctUserIds",
|
|
851
|
-
"type": "text",
|
|
852
|
-
"required": false,
|
|
853
|
-
"columnType": "TEXT"
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
"name": "distinctUsersOverflowed",
|
|
857
|
-
"type": "boolean",
|
|
858
|
-
"required": false,
|
|
859
|
-
"columnType": "BOOLEAN"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"name": "valueHistogram",
|
|
863
|
-
"type": "text",
|
|
864
|
-
"required": false,
|
|
865
|
-
"columnType": "TEXT"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"name": "valueHistogramOverflowed",
|
|
869
|
-
"type": "boolean",
|
|
870
|
-
"required": false,
|
|
871
|
-
"columnType": "BOOLEAN"
|
|
872
|
-
}
|
|
873
|
-
],
|
|
874
|
-
"relationships": [],
|
|
875
|
-
"methods": [
|
|
876
|
-
"addDistinctUser",
|
|
877
|
-
"delete",
|
|
878
|
-
"getDistinctUserIds",
|
|
879
|
-
"getValueHistogram",
|
|
880
|
-
"isLegacyBucket",
|
|
881
|
-
"recordHistogramSample",
|
|
882
|
-
"save"
|
|
883
|
-
],
|
|
884
|
-
"methodSignatures": [
|
|
885
|
-
{
|
|
886
|
-
"name": "addDistinctUser",
|
|
887
|
-
"params": [
|
|
888
|
-
"userId: string"
|
|
889
|
-
],
|
|
890
|
-
"returns": "void"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"name": "delete",
|
|
894
|
-
"async": true,
|
|
895
|
-
"returns": "Promise<void>"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"name": "getDistinctUserIds",
|
|
899
|
-
"returns": "string[]"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"name": "getValueHistogram",
|
|
903
|
-
"returns": "Record<string, number>"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"name": "isLegacyBucket",
|
|
907
|
-
"returns": "boolean"
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
"name": "recordHistogramSample",
|
|
911
|
-
"params": [
|
|
912
|
-
"key: string"
|
|
913
|
-
],
|
|
914
|
-
"returns": "void"
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"name": "save",
|
|
918
|
-
"async": true,
|
|
919
|
-
"params": [
|
|
920
|
-
"options?: SmrtSaveOptions"
|
|
921
|
-
],
|
|
922
|
-
"returns": "Promise<this>"
|
|
923
|
-
}
|
|
924
|
-
],
|
|
925
|
-
"conflictColumns": [
|
|
926
|
-
"object_ref",
|
|
927
|
-
"field_name",
|
|
928
|
-
"tenant_id",
|
|
929
|
-
"period"
|
|
930
|
-
],
|
|
931
|
-
"surfaces": [],
|
|
932
|
-
"withheldSurfaces": [
|
|
933
|
-
{
|
|
934
|
-
"kind": "api",
|
|
935
|
-
"operation": "addDistinctUser",
|
|
936
|
-
"code": "not-included",
|
|
937
|
-
"reason": "not listed in api.include",
|
|
938
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"kind": "api",
|
|
942
|
-
"operation": "getDistinctUserIds",
|
|
943
|
-
"code": "not-included",
|
|
944
|
-
"reason": "not listed in api.include",
|
|
945
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"kind": "api",
|
|
949
|
-
"operation": "getValueHistogram",
|
|
950
|
-
"code": "not-included",
|
|
951
|
-
"reason": "not listed in api.include",
|
|
952
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
"kind": "api",
|
|
956
|
-
"operation": "isLegacyBucket",
|
|
957
|
-
"code": "not-included",
|
|
958
|
-
"reason": "not listed in api.include",
|
|
959
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"kind": "api",
|
|
963
|
-
"operation": "recordHistogramSample",
|
|
964
|
-
"code": "not-included",
|
|
965
|
-
"reason": "not listed in api.include",
|
|
966
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"kind": "api",
|
|
970
|
-
"operation": "save",
|
|
971
|
-
"code": "lifecycle-method",
|
|
972
|
-
"reason": "`save` is a framework lifecycle method, not a distinct operation",
|
|
973
|
-
"objectName": "@happyvertical/smrt-fields:FieldUsageCounter"
|
|
974
|
-
}
|
|
975
|
-
],
|
|
976
|
-
"relationshipFeatures": [
|
|
977
|
-
"uuidColumns"
|
|
978
|
-
],
|
|
979
|
-
"tags": [],
|
|
980
|
-
"risks": []
|
|
981
|
-
},
|
|
982
982
|
{
|
|
983
983
|
"name": "FieldUsageReportReceipt",
|
|
984
984
|
"qualifiedName": "@happyvertical/smrt-fields:FieldUsageReportReceipt",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-fields",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.5",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Layered field policy store and resolver (defaults, visibility tiers, help text) for SMRT objects",
|
|
6
6
|
"type": "module",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@happyvertical/smrt-core": "0.61.
|
|
46
|
-
"@happyvertical/smrt-tenancy": "0.61.
|
|
47
|
-
"@happyvertical/smrt-ui": "0.61.
|
|
48
|
-
"@happyvertical/smrt-users": "0.61.
|
|
49
|
-
"@happyvertical/sql": "^0.
|
|
45
|
+
"@happyvertical/smrt-core": "0.61.5",
|
|
46
|
+
"@happyvertical/smrt-tenancy": "0.61.5",
|
|
47
|
+
"@happyvertical/smrt-ui": "0.61.5",
|
|
48
|
+
"@happyvertical/smrt-users": "0.61.5",
|
|
49
|
+
"@happyvertical/sql": "^0.113.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@happyvertical/smrt-cli": "0.61.
|
|
53
|
-
"@happyvertical/smrt-scanner": "0.61.
|
|
54
|
-
"@happyvertical/smrt-users": "0.61.
|
|
55
|
-
"@happyvertical/smrt-vitest": "0.61.
|
|
52
|
+
"@happyvertical/smrt-cli": "0.61.5",
|
|
53
|
+
"@happyvertical/smrt-scanner": "0.61.5",
|
|
54
|
+
"@happyvertical/smrt-users": "0.61.5",
|
|
55
|
+
"@happyvertical/smrt-vitest": "0.61.5",
|
|
56
56
|
"@sveltejs/package": "^2.5.8",
|
|
57
57
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
58
58
|
"@testing-library/svelte": "^5.4.2",
|