Adds comprehensive page management and temporary access tokens
Introduces the `PageModule` to provide full CRUD capabilities for pages within spaces. Key features include: - API endpoints for creating, retrieving, updating, and soft-deleting pages. - Support for hierarchical page structures with validation to prevent circular references. - A mechanism to generate and manage temporary access tokens, allowing controlled public access to specific pages or entire spaces. - Integration with database repositories and comprehensive Swagger documentation for all new endpoints and DTOs. - Ensures proper authorization and validation for all page and token operations.
This commit is contained in:
1 parent
ef440a2dbd
commit
bb992167d2
10 files changed
+2315
-5
No files matched your search
+5
-1
@@ -5,6 +5,8 @@ import { GlobalModule } from './modules/global/global.module';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import { AccountModule } from './modules/account/account.module';
|
||||
import { ImageModule } from './modules/image/image.module';
|
||||
import { PageModule } from './modules/page/page.module';
|
||||
import { SpaceModule } from './modules/space/space.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -14,7 +16,9 @@ import { ImageModule } from './modules/image/image.module';
|
||||
}),
|
||||
GlobalModule,
|
||||
AccountModule,
|
||||
ImageModule
|
||||
ImageModule,
|
||||
PageModule,
|
||||
SpaceModule
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService],
|
||||
|
||||
Reference in new issue
Block a user