@abyss-project/form 1.0.2 → 1.0.3

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.
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.updateUserAdmin = exports.paginateUserAdmin = exports.resetApiKeyUserAdmin = exports.getUserAdmin = void 0;
4
4
  const __1 = require("..");
5
5
  const getUserAdmin = async (params) => {
6
- return (await __1.AbyssFormCore.axios.get(`user/admin/${params.userId}`))
7
- .data;
6
+ return (await __1.AbyssFormCore.axios.get(`user/admin/${params.userId}`)).data;
8
7
  };
9
8
  exports.getUserAdmin = getUserAdmin;
10
9
  const resetApiKeyUserAdmin = async (params) => {
@@ -1,5 +1,5 @@
1
1
  export declare enum FormStatus {
2
- WORK_IN_PROGRESS = "WORK_IN_PROGRESS",
2
+ DRAFT = "DRAFT",
3
3
  PUBLISHED = "PUBLISHED",
4
4
  PUBLISHED_PUBLIC = "PUBLISHED_PUBLIC"
5
5
  }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FormStatus = void 0;
4
4
  var FormStatus;
5
5
  (function (FormStatus) {
6
- FormStatus["WORK_IN_PROGRESS"] = "WORK_IN_PROGRESS";
6
+ FormStatus["DRAFT"] = "DRAFT";
7
7
  FormStatus["PUBLISHED"] = "PUBLISHED";
8
8
  FormStatus["PUBLISHED_PUBLIC"] = "PUBLISHED_PUBLIC";
9
9
  })(FormStatus || (exports.FormStatus = FormStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/form",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Core package to interact with AbyssForm",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",