mysterium-tequilapi
Version:
Api library to control mysterium client and node
27 lines (25 loc) • 605 B
Flow
// @flow
/**
* Flowtype definitions for access-policies
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.5.8
* Author: [Joar Wilk](http://twitter.com/joarwilk)
* Repo: http://github.com/joarwilk/flowgen
*/
declare interface AccessRule {
type: string;
value?: string;
}
export interface AccessPolicyDTO {
id: string;
title: string;
description: string;
allow: AccessRule[];
}
declare export function parseAccessPolicyDTO(
responseData: any
): AccessPolicyDTO;
declare export function parseAccessPoliciesDTO(
responseData: any
): AccessPolicyDTO[];
declare export {};