Skip to content

Commit 1ae3e4b

Browse files
committed
review import
1 parent ba5f7c4 commit 1ae3e4b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
module.exports = {
22
/**
3-
* @type {typeof import('./lib/woqlClient')}
3+
* @type {typeof import('./lib/woqlClient').WOQLClient}
44
*/
55
WOQLClient: require('./lib/woqlClient'),
66
/**
7-
* @type {typeof import('./lib/utils')}
7+
* @type {typeof import('./lib/utils').UTILS}
88
*/
99
UTILS: require('./lib/utils'),
1010
/**
11-
* @type {typeof import('./lib/woqlView')}
11+
* @type {typeof import('./lib/woqlView').View}
1212
*/
1313
View: require('./lib/viewer/woqlView'),
1414
/**
15-
* @type {typeof import('./lib/woql')}
15+
* @type {typeof import('./lib/woql').WOQL}
1616
*/
1717
WOQL: require('./lib/woql'),
1818
/**
19-
* @type {typeof import('./lib/viewer/woqlResult')}
19+
* @type {typeof import('./lib/viewer/woqlResult').WOQLResult}
2020
*/
2121
WOQLResult: require('./lib/viewer/woqlResult'),
2222
/**
23-
* @type {typeof import('./lib/viewer/woqlTable')}
23+
* @type {typeof import('./lib/viewer/woqlTable').WOQLTable}
2424
*/
2525
WOQLTable: require('./lib/viewer/woqlTable'),
2626
/**
27-
* @type {typeof import('./lib/viewer/woqlGraph')}
27+
* @type {typeof import('./lib/viewer/woqlGraph').WOQLGraph}
2828
*/
2929
WOQLGraph: require('./lib/viewer/woqlGraph'),
3030
/**
31-
* @type {typeof import('./lib/axiosInstance')}
31+
* @type {typeof import('./lib/axiosInstance').axiosInstance}
3232
*/
3333
axiosInstance: require('./lib/axiosInstance'),
3434
}

lib/typedef.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@
7979
/**
8080
* @typedef {"local"|"remote"} RepoType
8181
*/
82-
82+
//sharing is a boolean
8383
/**
8484
* @typedef {Object} DbDetails
8585
* @property {string} [organization] - the db organization id
8686
* @property {string} id - The database identification name
8787
* @property {string} label - "Textual DB Name"
8888
* @property {string} [comment] - "Text description of DB"
89-
* @property {string} sharing
89+
* @property {boolean} [public]
9090
* @property {string} [icon] - The database's icon
91-
* @property {object} prefixes - {scm: "http://url.to.use/for/scm", doc: "http://url.to.use/for/doc"}
91+
* @property {object} [prefixes] - {scm: "http://url.to.use/for/scm", doc: "http://url.to.use/for/doc"}
9292
* @property {boolean} [schema] - if set to true, a schema graph will be created
9393
*/
9494

0 commit comments

Comments
 (0)