File

src/common/interfaces/CmsTypes.ts

Index

Properties

Properties

attributes
attributes: literal type
Type : literal type
id
id: string
Type : string
export interface IOnboardFixedUniqueFields {
  id: string;
  label: "Subscribed Funds";
  accessor: "subscribedFunds";
  type: "tags";
  required: boolean;
  options: [
    [
      {
        value: string;
        label: string;
      },
    ],
  ];
  section: "Subscription Funds";
  validation: null;
}
export interface FundCollectionAttribute {
  createdAt: string;
  updatedAt: string;
  publishedAt: string;
  onboard_fixed_unique_fields: IOnboardFixedUniqueFields;
  user: { data: { id: string; attributes: { email: string } } };
}

export interface IFundCollection {
  id: string;
  attributes: FundCollectionAttribute;
}

interface ICmsOnchainField {
  __temp_key__?: number;
  id?: number;
  name: string;
  label: string;
}

export interface IOnboardOnchainForm {
  id: string;
  attributes: {
    createdAt: string;
    publishedAt: string;
    updatedAt: string;
    onboard_onchain_fields: ICmsOnchainField[];
    users: { data: { id: string; attributes: { email: string } }[] };
  };
}

results matching ""

    No results matching ""