@degen/schema
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -8,2 +8,3 @@ "use strict"; | ||
const Platforms_1 = __importDefault(require("../../constants/Platforms")); | ||
const EventTypes_1 = __importDefault(require("../../constants/EventTypes")); | ||
const PoapEventsSchema = new mongoose_1.Schema({ | ||
@@ -48,2 +49,12 @@ eventName: String, | ||
}], | ||
eventType: { | ||
type: String, | ||
enum: [ | ||
EventTypes_1.default.BY_ATTENDANCE, | ||
EventTypes_1.default.ALL_MEMBERS, | ||
EventTypes_1.default.BY_ROLES, | ||
EventTypes_1.default.BY_USER_ID, | ||
], | ||
required: true, | ||
}, | ||
isManualDistribution: { | ||
@@ -50,0 +61,0 @@ type: Boolean, |
@@ -10,2 +10,3 @@ interface PoapEvent { | ||
eligibleParticipants: EligibleParticipant[]; | ||
eventType: string; | ||
isManualDistribution?: boolean; | ||
@@ -12,0 +13,0 @@ discordEventMetadata?: DiscordEventMetadata; |
@@ -10,6 +10,6 @@ Business Source License 1.1 | ||
Licensor: DEGEN Workgroup | ||
Licensor: Solid Chain Technologies, LLC | ||
Licensed Work: DEGEN | ||
The Licensed Work is (c) 2022 DEGEN Workgroup | ||
Licensed Work: DEGEN Schema | ||
The Licensed Work is (c) 2022 Solid Chain Technologies, LLC | ||
@@ -97,2 +97,2 @@ Change Date: The earliest of 2025-01-01 | ||
Source license. However, the Licensed Work will eventually be made available | ||
under an Open Source License, as stated in this License. | ||
under an Open Source License, as stated in this License. |
{ | ||
"name": "@degen/schema", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Schema for degen", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/degen-workgroup/schema.git" | ||
"url": "git+https://github.com/solid-chain/schema" | ||
}, | ||
@@ -27,5 +27,5 @@ "author": "Brian Patino <patinobrian@gmail.com>", | ||
"bugs": { | ||
"url": "https://github.com/degen-workgroup/schema/issues" | ||
"url": "https://github.com/solid-chain/schema/issues" | ||
}, | ||
"homepage": "https://github.com/degen-workgroup/schema#readme", | ||
"homepage": "https://github.com/solid-chain/schema#readme", | ||
"dependencies": { | ||
@@ -32,0 +32,0 @@ "mongoose": "6.2.11" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
55929
60
612