UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

49 lines 1.39 kB
import { SubjectSet } from './SubjectSet'; /** * Relationship * @export * @interface Relationship */ export interface Relationship { /** * Namespace of the Relation Tuple * @type {string} * @memberof Relationship */ namespace: string; /** * Object of the Relation Tuple * @type {string} * @memberof Relationship */ object: string; /** * Relation of the Relation Tuple * @type {string} * @memberof Relationship */ relation: string; /** * SubjectID of the Relation Tuple * * Either SubjectSet or SubjectID can be provided. * @type {string} * @memberof Relationship */ subject_id?: string; /** * * @type {SubjectSet} * @memberof Relationship */ subject_set?: SubjectSet; } /** * Check if a given object implements the Relationship interface. */ export declare function instanceOfRelationship(value: object): value is Relationship; export declare function RelationshipFromJSON(json: any): Relationship; export declare function RelationshipFromJSONTyped(json: any, ignoreDiscriminator: boolean): Relationship; export declare function RelationshipToJSON(json: any): Relationship; export declare function RelationshipToJSONTyped(value?: Relationship | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=Relationship.d.ts.map