mirror of https://github.com/certd/certd
11 lines
343 B
TypeScript
11 lines
343 B
TypeScript
import { IAccessService } from "../../src/access/access-service";
|
|
import { AbstractAccess, HostAccess } from "../../src";
|
|
import { aliyunSecret } from "../user.secret";
|
|
export class AccessServiceTest implements IAccessService {
|
|
async getById(id: any): Promise<AbstractAccess> {
|
|
return {
|
|
...aliyunSecret,
|
|
} as HostAccess;
|
|
}
|
|
}
|