@solidstarters/solid-core 1.2.86 → 1.2.87

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidstarters/solid-core",
3
- "version": "1.2.86",
3
+ "version": "1.2.87",
4
4
  "description": "This module is a NestJS module containing all the required core providers required by a Solid application",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -7624,7 +7624,7 @@
7624
7624
  "type": "field",
7625
7625
  "attrs": {
7626
7626
  "name": "permissions",
7627
- "widget": "inputSwitch",
7627
+ "editWidget": "inputSwitch",
7628
7628
  "showLabel": false
7629
7629
  }
7630
7630
  }
@@ -62,7 +62,7 @@ export class SecurityRuleSubscriber implements EntitySubscriberInterface<Securit
62
62
  if (metaData.securityRules) {
63
63
  const securityRuleIndex = metaData.securityRules?.findIndex((ruleFromFile: { name: string }) => ruleFromFile.name === securityRule.name);
64
64
  const {id, roleId, modelMetadataId, ...requiredDto} = await this.securityRuleRepo.toDto(securityRule)
65
- metaData.securityRules[securityRuleIndex] = {requiredDto, securityRuleConfig: JSON.parse(securityRule.securityRuleConfig)}
65
+ metaData.securityRules[securityRuleIndex] = {...requiredDto, securityRuleConfig: JSON.parse(securityRule.securityRuleConfig)}
66
66
  }
67
67
  else {
68
68
  const securityRules = []