init commit
This commit is contained in:
20
remotion/node_modules/@remotion/studio/dist/helpers/client-id.d.ts
generated
vendored
Normal file
20
remotion/node_modules/@remotion/studio/dist/helpers/client-id.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { EventSourceEvent } from '@remotion/studio-shared';
|
||||
import React from 'react';
|
||||
type PreviewServerState = {
|
||||
type: 'init';
|
||||
} | {
|
||||
type: 'connected';
|
||||
clientId: string;
|
||||
} | {
|
||||
type: 'disconnected';
|
||||
};
|
||||
type Context = {
|
||||
previewServerState: PreviewServerState;
|
||||
subscribeToEvent: (type: EventSourceEvent['type'], listener: (event: EventSourceEvent) => void) => () => void;
|
||||
};
|
||||
export declare const StudioServerConnectionCtx: React.Context<Context>;
|
||||
export declare const PreviewServerConnection: React.FC<{
|
||||
readonly children: React.ReactNode;
|
||||
readonly readOnlyStudio: boolean;
|
||||
}>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user