Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

dineug/vuerd-real-time-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuerd-real-time-sample

Real-time simultaneous editing sample

Start

$ npm i
$ npm start

interface ERDEngine

interface ERDEngine {
  value: string;
  initLoadJson(json: string): void;
  loadSQLDDL(sql: string): void;
  clear(): void;
  setUser(user: User): void;
  sharePull(effect: (commands: Array<Command<CommandType>>) => void): void;
  sharePush(commands: Array<Command<CommandType>>): void;
  getSQLDDL(database?: Database): string;
}
Name Type Describe
value String editor data
initLoadJson Function Do not record and save undo
loadSQLDDL Function import SQL DDL
clear Function editor data clear
setUser Function share user name
sharePull Function share pull
sharePush Function share push
getSQLDDL Function SQL DDL(MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, SQLite)

Flow

vuerd

About

Real-time simultaneous editing sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published