Commit 91f8e0d
authored
[ENG-10251] Standardize model file naming convention (#874)
- Ticket: [ENG-10251]
- Feature flag: n/a
## Summary of Changes
1. Renamed all instances of `.models.ts` to `.model.ts`.
2. Updated all internal references and import paths in components, services, and pipes to reflect the new file names.
3. Updated Jest unit tests to ensure imports within `.spec.ts` files are pointing to the corrected model paths.
4. Verified that no duplicate model definitions exist under the old naming scheme.
5. Remove animations.1 parent a2a9f35 commit 91f8e0d
177 files changed
Lines changed: 184 additions & 233 deletions
File tree
- src
- app
- core
- animations
- components/osf-banners
- cookie-consent-banner
- maintenance-banner
- services
- store/user
- features
- admin-institutions
- pages/institutions-summary
- store
- analytics
- collections
- components
- add-to-collection
- collection-metadata-step
- project-metadata-step
- select-project-step
- collections-search-result-card
- models
- services
- store/add-to-collection
- contributors/models
- home/pages/dashboard
- meetings/models
- metadata
- components
- metadata-affiliated-institutions
- metadata-collection-item
- metadata-collections
- dialogs/affiliated-institutions-dialog
- models
- moderation
- components
- collection-submission-item
- collection-submissions-list
- models
- services
- store/collections-moderation
- my-projects
- preprints
- components/stepper/preprints-metadata-step/preprints-affiliated-institutions
- models
- services
- profile
- components/profile-information
- store
- project
- overview
- components
- add-component-dialog
- files-widget
- link-resource-dialog
- overview-collections
- models
- services
- store
- project-addons/components/connect-configured-addon
- settings
- components/settings-project-affiliation
- models
- registries/components/registries-metadata-step/registries-affiliated-institution
- registry
- services
- store/registry
- settings
- account-settings
- components/affiliated-institutions
- services
- store
- profile-settings
- components
- citation-preview
- name
- helpers
- settings-addons/components/connect-addon
- testing
- data
- collections
- dashboard
- mocks
- providers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | | - | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| 11 | + | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
21 | | - | |
22 | 18 | | |
23 | 19 | | |
24 | 20 | | |
| |||
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments