@@ -22,80 +22,82 @@ interface Store {
2222}
2323
2424const storeExtensions = [
25- {
26- name : 'atest-store-git' ,
27- params : [ {
28- key : 'insecure'
29- } , {
30- key : 'timeout'
31- } , {
32- key : 'targetpath'
33- } , {
34- key : 'branch'
35- } , {
36- key : 'email' ,
37- description :
'See also: git config --local user.email [email protected] ' 38- } , {
39- key : 'name' ,
40- description : 'See also: git config --local user.name xxx'
41- } ] ,
42- link : 'https://github.com/LinuxSuRen/atest-ext-store-git'
43- } ,
44- {
45- name : 'atest-store-s3' ,
46- params : [ {
47- key : 'accesskeyid'
48- } , {
49- key : 'secretaccesskey'
50- } , {
51- key : 'sessiontoken'
52- } , {
53- key : 'region'
54- } , {
55- key : 'disablessl'
56- } , {
57- key : 'forcepathstyle'
58- } , {
59- key : 'bucket'
60- } ] ,
61- link : 'https://github.com/LinuxSuRen/atest-ext-store-s3'
62- } ,
63- {
64- name : 'atest-store-orm' ,
65- params : [ {
66- key : 'driver' ,
67- defaultValue : 'mysql' ,
68- description : 'Supported: mysql, postgres, sqlite'
69- } , {
70- key : 'database' ,
71- defaultValue : 'atest'
72- } , {
73- key : 'historyLimit' ,
74- defaultValue : '' ,
75- description : 'Set the limit of the history record count'
76- } ] ,
77- link : 'https://github.com/LinuxSuRen/atest-ext-store-orm'
78- } ,
79- {
80- name : 'atest-store-etcd' ,
81- params : [ ] ,
82- link : 'https://github.com/LinuxSuRen/atest-ext-store-etcd'
83- } ,
25+ {
26+ name : 'atest-store-git' ,
27+ params : [ {
28+ key : 'insecure'
29+ } , {
30+ key : 'timeout'
31+ } , {
32+ key : 'targetpath'
33+ } , {
34+ key : 'branch'
35+ } , {
36+ key : 'email' ,
37+ description :
'See also: git config --local user.email [email protected] ' 38+ } , {
39+ key : 'name' ,
40+ description : 'See also: git config --local user.name xxx'
41+ } ] ,
42+ link : 'https://github.com/LinuxSuRen/atest-ext-store-git'
43+ } ,
44+ {
45+ name : 'atest-store-s3' ,
46+ params : [ {
47+ key : 'accesskeyid'
48+ } , {
49+ key : 'secretaccesskey'
50+ } , {
51+ key : 'sessiontoken'
52+ } , {
53+ key : 'region'
54+ } , {
55+ key : 'disablessl'
56+ } , {
57+ key : 'forcepathstyle'
58+ } , {
59+ key : 'bucket'
60+ } ] ,
61+ link : 'https://github.com/LinuxSuRen/atest-ext-store-s3'
62+ } ,
63+ {
64+ name : 'atest-store-orm' ,
65+ params : [ {
66+ key : 'driver' ,
67+ defaultValue : 'mysql' ,
68+ enum : [ 'mysql' , 'postgres' , 'sqlite' , 'tdengine' ] ,
69+ description : 'Supported: mysql, postgres, sqlite, tdengine'
70+ } , {
71+ key : 'database' ,
72+ defaultValue : 'atest'
73+ } , {
74+ key : 'historyLimit' ,
75+ defaultValue : '' ,
76+ // type: 'number',
77+ description : 'Set the limit of the history record count'
78+ } ] ,
79+ link : 'https://github.com/LinuxSuRen/atest-ext-store-orm'
80+ } ,
81+ {
82+ name : 'atest-store-etcd' ,
83+ params : [ ] ,
84+ link : 'https://github.com/LinuxSuRen/atest-ext-store-etcd'
85+ } ,
8486 {
8587 name : 'atest-store-redis' ,
8688 params : [ ] ,
8789 link : 'https://github.com/LinuxSuRen/atest-ext-store-redis'
8890 } ,
89- {
90- name : 'atest-store-mongodb' ,
91- params : [ {
92- key : 'collection'
93- } , {
94- key : 'database' ,
95- defaultValue : 'atest'
96- } ] ,
97- link : 'https://github.com/LinuxSuRen/atest-ext-store-mongodb'
98- }
91+ {
92+ name : 'atest-store-mongodb' ,
93+ params : [ {
94+ key : 'collection'
95+ } , {
96+ key : 'database' ,
97+ defaultValue : 'atest'
98+ } ] ,
99+ link : 'https://github.com/LinuxSuRen/atest-ext-store-mongodb'
100+ }
99101] as Store [ ]
100102
101103export function SupportedExtensions ( ) {
0 commit comments