@univerjsdocsvariablesDoc Interceptor Point

@univerjs/docs v0.5.0-beta.1Docs


Variable: DOC_INTERCEPTOR_POINT

const DOC_INTERCEPTOR_POINT: {
  CUSTOM_DECORATION: IInterceptor<ICustomDecorationForInterceptor, {
     customDecorations: ICustomDecoration[];
     index: number;
     unitId: string;
    }>;
  CUSTOM_RANGE: IInterceptor<ICustomRangeForInterceptor, {
     customRanges: ICustomRange<Record<string, any>>[];
     index: number;
     unitId: string;
    }>;
};

Type declaration

NameTypeDefined in
CUSTOM_DECORATIONIInterceptor<ICustomDecorationForInterceptor, { customDecorations: ICustomDecoration[]; index: number; unitId: string; }>docs/src/services/doc-interceptor/interceptor-const.ts:25
CUSTOM_RANGEIInterceptor<ICustomRangeForInterceptor, { customRanges: ICustomRange<Record<string, any>>[]; index: number; unitId: string; }>docs/src/services/doc-interceptor/interceptor-const.ts:24

Defined in

docs/src/services/doc-interceptor/interceptor-const.ts:23