ProjectResponse
@torque-labs/sdk / ProjectResponse
Type Alias: ProjectResponse
type ProjectResponse = {
createdAt: Date;
description: string | null;
discord: string | null;
id: string;
image: string | null;
name: string;
offchainAllocationEndpoint: string | null;
offers: | {
endTime: Date;
metadata: {
backgroundColor: ...;
backgroundImage: ...;
colorMode: ...;
description: ...;
image: ...;
title: string;
url: ...;
};
startTime: Date;
status: "DRAFT" | "ACTIVE" | "CLOSED";
} & {
distributors: {
id: ...;
status: ...;
}[];
id: string;
}[]
| null;
roles: {
createdAt: Date;
id: string;
role: "ADMIN" | "BUILDER" | "VIEWER";
updatedAt: Date;
}[];
telegram: string | null;
twitter: string | null;
updatedAt: Date;
website: string | null;
};Defined in: sdk/src/types/schemaTypes.ts:1878
Properties
createdAt?
Defined in: sdk/src/types/schemaTypes.ts:1888
description?
Defined in: sdk/src/types/schemaTypes.ts:1882
discord?
Defined in: sdk/src/types/schemaTypes.ts:1885
id
Defined in: sdk/src/types/schemaTypes.ts:1879
image?
Defined in: sdk/src/types/schemaTypes.ts:1881
name
Defined in: sdk/src/types/schemaTypes.ts:1880
offchainAllocationEndpoint?
Defined in: sdk/src/types/schemaTypes.ts:1887
offers?
Defined in: sdk/src/types/schemaTypes.ts:1896
roles
Defined in: sdk/src/types/schemaTypes.ts:1890
Name
Type
createdAt?
Date
id
string
role
"ADMIN" | "BUILDER" | "VIEWER"
updatedAt
Date
telegram?
Defined in: sdk/src/types/schemaTypes.ts:1883
twitter?
Defined in: sdk/src/types/schemaTypes.ts:1884
updatedAt
Defined in: sdk/src/types/schemaTypes.ts:1889
website?
Defined in: sdk/src/types/schemaTypes.ts:1886
Last updated