@ts-for-gir/lib 4.0.0-beta.37 → 4.0.0-beta.38

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.
Files changed (62) hide show
  1. package/package.json +4 -4
  2. package/src/types/answer-version.ts +2 -2
  3. package/src/types/any-introspected-type.ts +3 -1
  4. package/src/types/class-function-types.ts +41 -33
  5. package/src/types/class-parent.ts +11 -11
  6. package/src/types/class.ts +26 -28
  7. package/src/types/config-flags.ts +2 -2
  8. package/src/types/construct-name.ts +12 -12
  9. package/src/types/dependency-map.ts +2 -2
  10. package/src/types/dependency.ts +45 -45
  11. package/src/types/file-info.ts +12 -12
  12. package/src/types/format.ts +1 -1
  13. package/src/types/generator-constructor.ts +4 -4
  14. package/src/types/generics-config.ts +1 -1
  15. package/src/types/gir-any-element.ts +33 -33
  16. package/src/types/gir-module-interface.ts +5 -5
  17. package/src/types/gir-module-resolved.ts +1 -1
  18. package/src/types/gir-type-name.ts +17 -17
  19. package/src/types/index.ts +88 -90
  20. package/src/types/inheritance-table.ts +1 -1
  21. package/src/types/introspected.ts +8 -8
  22. package/src/types/local-name-check.ts +2 -2
  23. package/src/types/local-name-type.ts +1 -1
  24. package/src/types/local-name.ts +5 -5
  25. package/src/types/local-names.ts +2 -2
  26. package/src/types/metadata.ts +4 -4
  27. package/src/types/ns-loader.ts +2 -3
  28. package/src/types/options-base.ts +6 -6
  29. package/src/types/options-generation.ts +47 -47
  30. package/src/types/options-load.ts +3 -3
  31. package/src/types/options-transform.ts +2 -2
  32. package/src/types/output-format.ts +1 -1
  33. package/src/types/package-data-parsed.ts +26 -26
  34. package/src/types/package-data.ts +21 -21
  35. package/src/types/package-section-parsed.ts +6 -6
  36. package/src/types/parsed-gir.ts +2 -2
  37. package/src/types/parsed-package-data.ts +4 -4
  38. package/src/types/property-case.ts +1 -1
  39. package/src/types/resolve-type.ts +2 -2
  40. package/src/types/template-data.ts +5 -5
  41. package/src/types/template-options.ts +1 -1
  42. package/src/types/transformation-case.ts +8 -8
  43. package/src/types/transformations.ts +2 -2
  44. package/src/types/ts-doc-tag.ts +12 -12
  45. package/src/types/ts-doc.ts +9 -9
  46. package/src/types/type-gir-alias.ts +1 -1
  47. package/src/types/type-gir-class.ts +1 -1
  48. package/src/types/type-gir-element.ts +21 -21
  49. package/src/types/type-gir-enumeration-member.ts +1 -1
  50. package/src/types/type-gir-enumeration.ts +1 -1
  51. package/src/types/type-gir-function.ts +7 -7
  52. package/src/types/type-gir-interface.ts +1 -1
  53. package/src/types/type-gir-method.ts +1 -1
  54. package/src/types/type-gir-parameter.ts +1 -1
  55. package/src/types/type-gir-property.ts +1 -1
  56. package/src/types/type-gir-variable.ts +1 -1
  57. package/src/types/type-ts-element.ts +10 -10
  58. package/src/types/type-ts-enumeration-member.ts +1 -1
  59. package/src/types/type-ts-function.ts +1 -1
  60. package/src/types/type-ts-property.ts +1 -1
  61. package/src/types/user-config-load-result.ts +4 -4
  62. package/src/types/user-config.ts +53 -53
@@ -1,94 +1,92 @@
1
- export * from './answer-version.ts'
2
- export * from './any-introspected-type.ts'
3
- export * from './class-member.ts'
4
- export * from './class-parent.ts'
5
- export * from './class.ts'
6
- export * from './config-flags.ts'
7
- export * from './construct-name.ts'
8
- export * from './dependency-map.ts'
9
- export * from './dependency.ts'
10
- export * from './file-info.ts'
11
- export * from './format.ts'
12
- export * from './generator-constructor.ts'
13
- export * from './generics-config.ts'
14
- export * from './gir-module-interface.ts'
15
- export * from './gir-module-resolved.ts'
16
1
  // Re-export GIR types from parser (consolidated types)
17
2
  export type {
18
- GirAliasElement,
19
- GirAnnotation,
20
- GirBitfieldElement,
21
- GirCallableParamElement,
22
- GirCallableParams,
23
- GirCallableReturn,
24
- GirCallbackElement,
25
- GirClassElement,
26
- GirConstantElement,
27
- GirConstructorElement,
28
- GirEnumElement,
29
- GirFieldElement,
30
- GirFunctionElement,
31
- GirInterfaceElement,
32
- GirMemberElement,
33
- GirMethodElement,
34
- GirNamespace,
35
- GirPropertyElement,
36
- GirRecordElement,
37
- GirRepository,
38
- GirSignalElement,
39
- GirUnionElement,
40
- GirVirtualMethodElement,
41
- PartOfClass,
42
- PartOfModule,
43
- // Re-export base XML types that are still needed
44
-
45
- GirInstanceParameter,
46
- } from '@gi.ts/parser'
3
+ GirAliasElement,
4
+ GirAnnotation,
5
+ GirBitfieldElement,
6
+ GirCallableParamElement,
7
+ GirCallableParams,
8
+ GirCallableReturn,
9
+ GirCallbackElement,
10
+ GirClassElement,
11
+ GirConstantElement,
12
+ GirConstructorElement,
13
+ GirEnumElement,
14
+ GirFieldElement,
15
+ GirFunctionElement,
16
+ // Re-export base XML types that are still needed
47
17
 
18
+ GirInstanceParameter,
19
+ GirInterfaceElement,
20
+ GirMemberElement,
21
+ GirMethodElement,
22
+ GirNamespace,
23
+ GirPropertyElement,
24
+ GirRecordElement,
25
+ GirRepository,
26
+ GirSignalElement,
27
+ GirUnionElement,
28
+ GirVirtualMethodElement,
29
+ PartOfClass,
30
+ PartOfModule,
31
+ } from "@gi.ts/parser";
48
32
  // Export the actual GirModule class
49
- export { GirModule } from '../gir-module.ts'
50
-
51
- export * from './gir-any-element.ts'
52
- export * from './inheritance-table.ts'
53
- export * from './introspected.ts'
54
- export * from './local-name-check.ts'
55
- export * from './local-name-type.ts'
56
- export * from './local-name.ts'
57
- export * from './local-names.ts'
58
- export * from './metadata.ts'
59
- export * from './ns-loader.ts'
60
- export * from './options-base.ts'
61
- export * from './options-generation.ts'
62
- export * from './options-load.ts'
63
- export * from './options-transform.ts'
64
- export * from './output-format.ts'
65
- export * from './package-data-parsed.ts'
66
- export * from './package-data.ts'
67
- export * from './package-section-parsed.ts'
68
- export * from './parsed-gir.ts'
69
- export * from './parsed-package-data.ts'
70
- export * from './property-case.ts'
71
- export * from './resolve-type.ts'
72
- export * from './template-data.ts'
73
- export * from './template-options.ts'
74
- export * from './transformation-case.ts'
75
- export * from './transformations.ts'
76
- export * from './ts-doc-tag.ts'
77
- export * from './ts-doc.ts'
78
- export * from './type-gir-alias.ts'
79
- export * from './type-gir-class.ts'
80
- export * from './type-gir-element.ts'
81
- export * from './type-gir-enumeration.ts'
82
- export * from './type-gir-enumeration-member.ts'
83
- export * from './type-gir-function.ts'
84
- export * from './type-gir-interface.ts'
85
- export * from './type-gir-method.ts'
86
- export * from './type-gir-parameter.ts'
87
- export * from './type-gir-property.ts'
88
- export * from './type-gir-variable.ts'
89
- export * from './type-ts-element.ts'
90
- export * from './type-ts-enumeration-member.ts'
91
- export * from './type-ts-function.ts'
92
- export * from './type-ts-property.ts'
93
- export * from './user-config-load-result.ts'
94
- export * from './user-config.ts'
33
+ export { GirModule } from "../gir-module.ts";
34
+ export * from "./answer-version.ts";
35
+ export * from "./any-introspected-type.ts";
36
+ export * from "./class.ts";
37
+ export * from "./class-member.ts";
38
+ export * from "./class-parent.ts";
39
+ export * from "./config-flags.ts";
40
+ export * from "./construct-name.ts";
41
+ export * from "./dependency.ts";
42
+ export * from "./dependency-map.ts";
43
+ export * from "./file-info.ts";
44
+ export * from "./format.ts";
45
+ export * from "./generator-constructor.ts";
46
+ export * from "./generics-config.ts";
47
+ export * from "./gir-any-element.ts";
48
+ export * from "./gir-module-interface.ts";
49
+ export * from "./gir-module-resolved.ts";
50
+ export * from "./inheritance-table.ts";
51
+ export * from "./introspected.ts";
52
+ export * from "./local-name.ts";
53
+ export * from "./local-name-check.ts";
54
+ export * from "./local-name-type.ts";
55
+ export * from "./local-names.ts";
56
+ export * from "./metadata.ts";
57
+ export * from "./ns-loader.ts";
58
+ export * from "./options-base.ts";
59
+ export * from "./options-generation.ts";
60
+ export * from "./options-load.ts";
61
+ export * from "./options-transform.ts";
62
+ export * from "./output-format.ts";
63
+ export * from "./package-data.ts";
64
+ export * from "./package-data-parsed.ts";
65
+ export * from "./package-section-parsed.ts";
66
+ export * from "./parsed-gir.ts";
67
+ export * from "./parsed-package-data.ts";
68
+ export * from "./property-case.ts";
69
+ export * from "./resolve-type.ts";
70
+ export * from "./template-data.ts";
71
+ export * from "./template-options.ts";
72
+ export * from "./transformation-case.ts";
73
+ export * from "./transformations.ts";
74
+ export * from "./ts-doc.ts";
75
+ export * from "./ts-doc-tag.ts";
76
+ export * from "./type-gir-alias.ts";
77
+ export * from "./type-gir-class.ts";
78
+ export * from "./type-gir-element.ts";
79
+ export * from "./type-gir-enumeration.ts";
80
+ export * from "./type-gir-enumeration-member.ts";
81
+ export * from "./type-gir-function.ts";
82
+ export * from "./type-gir-interface.ts";
83
+ export * from "./type-gir-method.ts";
84
+ export * from "./type-gir-parameter.ts";
85
+ export * from "./type-gir-property.ts";
86
+ export * from "./type-gir-variable.ts";
87
+ export * from "./type-ts-element.ts";
88
+ export * from "./type-ts-enumeration-member.ts";
89
+ export * from "./type-ts-function.ts";
90
+ export * from "./type-ts-property.ts";
91
+ export * from "./user-config.ts";
92
+ export * from "./user-config-load-result.ts";
@@ -1,3 +1,3 @@
1
1
  export interface InheritanceTable {
2
- [name: string]: string[]
2
+ [name: string]: string[];
3
3
  }
@@ -1,18 +1,18 @@
1
1
  export interface IntrospectedMetadata {
2
- deprecated?: boolean;
3
- deprecatedVersion?: string;
4
- deprecatedDoc?: string;
5
- introducedVersion?: string;
2
+ deprecated?: boolean;
3
+ deprecatedVersion?: string;
4
+ deprecatedDoc?: string;
5
+ introducedVersion?: string;
6
6
  }
7
7
 
8
8
  export interface IntrospectedBaseOptions {
9
- isPrivate?: boolean;
10
- isIntrospectable?: boolean;
11
- doc?: string | null;
9
+ isPrivate?: boolean;
10
+ isIntrospectable?: boolean;
11
+ doc?: string | null;
12
12
  }
13
13
 
14
14
  export type IntrospectedOptions<T> = IntrospectedBaseOptions & T;
15
15
 
16
16
  // Aliases for backward compatibility
17
17
  export type BaseOptions = IntrospectedBaseOptions;
18
- export type Options<T> = IntrospectedOptions<T>;
18
+ export type Options<T> = IntrospectedOptions<T>;
@@ -1,5 +1,5 @@
1
- import type { LocalName } from './index.ts'
1
+ import type { LocalName } from "./index.ts";
2
2
 
3
3
  export interface LocalNameCheck extends LocalName {
4
- added: boolean
4
+ added: boolean;
5
5
  }
@@ -1 +1 @@
1
- export type LocalNameType = 'method' | 'property' | 'field'
1
+ export type LocalNameType = "method" | "property" | "field";
@@ -1,8 +1,8 @@
1
- import type { LocalNameType, GirMethodElement, GirPropertyElement, GirFieldElement } from './index.ts'
1
+ import type { GirFieldElement, GirMethodElement, GirPropertyElement, LocalNameType } from "./index.ts";
2
2
 
3
3
  export interface LocalName {
4
- type: LocalNameType
5
- method?: GirMethodElement
6
- property?: GirPropertyElement
7
- field?: GirFieldElement
4
+ type: LocalNameType;
5
+ method?: GirMethodElement;
6
+ property?: GirPropertyElement;
7
+ field?: GirFieldElement;
8
8
  }
@@ -1,5 +1,5 @@
1
- import type { LocalName } from './local-name.ts'
1
+ import type { LocalName } from "./local-name.ts";
2
2
 
3
3
  export interface LocalNames {
4
- [key: string]: LocalName
4
+ [key: string]: LocalName;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  export interface Metadata {
2
- name: string
3
- package_version: string
4
- api_version: string
5
- imports: { [lib: string]: string }
2
+ name: string;
3
+ package_version: string;
4
+ api_version: string;
5
+ imports: { [lib: string]: string };
6
6
  }
@@ -1,7 +1,6 @@
1
1
  import type { ParsedGir } from "./parsed-gir.ts";
2
2
 
3
-
4
3
  export interface NSLoader {
5
- load(namespace: string, version: string): ParsedGir | null;
6
- loadAll(namespace: string): ParsedGir[];
4
+ load(namespace: string, version: string): ParsedGir | null;
5
+ loadAll(namespace: string): ParsedGir[];
7
6
  }
@@ -1,8 +1,8 @@
1
1
  export interface OptionsBase {
2
- /** Switch on/off the verbose mode */
3
- verbose: boolean
4
- /** Enable generation problem reporter */
5
- reporter: boolean
6
- /** Output file path for the reporter */
7
- reporterOutput: string
2
+ /** Switch on/off the verbose mode */
3
+ verbose: boolean;
4
+ /** Enable generation problem reporter */
5
+ reporter: boolean;
6
+ /** Output file path for the reporter */
7
+ reporterOutput: string;
8
8
  }
@@ -1,53 +1,53 @@
1
- import type { OptionsBase } from './index.ts'
1
+ import type { OptionsBase } from "./index.ts";
2
2
 
3
3
  /**
4
4
  * Type for currently used config e.g. in GirModule
5
5
  */
6
6
  export interface OptionsGeneration extends OptionsBase {
7
- /** root / working directory of your project */
8
- root: string
9
- /** directory to output to */
10
- outdir: string | null
11
- /** GIR directories */
12
- girDirectories: string[]
13
- /** Do not export all symbols for each module as a namespace */
14
- noNamespace: boolean
15
- /** Do not generate documentation comments */
16
- noComments: boolean
17
- /** Generate promisified functions for async/finish calls */
18
- promisify: boolean
19
- /**
20
- * Scope of the generated NPM packages
21
- * @see https://docs.npmjs.com/cli/v7/using-npm/scope
22
- */
23
- npmScope: string
24
- /** Uses the workspace protocol for the generated packages which can be used with package managers like Yarn and PNPM */
25
- workspace: boolean
26
- /** Disable GLib.Variant class with string parsing */
27
- noAdvancedVariants: boolean
28
- /**
29
- * Only use the version prefix for the ambient module exports.
30
- * This is useful if, for whatever reason, you want to use different library versions of the same library in your project.
31
- *
32
- * @example
33
- * ```ts
34
- * declare module 'gi://Gtk?version=4.0' {...}
35
- * declare module 'gi://Gtk?version=3.0' {...}
36
- * ```
37
- */
38
- onlyVersionPrefix: boolean
39
- /** Disable pretty printing the output */
40
- noPrettyPrint: boolean
41
- /**
42
- * Generate the typescript types with package.json support
43
- */
44
- package: boolean
45
- /**
46
- * Enable generation problem reporter and create a detailed report file
47
- */
48
- reporter: boolean
49
- /**
50
- * Output file path for the reporter
51
- */
52
- reporterOutput: string
7
+ /** root / working directory of your project */
8
+ root: string;
9
+ /** directory to output to */
10
+ outdir: string | null;
11
+ /** GIR directories */
12
+ girDirectories: string[];
13
+ /** Do not export all symbols for each module as a namespace */
14
+ noNamespace: boolean;
15
+ /** Do not generate documentation comments */
16
+ noComments: boolean;
17
+ /** Generate promisified functions for async/finish calls */
18
+ promisify: boolean;
19
+ /**
20
+ * Scope of the generated NPM packages
21
+ * @see https://docs.npmjs.com/cli/v7/using-npm/scope
22
+ */
23
+ npmScope: string;
24
+ /** Uses the workspace protocol for the generated packages which can be used with package managers like Yarn and PNPM */
25
+ workspace: boolean;
26
+ /** Disable GLib.Variant class with string parsing */
27
+ noAdvancedVariants: boolean;
28
+ /**
29
+ * Only use the version prefix for the ambient module exports.
30
+ * This is useful if, for whatever reason, you want to use different library versions of the same library in your project.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * declare module 'gi://Gtk?version=4.0' {...}
35
+ * declare module 'gi://Gtk?version=3.0' {...}
36
+ * ```
37
+ */
38
+ onlyVersionPrefix: boolean;
39
+ /** Disable pretty printing the output */
40
+ noPrettyPrint: boolean;
41
+ /**
42
+ * Generate the typescript types with package.json support
43
+ */
44
+ package: boolean;
45
+ /**
46
+ * Enable generation problem reporter and create a detailed report file
47
+ */
48
+ reporter: boolean;
49
+ /**
50
+ * Output file path for the reporter
51
+ */
52
+ reporterOutput: string;
53
53
  }
@@ -1,6 +1,6 @@
1
- import type { OptionsBase, PropertyCase } from './index.ts'
1
+ import type { OptionsBase, PropertyCase } from "./index.ts";
2
2
 
3
3
  export interface OptionsLoad extends OptionsBase {
4
- loadDocs: boolean
5
- propertyCase: PropertyCase
4
+ loadDocs: boolean;
5
+ propertyCase: PropertyCase;
6
6
  }
@@ -1,5 +1,5 @@
1
- import type { OptionsBase } from './index.ts'
1
+ import type { OptionsBase } from "./index.ts";
2
2
 
3
3
  export interface OptionsTransform extends OptionsBase {
4
- inferGenerics: boolean
4
+ inferGenerics: boolean;
5
5
  }
@@ -1 +1 @@
1
- export type OutputFormat = 'file' | 'folder'
1
+ export type OutputFormat = "file" | "folder";
@@ -1,28 +1,28 @@
1
1
  export interface PackageDataParsed {
2
- /** Description of this package */
3
- _: string
4
- $: {
5
- /** Vala package name */
6
- name: string
7
- /** Vala build flags */
8
- flags?: string
9
- /** URL to the homepage of this package */
10
- home?: string
11
- /** URL to a gallery of widgets of this package */
12
- gallery?: string
13
- /** URL to the source code of this package */
14
- 'c-docs'?: string
15
- /** True if this package should be ignored*/
16
- ignore?: 'true' | 'false'
17
- /** True if this package is deprecated */
18
- deprecated?: 'true' | 'false'
19
- /** Gir package name with version string */
20
- gir?: string
21
- /** URL to the VAPI image sources of this package */
22
- 'vapi-image-source'?: string
23
- /** Name of the Maintainer of this package */
24
- maintainers?: string
25
- /** Name of the Maintainer of this package */
26
- maintainer?: string
27
- }
2
+ /** Description of this package */
3
+ _: string;
4
+ $: {
5
+ /** Vala package name */
6
+ name: string;
7
+ /** Vala build flags */
8
+ flags?: string;
9
+ /** URL to the homepage of this package */
10
+ home?: string;
11
+ /** URL to a gallery of widgets of this package */
12
+ gallery?: string;
13
+ /** URL to the source code of this package */
14
+ "c-docs"?: string;
15
+ /** True if this package should be ignored*/
16
+ ignore?: "true" | "false";
17
+ /** True if this package is deprecated */
18
+ deprecated?: "true" | "false";
19
+ /** Gir package name with version string */
20
+ gir?: string;
21
+ /** URL to the VAPI image sources of this package */
22
+ "vapi-image-source"?: string;
23
+ /** Name of the Maintainer of this package */
24
+ maintainers?: string;
25
+ /** Name of the Maintainer of this package */
26
+ maintainer?: string;
27
+ };
28
28
  }
@@ -1,24 +1,24 @@
1
- import type { PackageSectionParsed } from './index.ts'
1
+ import type { PackageSectionParsed } from "./index.ts";
2
2
 
3
3
  export interface PackageData {
4
- /** Namespace of this package, e.g. Gtk */
5
- namespace: string
6
- /** Version of this package, e.g. 4.0 */
7
- version: string
8
- /** Description of this package */
9
- description: string
10
- /** Gir package name with version string */
11
- gir?: string
12
- /** URL to the homepage of this package */
13
- home?: string
14
- /** URL to a gallery of widgets of this package */
15
- gallery?: string
16
- /** URL to the source code of this package */
17
- cDocs?: string
18
- /** True if this package is deprecated */
19
- deprecated?: boolean
20
- /** Name of the Maintainer of this package */
21
- maintainers?: string
22
- /** The section of this package */
23
- section?: PackageSectionParsed
4
+ /** Namespace of this package, e.g. Gtk */
5
+ namespace: string;
6
+ /** Version of this package, e.g. 4.0 */
7
+ version: string;
8
+ /** Description of this package */
9
+ description: string;
10
+ /** Gir package name with version string */
11
+ gir?: string;
12
+ /** URL to the homepage of this package */
13
+ home?: string;
14
+ /** URL to a gallery of widgets of this package */
15
+ gallery?: string;
16
+ /** URL to the source code of this package */
17
+ cDocs?: string;
18
+ /** True if this package is deprecated */
19
+ deprecated?: boolean;
20
+ /** Name of the Maintainer of this package */
21
+ maintainers?: string;
22
+ /** The section of this package */
23
+ section?: PackageSectionParsed;
24
24
  }
@@ -1,9 +1,9 @@
1
- import type { PackageDataParsed } from './index.ts'
1
+ import type { PackageDataParsed } from "./index.ts";
2
2
 
3
3
  export interface PackageSectionParsed {
4
- $: {
5
- name: string
6
- }
7
- package?: PackageDataParsed[]
8
- section?: PackageSectionParsed[]
4
+ $: {
5
+ name: string;
6
+ };
7
+ package?: PackageDataParsed[];
8
+ section?: PackageSectionParsed[];
9
9
  }
@@ -1,5 +1,5 @@
1
- import type { GirXML, GirRepository } from '@gi.ts/parser'
1
+ import type { GirRepository, GirXML } from "@gi.ts/parser";
2
2
 
3
3
  export interface ParsedGir extends GirXML {
4
- repository: GirRepository[]
4
+ repository: GirRepository[];
5
5
  }
@@ -1,7 +1,7 @@
1
- import type { PackageSectionParsed } from './index.ts'
1
+ import type { PackageSectionParsed } from "./index.ts";
2
2
 
3
3
  export interface ParsedPackageData {
4
- packages: {
5
- section: PackageSectionParsed[]
6
- }
4
+ packages: {
5
+ section: PackageSectionParsed[];
6
+ };
7
7
  }
@@ -1 +1 @@
1
- export type PropertyCase = 'both' | 'camel' | 'underscore'
1
+ export type PropertyCase = "both" | "camel" | "underscore";
@@ -1,4 +1,4 @@
1
1
  export enum ResolveType {
2
- DEPENDENCE,
3
- BY_HAND,
2
+ DEPENDENCE,
3
+ BY_HAND,
4
4
  }
@@ -1,8 +1,8 @@
1
- import type { Data } from 'ejs'
2
- import type { OptionsGeneration } from './options-generation.ts'
3
- import type { GirModule } from '../gir-module.ts'
1
+ import type { Data } from "ejs";
2
+ import type { GirModule } from "../gir-module.ts";
3
+ import type { OptionsGeneration } from "./options-generation.ts";
4
4
 
5
5
  export interface TemplateData extends Data, Partial<OptionsGeneration> {
6
- girModule?: GirModule
7
- importName?: string
6
+ girModule?: GirModule;
7
+ importName?: string;
8
8
  }
@@ -30,4 +30,4 @@ export interface TemplateFileResult {
30
30
  content: string;
31
31
  /** The output file path */
32
32
  outputPath: string;
33
- }
33
+ }
@@ -1,9 +1,9 @@
1
1
  export type TransformationCase =
2
- | 'original'
3
- | 'lowerCamelCase'
4
- | 'upperCamelCase'
5
- | 'upperCase'
6
- | 'lowerCase'
7
- | 'underscores'
8
- | 'snakeCase'
9
- | 'slugCase'
2
+ | "original"
3
+ | "lowerCamelCase"
4
+ | "upperCamelCase"
5
+ | "upperCase"
6
+ | "lowerCase"
7
+ | "underscores"
8
+ | "snakeCase"
9
+ | "slugCase";
@@ -1,5 +1,5 @@
1
- import type { TransformationCase } from './transformation-case.ts'
1
+ import type { TransformationCase } from "./transformation-case.ts";
2
2
 
3
3
  export interface Transformations {
4
- [type: string]: TransformationCase
4
+ [type: string]: TransformationCase;
5
5
  }