@fluid-topics/public-api
Advanced tools
Comparing version 1.0.21 to 1.0.22
import "cross-fetch/polyfill"; | ||
import { FtCollectionDocument, FtMap, FtMapResource, FtSearchLocales, FtSearchRequest, FtSearchResults, FtSuggestRequest, FtSuggestResults, FtTocNode, FtTopic, FtTopicContentTarget, FtUnstructuredDocument } from "./types/ft-common/public"; | ||
import { FtCollectionDocument, FtMap, FtMapResource, FtSearchLocales, FtSearchRequest, FtSearchResults, FtSuggestRequest, FtSuggestResults, FtTocNode, FtTopic, FtTopicContentTarget, FtTopicContentTargetKeys, FtUnstructuredDocument } from "./types/ft-common/public"; | ||
import { FtAuthenticatedSession, FtMapAttachment, FtSession } from "./types/ft-server/public"; | ||
@@ -28,3 +28,3 @@ export * from "./types/ft-common/public"; | ||
getTopic(mapId: string, topicContentId: string): Promise<FtTopic>; | ||
getTopicHTMLContent(mapId: string, topicContentId: string, target?: FtTopicContentTarget): Promise<string>; | ||
getTopicHTMLContent(mapId: string, topicContentId: string, target?: FtTopicContentTarget | FtTopicContentTargetKeys): Promise<string>; | ||
getMapAttachments(mapId: string): Promise<Array<FtMapAttachment>>; | ||
@@ -31,0 +31,0 @@ getMapAttachmentContent(mapId: string, attachmentId: string): Promise<ArrayBuffer>; |
@@ -91,2 +91,3 @@ export interface FtCredentials { | ||
} | ||
export declare type FtTopicContentTargetKeys = keyof typeof FtTopicContentTarget; | ||
export declare const isFtTopicContentTarget: (o: any) => o is FtTopicContentTarget; | ||
@@ -148,2 +149,3 @@ export interface FtSearchLocale { | ||
} | ||
export declare type FtEditorialTypeKeys = keyof typeof FtEditorialType; | ||
export declare const isFtEditorialType: (o: any) => o is FtEditorialType; | ||
@@ -154,2 +156,3 @@ export declare enum FtOpenMode { | ||
} | ||
export declare type FtOpenModeKeys = keyof typeof FtOpenMode; | ||
export declare const isFtOpenMode: (o: any) => o is FtOpenMode; | ||
@@ -168,2 +171,3 @@ export interface FtPageRequest { | ||
} | ||
export declare type FtCollectionDocumentTypeKeys = keyof typeof FtCollectionDocumentType; | ||
export declare const isFtCollectionDocumentType: (o: any) => o is FtCollectionDocumentType; | ||
@@ -266,2 +270,3 @@ export interface FtSearchResults { | ||
} | ||
export declare type FtSearchResultTypeKeys = keyof typeof FtSearchResultType; | ||
export declare const isFtSearchResultType: (o: any) => o is FtSearchResultType; | ||
@@ -268,0 +273,0 @@ export interface FtSearchFacet { |
{ | ||
"name": "@fluid-topics/public-api", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "Fluid Topics Public API", | ||
@@ -5,0 +5,0 @@ "author": "Fluid Topics dev team <opensource@antidot.net>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97275
1861