Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dynablox_opencloud/src/services/opencloud/DataStoreService.ts>DataStoreService

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
class DataStoreService
extends BaseService
import { DataStoreService } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/services/opencloud/DataStoreService.ts";

Methods

getDataStoreEntry<Expect = unknown, Attributes extends Record<string, unknown> = Record<string, unknown>>(
universeId: number,
datastoreName: string,
entryKey: string,
scope?,
): Promise<DataStoreEntry<Expect, Attributes>>
getDataStoreEntryVersion<Expect = unknown>(
universeId: number,
datastoreName: string,
entryKey: string,
versionId: string,
scope?,
): Promise<DataStoreEntryVersion<Expect>>
incrementDataStoreEntry(
universeId: number,
dataStoreName: string,
entryKey: string,
incrementBy: number,
attributes?: Record<string, unknown>,
userIds?: number[],
scope?,
): Promise<EntryVersion>
listDataStoreEntries(
universeId: number,
datastoreName: string,
scopeOrAllScopes?: string | boolean,
prefix?: string,
limit?: number,
cursor?: string,
): Promise<ListDataStoreEntriesResponse>
listDataStoreEntryVersions(
universeId: number,
dataStoreName: string,
entryKey: string,
startTime?: string,
endTime?: string,
sortOrder?: SortOrderLong,
limit?: number,
scope?,
cursor?: string,
): Promise<ListDataStoreEntryVersionsResponse>
listDataStores(
universeId: number,
prefix?: string,
limit?: number,
cursor?: string,
): Promise<ListDataStoresResponse>
removeDataStoreEntry(
universeId: number,
dataStoreName: string,
entryKey: string,
scope?,
): Promise<void>
updateDataStoreEntry(
universeId: number,
dataStoreName: string,
entryKey: string,
data: string,
attributes?: Record<string, unknown>,
userIds?: number[],
scope?,
matchKeyVersion?: string,
createOnly?: boolean,
): Promise<EntryVersion>