@zeplin/sdk
Version:
Zeplin API client for JavaScript
145 lines (144 loc) • 3.42 kB
TypeScript
/**
* Zeplin API
* Access your resources in Zeplin
*
* Contact: support@zeplin.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { EntityReference } from './entity-reference';
import { OrganizationSummary } from './organization-summary';
import { ProjectStatusEnum } from './project-status-enum';
import { RemPreferences } from './rem-preferences';
import { WorkflowStatus } from './workflow-status';
export declare const transformProjectToJSON: (value: Project) => any;
export declare const transformJSONToProject: (value: any) => Project;
/**
*
* @export
* @interface Project
*/
export interface Project {
/**
* The unique id of the project
* @type {string}
* @memberof Project
*/
id: string;
/**
* The name of the project
* @type {string}
* @memberof Project
*/
name: string;
/**
* The description of the project
* @type {string}
* @memberof Project
*/
description?: string;
/**
* The target platform of the project
* @type {string}
* @memberof Project
*/
platform: 'web' | 'ios' | 'android' | 'macos';
/**
* URL of the project\'s thumbnail image
* @type {string}
* @memberof Project
*/
thumbnail?: string;
/**
*
* @type {ProjectStatusEnum}
* @memberof Project
*/
status: ProjectStatusEnum;
/**
*
* @type {OrganizationSummary}
* @memberof Project
*/
organization?: OrganizationSummary;
/**
*
* @type {RemPreferences}
* @memberof Project
*/
remPreferences?: RemPreferences;
/**
*
* @type {WorkflowStatus}
* @memberof Project
*/
workflowStatus?: WorkflowStatus;
/**
* URL of the project\'s scene (public projects only)
* @type {string}
* @memberof Project
*/
sceneUrl?: string;
/**
* The unix timestamp when the project was created
* @type {number}
* @memberof Project
*/
created: number;
/**
* The unix timestamp when the project was updated
* @type {number}
* @memberof Project
*/
updated?: number;
/**
* The number of members of the project
* @type {number}
* @memberof Project
*/
numberOfMembers: number;
/**
* The number of screens in the project
* @type {number}
* @memberof Project
*/
numberOfScreens: number;
/**
* The number of components exported to the project
* @type {number}
* @memberof Project
*/
numberOfComponents: number;
/**
* The number of connected components in the project
* @type {number}
* @memberof Project
*/
numberOfConnectedComponents: number;
/**
* The number of text styles added to the project
* @type {number}
* @memberof Project
*/
numberOfTextStyles: number;
/**
* The number of colors added to the project
* @type {number}
* @memberof Project
*/
numberOfColors: number;
/**
* The number of spacing tokens added to the project
* @type {number}
* @memberof Project
*/
numberOfSpacingTokens: number;
/**
*
* @type {EntityReference}
* @memberof Project
*/
linkedStyleguide?: EntityReference;
}