@cedarjs/auth-dbauth-setup 1.0.0-canary.12738 → 1.0.0-canary.12740

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.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,QAAkD,CAAA;AACtE,eAAO,MAAM,aAAa,QAGzB,CAAA;AAED,eAAO,MAAM,aAAa,yBAKzB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,MAAM,qBAe1C,CAAA;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAQ7C;AAED,wBAAgB,YAAY,YAuB3B;AAED,wBAAgB,qBAAqB,CAAC,mBAAmB,EAAE,OAAO;;;EAwBjE"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,QAAkD,CAAA;AACtE,eAAO,MAAM,aAAa,QAGzB,CAAA;AAED,eAAO,MAAM,aAAa,yBAMzB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,MAAM,qBAe1C,CAAA;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAQ7C;AAED,wBAAgB,YAAY,YAuB3B;AAED,wBAAgB,qBAAqB,CAAC,mBAAmB,EAAE,OAAO;;;EAwBjE"}
package/dist/shared.js CHANGED
@@ -25,7 +25,8 @@ const libPath = exports.libPath = (0, _cliHelpers.getPaths)().api.lib.replace((0
25
25
  const functionsPath = exports.functionsPath = (0, _cliHelpers.getPaths)().api.functions.replace((0, _cliHelpers.getPaths)().base, '');
26
26
  const getModelNames = async () => {
27
27
  var _context;
28
- const datamodel = await (0, _internals.getSchema)((0, _cliHelpers.getPaths)().api.dbSchema);
28
+ const result = await (0, _internals.getSchemaWithPath)((0, _cliHelpers.getPaths)().api.dbSchema);
29
+ const datamodel = result.schemas;
29
30
  const schema = await (0, _internals.getDMMF)({
30
31
  datamodel
31
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/auth-dbauth-setup",
3
- "version": "1.0.0-canary.12738+4c381c064",
3
+ "version": "1.0.0-canary.12740+f0a895812",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@babel/runtime-corejs3": "7.27.6",
28
- "@cedarjs/cli-helpers": "1.0.0-canary.12738",
29
- "@prisma/internals": "5.20.0",
28
+ "@cedarjs/cli-helpers": "1.0.0-canary.12740",
29
+ "@prisma/internals": "6.19.0",
30
30
  "@simplewebauthn/browser": "9.0.1",
31
31
  "core-js": "3.42.0",
32
32
  "prompts": "2.4.2",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "4c381c0641b9a187b66c7ddd200a03f7e8a4cd72"
46
+ "gitHead": "f0a895812c12da9685816504885c2e77968fc9c0"
47
47
  }