@carbonorm/carbonnode 3.3.3 → 3.3.4

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.
@@ -153,7 +153,9 @@ export type C6RestfulModel<RestShortTableName extends string, RestTableInterface
153
153
  TABLE_REFERENCED_BY: {
154
154
  [columnName: string]: iConstraint[];
155
155
  };
156
- };
156
+ } & Required<{
157
+ [K in keyof RestTableInterface as Uppercase<string & K>]: string;
158
+ }>;
157
159
  export type iRestReactiveLifecycle<G extends OrmGenerics> = {
158
160
  beforeProcessing?: {
159
161
  [key: string]: (args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonnode",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "browser": "dist/index.umd.js",
5
5
  "exports": {
6
6
  ".": {
@@ -45,8 +45,7 @@ const {{TABLE_NAME_SHORT}}:
45
45
  '{{TABLE_NAME_SHORT}}',
46
46
  i{{TABLE_NAME_SHORT_PASCAL_CASE}},
47
47
  {{TABLE_NAME_SHORT_PASCAL_CASE}}PrimaryKeys
48
- >
49
- & { [K in keyof i{{TABLE_NAME_SHORT_PASCAL_CASE}} as Uppercase<string & K>]: string } = {
48
+ > = {
50
49
  TABLE_NAME: '{{TABLE_NAME}}',
51
50
  {{#each COLUMNS_UPPERCASE}}
52
51
  {{@key}}: '{{this}}',
@@ -190,7 +190,7 @@ export type C6RestfulModel<
190
190
  LIFECYCLE_HOOKS: iRestHooks<OrmGenerics<any, RestShortTableName, RestTableInterface, PrimaryKey>>;
191
191
  TABLE_REFERENCES: { [columnName: string]: iConstraint[] };
192
192
  TABLE_REFERENCED_BY: { [columnName: string]: iConstraint[] };
193
- }
193
+ } & Required<{ [K in keyof RestTableInterface as Uppercase<string & K>]: string }>
194
194
 
195
195
  export type iRestReactiveLifecycle<G extends OrmGenerics> = {
196
196
  beforeProcessing?: {