@lilaquadrat/interfaces 1.0.1 → 1.0.2
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/CHANGELOG.md +2 -0
- package/helper.js +23 -24
- package/lib/cjs/index.d.ts +113 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,4 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.2](https://github.com/lilaquadrat/interfaces/compare/v1.0.1...v1.0.2) (2024-01-29)
|
|
6
|
+
|
|
5
7
|
### 1.0.1 (2024-01-29)
|
package/helper.js
CHANGED
|
@@ -12,33 +12,32 @@ if(target === 'cjs') {
|
|
|
12
12
|
fs.writeFileSync(`${distDir}/index.js`, '');
|
|
13
13
|
console.log(`index.js for ${target} created successfully.`);
|
|
14
14
|
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Read all files in the dist directory
|
|
18
|
+
fs.readdir(distDir, (err, files) => {
|
|
19
|
+
if (err) {
|
|
20
|
+
console.error('Error reading dist directory:', err);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Filter out only .d.ts files and exclude index.d.ts
|
|
25
|
+
const exports = files
|
|
26
|
+
.filter(file => file.endsWith('.d.ts') && file !== 'index.d.ts')
|
|
27
|
+
.map(file => {
|
|
28
|
+
// Assuming the structure is flat and files can be exported directly
|
|
29
|
+
const moduleName = file.replace('.d.ts', '');
|
|
30
|
+
return `export * from './${moduleName}';`;
|
|
31
|
+
});
|
|
16
32
|
|
|
17
|
-
//
|
|
18
|
-
fs.
|
|
33
|
+
// Write the index.d.ts file
|
|
34
|
+
fs.writeFile(outputPath, exports.join('\n'), (err) => {
|
|
19
35
|
if (err) {
|
|
20
|
-
console.error('Error
|
|
21
|
-
|
|
36
|
+
console.error('Error writing index.d.ts:', err);
|
|
37
|
+
} else {
|
|
38
|
+
console.log(`index.d.ts for ${target} created successfully.`);
|
|
22
39
|
}
|
|
23
|
-
|
|
24
|
-
// Filter out only .d.ts files and exclude index.d.ts
|
|
25
|
-
const exports = files
|
|
26
|
-
.filter(file => file.endsWith('.d.ts') && file !== 'index.d.ts')
|
|
27
|
-
.map(file => {
|
|
28
|
-
// Assuming the structure is flat and files can be exported directly
|
|
29
|
-
const moduleName = file.replace('.d.ts', '');
|
|
30
|
-
return `export * from './${moduleName}';`;
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
// Write the index.d.ts file
|
|
34
|
-
fs.writeFile(outputPath, exports.join('\n'), (err) => {
|
|
35
|
-
if (err) {
|
|
36
|
-
console.error('Error writing index.d.ts:', err);
|
|
37
|
-
} else {
|
|
38
|
-
console.log(`index.d.ts for ${target} created successfully.`);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
40
|
});
|
|
41
|
+
});
|
|
42
42
|
|
|
43
|
-
}
|
|
44
43
|
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export * from './Access';
|
|
2
|
+
export * from './Action';
|
|
3
|
+
export * from './AdditionalContentInformation';
|
|
4
|
+
export * from './Address';
|
|
5
|
+
export * from './Agreement';
|
|
6
|
+
export * from './AgreementResponse';
|
|
7
|
+
export * from './ApiResponses';
|
|
8
|
+
export * from './App';
|
|
9
|
+
export * from './AppFilter';
|
|
10
|
+
export * from './AppPermissions';
|
|
11
|
+
export * from './AvailableStorageTypes';
|
|
12
|
+
export * from './AvailableVariant';
|
|
13
|
+
export * from './BaseFilterOptions';
|
|
14
|
+
export * from './BasicData';
|
|
15
|
+
export * from './BasicDataDatabase';
|
|
16
|
+
export * from './CallResponse';
|
|
17
|
+
export * from './Certificate';
|
|
18
|
+
export * from './CertificateAction';
|
|
19
|
+
export * from './CertificateActionResult';
|
|
20
|
+
export * from './ChildData';
|
|
21
|
+
export * from './Command';
|
|
22
|
+
export * from './Company';
|
|
23
|
+
export * from './CompanyAttribute';
|
|
24
|
+
export * from './CompanyProject';
|
|
25
|
+
export * from './Content';
|
|
26
|
+
export * from './ContentWithPositions';
|
|
27
|
+
export * from './Contract';
|
|
28
|
+
export * from './CreateResult';
|
|
29
|
+
export * from './CustomerBase';
|
|
30
|
+
export * from './CustomerCompany';
|
|
31
|
+
export * from './CustomerPerson';
|
|
32
|
+
export * from './CustomerPersonWithAddress';
|
|
33
|
+
export * from './CustomerPersonWithEmail';
|
|
34
|
+
export * from './Customers';
|
|
35
|
+
export * from './CustomersModelActions';
|
|
36
|
+
export * from './DataObject';
|
|
37
|
+
export * from './DatabaseQuery';
|
|
38
|
+
export * from './DatabaseQueryOptions';
|
|
39
|
+
export * from './DatabaseQuerySites';
|
|
40
|
+
export * from './DesignModule';
|
|
41
|
+
export * from './Domain';
|
|
42
|
+
export * from './DomainConf';
|
|
43
|
+
export * from './DomainsList';
|
|
44
|
+
export * from './EditorActiveModule';
|
|
45
|
+
export * from './EditorBase';
|
|
46
|
+
export * from './EditorLegacy';
|
|
47
|
+
export * from './GenericData';
|
|
48
|
+
export * from './GenericDataWithContent';
|
|
49
|
+
export * from './History';
|
|
50
|
+
export * from './HistoryReason';
|
|
51
|
+
export * from './HistoryWithType';
|
|
52
|
+
export * from './HostindCommand';
|
|
53
|
+
export * from './Hosting';
|
|
54
|
+
export * from './HostingPorts';
|
|
55
|
+
export * from './HostingSettings';
|
|
56
|
+
export * from './HostingWithSettings';
|
|
57
|
+
export * from './HttpStatusCodes';
|
|
58
|
+
export * from './Id';
|
|
59
|
+
export * from './IdentifiersEntity';
|
|
60
|
+
export * from './List';
|
|
61
|
+
export * from './ListCategory';
|
|
62
|
+
export * from './ListCustomQueries';
|
|
63
|
+
export * from './ListOfModels';
|
|
64
|
+
export * from './ListParticipantWithUser';
|
|
65
|
+
export * from './ListParticipants';
|
|
66
|
+
export * from './ListParticipantsDetails';
|
|
67
|
+
export * from './Location';
|
|
68
|
+
export * from './Me';
|
|
69
|
+
export * from './Media';
|
|
70
|
+
export * from './MediaContentFiles';
|
|
71
|
+
export * from './MediaInfo';
|
|
72
|
+
export * from './MediaStats';
|
|
73
|
+
export * from './MediaViewInfo';
|
|
74
|
+
export * from './Model';
|
|
75
|
+
export * from './ModuleGeneric';
|
|
76
|
+
export * from './ModuleIndexOptions';
|
|
77
|
+
export * from './ModulePDFOptions';
|
|
78
|
+
export * from './ModuleSettings';
|
|
79
|
+
export * from './MulterFile';
|
|
80
|
+
export * from './Options';
|
|
81
|
+
export * from './Partner';
|
|
82
|
+
export * from './Permissions';
|
|
83
|
+
export * from './PermissionsWithScope';
|
|
84
|
+
export * from './Price';
|
|
85
|
+
export * from './Project';
|
|
86
|
+
export * from './ProjectDomain';
|
|
87
|
+
export * from './Publish';
|
|
88
|
+
export * from './PublishContentGroup';
|
|
89
|
+
export * from './PublishMethod';
|
|
90
|
+
export * from './PublishMethodFtp';
|
|
91
|
+
export * from './PublishMethodInternal';
|
|
92
|
+
export * from './PublishMethodPdf';
|
|
93
|
+
export * from './PublishMethodWebhook';
|
|
94
|
+
export * from './PublishResult';
|
|
95
|
+
export * from './PublishResultStatistics';
|
|
96
|
+
export * from './RenderContext';
|
|
97
|
+
export * from './Scope';
|
|
98
|
+
export * from './Secret';
|
|
99
|
+
export * from './Settings';
|
|
100
|
+
export * from './ShareClient';
|
|
101
|
+
export * from './ShareClientOptions';
|
|
102
|
+
export * from './SkipLimitSort';
|
|
103
|
+
export * from './StudioIframeMessage';
|
|
104
|
+
export * from './SystemDomain';
|
|
105
|
+
export * from './Tracker';
|
|
106
|
+
export * from './TrackerInput';
|
|
107
|
+
export * from './TrackerStatistics';
|
|
108
|
+
export * from './Universal';
|
|
109
|
+
export * from './UserApp';
|
|
110
|
+
export * from './UserAppOptionsRequired';
|
|
111
|
+
export * from './UserAppWithOptions';
|
|
112
|
+
export * from './VersionInfo';
|
|
113
|
+
export * from './WildcardCertificates';
|