@ai-matrx/associations 0.11.0 → 0.11.1

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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ElementType, ComponentType, ReactNode } from 'react';
2
2
 
3
- declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook"];
3
+ declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
4
4
  type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
5
5
  /** Runtime guard: is this token one of the deliberate container (target) types? */
6
6
  declare function isAssociationTargetType(value: unknown): value is AssociationTargetType;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ElementType, ComponentType, ReactNode } from 'react';
2
2
 
3
- declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook"];
3
+ declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
4
4
  type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
5
5
  /** Runtime guard: is this token one of the deliberate container (target) types? */
6
6
  declare function isAssociationTargetType(value: unknown): value is AssociationTargetType;
package/dist/index.js CHANGED
@@ -2104,8 +2104,12 @@ var ASSOCIATION_TARGET_TYPES = [
2104
2104
  // a CRM outreach list (a worked send/dial queue) — parties and resources attach into it
2105
2105
  "crm_deal",
2106
2106
  // a CRM deal (crm.deal) — people on it (role 'deal_contact'), tasks/files attach onto it
2107
- "rulebook"
2107
+ "rulebook",
2108
2108
  // a Masterwork Rulebook — its Scout interviews attach here (conversation→rulebook, role 'interview')
2109
+ "research_topic",
2110
+ // a research topic — Sources are filed under it (processed_document→research_topic, the landing door's edge)
2111
+ "media_source_library"
2112
+ // a media-catalog Library — Sources are catalogued into it (processed_document→media_source_library)
2109
2113
  ];
2110
2114
  function isAssociationTargetType(value) {
2111
2115
  return typeof value === "string" && ASSOCIATION_TARGET_TYPES.includes(value);