File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 54
54
"ts-node" : " ^10.9.2" ,
55
55
"typescript" : " ^5.4.5" ,
56
56
"vite" : " ^4.5.0" ,
57
- "vite-plugin-css-injected-by-js" : " ^3.3.0"
57
+ "vite-plugin-css-injected-by-js" : " ^3.3.0" ,
58
+ "vite-plugin-dts" : " ^3.9.1"
58
59
},
59
- "dependencies" : {}
60
+ "dependencies" : {
61
+ "@editorjs/editorjs" : " ^2.29.1"
62
+ }
60
63
}
Original file line number Diff line number Diff line change 1
1
/* eslint-disable no-useless-escape */
2
- export default {
2
+ import type { ServicesConfigType } from './serviceConfig' ;
3
+
4
+ const SERVICES : ServicesConfigType = {
3
5
vimeo : {
4
6
regex : / (?: h t t p [ s ] ? : \/ \/ ) ? (?: w w w .) ? (?: p l a y e r .) ? v i m e o \. c o (?: .+ \/ ( [ ^ \/ ] \d + ) (?: # t = [ \d ] + ) ? s ? $ ) / ,
5
7
embedUrl : 'https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0' ,
@@ -42,9 +44,9 @@ export default {
42
44
return null ;
43
45
}
44
46
45
- if ( value === 'LL'
46
- || value . startsWith ( 'RDMM' )
47
- || value . startsWith ( 'FL' ) ) {
47
+ if ( value === 'LL' ||
48
+ value . startsWith ( 'RDMM' ) ||
49
+ value . startsWith ( 'FL' ) ) {
48
50
return null ;
49
51
}
50
52
You can’t perform that action at this time.
0 commit comments