Skip to main content
Version: v1

StaticStorageDocumentServiceFactory Class

Signature

export declare class StaticStorageDocumentServiceFactory implements IDocumentServiceFactory

Implements: IDocumentServiceFactory

Constructors

Constructor Description
(constructor)(storage) Constructs a new instance of the StaticStorageDocumentServiceFactory class

Properties

Property Type Description
protocolName
storage IDocumentStorageService

Methods

Method Return Type Description
createContainer(createNewSummary, resolvedUrl, logger, clientIsSummarizer) Promise<IDocumentService>
createDocumentService(fileURL, logger, clientIsSummarizer) Promise<IDocumentService>

Constructor Details

(constructor)

Constructs a new instance of the StaticStorageDocumentServiceFactory class

Signature

constructor(storage: IDocumentStorageService);

Parameters

Parameter Type Description
storage IDocumentStorageService

Property Details

protocolName

Signature

readonly protocolName = "fluid-static-storage:";

storage

Signature

protected readonly storage: IDocumentStorageService;

Type: IDocumentStorageService

Method Details

createContainer

Signature

createContainer(createNewSummary: ISummaryTree, resolvedUrl: IResolvedUrl, logger: ITelemetryLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;

Parameters

Parameter Modifiers Type Description
createNewSummary ISummaryTree
resolvedUrl IResolvedUrl
logger ITelemetryLogger
clientIsSummarizer optional boolean

Returns

Return type: Promise<IDocumentService>

createDocumentService

Signature

createDocumentService(fileURL: IResolvedUrl, logger?: ITelemetryLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;

Parameters

Parameter Modifiers Type Description
fileURL IResolvedUrl
logger optional ITelemetryLogger
clientIsSummarizer optional boolean

Returns

Return type: Promise<IDocumentService>