oak-general-business/lib/entities/OauthApplications.d.ts

23 lines
863 B
TypeScript

import { String, Text } from 'oak-domain/lib/types/DataType';
import { EntityShape } from 'oak-domain/lib/types/Entity';
import { AbleAction, AbleState } from 'oak-domain/lib/actions/action';
import { ActionDef } from 'oak-domain/lib/types';
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
import { Schema as System } from './System';
import { StringListJson } from '../types/datatype';
export interface Schema extends EntityShape {
clientSecret: String<128>;
system: System;
name: String<128>;
description?: Text;
redirectUris?: StringListJson;
logo?: String<256>;
isConfidential: Boolean;
scopes?: StringListJson;
}
export type Action = AbleAction;
export declare const AbleActionDef: ActionDef<AbleAction, AbleState>;
export declare const entityDesc: EntityDesc<Schema, Action, '', {
ableState: AbleState;
}>;