MCPcopy
hub / github.com/GitbookIO/gitbook / ContentKitSecurity

Interface ContentKitSecurity

packages/react-contentkit/src/context.ts:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 * Security restrictions for elements.
6 */
7export interface ContentKitSecurity {
8 /**
9 * Domains allowed for webframe communication.
10 * These domains will be allowed to send messages to ContentKit,
11 * and receive messages from ContentKit.
12 */
13 firstPartyDomains: string[];
14}
15
16export type ContentKitRenderUpdate = Partial<
17 Pick<RequestRenderIntegrationUI, 'action' | 'props' | 'state'>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected