From 45f94177db2274595c45211bafb510eed495dda3 Mon Sep 17 00:00:00 2001 From: Saurav Date: Mon, 22 Jul 2024 15:37:19 -0400 Subject: [PATCH] add report --- etc/client.report.api.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/etc/client.report.api.md b/etc/client.report.api.md index d83a16fde..1f4ac57c2 100644 --- a/etc/client.report.api.md +++ b/etc/client.report.api.md @@ -12,11 +12,13 @@ import { ActionValidationResponse } from '@osdk/client.api'; import { ApplyActionOptions } from '@osdk/client.api'; import { ApplyBatchActionOptions } from '@osdk/client.api'; import type { Attachment } from '@osdk/client.api'; +import type { AttachmentUpload } from '@osdk/client.api'; import type { GreaterThan } from 'type-fest'; import type { GreaterThanOrEqual } from 'type-fest'; import type { InterfaceDefinition } from '@osdk/api'; import { InterfaceObjectSet } from '@osdk/client.api'; import type { IsEqual } from 'type-fest'; +import { isOk } from '@osdk/client.api'; import type { LessThan } from 'type-fest'; import type { Logger } from 'pino'; import { NOOP } from '@osdk/client.api'; @@ -31,6 +33,7 @@ import { PageResult } from '@osdk/client.api'; import { PalantirApiError } from '@osdk/shared.net.errors'; import type { QueryDefinition } from '@osdk/api'; import type { QuerySignatureFromDef } from '@osdk/client.api'; +import { Result } from '@osdk/client.api'; import type { SharedClient } from '@osdk/shared.client'; import { SharedClientContext } from '@osdk/shared.client'; import type { VersionBound } from '@osdk/api'; @@ -70,6 +73,9 @@ export interface Client extends SharedClient { // @public (undocumented) export function createAttachmentFromRid(client: MinimalClient, rid: string): Attachment; +// @public (undocumented) +export function createAttachmentUpload(data: Blob, name: string): AttachmentUpload; + // @public (undocumented) export const createClient: (baseUrl: string, ontologyRid: string | Promise, tokenProvider: () => Promise, options?: { logger?: Logger; @@ -85,10 +91,7 @@ export function createPlatformClient(baseUrl: string, tokenProvider: () => Promi export { InterfaceObjectSet } -// @public (undocumented) -export function isOk(result: ResultOrError): result is { - type: "ok"; -}; +export { isOk } export { NOOP } @@ -104,6 +107,8 @@ export { PageResult } export { PalantirApiError } +export { Result } + // @public (undocumented) export type ResultOrError = ({ type: "ok";