@skmtc/core 0.0.340 → 0.0.341

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.
@@ -2,7 +2,7 @@ import type { GenerateContext } from '../../context/GenerateContext.js';
2
2
  import type { RefName } from '../../types/RefName.js';
3
3
  import type { ContentSettings } from '../ContentSettings.js';
4
4
  import { EntityType } from '../EntityType.js';
5
- import type { IsOperationSelectedArgs, ToOperationExportPathArgs, ToOperationNameArgs } from '../operation/OperationInsertable.js';
5
+ import type { IsModelSelectedArgs, ToModelExportPathArgs, ToModelNameArgs } from './ModelInsertable.js';
6
6
  export type ModelInsertableArgs = {
7
7
  context: GenerateContext;
8
8
  settings: ContentSettings;
@@ -11,9 +11,9 @@ export type ModelInsertableArgs = {
11
11
  type ToModelConfigArgs = {
12
12
  id: string;
13
13
  entityType?: EntityType;
14
- toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
15
- toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
16
- isSelected?: ({ operation, baseSettings }: IsOperationSelectedArgs) => boolean;
14
+ toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
15
+ toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
16
+ isSelected?: ({ refName, baseSettings }: IsModelSelectedArgs) => boolean;
17
17
  };
18
18
  export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isSelected }: ToModelConfigArgs) => {
19
19
  ModelInsertable: {
@@ -29,9 +29,9 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
29
29
  id: string;
30
30
  type: string;
31
31
  entityType: EntityType;
32
- toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
33
- toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
34
- isSelected: (({ operation, baseSettings }: IsOperationSelectedArgs) => boolean) | undefined;
32
+ toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
33
+ toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
34
+ isSelected: (({ refName, baseSettings }: IsModelSelectedArgs) => boolean) | undefined;
35
35
  pinnable: boolean;
36
36
  };
37
37
  ModelGenerator: {
@@ -1 +1 @@
1
- {"version":3,"file":"toModelConfig.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,qCAAqC,CAAA;AAG5C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,MAAM,CAAA;IACpE,YAAY,EAAE,CAAC,EACb,SAAS,EACT,YAAY,EACb,EAAE,yBAAyB,KAAK,MAAM,CAAA;IACvC,UAAU,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,uBAAuB,KAAK,OAAO,CAAA;CAC/E,CAAA;AAED,eAAO,MAAM,aAAa,yDAMvB,iBAAiB;;mBAUE,mBAAmB;;;;;;;;;;;;8CAxBD,mBAAmB,KAAK,MAAM;oDAIjE,yBAAyB,KAAK,MAAM;mDACI,uBAAuB,KAAK,OAAO;;;;sBAmCvD,eAAe;;;;;;;CAMvC,CAAA"}
1
+ {"version":3,"file":"toModelConfig.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,KAAK,EACV,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAA;AAG7B,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,eAAe,KAAK,MAAM,CAAA;IAC9D,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,qBAAqB,KAAK,MAAM,CAAA;IAC1E,UAAU,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;CACzE,CAAA;AAED,eAAO,MAAM,aAAa,yDAMvB,iBAAiB;;mBAUE,mBAAmB;;;;;;;;;;;;4CArBH,eAAe,KAAK,MAAM;kDACpB,qBAAqB,KAAK,MAAM;iDACjC,mBAAmB,KAAK,OAAO;;;;sBAmCjD,eAAe;;;;;;;CAMvC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.340",
3
+ "version": "0.0.341",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -2,7 +2,7 @@ import type { GenerateContext } from '../../context/GenerateContext.js';
2
2
  import type { RefName } from '../../types/RefName.js';
3
3
  import type { ContentSettings } from '../ContentSettings.js';
4
4
  import { EntityType } from '../EntityType.js';
5
- import type { IsOperationSelectedArgs, ToOperationExportPathArgs, ToOperationNameArgs } from '../operation/OperationInsertable.js';
5
+ import type { IsModelSelectedArgs, ToModelExportPathArgs, ToModelNameArgs } from './ModelInsertable.js';
6
6
  export type ModelInsertableArgs = {
7
7
  context: GenerateContext;
8
8
  settings: ContentSettings;
@@ -11,9 +11,9 @@ export type ModelInsertableArgs = {
11
11
  type ToModelConfigArgs = {
12
12
  id: string;
13
13
  entityType?: EntityType;
14
- toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
15
- toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
16
- isSelected?: ({ operation, baseSettings }: IsOperationSelectedArgs) => boolean;
14
+ toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
15
+ toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
16
+ isSelected?: ({ refName, baseSettings }: IsModelSelectedArgs) => boolean;
17
17
  };
18
18
  export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isSelected }: ToModelConfigArgs) => {
19
19
  ModelInsertable: {
@@ -29,9 +29,9 @@ export declare const toModelConfig: ({ id, entityType, toName, toExportPath, isS
29
29
  id: string;
30
30
  type: string;
31
31
  entityType: EntityType;
32
- toName: ({ operation, baseSettings }: ToOperationNameArgs) => string;
33
- toExportPath: ({ operation, baseSettings }: ToOperationExportPathArgs) => string;
34
- isSelected: (({ operation, baseSettings }: IsOperationSelectedArgs) => boolean) | undefined;
32
+ toName: ({ refName, baseSettings }: ToModelNameArgs) => string;
33
+ toExportPath: ({ refName, baseSettings }: ToModelExportPathArgs) => string;
34
+ isSelected: (({ refName, baseSettings }: IsModelSelectedArgs) => boolean) | undefined;
35
35
  pinnable: boolean;
36
36
  };
37
37
  ModelGenerator: {
@@ -1 +1 @@
1
- {"version":3,"file":"toModelConfig.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,qCAAqC,CAAA;AAG5C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,MAAM,CAAA;IACpE,YAAY,EAAE,CAAC,EACb,SAAS,EACT,YAAY,EACb,EAAE,yBAAyB,KAAK,MAAM,CAAA;IACvC,UAAU,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,uBAAuB,KAAK,OAAO,CAAA;CAC/E,CAAA;AAED,eAAO,MAAM,aAAa,yDAMvB,iBAAiB;;mBAUE,mBAAmB;;;;;;;;;;;;8CAxBD,mBAAmB,KAAK,MAAM;oDAIjE,yBAAyB,KAAK,MAAM;mDACI,uBAAuB,KAAK,OAAO;;;;sBAmCvD,eAAe;;;;;;;CAMvC,CAAA"}
1
+ {"version":3,"file":"toModelConfig.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCA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