Skip to content

Commit 58f1561

Browse files
committed
rename the module "entity" to "orm"
1 parent 2e2bc87 commit 58f1561

26 files changed

+32
-32
lines changed

src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { SetupModule } from './setup/setup.module';
77
import { SystemModule } from './system/system.module';
88
import { ConsoleModule } from './console/console.module';
99
import { WebModule } from './web/web.module';
10-
import { EntityModule } from './entity/entity.module';
10+
import { OrmModule } from './orm/orm.module';
1111
import { SecurityModule } from './security/security.module';
1212

1313
import { AppComponent } from './app.component';
@@ -28,7 +28,7 @@ import { DocsComponent } from './docs/docs.component';
2828
SystemModule,
2929
ConsoleModule,
3030
WebModule,
31-
EntityModule,
31+
OrmModule,
3232
SecurityModule,
3333
AppRoutingModule,
3434
SharedModule

src/app/docs/docs.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h5 class="card-title">Security</h5>
5656
<div class="card-body">
5757
<h5 class="card-title">ORM</h5>
5858
<p class="card-text mb-0">Manipulating the database using the object relational mapper</p>
59-
<a class="card-link stretched-link" routerLink="/docs/entity"></a>
59+
<a class="card-link stretched-link" routerLink="/docs/orm"></a>
6060
</div>
6161
</div>
6262
</div>
File renamed without changes.

src/app/entity/migrations/migrations.component.html renamed to src/app/orm/migrations/migrations.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h4>Reversing all migrations</h4>
229229
<nav class="no-print" aria-label="Page navigation">
230230
<ul class="nav-page">
231231
<li class="nav-page-item">
232-
<a class="nav-page-link" routerLink="/docs/entity/relationships">
232+
<a class="nav-page-link" routerLink="/docs/orm/relationships">
233233
<i class="chevron left"></i> Previous
234234
</a>
235235
</li>
File renamed without changes.

src/app/entity/migrations/migrations.component.ts renamed to src/app/orm/migrations/migrations.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
22
import hljs from 'highlight.js/lib/common';
33

44
@Component({
5-
selector: 'entity-migrations',
5+
selector: 'orm-migrations',
66
templateUrl: './migrations.component.html',
77
styleUrls: ['./migrations.component.css']
88
})
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ import { RelationshipsComponent } from './relationships/relationships.component'
77
import { MigrationsComponent } from './migrations/migrations.component';
88

99
const routes: Routes = [
10-
{ path: 'docs/entity/start', component: StartComponent },
11-
{ path: 'docs/entity/query', component: QueryComponent },
12-
{ path: 'docs/entity/save', component: SaveComponent },
13-
{ path: 'docs/entity/relationships', component: RelationshipsComponent },
14-
{ path: 'docs/entity/migrations', component: MigrationsComponent },
15-
{ path: 'docs/entity', redirectTo: 'docs/entity/start', pathMatch: 'full' }
10+
{ path: 'docs/orm/start', component: StartComponent },
11+
{ path: 'docs/orm/query', component: QueryComponent },
12+
{ path: 'docs/orm/save', component: SaveComponent },
13+
{ path: 'docs/orm/relationships', component: RelationshipsComponent },
14+
{ path: 'docs/orm/migrations', component: MigrationsComponent },
15+
{ path: 'docs/orm', redirectTo: 'docs/orm/start', pathMatch: 'full' }
1616
];
1717

1818
@NgModule({
1919
imports: [RouterModule.forChild(routes)],
2020
exports: [RouterModule]
2121
})
22-
export class EntityRoutingModule { }
22+
export class OrmRoutingModule { }
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
3-
import { EntityRoutingModule } from './entity-routing.module';
3+
import { OrmRoutingModule } from './orm-routing.module';
44
import { SharedModule } from '../shared/shared.module';
55
import { StartComponent } from './start/start.component';
66
import { QueryComponent } from './query/query.component';
@@ -18,8 +18,8 @@ import { MigrationsComponent } from './migrations/migrations.component';
1818
],
1919
imports: [
2020
CommonModule,
21-
EntityRoutingModule,
21+
OrmRoutingModule,
2222
SharedModule
2323
]
2424
})
25-
export class EntityModule { }
25+
export class OrmModule { }
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ <h4>Complex Query</h4>
132132
<nav class="no-print" aria-label="Page navigation">
133133
<ul class="nav-page">
134134
<li class="nav-page-item">
135-
<a class="nav-page-link" routerLink="/docs/entity/start">
135+
<a class="nav-page-link" routerLink="/docs/orm/start">
136136
<i class="chevron left"></i> Previous
137137
</a>
138138
</li>
139139
<li class="nav-page-item">
140-
<a class="nav-page-link" routerLink="/docs/entity/save">
140+
<a class="nav-page-link" routerLink="/docs/orm/save">
141141
Next <i class="chevron right"></i>
142142
</a>
143143
</li>

0 commit comments

Comments
 (0)