Skip to content
Snippets Groups Projects

Helm charts

Merged Konstantin Tsabolov requested to merge tsabolov/ocm-engine:chore/helm-charts into main
8 files
+ 436
96
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -7,11 +7,11 @@ import {
import { BaseEvent } from './baseEvents.js';
export type EventDidcommAnonCredsCredentialsGetAllInput = BaseEventInput;
export class EventDidcommAnonCredsCredentialsGetAll extends BaseEvent<
export type EventAnonCredsCredentialsGetAllInput = BaseEventInput;
export class EventAnonCredsCredentialsGetAll extends BaseEvent<
Array<CredentialExchangeRecord>
> {
public static token = 'didcomm.anoncreds.credentials.getAll';
public static token = 'anoncreds.credentials.getAll';
public get instance() {
return this.data.map((d) =>
@@ -19,8 +19,8 @@ export class EventDidcommAnonCredsCredentialsGetAll extends BaseEvent<
);
}
public static fromEvent(e: EventDidcommAnonCredsCredentialsGetAll) {
return new EventDidcommAnonCredsCredentialsGetAll(
public static fromEvent(e: EventAnonCredsCredentialsGetAll) {
return new EventAnonCredsCredentialsGetAll(
e.data,
e.tenantId,
e.id,
@@ -30,11 +30,11 @@ export class EventDidcommAnonCredsCredentialsGetAll extends BaseEvent<
}
}
export type EventDidcommAnonCredsCredentialsGetByIdInput = BaseEventInput<{
export type EventAnonCredsCredentialsGetByIdInput = BaseEventInput<{
credentialRecordId: string;
}>;
export class EventDidcommAnonCredsCredentialsGetById extends BaseEvent<CredentialExchangeRecord | null> {
public static token = 'didcomm.anoncreds.credentials.getById';
export class EventAnonCredsCredentialsGetById extends BaseEvent<CredentialExchangeRecord | null> {
public static token = 'anoncreds.credentials.getById';
public get instance() {
return this.data
@@ -42,8 +42,8 @@ export class EventDidcommAnonCredsCredentialsGetById extends BaseEvent<Credentia
: null;
}
public static fromEvent(e: EventDidcommAnonCredsCredentialsGetById) {
return new EventDidcommAnonCredsCredentialsGetById(
public static fromEvent(e: EventAnonCredsCredentialsGetById) {
return new EventAnonCredsCredentialsGetById(
e.data,
e.tenantId,
e.id,
@@ -97,3 +97,20 @@ export class EventDidcommAnonCredsCredentialsOfferToSelf extends BaseEvent<Crede
);
}
}
export type EventAnonCredsCredentialsDeleteByIdInput = BaseEventInput<{
credentialRecordId: string;
}>;
export class EventAnonCredsCredentialsDeleteById extends BaseEvent {
public static token = 'anoncreds.credentials.offerToSelf.deleteById';
public static fromEvent(e: EventAnonCredsCredentialsDeleteById) {
return new EventAnonCredsCredentialsDeleteById(
e.data,
e.tenantId,
e.id,
e.type,
e.timestamp,
);
}
}
Loading