@social-exchange/types
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -31,4 +31,4 @@ import { Offer, OfferType } from './offer'; | ||
reposts: TypedDispenses<OfferType.reposts>, | ||
friends: TypedDispenses<OfferType.friends>, | ||
followers: TypedDispenses<OfferType.followers>, | ||
subscribes: TypedDispenses<OfferType.subscribes>, | ||
}; |
@@ -32,5 +32,6 @@ import type { Dispenses } from './dispenses'; | ||
* Получатель задания. Получателем может быть как пользователь, так и | ||
* отдельный профиль пользователя | ||
* отдельный профиль пользователя. Если указано число, считается что | ||
* это id пользователя (User'a) | ||
*/ | ||
recipient: Profile|User, | ||
recipient: Profile|User|number, | ||
} | ||
@@ -37,0 +38,0 @@ |
@@ -13,4 +13,4 @@ import { NetworkType } from './network'; | ||
reposts = 'reposts', | ||
friends = 'friends', | ||
followers = 'followers', | ||
subscribes = 'subscribes', | ||
}; | ||
@@ -17,0 +17,0 @@ |
@@ -16,6 +16,6 @@ "use strict"; | ||
OfferType["reposts"] = "reposts"; | ||
OfferType["friends"] = "friends"; | ||
OfferType["followers"] = "followers"; | ||
OfferType["subscribes"] = "subscribes"; | ||
})(OfferType = exports.OfferType || (exports.OfferType = {})); | ||
; | ||
//# sourceMappingURL=offer.js.map |
{ | ||
"name": "@social-exchange/types", | ||
"description": "Type defenitions for social-exchange", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9644
219