@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
54 lines (53 loc) • 1.35 kB
TypeScript
import type { ItemRef } from "../common/ItemRef";
import type { ComponentModelProperties } from "./ComponentModelProperties";
import type { HasVisibilityFilters, PortalUsername } from "./HasVisibilityFilters";
/**
* Configuration for a shared project.
*/
export interface SharedProject extends HasVisibilityFilters {
/**
* The unique ID for this entity.
*/
readonly id: string;
/**
* A human-readable title for the shared project.
*/
title: string;
/**
* A description for the shared project.
*/
description: string;
/**
* The created Date.
*/
created: Date;
/**
* Indicates if the shared project is shared as 'read only'.
*/
readOnly?: boolean;
/**
* The modified Date.
*/
modified?: Date;
/**
* The username of the last modifier.
*/
modifiedBy?: PortalUsername;
/**
* The username of the owner.
*/
owner?: PortalUsername;
}
/**
* Configuration for the Shared Projects component.
*/
export interface SharedProjectsModelProperties extends ComponentModelProperties {
/**
* The actions to be shown in the shared projects title context menu.
*/
titleActions?: ItemRef;
/**
* The actions to be shown in the shared projects list context menu.
*/
projectActions?: ItemRef;
}