@flamingo-stack/openframe-frontend-core 0.0.267 → 0.0.268
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/types/platform.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export interface PlatformRecord {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
is_active: boolean;
|
|
8
8
|
is_internal: boolean;
|
|
9
|
+
serves_all_content: boolean;
|
|
10
|
+
tracks_activity: boolean;
|
|
9
11
|
chat_source_id?: string | null;
|
|
10
12
|
chat_source_rag_tables_version?: number | null;
|
|
11
13
|
chat_enabled?: boolean | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/types/platform.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,iBAAiB,GAAG,WAAW,GAAG,eAAe,GAAG,aAAa,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,aAAa,CAAC;AAG5L,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/types/platform.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,iBAAiB,GAAG,WAAW,GAAG,eAAe,GAAG,aAAa,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,aAAa,CAAC;AAG5L,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IAGrB,kBAAkB,EAAE,OAAO,CAAC;IAG5B,eAAe,EAAE,OAAO,CAAC;IAOzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB;AAGD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,KAAK,CAAC;AAGlD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAG7D,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,YAAY,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
package/package.json
CHANGED
package/src/types/platform.ts
CHANGED
|
@@ -11,6 +11,12 @@ export interface PlatformRecord {
|
|
|
11
11
|
description?: string;
|
|
12
12
|
is_active: boolean;
|
|
13
13
|
is_internal: boolean; // Whether this is an internal admin platform vs public-facing
|
|
14
|
+
// Universal-viewer: when true, content DALs return ALL platforms' rows (applyFilter=false),
|
|
15
|
+
// decoupled from is_internal. Read by getPlatformContentScopeMode (hub lib/platform-utils.ts).
|
|
16
|
+
serves_all_content: boolean;
|
|
17
|
+
// When false, skip activity-tracking + HubSpot sync for this platform's principals
|
|
18
|
+
// (formerly keyed on is_internal). Read by platformTracksActivity (hub lib/platform-utils.ts).
|
|
19
|
+
tracks_activity: boolean;
|
|
14
20
|
// Chat (Ask AI) wiring — populated only for platforms that host a chat surface.
|
|
15
21
|
// `chat_source_id` is the doc-source binding (`chat_admin_personas.chat_source_id`).
|
|
16
22
|
// `chat_source_rag_tables_version` is the per-platform RAG-table override version
|