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