@hocuspocus/transformer
Advanced tools
Comparing version 2.12.1-rc.0 to 2.12.2-rc.0
import type { AbstractType, YArrayEvent } from 'yjs'; | ||
import * as Y from 'yjs'; | ||
import { HocuspocusProvider, HocuspocusProviderConfiguration } from './HocuspocusProvider.js'; | ||
import { TiptapCollabProviderWebsocket } from './TiptapCollabProviderWebsocket.js'; | ||
import type { TCollabComment, TCollabThread, THistoryVersion } from './types.js'; | ||
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'baseUrl'>>); | ||
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'baseUrl'>>) & Pick<AdditionalTiptapCollabProviderConfiguration, 'user'>; | ||
export interface AdditionalTiptapCollabProviderConfiguration { | ||
@@ -16,5 +17,7 @@ /** | ||
websocketProvider?: TiptapCollabProviderWebsocket; | ||
user?: string; | ||
} | ||
export declare class TiptapCollabProvider extends HocuspocusProvider { | ||
tiptapCollabConfigurationPrefix: string; | ||
userData?: Y.PermanentUserData; | ||
constructor(configuration: TiptapCollabProviderConfiguration); | ||
@@ -21,0 +24,0 @@ /** |
{ | ||
"name": "@hocuspocus/transformer", | ||
"version": "2.12.1-rc.0", | ||
"version": "2.12.2-rc.0", | ||
"description": "hocuspocus transformation utilities", | ||
@@ -5,0 +5,0 @@ "homepage": "https://hocuspocus.dev", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
697459
7259