@dcl/schemas 19.0.0 → 19.1.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platform/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB;AACxB,wCAAqB;AACrB,gDAA6B;AAC7B,4CAAyB;AACzB,6CAA0B;AAC1B,8CAA2B;AAC3B,0CAAuB;AACvB,6CAA0B;AAC1B,gDAA6B;AAC7B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/platform/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB;AACxB,wCAAqB;AACrB,gDAA6B;AAC7B,4CAAyB;AACzB,6CAA0B;AAC1B,8CAA2B;AAC3B,0CAAuB;AACvB,6CAA0B;AAC1B,gDAA6B;AAC7B,2CAAwB;AACxB,0CAAuB;AACvB,+CAA4B;AAC5B,0CAAuB"}
@@ -0,0 +1,78 @@
1
+ import { JSONSchema, ValidateFunction } from '../../validation';
2
+ import { BaseEvent, Events } from './base';
3
+ export type WorldsPermissionGrantedEvent = BaseEvent & {
4
+ type: Events.Type.WORLD;
5
+ subType: Events.SubType.Worlds.WORLDS_PERMISSION_GRANTED;
6
+ metadata: {
7
+ title: string;
8
+ description: string;
9
+ world: string;
10
+ permissions: string[];
11
+ url: string;
12
+ address: string;
13
+ };
14
+ };
15
+ export type WorldsPermissionRevokedEvent = BaseEvent & {
16
+ type: Events.Type.WORLD;
17
+ subType: Events.SubType.Worlds.WORLDS_PERMISSION_REVOKED;
18
+ metadata: {
19
+ title: string;
20
+ description: string;
21
+ world: string;
22
+ permissions: string[];
23
+ url: string;
24
+ address: string;
25
+ };
26
+ };
27
+ export type WorldsAccessRestrictedEvent = BaseEvent & {
28
+ type: Events.Type.WORLD;
29
+ subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTRICTED;
30
+ metadata: {
31
+ title: string;
32
+ description: string;
33
+ when: number;
34
+ address: string;
35
+ };
36
+ };
37
+ export type WorldsAccessRestoredEvent = BaseEvent & {
38
+ type: Events.Type.WORLD;
39
+ subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTORED;
40
+ metadata: {
41
+ title: string;
42
+ description: string;
43
+ url: string;
44
+ attendee: string;
45
+ };
46
+ };
47
+ export type WorldsMissingResourcesEvent = BaseEvent & {
48
+ type: Events.Type.WORLD;
49
+ subType: Events.SubType.Worlds.WORLDS_MISSING_RESOURCES;
50
+ metadata: {
51
+ title: string;
52
+ description: string;
53
+ url: string;
54
+ when: number;
55
+ address: string;
56
+ };
57
+ };
58
+ export declare namespace WorldsAccessRestoredEvent {
59
+ const schema: JSONSchema<WorldsAccessRestoredEvent>;
60
+ const validate: ValidateFunction<WorldsAccessRestoredEvent>;
61
+ }
62
+ export declare namespace WorldsPermissionRevokedEvent {
63
+ const schema: JSONSchema<WorldsPermissionRevokedEvent>;
64
+ const validate: ValidateFunction<WorldsPermissionRevokedEvent>;
65
+ }
66
+ export declare namespace WorldsPermissionGrantedEvent {
67
+ const schema: JSONSchema<WorldsPermissionGrantedEvent>;
68
+ const validate: ValidateFunction<WorldsPermissionGrantedEvent>;
69
+ }
70
+ export declare namespace WorldsAccessRestrictedEvent {
71
+ const schema: JSONSchema<WorldsAccessRestrictedEvent>;
72
+ const validate: ValidateFunction<WorldsAccessRestrictedEvent>;
73
+ }
74
+ export declare namespace WorldsMissingResourcesEvent {
75
+ const schema: JSONSchema<WorldsMissingResourcesEvent>;
76
+ const validate: ValidateFunction<WorldsMissingResourcesEvent>;
77
+ }
78
+ //# sourceMappingURL=world.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"world.d.ts","sourceRoot":"","sources":["../../../src/platform/events/world.ts"],"names":[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1D,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,2BAA2B,CAAiC,CAAA;CACrG;AAED,yBAAiB,2BAA2B,CAAC;IACpC,MAAM,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAsB1D,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,2BAA2B,CAAiC,CAAA;CACrG"}
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorldsMissingResourcesEvent = exports.WorldsAccessRestrictedEvent = exports.WorldsPermissionGrantedEvent = exports.WorldsPermissionRevokedEvent = exports.WorldsAccessRestoredEvent = void 0;
4
+ const validation_1 = require("../../validation");
5
+ const base_1 = require("./base");
6
+ var WorldsAccessRestoredEvent;
7
+ (function (WorldsAccessRestoredEvent) {
8
+ WorldsAccessRestoredEvent.schema = {
9
+ type: 'object',
10
+ properties: {
11
+ type: { type: 'string', const: base_1.Events.Type.WORLD },
12
+ subType: { type: 'string', const: base_1.Events.SubType.Worlds.WORLDS_ACCESS_RESTORED },
13
+ key: { type: 'string' },
14
+ timestamp: { type: 'number', minimum: 0 },
15
+ metadata: {
16
+ type: 'object',
17
+ properties: {
18
+ title: { type: 'string' },
19
+ description: { type: 'string' },
20
+ url: { type: 'string' },
21
+ attendee: { type: 'string' }
22
+ },
23
+ required: ['title', 'description', 'url', 'attendee'],
24
+ additionalProperties: false
25
+ }
26
+ },
27
+ required: ['type', 'subType', 'key', 'timestamp', 'metadata'],
28
+ additionalProperties: false
29
+ };
30
+ WorldsAccessRestoredEvent.validate = (0, validation_1.generateLazyValidator)(WorldsAccessRestoredEvent.schema);
31
+ })(WorldsAccessRestoredEvent = exports.WorldsAccessRestoredEvent || (exports.WorldsAccessRestoredEvent = {}));
32
+ var WorldsPermissionRevokedEvent;
33
+ (function (WorldsPermissionRevokedEvent) {
34
+ WorldsPermissionRevokedEvent.schema = {
35
+ type: 'object',
36
+ properties: {
37
+ type: { type: 'string', const: base_1.Events.Type.WORLD },
38
+ subType: { type: 'string', const: base_1.Events.SubType.Worlds.WORLDS_PERMISSION_REVOKED },
39
+ key: { type: 'string' },
40
+ timestamp: { type: 'number', minimum: 0 },
41
+ metadata: {
42
+ type: 'object',
43
+ properties: {
44
+ title: { type: 'string' },
45
+ description: { type: 'string' },
46
+ world: { type: 'string' },
47
+ permissions: { type: 'array', items: { type: 'string' } },
48
+ url: { type: 'string' },
49
+ address: { type: 'string' }
50
+ },
51
+ required: ['title', 'description', 'world', 'permissions', 'url', 'address'],
52
+ additionalProperties: false
53
+ }
54
+ },
55
+ required: ['type', 'subType', 'key', 'timestamp', 'metadata'],
56
+ additionalProperties: false
57
+ };
58
+ WorldsPermissionRevokedEvent.validate = (0, validation_1.generateLazyValidator)(WorldsPermissionRevokedEvent.schema);
59
+ })(WorldsPermissionRevokedEvent = exports.WorldsPermissionRevokedEvent || (exports.WorldsPermissionRevokedEvent = {}));
60
+ var WorldsPermissionGrantedEvent;
61
+ (function (WorldsPermissionGrantedEvent) {
62
+ WorldsPermissionGrantedEvent.schema = {
63
+ type: 'object',
64
+ properties: {
65
+ type: { type: 'string', const: base_1.Events.Type.WORLD },
66
+ subType: { type: 'string', const: base_1.Events.SubType.Worlds.WORLDS_PERMISSION_GRANTED },
67
+ key: { type: 'string' },
68
+ timestamp: { type: 'number', minimum: 0 },
69
+ metadata: {
70
+ type: 'object',
71
+ properties: {
72
+ title: { type: 'string' },
73
+ description: { type: 'string' },
74
+ world: { type: 'string' },
75
+ permissions: { type: 'array', items: { type: 'string' } },
76
+ url: { type: 'string' },
77
+ address: { type: 'string' }
78
+ },
79
+ required: ['title', 'description', 'world', 'permissions', 'url', 'address'],
80
+ additionalProperties: false
81
+ }
82
+ },
83
+ required: ['type', 'subType', 'key', 'timestamp', 'metadata'],
84
+ additionalProperties: false
85
+ };
86
+ WorldsPermissionGrantedEvent.validate = (0, validation_1.generateLazyValidator)(WorldsPermissionGrantedEvent.schema);
87
+ })(WorldsPermissionGrantedEvent = exports.WorldsPermissionGrantedEvent || (exports.WorldsPermissionGrantedEvent = {}));
88
+ var WorldsAccessRestrictedEvent;
89
+ (function (WorldsAccessRestrictedEvent) {
90
+ WorldsAccessRestrictedEvent.schema = {
91
+ type: 'object',
92
+ properties: {
93
+ type: { type: 'string', const: base_1.Events.Type.WORLD },
94
+ subType: { type: 'string', const: base_1.Events.SubType.Worlds.WORLDS_ACCESS_RESTRICTED },
95
+ key: { type: 'string' },
96
+ timestamp: { type: 'number', minimum: 0 },
97
+ metadata: {
98
+ type: 'object',
99
+ properties: {
100
+ title: { type: 'string' },
101
+ description: { type: 'string' },
102
+ when: { type: 'number' },
103
+ address: { type: 'string' }
104
+ },
105
+ required: ['title', 'description', 'when', 'address'],
106
+ additionalProperties: false
107
+ }
108
+ },
109
+ required: ['type', 'subType', 'key', 'timestamp', 'metadata'],
110
+ additionalProperties: false
111
+ };
112
+ WorldsAccessRestrictedEvent.validate = (0, validation_1.generateLazyValidator)(WorldsAccessRestrictedEvent.schema);
113
+ })(WorldsAccessRestrictedEvent = exports.WorldsAccessRestrictedEvent || (exports.WorldsAccessRestrictedEvent = {}));
114
+ var WorldsMissingResourcesEvent;
115
+ (function (WorldsMissingResourcesEvent) {
116
+ WorldsMissingResourcesEvent.schema = {
117
+ type: 'object',
118
+ properties: {
119
+ type: { type: 'string', const: base_1.Events.Type.WORLD },
120
+ subType: { type: 'string', const: base_1.Events.SubType.Worlds.WORLDS_MISSING_RESOURCES },
121
+ key: { type: 'string' },
122
+ timestamp: { type: 'number', minimum: 0 },
123
+ metadata: {
124
+ type: 'object',
125
+ properties: {
126
+ title: { type: 'string' },
127
+ description: { type: 'string' },
128
+ url: { type: 'string' },
129
+ when: { type: 'number' },
130
+ address: { type: 'string' }
131
+ },
132
+ required: ['title', 'description', 'url', 'when', 'address'],
133
+ additionalProperties: false
134
+ }
135
+ },
136
+ required: ['type', 'subType', 'key', 'timestamp', 'metadata'],
137
+ additionalProperties: false
138
+ };
139
+ WorldsMissingResourcesEvent.validate = (0, validation_1.generateLazyValidator)(WorldsMissingResourcesEvent.schema);
140
+ })(WorldsMissingResourcesEvent = exports.WorldsMissingResourcesEvent || (exports.WorldsMissingResourcesEvent = {}));
141
+ //# sourceMappingURL=world.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"world.js","sourceRoot":"","sources":["../../../src/platform/events/world.ts"],"names":[],"mappings":";;;AAAA,iDAAsF;AACtF,iCAA0C;AA8D1C,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IAC3B,gCAAM,GAA0C;QAC3D,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAM,CAAC,IAAI,CAAC,KAAK,EAAE;YAClD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE;YAChF,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvB,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EAAE;YACzC,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACvB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC7B;gBACD,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,CAAC;gBACrD,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,CAAC;QAC7D,oBAAoB,EAAE,KA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mCAA2B,QA0B3C"}
package/dist/schemas.d.ts CHANGED
@@ -348,7 +348,7 @@ export declare type BaseBid = {
348
348
 
349
349
  export declare type BaseEvent = {
350
350
  type: Events.Type;
351
- subType: Events.SubType.Blockchain | Events.SubType.CatalystDeployment | Events.SubType.Client | Events.SubType.Marketplace | Events.SubType.Rewards | Events.SubType.Badge | Events.SubType.AssetBundle | Events.SubType.SocialService | Events.SubType.CreditsService | Events.SubType.Streaming | Events.SubType.Comms | Events.SubType.Referral | Events.SubType.Community | Events.SubType.Camera | Events.SubType.Web;
351
+ subType: Events.SubType.Blockchain | Events.SubType.CatalystDeployment | Events.SubType.Client | Events.SubType.Marketplace | Events.SubType.Rewards | Events.SubType.Badge | Events.SubType.AssetBundle | Events.SubType.SocialService | Events.SubType.CreditsService | Events.SubType.Streaming | Events.SubType.Comms | Events.SubType.Referral | Events.SubType.Community | Events.SubType.Camera | Events.SubType.Web | Events.SubType.Event | Events.SubType.Governance | Events.SubType.Worlds;
352
352
  key: string;
353
353
  timestamp: number;
354
354
  };
@@ -1305,7 +1305,27 @@ export declare namespace EthAddress {
1305
1305
  const validate: ValidateFunction<EthAddress>;
1306
1306
  }
1307
1307
 
1308
- export declare type Event = BadgeGrantedEvent | BidAcceptedEvent | BidReceivedEvent | CampaignGasPriceHigherThanExpectedEvent | CampaignOutOfFundsEvent | CampaignOutOfStockEvent | CatalystDeploymentEvent | CollectionCreatedEvent | FriendshipRequestEvent | FriendshipAcceptedEvent | ItemPublishedEvent | ItemSoldEvent | LoggedInEvent | LoggedInCachedEvent | MoveToParcelEvent | PassportOpenedEvent | RentalEndedEvent | RentalStartedEvent | RewardAssignedEvent | RewardDelayedEvent | RewardInProgressEvent | RoyaltiesEarnedEvent | UsedEmoteEvent | VerticalHeightReachedEvent | WalkedDistanceEvent | CreditsGoalCompletedEvent | StreamingKeyResetEvent | StreamingKeyRevokeEvent | StreamingKeyExpiredEvent | StreamingTimeExceededEvent | StreamingPlaceUpdatedEvent | UserJoinedRoomEvent | UserLeftRoomEvent | UserBannedFromSceneEvent | UserUnbannedFromSceneEvent | CreditsCompleteGoalsReminderEvent | CreditsUsageReminderEvent | CreditsUsage24HoursReminderEvent | CreditsDoNotMissOutReminderEvent | CreditsClaimReminderEvent | ReferralInvitedUsersAcceptedEvent | ReferralNewTierReachedEvent | CommunityDeletedEvent | CommunityDeletedContentViolationEvent | CommunityRenamedEvent | CommunityMemberBannedEvent | CommunityMemberRemovedEvent | CommunityRequestToJoinReceivedEvent | CommunityRequestToJoinAcceptedEvent | CommunityInviteReceivedEvent | PhotoTakenEvent | PhotoPrivacyChangedEvent | AuthIdentifyEvent;
1308
+ export declare type Event = BadgeGrantedEvent | BidAcceptedEvent | BidReceivedEvent | CampaignGasPriceHigherThanExpectedEvent | CampaignOutOfFundsEvent | CampaignOutOfStockEvent | CatalystDeploymentEvent | CollectionCreatedEvent | FriendshipRequestEvent | FriendshipAcceptedEvent | ItemPublishedEvent | ItemSoldEvent | LoggedInEvent | LoggedInCachedEvent | MoveToParcelEvent | PassportOpenedEvent | RentalEndedEvent | RentalStartedEvent | RewardAssignedEvent | RewardDelayedEvent | RewardInProgressEvent | RoyaltiesEarnedEvent | UsedEmoteEvent | VerticalHeightReachedEvent | WalkedDistanceEvent | CreditsGoalCompletedEvent | StreamingKeyResetEvent | StreamingKeyRevokeEvent | StreamingKeyExpiredEvent | StreamingTimeExceededEvent | StreamingPlaceUpdatedEvent | UserJoinedRoomEvent | UserLeftRoomEvent | UserBannedFromSceneEvent | UserUnbannedFromSceneEvent | CreditsCompleteGoalsReminderEvent | CreditsUsageReminderEvent | CreditsUsage24HoursReminderEvent | CreditsDoNotMissOutReminderEvent | CreditsClaimReminderEvent | ReferralInvitedUsersAcceptedEvent | ReferralNewTierReachedEvent | CommunityDeletedEvent | CommunityDeletedContentViolationEvent | CommunityRenamedEvent | CommunityMemberBannedEvent | CommunityMemberRemovedEvent | CommunityRequestToJoinReceivedEvent | CommunityRequestToJoinAcceptedEvent | CommunityInviteReceivedEvent | PhotoTakenEvent | PhotoPrivacyChangedEvent | AuthIdentifyEvent | EventCreatedEvent | EventStartedEvent | EventStartsSoonEvent | GovernanceProposalEnactedEvent | GovernanceCoauthorRequestedEvent | GovernancePitchPassedEvent | GovernanceTenderPassedEvent | GovernanceAuthoredProposalFinishedEvent | GovernanceVotingEndedVoterEvent | GovernanceNewCommentOnProposalEvent | GovernanceNewCommentOnProjectUpdatedEvent | GovernanceWhaleVoteEvent | GovernanceVotedOnBehalfEvent | GovernanceCliffEndedEvent | WorldsPermissionGrantedEvent | WorldsPermissionRevokedEvent | WorldsAccessRestoredEvent | WorldsAccessRestrictedEvent | WorldsMissingResourcesEvent;
1309
+
1310
+ export declare type EventCreatedEvent = BaseEvent & {
1311
+ type: Events.Type.EVENT;
1312
+ subType: Events.SubType.Event.EVENT_CREATED;
1313
+ metadata: {
1314
+ title: string;
1315
+ description: string;
1316
+ name: string;
1317
+ image: string;
1318
+ communityId: string;
1319
+ communityName: string;
1320
+ communityThumbnail?: string;
1321
+ attendee: string;
1322
+ };
1323
+ };
1324
+
1325
+ export declare namespace EventCreatedEvent {
1326
+ const schema: JSONSchema<EventCreatedEvent>;
1327
+ const validate: ValidateFunction<EventCreatedEvent>;
1328
+ }
1309
1329
 
1310
1330
  export declare namespace Events {
1311
1331
  export enum Type {
@@ -1324,7 +1344,9 @@ export declare namespace Events {
1324
1344
  COMMS = "comms",
1325
1345
  REFERRAL = "referral",
1326
1346
  COMMUNITY = "community",
1327
- CAMERA = "camera"
1347
+ CAMERA = "camera",
1348
+ EVENT = "event",
1349
+ GOVERNANCE = "governance"
1328
1350
  }
1329
1351
  export namespace SubType {
1330
1352
  export enum Blockchain {
@@ -1348,7 +1370,12 @@ export declare namespace Events {
1348
1370
  OUTFITS = "outfits"
1349
1371
  }
1350
1372
  export enum Worlds {
1351
- DEPLOYMENT = "deployment"
1373
+ DEPLOYMENT = "deployment",
1374
+ WORLDS_PERMISSION_GRANTED = "worlds_permission_granted",
1375
+ WORLDS_PERMISSION_REVOKED = "worlds_permission_revoked",
1376
+ WORLDS_ACCESS_RESTORED = "worlds_access_restored",
1377
+ WORLDS_ACCESS_RESTRICTED = "worlds_access_restricted",
1378
+ WORLDS_MISSING_RESOURCES = "worlds_missing_resources"
1352
1379
  }
1353
1380
  export enum Client {
1354
1381
  LOGGED_IN = "logged-in",
@@ -1420,9 +1447,66 @@ export declare namespace Events {
1420
1447
  PHOTO_TAKEN = "photo-taken",
1421
1448
  PHOTO_PRIVACY_CHANGED = "photo-privacy-changed"
1422
1449
  }
1450
+ export enum Event {
1451
+ EVENT_CREATED = "event-created",
1452
+ EVENT_STARTS_SOON = "event-starts-soon",
1453
+ EVENT_STARTED = "event-started"
1454
+ }
1455
+ export enum Governance {
1456
+ PROPOSAL_ENACTED = "governance_proposal_enacted",
1457
+ COAUTHOR_REQUESTED = "governance_coauthor_requested",
1458
+ PITCH_PASSED = "governance_pitch_passed",
1459
+ TENDER_PASSED = "governance_tender_passed",
1460
+ AUTHORED_PROPOSAL_FINISHED = "governance_authored_proposal_finished",
1461
+ VOTING_ENDED_VOTER = "governance_voting_ended_voter",
1462
+ NEW_COMMENT_ON_PROPOSAL = "governance_new_comment_on_proposal",
1463
+ NEW_COMMENT_ON_PROJECT_UPDATED = "governance_new_comment_on_project_update",
1464
+ WHALE_VOTE = "governance_whale_vote",
1465
+ VOTED_ON_BEHALF = "governance_voted_on_behalf",
1466
+ CLIFF_ENDED = "governance_cliff_ended"
1467
+ }
1423
1468
  }
1424
1469
  }
1425
1470
 
1471
+ export declare type EventStartedEvent = BaseEvent & {
1472
+ type: Events.Type.EVENT;
1473
+ subType: Events.SubType.Event.EVENT_STARTED;
1474
+ metadata: {
1475
+ name: string;
1476
+ image: string;
1477
+ link: string;
1478
+ communityThumbnail?: string;
1479
+ title: string;
1480
+ description: string;
1481
+ attendee: string;
1482
+ };
1483
+ };
1484
+
1485
+ export declare namespace EventStartedEvent {
1486
+ const schema: JSONSchema<EventStartedEvent>;
1487
+ const validate: ValidateFunction<EventStartedEvent>;
1488
+ }
1489
+
1490
+ export declare type EventStartsSoonEvent = BaseEvent & {
1491
+ type: Events.Type.EVENT;
1492
+ subType: Events.SubType.Event.EVENT_STARTS_SOON;
1493
+ metadata: {
1494
+ name: string;
1495
+ image: string;
1496
+ link: string;
1497
+ startsAt: string;
1498
+ endsAt: string;
1499
+ title: string;
1500
+ description: string;
1501
+ attendee: string;
1502
+ };
1503
+ };
1504
+
1505
+ export declare namespace EventStartsSoonEvent {
1506
+ const schema: JSONSchema<EventStartsSoonEvent>;
1507
+ const validate: ValidateFunction<EventStartsSoonEvent>;
1508
+ }
1509
+
1426
1510
  /** @alpha */
1427
1511
  export declare type FeatureToggles = {
1428
1512
  voiceChat?: EnabledDisabled;
@@ -1547,6 +1631,204 @@ export declare function getURNProtocol(chainId: ChainId): string;
1547
1631
  */
1548
1632
  export declare function getWorld(): World;
1549
1633
 
1634
+ export declare type GovernanceAuthoredProposalFinishedEvent = BaseEvent & {
1635
+ type: Events.Type.GOVERNANCE;
1636
+ subType: Events.SubType.Governance.AUTHORED_PROPOSAL_FINISHED;
1637
+ metadata: {
1638
+ proposalId: string;
1639
+ proposalTitle: string;
1640
+ title: string;
1641
+ description: string;
1642
+ link: string;
1643
+ address: string;
1644
+ };
1645
+ };
1646
+
1647
+ export declare namespace GovernanceAuthoredProposalFinishedEvent {
1648
+ const schema: JSONSchema<GovernanceAuthoredProposalFinishedEvent>;
1649
+ const validate: ValidateFunction<GovernanceAuthoredProposalFinishedEvent>;
1650
+ }
1651
+
1652
+ export declare type GovernanceCliffEndedEvent = BaseEvent & {
1653
+ type: Events.Type.GOVERNANCE;
1654
+ subType: Events.SubType.Governance.CLIFF_ENDED;
1655
+ metadata: {
1656
+ proposalId: string;
1657
+ proposalTitle: string;
1658
+ title: string;
1659
+ description: string;
1660
+ link: string;
1661
+ address: string;
1662
+ };
1663
+ };
1664
+
1665
+ export declare namespace GovernanceCliffEndedEvent {
1666
+ const schema: JSONSchema<GovernanceCliffEndedEvent>;
1667
+ const validate: ValidateFunction<GovernanceCliffEndedEvent>;
1668
+ }
1669
+
1670
+ export declare type GovernanceCoauthorRequestedEvent = BaseEvent & {
1671
+ type: Events.Type.GOVERNANCE;
1672
+ subType: Events.SubType.Governance.COAUTHOR_REQUESTED;
1673
+ metadata: {
1674
+ proposalId: string;
1675
+ proposalTitle: string;
1676
+ title: string;
1677
+ description: string;
1678
+ link: string;
1679
+ address: string;
1680
+ };
1681
+ };
1682
+
1683
+ export declare namespace GovernanceCoauthorRequestedEvent {
1684
+ const schema: JSONSchema<GovernanceCoauthorRequestedEvent>;
1685
+ const validate: ValidateFunction<GovernanceCoauthorRequestedEvent>;
1686
+ }
1687
+
1688
+ export declare type GovernanceNewCommentOnProjectUpdatedEvent = BaseEvent & {
1689
+ type: Events.Type.GOVERNANCE;
1690
+ subType: Events.SubType.Governance.NEW_COMMENT_ON_PROJECT_UPDATED;
1691
+ metadata: {
1692
+ proposalId: string;
1693
+ proposalTitle: string;
1694
+ title: string;
1695
+ description: string;
1696
+ link: string;
1697
+ address: string;
1698
+ };
1699
+ };
1700
+
1701
+ export declare namespace GovernanceNewCommentOnProjectUpdatedEvent {
1702
+ const schema: JSONSchema<GovernanceNewCommentOnProjectUpdatedEvent>;
1703
+ const validate: ValidateFunction<GovernanceNewCommentOnProjectUpdatedEvent>;
1704
+ }
1705
+
1706
+ export declare type GovernanceNewCommentOnProposalEvent = BaseEvent & {
1707
+ type: Events.Type.GOVERNANCE;
1708
+ subType: Events.SubType.Governance.NEW_COMMENT_ON_PROPOSAL;
1709
+ metadata: {
1710
+ proposalId: string;
1711
+ proposalTitle: string;
1712
+ title: string;
1713
+ description: string;
1714
+ link: string;
1715
+ address: string;
1716
+ };
1717
+ };
1718
+
1719
+ export declare namespace GovernanceNewCommentOnProposalEvent {
1720
+ const schema: JSONSchema<GovernanceNewCommentOnProposalEvent>;
1721
+ const validate: ValidateFunction<GovernanceNewCommentOnProposalEvent>;
1722
+ }
1723
+
1724
+ export declare type GovernancePitchPassedEvent = BaseEvent & {
1725
+ type: Events.Type.GOVERNANCE;
1726
+ subType: Events.SubType.Governance.PITCH_PASSED;
1727
+ metadata: {
1728
+ proposalId: string;
1729
+ proposalTitle: string;
1730
+ title: string;
1731
+ description: string;
1732
+ link: string;
1733
+ address: string;
1734
+ };
1735
+ };
1736
+
1737
+ export declare namespace GovernancePitchPassedEvent {
1738
+ const schema: JSONSchema<GovernancePitchPassedEvent>;
1739
+ const validate: ValidateFunction<GovernancePitchPassedEvent>;
1740
+ }
1741
+
1742
+ export declare type GovernanceProposalEnactedEvent = BaseEvent & {
1743
+ type: Events.Type.GOVERNANCE;
1744
+ subType: Events.SubType.Governance.PROPOSAL_ENACTED;
1745
+ metadata: {
1746
+ proposalId: string;
1747
+ proposalTitle: string;
1748
+ title: string;
1749
+ description: string;
1750
+ link: string;
1751
+ address: string;
1752
+ };
1753
+ };
1754
+
1755
+ export declare namespace GovernanceProposalEnactedEvent {
1756
+ const schema: JSONSchema<GovernanceProposalEnactedEvent>;
1757
+ const validate: ValidateFunction<GovernanceProposalEnactedEvent>;
1758
+ }
1759
+
1760
+ export declare type GovernanceTenderPassedEvent = BaseEvent & {
1761
+ type: Events.Type.GOVERNANCE;
1762
+ subType: Events.SubType.Governance.TENDER_PASSED;
1763
+ metadata: {
1764
+ proposalId: string;
1765
+ proposalTitle: string;
1766
+ title: string;
1767
+ description: string;
1768
+ link: string;
1769
+ address: string;
1770
+ };
1771
+ };
1772
+
1773
+ export declare namespace GovernanceTenderPassedEvent {
1774
+ const schema: JSONSchema<GovernanceTenderPassedEvent>;
1775
+ const validate: ValidateFunction<GovernanceTenderPassedEvent>;
1776
+ }
1777
+
1778
+ export declare type GovernanceVotedOnBehalfEvent = BaseEvent & {
1779
+ type: Events.Type.GOVERNANCE;
1780
+ subType: Events.SubType.Governance.VOTED_ON_BEHALF;
1781
+ metadata: {
1782
+ proposalId: string;
1783
+ proposalTitle: string;
1784
+ title: string;
1785
+ description: string;
1786
+ link: string;
1787
+ address: string;
1788
+ };
1789
+ };
1790
+
1791
+ export declare namespace GovernanceVotedOnBehalfEvent {
1792
+ const schema: JSONSchema<GovernanceVotedOnBehalfEvent>;
1793
+ const validate: ValidateFunction<GovernanceVotedOnBehalfEvent>;
1794
+ }
1795
+
1796
+ export declare type GovernanceVotingEndedVoterEvent = BaseEvent & {
1797
+ type: Events.Type.GOVERNANCE;
1798
+ subType: Events.SubType.Governance.VOTING_ENDED_VOTER;
1799
+ metadata: {
1800
+ proposalId: string;
1801
+ proposalTitle: string;
1802
+ title: string;
1803
+ description: string;
1804
+ link: string;
1805
+ address: string;
1806
+ };
1807
+ };
1808
+
1809
+ export declare namespace GovernanceVotingEndedVoterEvent {
1810
+ const schema: JSONSchema<GovernanceVotingEndedVoterEvent>;
1811
+ const validate: ValidateFunction<GovernanceVotingEndedVoterEvent>;
1812
+ }
1813
+
1814
+ export declare type GovernanceWhaleVoteEvent = BaseEvent & {
1815
+ type: Events.Type.GOVERNANCE;
1816
+ subType: Events.SubType.Governance.WHALE_VOTE;
1817
+ metadata: {
1818
+ proposalId: string;
1819
+ proposalTitle: string;
1820
+ title: string;
1821
+ description: string;
1822
+ link: string;
1823
+ address: string;
1824
+ };
1825
+ };
1826
+
1827
+ export declare namespace GovernanceWhaleVoteEvent {
1828
+ const schema: JSONSchema<GovernanceWhaleVoteEvent>;
1829
+ const validate: ValidateFunction<GovernanceWhaleVoteEvent>;
1830
+ }
1831
+
1550
1832
  export declare type HideableWearableCategory = WearableCategory | BodyPartCategory;
1551
1833
 
1552
1834
  export declare namespace HideableWearableCategory {
@@ -4074,4 +4356,89 @@ export declare namespace WorldConfiguration {
4074
4356
  const validate: ValidateFunction<WorldConfiguration>;
4075
4357
  }
4076
4358
 
4359
+ export declare type WorldsAccessRestoredEvent = BaseEvent & {
4360
+ type: Events.Type.WORLD;
4361
+ subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTORED;
4362
+ metadata: {
4363
+ title: string;
4364
+ description: string;
4365
+ url: string;
4366
+ attendee: string;
4367
+ };
4368
+ };
4369
+
4370
+ export declare namespace WorldsAccessRestoredEvent {
4371
+ const schema: JSONSchema<WorldsAccessRestoredEvent>;
4372
+ const validate: ValidateFunction<WorldsAccessRestoredEvent>;
4373
+ }
4374
+
4375
+ export declare type WorldsAccessRestrictedEvent = BaseEvent & {
4376
+ type: Events.Type.WORLD;
4377
+ subType: Events.SubType.Worlds.WORLDS_ACCESS_RESTRICTED;
4378
+ metadata: {
4379
+ title: string;
4380
+ description: string;
4381
+ when: number;
4382
+ address: string;
4383
+ };
4384
+ };
4385
+
4386
+ export declare namespace WorldsAccessRestrictedEvent {
4387
+ const schema: JSONSchema<WorldsAccessRestrictedEvent>;
4388
+ const validate: ValidateFunction<WorldsAccessRestrictedEvent>;
4389
+ }
4390
+
4391
+ export declare type WorldsMissingResourcesEvent = BaseEvent & {
4392
+ type: Events.Type.WORLD;
4393
+ subType: Events.SubType.Worlds.WORLDS_MISSING_RESOURCES;
4394
+ metadata: {
4395
+ title: string;
4396
+ description: string;
4397
+ url: string;
4398
+ when: number;
4399
+ address: string;
4400
+ };
4401
+ };
4402
+
4403
+ export declare namespace WorldsMissingResourcesEvent {
4404
+ const schema: JSONSchema<WorldsMissingResourcesEvent>;
4405
+ const validate: ValidateFunction<WorldsMissingResourcesEvent>;
4406
+ }
4407
+
4408
+ export declare type WorldsPermissionGrantedEvent = BaseEvent & {
4409
+ type: Events.Type.WORLD;
4410
+ subType: Events.SubType.Worlds.WORLDS_PERMISSION_GRANTED;
4411
+ metadata: {
4412
+ title: string;
4413
+ description: string;
4414
+ world: string;
4415
+ permissions: string[];
4416
+ url: string;
4417
+ address: string;
4418
+ };
4419
+ };
4420
+
4421
+ export declare namespace WorldsPermissionGrantedEvent {
4422
+ const schema: JSONSchema<WorldsPermissionGrantedEvent>;
4423
+ const validate: ValidateFunction<WorldsPermissionGrantedEvent>;
4424
+ }
4425
+
4426
+ export declare type WorldsPermissionRevokedEvent = BaseEvent & {
4427
+ type: Events.Type.WORLD;
4428
+ subType: Events.SubType.Worlds.WORLDS_PERMISSION_REVOKED;
4429
+ metadata: {
4430
+ title: string;
4431
+ description: string;
4432
+ world: string;
4433
+ permissions: string[];
4434
+ url: string;
4435
+ address: string;
4436
+ };
4437
+ };
4438
+
4439
+ export declare namespace WorldsPermissionRevokedEvent {
4440
+ const schema: JSONSchema<WorldsPermissionRevokedEvent>;
4441
+ const validate: ValidateFunction<WorldsPermissionRevokedEvent>;
4442
+ }
4443
+
4077
4444
  export { }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "19.0.0",
2
+ "version": "19.1.0",
3
3
  "name": "@dcl/schemas",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "./dist/index.d.ts",
@@ -45,5 +45,5 @@
45
45
  "files": [
46
46
  "dist"
47
47
  ],
48
- "commit": "08c4f0328bbceeab71fa6fd6ba8d50c444944313"
48
+ "commit": "f1c565a4f540f1b056252158a3a5171d68e7cc18"
49
49
  }