Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
bug: Permissions. Исправлена структура директорий
Browse files Browse the repository at this point in the history
  • Loading branch information
AndTem committed Jun 21, 2024
1 parent aca8b26 commit 5457244
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.
16 changes: 9 additions & 7 deletions docs/permissions/permissionsModule.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ sidebar_position: 2
```
├── modules/
| ├── permissions/
| | ├── stores/
| | | ├── PermissionsStore/
| | | | ├── policies/
| | | | ├── rules/
| | | | ├── PermissionsStore.ts
| | ├── domain/
| | | ├── stores/
| | | | ├── PermissionsStore/
| | | | | ├── policies/
| | | | | ├── rules/
| | | | | ├── PermissionsStore.ts
| | | | | └── index.ts
| | | | └── index.ts
| | | ├── types/
| | | ├── enums.ts
| | | └── index.ts
| | ├── features/
| | | ├── routesGuards/
| | | | ├── AdminRouteGuard/
| | | | ├── ReadingBookRouteGuard/
| | | | └── index.ts
| | | └── index.ts
| | ├── types/
| | ├── enums.ts
| | └── index.ts
| ├── payment/
| └── layout/
Expand Down
20 changes: 11 additions & 9 deletions docs/permissions/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ sidebar_position: 3
```
├── modules/
| ├── permissions/
| | ├── stores/
| | | ├── PermissionsStore/
| | | | ├── policies/
| | | | | |── AdministrationPolicyStore/
| | | | | |── BooksPolicyStore/
| | | | | |── PaymentPolicyStore/
| | ├── domain/
| | | ├── stores/
| | | | ├── PermissionsStore/
| | | | | ├── policies/
| | | | | | |── AdministrationPolicyStore/
| | | | | | |── BooksPolicyStore/
| | | | | | |── PaymentPolicyStore/
| | | | | | └── index.ts
| | | | | ├── PermissionsStore.ts
| | | | | └── index.ts
| | | ├── PermissionsStore.ts
| | | | └── index.ts
| | | ├── enums.ts
| | | └── index.ts
| | ├── enums.ts
| | └── index.ts
```

Policies являются частью имплементации PermissionStore, поэтому находятся внутри него.
Expand Down
21 changes: 11 additions & 10 deletions docs/permissions/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ sidebar_position: 6
```
├── modules/
| ├── permissions/
| | ├── stores/
| | | ├── PermissionsStore/
| | | | ├── policies/
| | | | ├── rules/
| | | | | |── calcAcceptableAge/
| | | | | |── calcAccountPayment/
| | | | | └── index.ts
| | | ├── PermissionsStore.ts
| | ├── domain/
| | | ├── stores/
| | | | ├── PermissionsStore/
| | | | | ├── policies/
| | | | | ├── rules/
| | | | | | |── calcAcceptableAge/
| | | | | | |── calcAccountPayment/
| | | | | | └── index.ts
| | | | ├── PermissionsStore.ts
| | | | └── index.ts
| | | ├── enums.ts
| | | └── index.ts
| | ├── enums.ts
| | └── index.ts
```

## Rules - приватные функции модуля `permissions`
Expand Down

0 comments on commit 5457244

Please sign in to comment.