diff --git a/src/services/circles.d.ts b/src/services/circles.d.ts
index 56674901d0..38caca712a 100644
--- a/src/services/circles.d.ts
+++ b/src/services/circles.d.ts
@@ -19,17 +19,17 @@
* along with this program. If not, see .
*
*/
-import { MemberLevel, MemberType } from '../models/constants';
+import { MemberLevel, MemberType } from '../models/constants'
interface MemberPairs {
id: string;
type: MemberType;
}
type CircleEditType = 'name' | 'description' | 'settings' | 'config';
export declare enum CircleEdit {
- Name = "name",
- Description = "description",
- Settings = "settings",
- Config = "config"
+ Name = 'name',
+ Description = 'description',
+ Settings = 'settings',
+ Config = 'config'
}
interface CircleSetting {
setting: string;
@@ -40,68 +40,65 @@ interface CircleSetting {
*
* @return {Array}
*/
-export declare const getCircles: () => Promise;
+export declare const getCircles: () => Promise
/**
* Get a specific circle
*
* @param {string} circleId
* @return {object}
*/
-export declare const getCircle: (circleId: string) => Promise;
+export declare const getCircle: (circleId: string) => Promise
/**
* Create a new circle
*
* @param {string} name the circle name
- * @param personal
- * @param local
* @return {object}
*/
-export declare const createCircle: (name: string, personal: boolean, local: boolean) => Promise;
+export declare const createCircle: (name: string, personal: boolean, local: boolean) => Promise
/**
* Delete an existing circle
*
* @param {string} circleId the circle id
* @return {object}
*/
-export declare const deleteCircle: (circleId: string) => Promise;
+export declare const deleteCircle: (circleId: string) => Promise
/**
* Edit an existing circle
*
* @param {string} circleId the circle id
* @param {CircleEditType} type the edit type
* @param {any} data the data
- * @param value
* @return {object}
*/
-export declare const editCircle: (circleId: string, type: CircleEditType, value: any) => Promise;
+export declare const editCircle: (circleId: string, type: CircleEditType, value: any) => Promise
/**
* Join a circle
*
* @param {string} circleId the circle id
* @return {Array}
*/
-export declare const joinCircle: (circleId: string) => Promise;
+export declare const joinCircle: (circleId: string) => Promise
/**
* Leave a circle
*
* @param {string} circleId the circle id
* @return {Array}
*/
-export declare const leaveCircle: (circleId: string) => Promise;
+export declare const leaveCircle: (circleId: string) => Promise
/**
* Get the circle members without the members
*
* @param {string} circleId the circle id
* @return {Array}
*/
-export declare const getCircleMembers: (circleId: string) => Promise;
+export declare const getCircleMembers: (circleId: string) => Promise
/**
* Search a potential circle member
*
* @param {string} term the search query
* @return {Array}
*/
-export declare const searchMember: (term: string) => Promise;
+export declare const searchMember: (term: string) => Promise
/**
* Add a circle member
*
@@ -109,7 +106,7 @@ export declare const searchMember: (term: string) => Promise;
* @param {string} members the member id
* @return {Array}
*/
-export declare const addMembers: (circleId: string, members: Array) => Promise;
+export declare const addMembers: (circleId: string, members: Array) => Promise
/**
* Delete a circle member
*
@@ -117,7 +114,7 @@ export declare const addMembers: (circleId: string, members: Array)
* @param {string} memberId the member id
* @return {Array}
*/
-export declare const deleteMember: (circleId: string, memberId: string) => Promise;
+export declare const deleteMember: (circleId: string, memberId: string) => Promise
/**
* change a member level
*
@@ -128,7 +125,7 @@ export declare const deleteMember: (circleId: string, memberId: string) => Promi
* @param {number} level the new member level
* @return {Array}
*/
-export declare const changeMemberLevel: (circleId: string, memberId: string, level: MemberLevel) => Promise;
+export declare const changeMemberLevel: (circleId: string, memberId: string, level: MemberLevel) => Promise
/**
* Accept a circle member request
*
@@ -136,6 +133,6 @@ export declare const changeMemberLevel: (circleId: string, memberId: string, lev
* @param {string} memberId the member id
* @return {Array}
*/
-export declare const acceptMember: (circleId: string, memberId: string) => Promise;
-export declare const editCircleSetting: (circleId: string, setting: CircleSetting) => Promise;
-export {};
+export declare const acceptMember: (circleId: string, memberId: string) => Promise
+export declare const editCircleSetting: (circleId: string, setting: CircleSetting) => Promise
+export {}