@eventvisor/types 0.6.0 → 0.8.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.8.0](https://github.com/eventvisor/eventvisor/compare/v0.7.0...v0.8.0) (2025-10-28)
7
+
8
+ **Note:** Version bump only for package @eventvisor/types
9
+
10
+
11
+
12
+
13
+
14
+ # [0.7.0](https://github.com/eventvisor/eventvisor/compare/v0.6.0...v0.7.0) (2025-10-19)
15
+
16
+
17
+ ### Features
18
+
19
+ * catalog base ([#22](https://github.com/eventvisor/eventvisor/issues/22)) ([30690e7](https://github.com/eventvisor/eventvisor/commit/30690e732db1b0ca232b888617d12bccf2f2c6f1))
20
+
21
+
22
+
23
+
24
+
6
25
  # [0.6.0](https://github.com/eventvisor/eventvisor/compare/v0.5.0...v0.6.0) (2025-10-04)
7
26
 
8
27
  **Note:** Version bump only for package @eventvisor/types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventvisor/types",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Common Typescript types for Eventvisor",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -36,5 +36,5 @@
36
36
  "url": "https://github.com/eventvisor/eventvisor/issues"
37
37
  },
38
38
  "license": "MIT",
39
- "gitHead": "ca4f29c599f62ae1762287027a824fb832dabf9e"
39
+ "gitHead": "576d9aad61a71d542a0c574b1cd343c1f78ec9ca"
40
40
  }
package/src/index.d.ts CHANGED
@@ -433,3 +433,77 @@ export interface DestinationTest {
433
433
  export type Test = EventTest | AttributeTest | EffectTest | DestinationTest;
434
434
 
435
435
  export type TestName = string;
436
+
437
+ /**
438
+ * Catalog
439
+ */
440
+ export interface LastModified {
441
+ commit: string;
442
+ timestamp: string;
443
+ author: string;
444
+ }
445
+
446
+ export interface Catalog {
447
+ projectConfig: {
448
+ tags: string[];
449
+ };
450
+
451
+ links?: {
452
+ attribute: string;
453
+ event: string;
454
+ destination: string;
455
+ effect: string;
456
+ commit: string;
457
+ };
458
+
459
+ entities: {
460
+ attributes: {
461
+ [key: AttributeName]: Attribute & {
462
+ lastModified?: LastModified;
463
+ };
464
+ };
465
+ events: {
466
+ [key: EventName]: Event & {
467
+ lastModified?: LastModified;
468
+ };
469
+ };
470
+ destinations: {
471
+ [key: DestinationName]: Destination & {
472
+ lastModified?: LastModified;
473
+ };
474
+ };
475
+ effects: {
476
+ [key: EffectName]: Effect & {
477
+ lastModified?: LastModified;
478
+ };
479
+ };
480
+ };
481
+ }
482
+
483
+ export interface HistoryEntity {
484
+ type: EntityType;
485
+ key: string;
486
+ }
487
+
488
+ export interface HistoryEntry {
489
+ commit: string;
490
+ author: string;
491
+ timestamp: string;
492
+ entities: HistoryEntity[];
493
+ }
494
+
495
+ export interface Commit {
496
+ hash: string;
497
+ author: string;
498
+ timestamp: string;
499
+ entities: EntityDiff[];
500
+ }
501
+
502
+ export interface EntityDiff {
503
+ type: EntityType;
504
+ key: string;
505
+ created?: boolean;
506
+ deleted?: boolean;
507
+ updated?: boolean;
508
+ content?: string;
509
+ }