Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gesso/types/params.ts>StoreCustomDataParams

A TypeScript API client for Canvas LMS
Latest
interface StoreCustomDataParams
import { type StoreCustomDataParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";

Properties

optional
ns: string

The namespace under which to store the data. This should be something other Canvas API apps aren't likely to use, such as a reverse DNS for your organization.

optional
data: Record<string, unknown>

The data you want to store for the user, at the specified scope. If the data is composed of (possibly nested) JSON objects, scopes will be generated for the (nested) keys (see examples).