OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

sendNotification

  • Type: operation (command)
  • Version: 1.0.0
  • File: packages/examples/video-api-showcase/src/sample-specs.ts
  • ```typescript

    export const sendNotification = defineCommand({

    meta: {

    name: "SendNotification",

    field.key.label
    sendNotification
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    sendNotification
    field.description.label
  • Type: operation (command)
  • Version: 1.0.0
  • File: packages/examples/video-api-showcase/src/sample-specs.ts
  • ```typescript

    export const sendNotification = defineCommand({

    meta: {

    name: "SendNotification",

    field.tags.label
    field.owners.label
    field.stability.label

    Source Definition

    export const sendNotification = defineCommand({
      meta: {
        name: "SendNotification",
        version: "1.0.0",
        stability: "Beta",
      },
      io: {
        input: z.object({
          userId: z.string().uuid(),
          channel: z.enum(["push", "email", "sms"]),
          title: z.string(),
          body: z.string(),
        }),
        output: z.object({
          notificationId: z.string().uuid(),
          deliveredAt: z.date().nullable(),
          status: z.enum(["sent", "failed", "queued"]),
        }),
      },
    });