rhythia-api 55.0.0 → 56.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +2 -2
- package/package.json +1 -1
- package/scripts/update.ts +1 -1
package/index.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { handleApi } from "./handleApi"
|
|
|
2
2
|
|
|
3
3
|
// ./api/createUser.ts API
|
|
4
4
|
import { Schema as CreateUser } from "./api/createUser"
|
|
5
|
-
export { Schema as
|
|
5
|
+
export { Schema as SchemaCreateUser } from "./api/createUser"
|
|
6
6
|
export const createUser = handleApi(CreateUser)
|
|
7
7
|
|
|
8
8
|
// ./api/editUser.ts API
|
|
9
9
|
import { Schema as EditUser } from "./api/editUser"
|
|
10
|
-
export { Schema as
|
|
10
|
+
export { Schema as SchemaEditUser } from "./api/editUser"
|
|
11
11
|
export const editUser = handleApi(EditUser)
|
|
12
12
|
export { handleApi } from "./handleApi"
|
package/package.json
CHANGED
package/scripts/update.ts
CHANGED
|
@@ -31,7 +31,7 @@ for (const api of apis) {
|
|
|
31
31
|
`import { Schema as ${upperFirst(apiName)} } from "./api/${apiName}"`
|
|
32
32
|
);
|
|
33
33
|
exports.push(
|
|
34
|
-
`export { Schema as ${upperFirst(apiName)} } from "./api/${apiName}"`
|
|
34
|
+
`export { Schema as Schema${upperFirst(apiName)} } from "./api/${apiName}"`
|
|
35
35
|
);
|
|
36
36
|
|
|
37
37
|
exports.push(
|