hunk.code_window: });
   export const filterTypeStyle = style({
     fontSize: 'var(--affine-font-sm)',
     display: 'flex',
     marginRight: '10px',
   });
   export const filterTypeIconStyle = style({
     fontSize: 'var(--affine-font-base)',
     marginRight: '6px',
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:   padding: '2px 4px',
     transition: 'all 0.15s ease-in-out',
     marginRight: '6px',
     ':hover': {
       cursor: 'pointer',
       background: 'var(--affine-hover-color)',
       borderRadius: '4px',
     },
  
hunk.file_path: packages/component/src/components/page-list/filter/index.css.ts
hunk.type: replace
file: import { ForbiddenException } from '@nestjs/common';
  import {
    Args,
    Context,
    Field,
    Mutation,
    ObjectType,
    Parent,
    ResolveField,
    Resolver,
  } from '@nestjs/graphql';
  import type { Request } from 'express';
  
  import { UserType } from '../users/resolver';
  import { CurrentUser } from './guard';
  import { AuthService } from './service';
  
  @ObjectType()
  export class TokenType {
    @Field()
    token!: string;
  
    @Field()
    refresh!: string;
  }
  
  @Resolver(() => UserType)
  export class AuthResolver {
    constructor(private auth: AuthService) {}
  
    @ResolveField(() => TokenType)
    token(@CurrentUser() currentUser: UserType, @Parent() user: UserType) {
      if (user !== currentUser) {
        throw new ForbiddenException();
      }
  
      return {
        token: this.auth.sign(user),
        refresh: this.auth.refresh(user),
      };
    }
  
    @Mutation(() => UserType)
    async register(
      @Context() ctx: { req: Request },
      @Args('name') name: string,
      @Args('email') email: string,
      @Args('password') password: string
    ) {
      const user = await this.auth.register(name, email, password);
      ctx.req.user = user;
      return user;
    }
  
    @Mutation(() => UserType)
    async signIn(
      @Context() ctx: { req: Request },
      @Args('email') email: string,
      @Args('password') password: string
    ) {
      const user = await this.auth.signIn(email, password);
      ctx.req.user = user;
      return user;
    }
  
    @Mutation(() => UserType)
    async signUp(
      @Context() ctx: { req: Request },
      @Args('email') email: string,
      @Args('password') password: string,
      @Args('name') name: string
    ) {
      const user = await this.auth.register(name, email, password);
      ctx.req.user = user;
      return user;
    }
  }
  