@ccw-api/api
    Preparing search index...

    Variable gandiMainConst

    gandiMain: {
        chatWithGameAssistant: (
            ts: string | number,
            key: string,
            req: Req,
        ) => Promise<Res>;
        getBulletinDetail: (id: number) => Promise<BulletinDetail>;
        getBulletinsPage: <T extends string, S extends string>(
            status?: "PUBLISHED" | S,
            pageArgs_?: Partial<PageArgs<SortField | T>>,
        ) => Promise<Res>;
        getCurrentTimestamp: () => Promise<number>;
        getLeaderboardRecords: (
            leaderboardOid: string,
        ) => Promise<LeaderboardRecordsRes>;
        submitLeaderboardRecord: (
            leaderboardOid: string,
            score: number,
            userOid: string,
            ext?: string,
        ) => Promise<boolean>;
    } = ...

    Type Declaration

    • chatWithGameAssistant: (ts: string | number, key: string, req: Req) => Promise<Res>
    • getBulletinDetail: (id: number) => Promise<BulletinDetail>
    • getBulletinsPage: <T extends string, S extends string>(
          status?: "PUBLISHED" | S,
          pageArgs_?: Partial<PageArgs<SortField | T>>,
      ) => Promise<Res>
    • getCurrentTimestamp: () => Promise<number>
    • getLeaderboardRecords: (leaderboardOid: string) => Promise<LeaderboardRecordsRes>
    • submitLeaderboardRecord: (
          leaderboardOid: string,
          score: number,
          userOid: string,
          ext?: string,
      ) => Promise<boolean>