Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/deps.ts

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
import * as blocks from "https://deno.land/x/blocks@1.63.13/deps.ts";

Classes

c
Component
abstract

JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)

A channel is the basic building block of Realtime and narrows the scope of data flow to subscribed clients. You can think of a channel as a chatroom where participants are able to see who's online and send and receive messages.

Supabase Client.

WorkflowContext is used for providing api access to the workflow engine.

Variables

Adds durable encryption layer to the sent messages.

Adds a layer of verification for received messages

An wrapper for WebCrypto adding support for additional non-standard algorithms, but delegating to the runtime WebCrypto implementation whenever possible.

Returns true when the current runtime is the browser and false otherwise. This is used for guard runtime-dependent code. Shorthand for the following: typeof document !== "undefined"

Adds the caller signature to the headers allowing receiveirs to validate the identity of the request.

Encode a given message to string.

Creates a new Supabase Client.

Exposes a workflow function as a http handler.

Exposes a workflow function as a runner.

Exposes a workflow function as a http websocket handler.

Functions

f
decodeHex
deprecated
f
encodeHex
deprecated

Parse cookies of a header

Parse set-cookies of a header

Set the cookie header properly in the headers

Implements a global exclusive lock using the Navigator LockManager API. It is available on all browsers released after 2022-03-15 with Safari being the last one to release support. If the API is not available, this function will throw. Make sure you check availablility before configuring GoTrueClient.

Note: this interface currently does not do actual async work, only provides a corresponding async interfaces to the @swc/core's interface.

Interfaces

Raised when an activity is in completed state.

ActivityStartedEvent is the event that is raised when the activity starts.

{key} or {key = value}

.swcrc

  • import { DEBUG } from '@ember/env-flags';
  • import { FEATURE_A, FEATURE_B } from '@ember/features';

Configuration ported from babel-preset-env

Event is the base event

  • export { foo } from 'mod'
  • export { foo as bar } from 'mod'

export * as foo from 'src';

Options for inline-global pass.

e.g. import foo from 'mod.js'

e.g. import * as foo from 'mod.js'.

Invoke the given http endpoint

WorkflowStartedEvent is the event that should start the workflow

These properties are mostly not implemented yet, but it exists to support passing terser config to swc minify without modification.

XML-based namespace syntax:

{key: value}

e.g. - import { foo } from 'mod.js'

Programmatic options.

An authentication methord reference (AMR) entry.

A MFA factor.

Contains the full multi-factor authentication administration API.

Contains the full multi-factor authentication API.

TimerFiredEvent is the event that is raised when a timer is fired.

TimerScheduledEvent is the event that is raised when a timer is scheduled.

Options for transform.

typeof operator

WaitingSignalEvent is used to indicate that the state is waiting for signal to proceed.

WorkflowCanceledEvent is a event that will cancel the workflow

WorkflowStartedEvent is the event that should start the workflow

WorkflowStartedEvent is the event that should start the workflow

Type Aliases

Arg is a generic argument

Diff

A handler for HTTP requests. Consumes a request and connection information and returns a response.

T
HandlerContext
deprecated

All possible types of events.

Intersection

JSON Schema v7

Primitive type

Primitive type

OptionalKeys

Overwrite

Identifier is a in { a, }

RequiredKeys

T
ServeHandler
deprecated

AuthOtpResponse is returned when OTP is used.

The properties related to the email link generated

Provide your own global lock implementation instead of the default implementation. The function should acquire a lock for the duration of the fn async function, such that no other client instances will be able to hold it at the same time.

Error format

One of the providers supported by GoTrue.

namespace A.B { } is a namespace named A with another TsNamespaceDecl as its body.

UnionToIntersection

WorkflowGen is the generator function returned by a workflow function.