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

    Variable communityWebCloudDatabaseConst

    communityWebCloudDatabase: {
        getCloudVariableDetailV2: (
            accessKey: string,
            primaryKey: string,
            secondaryKey: string,
            filterKeys: string[],
        ) => Promise<Res>;
        saveProjectCloudVariable: <T extends string>(
            projectId: string,
            secondaryKey: string,
            value: T,
        ) => Promise<{ v: T }>;
        saveUserCloudVariable: <T extends Record<string, string>>(
            projectId: string,
            studentNum: number,
            value: T,
        ) => Promise<T>;
    } = ...

    Type Declaration

    • getCloudVariableDetailV2: (
          accessKey: string,
          primaryKey: string,
          secondaryKey: string,
          filterKeys: string[],
      ) => Promise<Res>
    • saveProjectCloudVariable: <T extends string>(
          projectId: string,
          secondaryKey: string,
          value: T,
      ) => Promise<{ v: T }>
    • saveUserCloudVariable: <T extends Record<string, string>>(
          projectId: string,
          studentNum: number,
          value: T,
      ) => Promise<T>