Skip to content

Commit

Permalink
feat: added default for inputType (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo A <[email protected]>
  • Loading branch information
leo1994 and leo1994 authored Oct 25, 2023
1 parent c9f1f12 commit ce5ab18
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ export interface BrandDto {
privacyUrl: string | null;
customer: CustomerDto;
clientUrl: string | null;
isConciergeEnabled: boolean
isPartnerEnabled: boolean
isConciergeEnabled: boolean;
isPartnerEnabled: boolean;
}

/**
Expand Down Expand Up @@ -372,15 +372,15 @@ export interface CardDetailsDto {
}

export interface OfferDto {
uuid: string
id: string
createdAt: string
updatedAt: string
reward: string | null
description: string | null
isActiveOffer: boolean
receiverBrand: BrandDto
presentationRequest: PresentationRequestDto
uuid: string;
id: string;
createdAt: string;
updatedAt: string;
reward: string | null;
description: string | null;
isActiveOffer: boolean;
receiverBrand: BrandDto;
presentationRequest: PresentationRequestDto;
}

/******************************************
Expand Down Expand Up @@ -435,6 +435,7 @@ export interface CredentialSchemaInput {
type: InputFormatEnum; // input type (text, select, etc.)
options?: Array<string | { value: string; label: string }>; // options for select inputs
pattern?: string; // regex pattern for text inputs
default?: string; // default value for the input
}

export interface CredentialSchemaProperty {
Expand Down

0 comments on commit ce5ab18

Please sign in to comment.