mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-01 17:16:11 +08:00
remove rxdb rxjs
This commit is contained in:
0
src/plugins/rxdb/index.ts
Normal file
0
src/plugins/rxdb/index.ts
Normal file
41
src/plugins/rxdb/schema.ts
Normal file
41
src/plugins/rxdb/schema.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
const videoSchema = {
|
||||
version: 0,
|
||||
type: 'object',
|
||||
properties: {
|
||||
name: {
|
||||
type: 'string'
|
||||
},
|
||||
type: {
|
||||
type: 'string'
|
||||
},
|
||||
time: {
|
||||
type: 'string'
|
||||
},
|
||||
detail: {
|
||||
type: 'string',
|
||||
primary: true
|
||||
},
|
||||
urls: {
|
||||
type: 'array'
|
||||
},
|
||||
index: {
|
||||
type: 'number'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const settingSchema = {
|
||||
version: 0,
|
||||
type: 'object',
|
||||
properties: {
|
||||
theme: {
|
||||
type: 'string',
|
||||
default: 'light'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
videoSchema,
|
||||
settingSchema
|
||||
}
|
||||
Reference in New Issue
Block a user