@hocuspocus/transformer
Advanced tools
Comparing version 2.9.0 to 2.9.1-rc.0
import type { AbstractType, YArrayEvent } from 'yjs'; | ||
import { HocuspocusProvider, HocuspocusProviderConfiguration } from './HocuspocusProvider.js'; | ||
import { TiptapCollabProviderWebsocket } from './TiptapCollabProviderWebsocket.js'; | ||
import type { THistoryVersion } from './types'; | ||
export type TiptapCollabProviderConfiguration = Required<Pick<HocuspocusProviderConfiguration, 'name'>> & Partial<HocuspocusProviderConfiguration> & (Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'websocketProvider'>> | Required<Pick<AdditionalTiptapCollabProviderConfiguration, 'appId'>>); | ||
import type { 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 interface AdditionalTiptapCollabProviderConfiguration { | ||
@@ -11,2 +11,6 @@ /** | ||
appId?: string; | ||
/** | ||
* If you are using the on-premise version of TiptapCollab, put your baseUrl here (e.g. https://collab.yourdomain.com) | ||
*/ | ||
baseUrl?: string; | ||
websocketProvider?: TiptapCollabProviderWebsocket; | ||
@@ -13,0 +17,0 @@ } |
@@ -7,3 +7,7 @@ import { CompleteHocuspocusProviderWebsocketConfiguration, HocuspocusProviderWebsocket } from './HocuspocusProviderWebsocket.js'; | ||
*/ | ||
appId: string; | ||
appId?: string; | ||
/** | ||
* If you are using the on-premise version of TiptapCollab, put your baseUrl here (e.g. https://collab.yourdomain.com) | ||
*/ | ||
baseUrl?: string; | ||
} | ||
@@ -10,0 +14,0 @@ export declare class TiptapCollabProviderWebsocket extends HocuspocusProviderWebsocket { |
/// <reference types="node" /> | ||
import { IncomingMessage } from 'http'; | ||
import WebSocket, { AddressInfo } from 'ws'; | ||
import { Server as HocuspocusServer } from './Server'; | ||
import { Server as HocuspocusServer } from './Server.js'; | ||
import { Debugger } from './Debugger.js'; | ||
@@ -6,0 +6,0 @@ import { DirectConnection } from './DirectConnection.js'; |
/// <reference types="node" /> | ||
import { IncomingMessage, Server as HTTPServer, ServerResponse } from 'http'; | ||
import { WebSocketServer } from 'ws'; | ||
import { Hocuspocus } from './Hocuspocus'; | ||
import { Hocuspocus } from './Hocuspocus.js'; | ||
export declare class Server { | ||
@@ -6,0 +6,0 @@ httpServer: HTTPServer; |
{ | ||
"name": "@hocuspocus/transformer", | ||
"version": "2.9.0", | ||
"version": "2.9.1-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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
695214
7212
1