Skip to content

Commit 9a538d2

Browse files
committed
refactor(): cleanup models
1 parent 7422b59 commit 9a538d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+9
-3289
lines changed

packages/shared/angular-ast-utils/tsconfig.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@
44
"include": [],
55
"references": [
66
{
7-
"path": "../utils"
8-
},
9-
{
10-
"path": "../styles-ast-utils"
7+
"path": "../typescript-ast-utils"
118
},
129
{
13-
"path": "../typescript-ast-utils"
10+
"path": "../utils"
1411
},
1512
{
16-
"path": "../models"
13+
"path": "../styles-ast-utils"
1714
},
1815
{
1916
"path": "./tsconfig.lib.json"

packages/shared/angular-ast-utils/tsconfig.lib.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@
1212
"include": ["src/**/*.ts"],
1313
"references": [
1414
{
15-
"path": "../utils/tsconfig.lib.json"
16-
},
17-
{
18-
"path": "../styles-ast-utils/tsconfig.lib.json"
15+
"path": "../typescript-ast-utils/tsconfig.lib.json"
1916
},
2017
{
21-
"path": "../typescript-ast-utils/tsconfig.lib.json"
18+
"path": "../utils/tsconfig.lib.json"
2219
},
2320
{
24-
"path": "../models/tsconfig.lib.json"
21+
"path": "../styles-ast-utils/tsconfig.lib.json"
2522
}
2623
],
2724
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
Lines changed: 2 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,8 @@
1-
export {
2-
tableCellValueSchema,
3-
type TableCellValue,
4-
} from './lib/implementation/schemas.js';
5-
export {
6-
sourceFileLocationSchema,
7-
type SourceFileLocation,
8-
} from './lib/source.js';
1+
export type { CliArgsObject, ArgumentValue } from './lib/cli.js';
92

10-
export {
11-
auditDetailsSchema,
12-
auditOutputSchema,
13-
auditOutputsSchema,
14-
type AuditDetails,
15-
type AuditOutput,
16-
type AuditOutputs,
17-
} from './lib/audit-output.js';
18-
export { auditSchema, type Audit } from './lib/audit.js';
19-
export {
20-
categoryConfigSchema,
21-
categoryRefSchema,
22-
type CategoryConfig,
23-
type CategoryRef,
24-
} from './lib/category-config.js';
25-
export { commitSchema, type Commit } from './lib/commit.js';
26-
export { coreConfigSchema, type CoreConfig } from './lib/core-config.js';
27-
export {
28-
groupRefSchema,
29-
groupSchema,
30-
type Group,
31-
type GroupMeta,
32-
type GroupRef,
33-
} from './lib/group.js';
34-
export {
35-
CONFIG_FILE_NAME,
36-
SUPPORTED_CONFIG_FILE_FORMATS,
37-
} from './lib/implementation/configuration.js';
38-
export {
39-
DEFAULT_PERSIST_FILENAME,
40-
DEFAULT_PERSIST_FORMAT,
41-
DEFAULT_PERSIST_OUTPUT_DIR,
42-
} from './lib/implementation/constants.js';
43-
export {
44-
MAX_DESCRIPTION_LENGTH,
45-
MAX_ISSUE_MESSAGE_LENGTH,
46-
MAX_SLUG_LENGTH,
47-
MAX_TITLE_LENGTH,
48-
} from './lib/implementation/limits.js';
49-
export {
50-
fileNameSchema,
51-
filePathSchema,
52-
materialIconSchema,
53-
type MaterialIcon,
54-
} from './lib/implementation/schemas.js';
55-
export { exists } from './lib/implementation/utils.js';
56-
export {
57-
issueSchema,
58-
issueSeveritySchema,
59-
type Issue,
60-
type IssueSeverity,
61-
} from './lib/issue.js';
62-
export {
63-
formatSchema,
64-
persistConfigSchema,
65-
type Format,
66-
type PersistConfig,
67-
} from './lib/persist-config.js';
68-
export {
69-
pluginConfigSchema,
70-
pluginMetaSchema,
71-
type PluginConfig,
72-
type PluginMeta,
73-
} from './lib/plugin-config.js';
74-
export {
75-
auditReportSchema,
76-
pluginReportSchema,
77-
reportSchema,
78-
type AuditReport,
79-
type PluginReport,
80-
type Report,
81-
} from './lib/report.js';
82-
export {
83-
auditDiffSchema,
84-
auditResultSchema,
85-
categoryDiffSchema,
86-
categoryResultSchema,
87-
groupDiffSchema,
88-
groupResultSchema,
89-
reportsDiffSchema,
90-
type AuditDiff,
91-
type AuditResult,
92-
type CategoryDiff,
93-
type CategoryResult,
94-
type GroupDiff,
95-
type GroupResult,
96-
type ReportsDiff,
97-
} from './lib/reports-diff.js';
98-
export {
99-
runnerConfigSchema,
100-
runnerFunctionSchema,
101-
runnerFilesPathsSchema,
102-
type RunnerConfig,
103-
type RunnerFunction,
104-
type RunnerFilesPaths,
105-
} from './lib/runner-config.js';
106-
export {
107-
tableAlignmentSchema,
108-
tableColumnObjectSchema,
109-
tableColumnPrimitiveSchema,
110-
tableRowObjectSchema,
111-
tableRowPrimitiveSchema,
112-
tableSchema,
113-
type Table,
114-
type TableAlignment,
115-
type TableColumnObject,
116-
type TableColumnPrimitive,
117-
type TableRowObject,
118-
type TableRowPrimitive,
119-
} from './lib/table.js';
120-
export { uploadConfigSchema, type UploadConfig } from './lib/upload-config.js';
121-
export { type DiagnosticsAware } from './lib/diagnostics.js';
1223
export type {
1234
ToolSchemaOptions,
1245
ToolsConfig,
1256
ToolHandlerContentResult,
1267
} from './lib/mcp.js';
127-
export type { CliArgsObject, ArgumentValue } from './lib/cli.js';
8+
export { type DiagnosticsAware } from './lib/diagnostics.js';

packages/shared/models/src/lib/audit-output.ts

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)