@ai-matrx/associations 0.10.6 → 0.11.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/CHANGELOG.md +31 -0
- package/dist/{CommentThread-DobuYuwz.d.cts → CommentThread-ZWiJVDpI.d.cts} +57 -21
- package/dist/{CommentThread-DobuYuwz.d.ts → CommentThread-ZWiJVDpI.d.ts} +57 -21
- package/dist/core/index.cjs +3 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -6
- package/dist/index.d.ts +23 -6
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +135 -38
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +135 -38
- package/dist/react/index.js.map +1 -1
- package/dist/react/lazy/index.d.cts +1 -1
- package/dist/react/lazy/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -26,6 +26,7 @@ __export(src_exports, {
|
|
|
26
26
|
ENTITY_TYPE_TOKENS: () => ENTITY_TYPE_TOKENS,
|
|
27
27
|
REFERENCE_CATEGORY_DISPLAY: () => REFERENCE_CATEGORY_DISPLAY,
|
|
28
28
|
SCHEMA_DISPLAY: () => SCHEMA_DISPLAY,
|
|
29
|
+
isAssociationTargetType: () => isAssociationTargetType,
|
|
29
30
|
isAssociationsRpcErr: () => isAssociationsRpcErr,
|
|
30
31
|
isEntityTypeToken: () => isEntityTypeToken
|
|
31
32
|
});
|
|
@@ -305,7 +306,7 @@ var ENTITY_TYPE_METADATA = {
|
|
|
305
306
|
"doc_render": { token: "doc_render", schema: "custom", table: "doc_render", label: "Rendered Document", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: "Custom Data", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
306
307
|
"doc_signature": { token: "doc_signature", schema: "custom", table: "doc_signature", label: "Document Signature", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: "Custom Data", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
307
308
|
"dockets": { token: "dockets", schema: "legal", table: "dockets", label: "Dockets", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
308
|
-
"document": { token: "document", schema: "content", table: "document", label: "
|
|
309
|
+
"document": { token: "document", schema: "content", table: "document", label: "Markdown document", baseTier: 1, isComponent: false, isModule: false, isListed: true, scopeable: true, category: "Documents", referencePickable: false, titleColumn: "title", contentRole: "hybrid", referenceCategory: null },
|
|
309
310
|
"document_version": { token: "document_version", schema: "content", table: "document_version", label: "Document Version", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: "Documents", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
310
311
|
"domain_classification": { token: "domain_classification", schema: "platform", table: "domain_classification", label: "Domain Classification", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
311
312
|
"edge_payload_kind": { token: "edge_payload_kind", schema: "platform", table: "edge_payload_kind", label: "Edge payload kind", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
@@ -340,7 +341,7 @@ var ENTITY_TYPE_METADATA = {
|
|
|
340
341
|
"external_link": { token: "external_link", schema: "custom", table: "external_link", label: "External Link", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: "Custom Data", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
341
342
|
"external_source": { token: "external_source", schema: "custom", table: "external_source", label: "External Source", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: "Custom Data", referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
342
343
|
"extract_sweep_state": { token: "extract_sweep_state", schema: "workflow", table: "extract_sweep_state", label: "Extract sweep state", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
343
|
-
"fc_card": { token: "fc_card", schema: "education", table: "fc_card", label: "Flashcard", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable:
|
|
344
|
+
"fc_card": { token: "fc_card", schema: "education", table: "fc_card", label: "Flashcard", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: true, titleColumn: "front", contentRole: null, referenceCategory: null },
|
|
344
345
|
"fc_detail": { token: "fc_detail", schema: "education", table: "fc_detail", label: "Flashcard Detail", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
345
346
|
"fc_set": { token: "fc_set", schema: "education", table: "fc_set", label: "Flashcard Set", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: true, titleColumn: "name", contentRole: null, referenceCategory: null },
|
|
346
347
|
"feature_doc": { token: "feature_doc", schema: "admin", table: "feature_docs", label: "Feature Doc", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: "documentation", referencePickable: true, titleColumn: "title", contentRole: null, referenceCategory: null },
|
|
@@ -915,7 +916,7 @@ var ENTITY_TYPE_METADATA = {
|
|
|
915
916
|
"udt_dataset_rows": { token: "udt_dataset_rows", schema: "workbench", table: "udt_dataset_rows", label: "Dataset Row", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
916
917
|
"udt_dataset_template": { token: "udt_dataset_template", schema: "workbench", table: "udt_dataset_templates", label: "Dataset template", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
917
918
|
"udt_dataset_template_fields": { token: "udt_dataset_template_fields", schema: "workbench", table: "udt_dataset_template_fields", label: "Udt Dataset Template Fields", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
918
|
-
"udt_document": { token: "udt_document", schema: "workbench", table: "udt_documents", label: "
|
|
919
|
+
"udt_document": { token: "udt_document", schema: "workbench", table: "udt_documents", label: "Cloud document", baseTier: 1, isComponent: false, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: true, titleColumn: "document_name", contentRole: "hybrid", referenceCategory: null },
|
|
919
920
|
"udt_document_snapshot": { token: "udt_document_snapshot", schema: "workbench", table: "udt_document_snapshots", label: "Document snapshot", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
920
921
|
"udt_structured_list_items": { token: "udt_structured_list_items", schema: "workbench", table: "udt_structured_list_items", label: "Structured List Item", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: "label", contentRole: null, referenceCategory: null },
|
|
921
922
|
"udt_workbook_snapshot": { token: "udt_workbook_snapshot", schema: "workbench", table: "udt_workbook_snapshots", label: "Workbook snapshot", baseTier: 1, isComponent: true, isModule: false, isListed: false, scopeable: true, category: null, referencePickable: false, titleColumn: null, contentRole: null, referenceCategory: null },
|
|
@@ -2140,6 +2141,9 @@ var ASSOCIATION_TARGET_TYPES = [
|
|
|
2140
2141
|
"rulebook"
|
|
2141
2142
|
// a Masterwork Rulebook — its Scout interviews attach here (conversation→rulebook, role 'interview')
|
|
2142
2143
|
];
|
|
2144
|
+
function isAssociationTargetType(value) {
|
|
2145
|
+
return typeof value === "string" && ASSOCIATION_TARGET_TYPES.includes(value);
|
|
2146
|
+
}
|
|
2143
2147
|
|
|
2144
2148
|
// src/results.ts
|
|
2145
2149
|
function isAssociationsRpcErr(r) {
|