@flamingo-stack/openframe-frontend-core 0.0.394 → 0.0.395-snapshot.20260709183848
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/{chunk-5J3LR56Z.js → chunk-2PTEK3D6.js} +2 -2
- package/dist/{chunk-YIJGUS7V.cjs → chunk-6DGQPKVA.cjs} +26 -26
- package/dist/{chunk-YIJGUS7V.cjs.map → chunk-6DGQPKVA.cjs.map} +1 -1
- package/dist/{chunk-DFCPMBYN.cjs → chunk-AODSKL5I.cjs} +9 -9
- package/dist/{chunk-DFCPMBYN.cjs.map → chunk-AODSKL5I.cjs.map} +1 -1
- package/dist/{chunk-LP3FQTCB.cjs → chunk-CCV6Z3CL.cjs} +26 -26
- package/dist/{chunk-LP3FQTCB.cjs.map → chunk-CCV6Z3CL.cjs.map} +1 -1
- package/dist/{chunk-SSZL4QYX.js → chunk-EKYE2VJU.js} +4 -4
- package/dist/{chunk-A7IGCQUD.js → chunk-FAUC7EA3.js} +4 -4
- package/dist/{chunk-GAD4OYKN.js → chunk-GA3R77TB.js} +2 -2
- package/dist/{chunk-AGTM2H7T.js → chunk-H4WIS6RJ.js} +2 -2
- package/dist/{chunk-4FT3KQD3.cjs → chunk-HEH47UTC.cjs} +15 -15
- package/dist/{chunk-4FT3KQD3.cjs.map → chunk-HEH47UTC.cjs.map} +1 -1
- package/dist/{chunk-DRSAMA27.cjs → chunk-HNXZFKDQ.cjs} +62 -62
- package/dist/{chunk-DRSAMA27.cjs.map → chunk-HNXZFKDQ.cjs.map} +1 -1
- package/dist/{chunk-N6SH4ZYN.cjs → chunk-HWJUWOXK.cjs} +12 -12
- package/dist/{chunk-N6SH4ZYN.cjs.map → chunk-HWJUWOXK.cjs.map} +1 -1
- package/dist/{chunk-DXIDOGF4.js → chunk-J2UHW4UM.js} +2 -2
- package/dist/{chunk-IEKEUSPV.cjs → chunk-KRMGVMIO.cjs} +31 -31
- package/dist/{chunk-IEKEUSPV.cjs.map → chunk-KRMGVMIO.cjs.map} +1 -1
- package/dist/{chunk-FIOOW474.cjs → chunk-NAFW3LKI.cjs} +7 -7
- package/dist/{chunk-FIOOW474.cjs.map → chunk-NAFW3LKI.cjs.map} +1 -1
- package/dist/{chunk-WAKXAMRC.js → chunk-NFRHBR7W.js} +4 -4
- package/dist/{chunk-AQJ5S6RS.js → chunk-OP3H7VB2.js} +2 -2
- package/dist/{chunk-2J6AOHJI.js → chunk-PQXUY6SB.js} +2 -2
- package/dist/{chunk-PVMISZQT.cjs → chunk-RUYZ5QMK.cjs} +37 -37
- package/dist/{chunk-PVMISZQT.cjs.map → chunk-RUYZ5QMK.cjs.map} +1 -1
- package/dist/{chunk-FVFPGGDA.js → chunk-STEM5CPV.js} +4 -4
- package/dist/{chunk-NYBMBTBL.js → chunk-SV7IJPIH.js} +5298 -5184
- package/dist/chunk-SV7IJPIH.js.map +1 -0
- package/dist/{chunk-G6CNEEZ3.js → chunk-TIC3UE6L.js} +2 -2
- package/dist/{chunk-HXDBJR4A.cjs → chunk-VSPNWVIE.cjs} +59 -59
- package/dist/{chunk-HXDBJR4A.cjs.map → chunk-VSPNWVIE.cjs.map} +1 -1
- package/dist/{chunk-CJMM2WZP.cjs → chunk-XQILJ7FF.cjs} +5 -5
- package/dist/{chunk-CJMM2WZP.cjs.map → chunk-XQILJ7FF.cjs.map} +1 -1
- package/dist/{chunk-R6PS3AXI.cjs → chunk-Y36KVLBX.cjs} +1174 -1060
- package/dist/chunk-Y36KVLBX.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/auth/create-organization-form.d.ts +1 -1
- package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
- package/dist/components/features/auth/login-form.d.ts +1 -1
- package/dist/components/features/auth/login-form.d.ts.map +1 -1
- package/dist/components/features/auth/sso-providers.d.ts +1 -1
- package/dist/components/features/auth/sso-providers.d.ts.map +1 -1
- package/dist/components/features/cards-strip.d.ts +114 -0
- package/dist/components/features/cards-strip.d.ts.map +1 -0
- package/dist/components/features/index.cjs +6 -2
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +5 -1
- package/dist/components/features/video-bites-strip.d.ts +15 -26
- package/dist/components/features/video-bites-strip.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +124 -120
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +13 -9
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/types/blog.d.ts +9 -10
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/case-study.d.ts +2 -5
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/customer-interview.d.ts +2 -5
- package/dist/types/customer-interview.d.ts.map +1 -1
- package/dist/types/entity-platform.d.ts +22 -0
- package/dist/types/entity-platform.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -2
- package/src/components/features/auth/create-organization-form.tsx +2 -2
- package/src/components/features/auth/login-form.tsx +2 -2
- package/src/components/features/auth/sso-providers.tsx +2 -2
- package/src/components/features/cards-strip.tsx +587 -0
- package/src/components/features/index.ts +3 -0
- package/src/components/features/video-bites-strip.tsx +53 -375
- package/src/stories/CardsStrip.stories.tsx +101 -0
- package/src/stories/auth/CreateOrganization.stories.tsx +0 -1
- package/src/stories/auth/Login.stories.tsx +1 -1
- package/src/types/blog.ts +9 -10
- package/src/types/case-study.ts +2 -5
- package/src/types/customer-interview.ts +2 -5
- package/src/types/entity-platform.ts +21 -0
- package/src/types/index.ts +1 -0
- package/dist/chunk-NYBMBTBL.js.map +0 -1
- package/dist/chunk-R6PS3AXI.cjs.map +0 -1
- package/dist/components/carousel.d.ts +0 -19
- package/dist/components/carousel.d.ts.map +0 -1
- package/src/components/.carousel.md +0 -50
- package/src/components/carousel.tsx +0 -262
- /package/dist/{chunk-5J3LR56Z.js.map → chunk-2PTEK3D6.js.map} +0 -0
- /package/dist/{chunk-SSZL4QYX.js.map → chunk-EKYE2VJU.js.map} +0 -0
- /package/dist/{chunk-A7IGCQUD.js.map → chunk-FAUC7EA3.js.map} +0 -0
- /package/dist/{chunk-GAD4OYKN.js.map → chunk-GA3R77TB.js.map} +0 -0
- /package/dist/{chunk-AGTM2H7T.js.map → chunk-H4WIS6RJ.js.map} +0 -0
- /package/dist/{chunk-DXIDOGF4.js.map → chunk-J2UHW4UM.js.map} +0 -0
- /package/dist/{chunk-WAKXAMRC.js.map → chunk-NFRHBR7W.js.map} +0 -0
- /package/dist/{chunk-AQJ5S6RS.js.map → chunk-OP3H7VB2.js.map} +0 -0
- /package/dist/{chunk-2J6AOHJI.js.map → chunk-PQXUY6SB.js.map} +0 -0
- /package/dist/{chunk-FVFPGGDA.js.map → chunk-STEM5CPV.js.map} +0 -0
- /package/dist/{chunk-G6CNEEZ3.js.map → chunk-TIC3UE6L.js.map} +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Following the case-study.ts pattern for consistency
|
|
3
3
|
|
|
4
4
|
import type { PlatformRecord } from './platform'
|
|
5
|
+
import type { EntityPlatformAssoc } from './entity-platform'
|
|
5
6
|
import type { MSP } from './stack'
|
|
6
7
|
import type { UserProfile } from './user'
|
|
7
8
|
import type { CaseStudy } from './case-study'
|
|
@@ -105,11 +106,7 @@ export interface CustomerInterview {
|
|
|
105
106
|
msp?: MSP // Customer's MSP data via user.msp_id
|
|
106
107
|
author?: UserProfile // Interview author
|
|
107
108
|
case_study?: CaseStudy // Linked case study
|
|
108
|
-
customer_interview_platforms?:
|
|
109
|
-
platform_id: string
|
|
110
|
-
is_featured: boolean
|
|
111
|
-
featured_order: number | null
|
|
112
|
-
}>
|
|
109
|
+
customer_interview_platforms?: EntityPlatformAssoc[]
|
|
113
110
|
}
|
|
114
111
|
|
|
115
112
|
export interface CreateCustomerInterviewData {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hydrated `entity_platforms` junction row — THE shape the hub's
|
|
3
|
+
* attachPlatformsToRows puts on every `<entity>_platforms[]` array
|
|
4
|
+
* (rows arrive featured-first with the platform record's fields spread on
|
|
5
|
+
* via PLATFORM_EMBED). One definition; the per-entity types
|
|
6
|
+
* (case_study_platforms / blog_post_platforms / customer_interview_platforms)
|
|
7
|
+
* all reference it so the shape can never drift per entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface EntityPlatformAssoc {
|
|
10
|
+
platform_id: string
|
|
11
|
+
is_featured: boolean
|
|
12
|
+
featured_order?: number | null
|
|
13
|
+
/** Platform name — spread from the platform record. Feeds platform-aware
|
|
14
|
+
* URL composition (composeContentUrlFromPlatforms) without casts. */
|
|
15
|
+
name?: string
|
|
16
|
+
display_name?: string
|
|
17
|
+
/** Alias some admin fetches add (e.g. getCaseStudyForAdmin). */
|
|
18
|
+
platform_name?: string
|
|
19
|
+
id?: string
|
|
20
|
+
created_at?: string
|
|
21
|
+
}
|
package/src/types/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './auth'
|
|
|
22
22
|
export * from './blog'
|
|
23
23
|
export * from './entity-author'
|
|
24
24
|
export * from './case-study'
|
|
25
|
+
export * from './entity-platform'
|
|
25
26
|
export * from './customer-interview'
|
|
26
27
|
export * from './customer-interview-ai.types'
|
|
27
28
|
export * from './luma'
|