mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-06 15:30:30 +08:00
feat(connection-axios-http): Generate type.js from import.
This commit is contained in:
parent
c4900b496d
commit
d6c1cf7767
@ -1,3 +1,4 @@
|
||||
/* eslint-disable import/namespace */
|
||||
/*
|
||||
Copyright 2020-2021 Lowdefy, Inc
|
||||
|
||||
@ -14,7 +15,16 @@
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import * as connections from './connections.js';
|
||||
|
||||
export default {
|
||||
connections: ['AxiosHttp'],
|
||||
requests: ['AxiosHttp'],
|
||||
connections: Object.keys(connections),
|
||||
requests: Object.keys(connections)
|
||||
.map((connection) => Object.keys(connections[connection].requests))
|
||||
.flat(),
|
||||
};
|
||||
|
||||
// export default {
|
||||
// connections: ['AxiosHttp'],
|
||||
// requests: ['AxiosHttp'],
|
||||
// };
|
||||
|
Loading…
x
Reference in New Issue
Block a user