ncloudchat 1.0.36 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +39 -17
- package/{dist/ncloudchat.d.ts → ncloudchat.d.ts} +3 -3
- package/ncloudchat.min.js +1 -0
- package/package.json +19 -38
- package/deploy.sh.bak +0 -20
- package/dist/ncloudchat.min.js +0 -1
- package/esm/CloudChat.d.ts +0 -482
- package/esm/CloudChat.js +0 -1746
- package/esm/CloudChat.js.map +0 -1
- package/esm/CoreManager.d.ts +0 -11
- package/esm/CoreManager.js +0 -38
- package/esm/CoreManager.js.map +0 -1
- package/esm/Dispatcher.d.ts +0 -37
- package/esm/Dispatcher.js +0 -95
- package/esm/Dispatcher.js.map +0 -1
- package/esm/Network.d.ts +0 -7
- package/esm/Network.js +0 -103
- package/esm/Network.js.map +0 -1
- package/esm/Type.d.ts +0 -79
- package/esm/Type.js +0 -31
- package/esm/Type.js.map +0 -1
- package/esm/Util.d.ts +0 -15
- package/esm/Util.js +0 -23
- package/esm/Util.js.map +0 -1
- package/esm/graphql/channel.d.ts +0 -13
- package/esm/graphql/channel.js +0 -19
- package/esm/graphql/channel.js.map +0 -1
- package/esm/graphql/friend.d.ts +0 -11
- package/esm/graphql/friend.js +0 -16
- package/esm/graphql/friend.js.map +0 -1
- package/esm/graphql/invite.d.ts +0 -7
- package/esm/graphql/invite.js +0 -11
- package/esm/graphql/invite.js.map +0 -1
- package/esm/graphql/member.d.ts +0 -11
- package/esm/graphql/member.js +0 -16
- package/esm/graphql/member.js.map +0 -1
- package/esm/graphql/message.d.ts +0 -11
- package/esm/graphql/message.js +0 -16
- package/esm/graphql/message.js.map +0 -1
- package/esm/graphql/pin.d.ts +0 -10
- package/esm/graphql/pin.js +0 -15
- package/esm/graphql/pin.js.map +0 -1
- package/esm/graphql/project.d.ts +0 -6
- package/esm/graphql/project.js +0 -8
- package/esm/graphql/project.js.map +0 -1
- package/esm/graphql/subscription.d.ts +0 -11
- package/esm/graphql/subscription.js +0 -16
- package/esm/graphql/subscription.js.map +0 -1
- package/esm/index.d.ts +0 -8
- package/esm/index.js +0 -15
- package/esm/index.js.map +0 -1
- package/esm/logger.d.ts +0 -10
- package/esm/logger.js +0 -22
- package/esm/logger.js.map +0 -1
- package/esm/mutations/channel.d.ts +0 -56
- package/esm/mutations/channel.js +0 -181
- package/esm/mutations/channel.js.map +0 -1
- package/esm/mutations/friend.d.ts +0 -42
- package/esm/mutations/friend.js +0 -132
- package/esm/mutations/friend.js.map +0 -1
- package/esm/mutations/index.d.ts +0 -13
- package/esm/mutations/index.js +0 -30
- package/esm/mutations/index.js.map +0 -1
- package/esm/mutations/invite.d.ts +0 -16
- package/esm/mutations/invite.js +0 -74
- package/esm/mutations/invite.js.map +0 -1
- package/esm/mutations/member.d.ts +0 -41
- package/esm/mutations/member.js +0 -138
- package/esm/mutations/member.js.map +0 -1
- package/esm/mutations/message.d.ts +0 -37
- package/esm/mutations/message.js +0 -141
- package/esm/mutations/message.js.map +0 -1
- package/esm/mutations/pin.d.ts +0 -28
- package/esm/mutations/pin.js +0 -96
- package/esm/mutations/pin.js.map +0 -1
- package/esm/mutations/subscription.d.ts +0 -37
- package/esm/mutations/subscription.js +0 -124
- package/esm/mutations/subscription.js.map +0 -1
- package/esm/queries/channel.d.ts +0 -26
- package/esm/queries/channel.js +0 -96
- package/esm/queries/channel.js.map +0 -1
- package/esm/queries/friend.d.ts +0 -17
- package/esm/queries/friend.js +0 -76
- package/esm/queries/friend.js.map +0 -1
- package/esm/queries/index.d.ts +0 -14
- package/esm/queries/index.js +0 -31
- package/esm/queries/index.js.map +0 -1
- package/esm/queries/member.d.ts +0 -17
- package/esm/queries/member.js +0 -76
- package/esm/queries/member.js.map +0 -1
- package/esm/queries/memberblocks.d.ts +0 -17
- package/esm/queries/memberblocks.js +0 -76
- package/esm/queries/memberblocks.js.map +0 -1
- package/esm/queries/message.d.ts +0 -36
- package/esm/queries/message.js +0 -118
- package/esm/queries/message.js.map +0 -1
- package/esm/queries/pin.d.ts +0 -28
- package/esm/queries/pin.js +0 -100
- package/esm/queries/pin.js.map +0 -1
- package/esm/queries/project.d.ts +0 -14
- package/esm/queries/project.js +0 -23
- package/esm/queries/project.js.map +0 -1
- package/esm/queries/subscription.d.ts +0 -27
- package/esm/queries/subscription.js +0 -98
- package/esm/queries/subscription.js.map +0 -1
- package/tsconfig.json +0 -32
- package/types/exif.d.ts +0 -10
- package/types/window.d.ts +0 -5
package/esm/mutations/pin.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import type { PinInput } from "../Type";
|
|
8
|
-
/**
|
|
9
|
-
* Create a new pin.
|
|
10
|
-
*
|
|
11
|
-
* @async
|
|
12
|
-
* @function createPin
|
|
13
|
-
* @param {string} channelId - An id of the channel.
|
|
14
|
-
* @param {PinInput} pin - Configuration options of the new pin.
|
|
15
|
-
* @returns {Promise<any>} The data of the newly created pin.
|
|
16
|
-
*/
|
|
17
|
-
export declare const createPin: (channelId: string, pin: PinInput) => Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Update pin options.
|
|
20
|
-
*
|
|
21
|
-
* @async
|
|
22
|
-
* @function updatePin
|
|
23
|
-
* @param {string} id - An id of the pin.
|
|
24
|
-
* @param {string} channelId - An id of the channel.
|
|
25
|
-
* @param {PinInput} pin - New options of the pin.
|
|
26
|
-
* @returns {Promise<any>} The data of the updated created pin.
|
|
27
|
-
*/
|
|
28
|
-
export declare const updatePin: (id: string, channelId: string, pin: PinInput) => Promise<any>;
|
package/esm/mutations/pin.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
9
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
10
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
14
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
18
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
19
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
20
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
21
|
-
function step(op) {
|
|
22
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
23
|
-
while (_) try {
|
|
24
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
25
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
26
|
-
switch (op[0]) {
|
|
27
|
-
case 0: case 1: t = op; break;
|
|
28
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
29
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
30
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
31
|
-
default:
|
|
32
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
33
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
34
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
35
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
36
|
-
if (t[2]) _.ops.pop();
|
|
37
|
-
_.trys.pop(); continue;
|
|
38
|
-
}
|
|
39
|
-
op = body.call(thisArg, _);
|
|
40
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
41
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
exports.__esModule = true;
|
|
48
|
-
exports.updatePin = exports.createPin = void 0;
|
|
49
|
-
var CoreManager_1 = __importDefault(require("../CoreManager"));
|
|
50
|
-
var Network_1 = require("../Network");
|
|
51
|
-
var pin_1 = require("../graphql/pin");
|
|
52
|
-
/**
|
|
53
|
-
* Create a new pin.
|
|
54
|
-
*
|
|
55
|
-
* @async
|
|
56
|
-
* @function createPin
|
|
57
|
-
* @param {string} channelId - An id of the channel.
|
|
58
|
-
* @param {PinInput} pin - Configuration options of the new pin.
|
|
59
|
-
* @returns {Promise<any>} The data of the newly created pin.
|
|
60
|
-
*/
|
|
61
|
-
var createPin = function (channelId, pin) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
-
return __generator(this, function (_a) {
|
|
63
|
-
return [2 /*return*/, (0, Network_1.fetchData)("createPin", pin_1.createPinQuery, {
|
|
64
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
65
|
-
channelId: channelId,
|
|
66
|
-
pinned: pin.pinned,
|
|
67
|
-
pinnedAt: pin.pinnedAt,
|
|
68
|
-
expiredAt: pin.expiredAt
|
|
69
|
-
})];
|
|
70
|
-
});
|
|
71
|
-
}); };
|
|
72
|
-
exports.createPin = createPin;
|
|
73
|
-
/**
|
|
74
|
-
* Update pin options.
|
|
75
|
-
*
|
|
76
|
-
* @async
|
|
77
|
-
* @function updatePin
|
|
78
|
-
* @param {string} id - An id of the pin.
|
|
79
|
-
* @param {string} channelId - An id of the channel.
|
|
80
|
-
* @param {PinInput} pin - New options of the pin.
|
|
81
|
-
* @returns {Promise<any>} The data of the updated created pin.
|
|
82
|
-
*/
|
|
83
|
-
var updatePin = function (id, channelId, pin) { return __awaiter(void 0, void 0, void 0, function () {
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
return [2 /*return*/, (0, Network_1.fetchData)("updatePin", pin_1.updatePinQuery, {
|
|
86
|
-
id: id,
|
|
87
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
88
|
-
channelId: channelId,
|
|
89
|
-
pinned: pin.pinned,
|
|
90
|
-
pinnedAt: pin.pinnedAt,
|
|
91
|
-
expiredAt: pin.expiredAt
|
|
92
|
-
})];
|
|
93
|
-
});
|
|
94
|
-
}); };
|
|
95
|
-
exports.updatePin = updatePin;
|
|
96
|
-
//# sourceMappingURL=pin.js.map
|
package/esm/mutations/pin.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pin.js","sourceRoot":"","sources":["../../src/mutations/pin.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,+DAAyC;AACzC,sCAAuC;AACvC,sCAAgE;AAGhE;;;;;;;;EAQE;AACI,IAAM,SAAS,GAAG,UAAO,SAAiB,EAAE,GAAa;;QAC5D,sBAAO,IAAA,mBAAS,EAAC,WAAW,EAAE,oBAAc,EAAE;gBAC1C,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;gBACxC,SAAS,EAAE,SAAS;gBACpB,MAAM,EAAE,GAAG,CAAC,MAAM;gBAClB,QAAQ,EAAE,GAAG,CAAC,QAAQ;gBACtB,SAAS,EAAE,GAAG,CAAC,SAAS;aAC3B,CAAC,EAAC;;KACN,CAAC;AARW,QAAA,SAAS,aAQpB;AAEF;;;;;;;;;GASG;AACK,IAAM,SAAS,GAAG,UACtB,EAAU,EACV,SAAiB,EACjB,GAAa;;QAEb,sBAAO,IAAA,mBAAS,EAAC,WAAW,EAAE,oBAAc,EAAE;gBAC1C,EAAE,EAAE,EAAE;gBACN,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;gBACxC,SAAS,EAAE,SAAS;gBACpB,MAAM,EAAE,GAAG,CAAC,MAAM;gBAClB,QAAQ,EAAE,GAAG,CAAC,QAAQ;gBACtB,SAAS,EAAE,GAAG,CAAC,SAAS;aAC3B,CAAC,EAAC;;KACN,CAAC;AAbY,QAAA,SAAS,aAarB"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import type { MarkInput } from "../Type";
|
|
8
|
-
/**
|
|
9
|
-
* Create a subscription.
|
|
10
|
-
*
|
|
11
|
-
* @async
|
|
12
|
-
* @function createSubscription
|
|
13
|
-
* @param {string} channelId - The id of a channel.
|
|
14
|
-
* @param {string} option
|
|
15
|
-
* @returns {Promise<any>}
|
|
16
|
-
*/
|
|
17
|
-
export declare const createSubscription: (channelId: string, option?: string) => Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Delete a subscription.
|
|
20
|
-
*
|
|
21
|
-
* @async
|
|
22
|
-
* @function deleteSubscription
|
|
23
|
-
* @param {string} channelId - The id of a channel.
|
|
24
|
-
* @returns {Promise<any>}
|
|
25
|
-
*/
|
|
26
|
-
export declare const deleteSubscription: (channelId: string) => Promise<any>;
|
|
27
|
-
/**
|
|
28
|
-
* Update a subscription information, such as marking message read.
|
|
29
|
-
*
|
|
30
|
-
* @async
|
|
31
|
-
* @function updateSubscription
|
|
32
|
-
* @param {string} channelId - The id of a channel.
|
|
33
|
-
* @param {MarkInput} mark
|
|
34
|
-
* @param {string} option
|
|
35
|
-
* @returns {Promise<any>}
|
|
36
|
-
*/
|
|
37
|
-
export declare const updateSubscription: (channelId: string, mark: MarkInput, option?: string) => Promise<any>;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
9
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
10
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
14
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
18
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
19
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
20
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
21
|
-
function step(op) {
|
|
22
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
23
|
-
while (_) try {
|
|
24
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
25
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
26
|
-
switch (op[0]) {
|
|
27
|
-
case 0: case 1: t = op; break;
|
|
28
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
29
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
30
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
31
|
-
default:
|
|
32
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
33
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
34
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
35
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
36
|
-
if (t[2]) _.ops.pop();
|
|
37
|
-
_.trys.pop(); continue;
|
|
38
|
-
}
|
|
39
|
-
op = body.call(thisArg, _);
|
|
40
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
41
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
exports.__esModule = true;
|
|
48
|
-
exports.updateSubscription = exports.deleteSubscription = exports.createSubscription = void 0;
|
|
49
|
-
var CoreManager_1 = __importDefault(require("../CoreManager"));
|
|
50
|
-
var Network_1 = require("../Network");
|
|
51
|
-
var subscription_1 = require("../graphql/subscription");
|
|
52
|
-
/**
|
|
53
|
-
* Create a subscription.
|
|
54
|
-
*
|
|
55
|
-
* @async
|
|
56
|
-
* @function createSubscription
|
|
57
|
-
* @param {string} channelId - The id of a channel.
|
|
58
|
-
* @param {string} option
|
|
59
|
-
* @returns {Promise<any>}
|
|
60
|
-
*/
|
|
61
|
-
var createSubscription = function (channelId, option) {
|
|
62
|
-
if (option === void 0) { option = ""; }
|
|
63
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
64
|
-
return __generator(this, function (_a) {
|
|
65
|
-
switch (_a.label) {
|
|
66
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("createSubscription", subscription_1.createSubscriptionQuery, {
|
|
67
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
68
|
-
channelId: channelId,
|
|
69
|
-
option: option
|
|
70
|
-
})];
|
|
71
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
exports.createSubscription = createSubscription;
|
|
77
|
-
/**
|
|
78
|
-
* Delete a subscription.
|
|
79
|
-
*
|
|
80
|
-
* @async
|
|
81
|
-
* @function deleteSubscription
|
|
82
|
-
* @param {string} channelId - The id of a channel.
|
|
83
|
-
* @returns {Promise<any>}
|
|
84
|
-
*/
|
|
85
|
-
var deleteSubscription = function (channelId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
86
|
-
return __generator(this, function (_a) {
|
|
87
|
-
switch (_a.label) {
|
|
88
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("deleteSubscription", subscription_1.deleteSubscriptionQuery, {
|
|
89
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
90
|
-
channelId: channelId
|
|
91
|
-
})];
|
|
92
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
}); };
|
|
96
|
-
exports.deleteSubscription = deleteSubscription;
|
|
97
|
-
/**
|
|
98
|
-
* Update a subscription information, such as marking message read.
|
|
99
|
-
*
|
|
100
|
-
* @async
|
|
101
|
-
* @function updateSubscription
|
|
102
|
-
* @param {string} channelId - The id of a channel.
|
|
103
|
-
* @param {MarkInput} mark
|
|
104
|
-
* @param {string} option
|
|
105
|
-
* @returns {Promise<any>}
|
|
106
|
-
*/
|
|
107
|
-
var updateSubscription = function (channelId, mark, option) {
|
|
108
|
-
if (option === void 0) { option = ""; }
|
|
109
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
110
|
-
return __generator(this, function (_a) {
|
|
111
|
-
switch (_a.label) {
|
|
112
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("updateSubscription", subscription_1.updateSubscriptionQuery, {
|
|
113
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
114
|
-
channelId: channelId,
|
|
115
|
-
mark: mark,
|
|
116
|
-
option: option
|
|
117
|
-
})];
|
|
118
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
};
|
|
123
|
-
exports.updateSubscription = updateSubscription;
|
|
124
|
-
//# sourceMappingURL=subscription.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../src/mutations/subscription.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+DAAyC;AAEzC,sCAAuC;AACvC,wDAIiC;AAEjC;;;;;;;;GAQG;AACI,IAAM,kBAAkB,GAAG,UAC9B,SAAiB,EACjB,MAAmB;IAAnB,uBAAA,EAAA,WAAmB;;;;wBAEZ,qBAAM,IAAA,mBAAS,EAAC,oBAAoB,EAAE,sCAAuB,EAAE;wBAClE,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;wBACxC,SAAS,WAAA;wBACT,MAAM,QAAA;qBACT,CAAC,EAAA;wBAJF,sBAAO,SAIL,EAAC;;;;CACN,CAAC;AATW,QAAA,kBAAkB,sBAS7B;AAEF;;;;;;;GAOG;AACI,IAAM,kBAAkB,GAAG,UAAO,SAAiB;;;oBAC/C,qBAAM,IAAA,mBAAS,EAAC,oBAAoB,EAAE,sCAAuB,EAAE;oBAClE,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;oBACxC,SAAS,WAAA;iBACZ,CAAC,EAAA;oBAHF,sBAAO,SAGL,EAAC;;;KACN,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEF;;;;;;;;;GASG;AACI,IAAM,kBAAkB,GAAG,UAC9B,SAAiB,EACjB,IAAe,EACf,MAAmB;IAAnB,uBAAA,EAAA,WAAmB;;;;wBAEZ,qBAAM,IAAA,mBAAS,EAAC,oBAAoB,EAAE,sCAAuB,EAAE;wBAClE,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;wBACxC,SAAS,WAAA;wBACT,IAAI,MAAA;wBACJ,MAAM,QAAA;qBACT,CAAC,EAAA;wBALF,sBAAO,SAKL,EAAC;;;;CACN,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"}
|
package/esm/queries/channel.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Get data of a single channel from the endpoint.
|
|
9
|
-
*
|
|
10
|
-
* @async
|
|
11
|
-
* @function getChannel
|
|
12
|
-
* @param {string} id - An id of the channel.
|
|
13
|
-
* @returns {Promise<any>} The data of the channel.
|
|
14
|
-
*/
|
|
15
|
-
export declare const getChannel: (id: string) => Promise<any>;
|
|
16
|
-
/**
|
|
17
|
-
* Get data of multiple channels.
|
|
18
|
-
*
|
|
19
|
-
* @async
|
|
20
|
-
* @function getChannels
|
|
21
|
-
* @param {string} filter - Field value for filter.
|
|
22
|
-
* @param {string} sort - Field value for sorting.
|
|
23
|
-
* @param {string} option - Optional option: ex) offset, per_page.
|
|
24
|
-
* @returns {Promise<any[]>} An array of data of all channels.
|
|
25
|
-
*/
|
|
26
|
-
export declare const getChannels: (filter: string, sort: string, option: string) => Promise<any>;
|
package/esm/queries/channel.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
9
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
10
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
14
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
18
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
19
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
20
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
21
|
-
function step(op) {
|
|
22
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
23
|
-
while (_) try {
|
|
24
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
25
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
26
|
-
switch (op[0]) {
|
|
27
|
-
case 0: case 1: t = op; break;
|
|
28
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
29
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
30
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
31
|
-
default:
|
|
32
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
33
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
34
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
35
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
36
|
-
if (t[2]) _.ops.pop();
|
|
37
|
-
_.trys.pop(); continue;
|
|
38
|
-
}
|
|
39
|
-
op = body.call(thisArg, _);
|
|
40
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
41
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
exports.__esModule = true;
|
|
48
|
-
exports.getChannels = exports.getChannel = void 0;
|
|
49
|
-
var CoreManager_1 = __importDefault(require("../CoreManager"));
|
|
50
|
-
var channel_1 = require("../graphql/channel");
|
|
51
|
-
var Network_1 = require("../Network");
|
|
52
|
-
/**
|
|
53
|
-
* Get data of a single channel from the endpoint.
|
|
54
|
-
*
|
|
55
|
-
* @async
|
|
56
|
-
* @function getChannel
|
|
57
|
-
* @param {string} id - An id of the channel.
|
|
58
|
-
* @returns {Promise<any>} The data of the channel.
|
|
59
|
-
*/
|
|
60
|
-
var getChannel = function (id) { return __awaiter(void 0, void 0, void 0, function () {
|
|
61
|
-
return __generator(this, function (_a) {
|
|
62
|
-
switch (_a.label) {
|
|
63
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("channel", channel_1.getChannelQuery, {
|
|
64
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
65
|
-
id: id
|
|
66
|
-
})];
|
|
67
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
}); };
|
|
71
|
-
exports.getChannel = getChannel;
|
|
72
|
-
/**
|
|
73
|
-
* Get data of multiple channels.
|
|
74
|
-
*
|
|
75
|
-
* @async
|
|
76
|
-
* @function getChannels
|
|
77
|
-
* @param {string} filter - Field value for filter.
|
|
78
|
-
* @param {string} sort - Field value for sorting.
|
|
79
|
-
* @param {string} option - Optional option: ex) offset, per_page.
|
|
80
|
-
* @returns {Promise<any[]>} An array of data of all channels.
|
|
81
|
-
*/
|
|
82
|
-
var getChannels = function (filter, sort, option) { return __awaiter(void 0, void 0, void 0, function () {
|
|
83
|
-
return __generator(this, function (_a) {
|
|
84
|
-
switch (_a.label) {
|
|
85
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("channels", channel_1.getChannelsQuery, {
|
|
86
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
87
|
-
filter: filter,
|
|
88
|
-
sort: sort,
|
|
89
|
-
option: option
|
|
90
|
-
})];
|
|
91
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
}); };
|
|
95
|
-
exports.getChannels = getChannels;
|
|
96
|
-
//# sourceMappingURL=channel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/queries/channel.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+DAAyC;AACzC,8CAAuE;AACvE,sCAAuC;AAEvC;;;;;;;GAOG;AACI,IAAM,UAAU,GAAG,UAAO,EAAU;;;oBAChC,qBAAM,IAAA,mBAAS,EAAC,SAAS,EAAE,yBAAe,EAAE;oBAC/C,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;oBACxC,EAAE,IAAA;iBACL,CAAC,EAAA;oBAHF,sBAAO,SAGL,EAAC;;;KACN,CAAC;AALW,QAAA,UAAU,cAKrB;AAEF;;;;;;;;;GASG;AACI,IAAM,WAAW,GAAG,UACvB,MAAc,EACd,IAAY,EACZ,MAAc;;;oBAEP,qBAAM,IAAA,mBAAS,EAAC,UAAU,EAAE,0BAAgB,EAAE;oBACjD,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;oBACxC,MAAM,QAAA;oBACN,IAAI,MAAA;oBACJ,MAAM,QAAA;iBACT,CAAC,EAAA;oBALF,sBAAO,SAKL,EAAC;;;KACN,CAAC;AAXW,QAAA,WAAW,eAWtB"}
|
package/esm/queries/friend.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Get current friends list of all status.
|
|
9
|
-
*
|
|
10
|
-
* @async
|
|
11
|
-
* @function getFriendships
|
|
12
|
-
* @param {string} filter - Field value for filter.
|
|
13
|
-
* @param {string} sort - Field value for sorting.
|
|
14
|
-
* @param {string} option - Optional option: ex) offset, per_page.
|
|
15
|
-
* @returns {Promise<any>}
|
|
16
|
-
*/
|
|
17
|
-
export declare const getFriendships: (filter: string, sort: string, option: string) => Promise<any>;
|
package/esm/queries/friend.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
9
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
10
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
11
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
12
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
13
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
14
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
18
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
19
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
20
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
21
|
-
function step(op) {
|
|
22
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
23
|
-
while (_) try {
|
|
24
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
25
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
26
|
-
switch (op[0]) {
|
|
27
|
-
case 0: case 1: t = op; break;
|
|
28
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
29
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
30
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
31
|
-
default:
|
|
32
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
33
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
34
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
35
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
36
|
-
if (t[2]) _.ops.pop();
|
|
37
|
-
_.trys.pop(); continue;
|
|
38
|
-
}
|
|
39
|
-
op = body.call(thisArg, _);
|
|
40
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
41
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
-
};
|
|
47
|
-
exports.__esModule = true;
|
|
48
|
-
exports.getFriendships = void 0;
|
|
49
|
-
var CoreManager_1 = __importDefault(require("../CoreManager"));
|
|
50
|
-
var Network_1 = require("../Network");
|
|
51
|
-
var friend_1 = require("../graphql/friend");
|
|
52
|
-
/**
|
|
53
|
-
* Get current friends list of all status.
|
|
54
|
-
*
|
|
55
|
-
* @async
|
|
56
|
-
* @function getFriendships
|
|
57
|
-
* @param {string} filter - Field value for filter.
|
|
58
|
-
* @param {string} sort - Field value for sorting.
|
|
59
|
-
* @param {string} option - Optional option: ex) offset, per_page.
|
|
60
|
-
* @returns {Promise<any>}
|
|
61
|
-
*/
|
|
62
|
-
var getFriendships = function (filter, sort, option) { return __awaiter(void 0, void 0, void 0, function () {
|
|
63
|
-
return __generator(this, function (_a) {
|
|
64
|
-
switch (_a.label) {
|
|
65
|
-
case 0: return [4 /*yield*/, (0, Network_1.fetchData)("friendships", friend_1.getFriendshipsQuery, {
|
|
66
|
-
projectId: CoreManager_1["default"].get("PROJECT_ID"),
|
|
67
|
-
filter: filter,
|
|
68
|
-
sort: sort,
|
|
69
|
-
option: option
|
|
70
|
-
})];
|
|
71
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}); };
|
|
75
|
-
exports.getFriendships = getFriendships;
|
|
76
|
-
//# sourceMappingURL=friend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"friend.js","sourceRoot":"","sources":["../../src/queries/friend.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+DAAyC;AACzC,sCAAuC;AACvC,4CAAwD;AAExD;;;;;;;;;GASG;AACI,IAAM,cAAc,GAAG,UAC1B,MAAc,EACd,IAAY,EACZ,MAAc;;;oBAEP,qBAAM,IAAA,mBAAS,EAAC,aAAa,EAAE,4BAAmB,EAAE;oBACvD,SAAS,EAAE,wBAAW,CAAC,GAAG,CAAC,YAAY,CAAC;oBACxC,MAAM,QAAA;oBACN,IAAI,MAAA;oBACJ,MAAM,QAAA;iBACT,CAAC,EAAA;oBALF,sBAAO,SAKL,EAAC;;;KACN,CAAC;AAXW,QAAA,cAAc,kBAWzB"}
|
package/esm/queries/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
export * from './project';
|
|
8
|
-
export * from './channel';
|
|
9
|
-
export * from './message';
|
|
10
|
-
export * from './subscription';
|
|
11
|
-
export * from './friend';
|
|
12
|
-
export * from './member';
|
|
13
|
-
export * from './memberblocks';
|
|
14
|
-
export * from './pin';
|
package/esm/queries/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
|
-
if (k2 === undefined) k2 = k;
|
|
10
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13
|
-
}
|
|
14
|
-
Object.defineProperty(o, k2, desc);
|
|
15
|
-
}) : (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
o[k2] = m[k];
|
|
18
|
-
}));
|
|
19
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
20
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
|
-
};
|
|
22
|
-
exports.__esModule = true;
|
|
23
|
-
__exportStar(require("./project"), exports);
|
|
24
|
-
__exportStar(require("./channel"), exports);
|
|
25
|
-
__exportStar(require("./message"), exports);
|
|
26
|
-
__exportStar(require("./subscription"), exports);
|
|
27
|
-
__exportStar(require("./friend"), exports);
|
|
28
|
-
__exportStar(require("./member"), exports);
|
|
29
|
-
__exportStar(require("./memberblocks"), exports);
|
|
30
|
-
__exportStar(require("./pin"), exports);
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
package/esm/queries/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/queries/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;AAEH,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,iDAA+B;AAC/B,wCAAsB"}
|
package/esm/queries/member.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) NBASE CORP. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Get information data of the member.
|
|
9
|
-
*
|
|
10
|
-
* @async
|
|
11
|
-
* @function getMembers
|
|
12
|
-
* @param {string} filter - Field value for filter.
|
|
13
|
-
* @param {string} sort - Field value for sorting.
|
|
14
|
-
* @param {string} option - Optional option: ex) offset, per_page.
|
|
15
|
-
* @returns {Promise<any>}
|
|
16
|
-
*/
|
|
17
|
-
export declare const getMembers: (filter: string, sort: string, option: string) => Promise<any>;
|