@ai0x0/utils 0.0.2 → 0.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.
@@ -81,7 +81,7 @@ export var createPostOperation = function createPostOperation(_ref) {
81
81
  db: db,
82
82
  table: table
83
83
  })(_objectSpread(_objectSpread({}, body), {}, {
84
- editorId: userId
84
+ creatorId: userId
85
85
  }));
86
86
  case 20:
87
87
  _yield$postActionFn = _context.sent;
@@ -62,7 +62,7 @@ var createPostOperation = ({
62
62
  );
63
63
  const [data] = await (0, import_actions.postActionFn)({ bodySchema, db, table })({
64
64
  ...body,
65
- editorId: userId
65
+ creatorId: userId
66
66
  });
67
67
  return import_next_rest_framework.TypedNextResponse.json(data, { status: 200 });
68
68
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai0x0/utils",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "AI0x0 utils",
5
5
  "keywords": [
6
6
  "ai0x0"
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "*.{ts,tsx,js}": [
42
42
  "eslint",
43
- "bash -c tsc -p tsconfig.check.json"
43
+ "tsc -p tsconfig.check.json"
44
44
  ]
45
45
  },
46
46
  "dependencies": {