UNPKG

@solid/community-server

Version:

Community Solid Server: an open and modular implementation of the Solid specifications

15 lines (14 loc) 447 B
import type { ResourceIdentifier } from '../http/representation/ResourceIdentifier'; /** * A set containing resources. */ export interface ResourceSet { /** * Checks whether a resource exists in this ResourceSet. * * @param identifier - Identifier of resource to check. * * @returns A promise resolving if the resource already exists. */ hasResource: (identifier: ResourceIdentifier) => Promise<boolean>; }