UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

9 lines (8 loc) • 701 B
import type { z } from 'zod'; import type { ContentItemSchema, ContentItemsInputSchema, DeepLinkingOptionsSchema } from '#services/deep-linking/deep-linking.schemas'; /** A single deep-linked resource (link, file, HTML fragment, LTI resource link, or image) being returned to the platform. */ export type ContentItem = z.infer<typeof ContentItemSchema>; /** The `contentItems` argument to `DeepLinking.createDeepLinkingMessage`/`createDeepLinkingForm`. */ export type ContentItemsInput = z.infer<typeof ContentItemsInputSchema>; /** Options controlling the generated deep-linking response JWT (e.g. `data`, custom claims). */ export type DeepLinkingOptions = z.infer<typeof DeepLinkingOptionsSchema>;