maca/postgrest-admin-preview/9.0.1

NOTE: the latest version is 15.0.0

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/maca/postgrest-admin-preview.

What we checked: Rebuilt with git archive from commit a484b1b7cd8a of https://github.com/maca/postgrest-admin-preview (zip prefix maca-postgrest-admin-preview-a484b1b/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 c7975fd41644a8fa2fa6d99230b29b56e51025b7.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/maca/postgrest-admin-preview/zipball/9.0.1/

PostgRestAdmin.Cmd

Program configuration

type alias Cmd msg =
Cmd msg

Wrapper around the vanilla Elm Cmd for internal communication.

When mounting an application via Config.withMountPoint, your app should use this type instead of Platform.Cmd, then it's just matter of using wrap to wrap the Cmd.

PostgRestAdmin.Client speaks this language.

wrap : Cmd msg -> Cmd msg

Wraps the Platform.Cmd.

  import Time exposing (Posix)


  getNewTime : (Posix -> Msg) -> PostgRestAdmin.Cmd Msg
  getNewTime tagger =
    Task.perform tagger Time.now
        |> PostgRestAdmin.Cmd.wrap
none : Cmd msg

Do nothing.

wrap Platform.Cmd.none == none
batch : List (Cmd msg) -> Cmd msg

Pass a bunch of commands to the runtime, execution order is not guaranteed.

Equivalent to Platform.Cmd.batch.

map : (a -> b) -> Cmd a -> Cmd b

Transform the messages produced by a command.

Equivalent to Platform.Cmd.map.