@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
38 lines • 1.34 kB
TypeScript
import { Relationship } from './Relationship';
/**
* Payload for patching a relationship
* @export
* @interface RelationshipPatch
*/
export interface RelationshipPatch {
/**
*
* @type {string}
* @memberof RelationshipPatch
*/
action?: RelationshipPatchActionEnum;
/**
*
* @type {Relationship}
* @memberof RelationshipPatch
*/
relation_tuple?: Relationship;
}
/**
* @export
*/
export declare const RelationshipPatchActionEnum: {
readonly Insert: "insert";
readonly Delete: "delete";
readonly UnknownDefaultOpenApi: "11184809";
};
export type RelationshipPatchActionEnum = typeof RelationshipPatchActionEnum[keyof typeof RelationshipPatchActionEnum];
/**
* Check if a given object implements the RelationshipPatch interface.
*/
export declare function instanceOfRelationshipPatch(value: object): value is RelationshipPatch;
export declare function RelationshipPatchFromJSON(json: any): RelationshipPatch;
export declare function RelationshipPatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): RelationshipPatch;
export declare function RelationshipPatchToJSON(json: any): RelationshipPatch;
export declare function RelationshipPatchToJSONTyped(value?: RelationshipPatch | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=RelationshipPatch.d.ts.map