maca/postgrest-admin-preview/7.0.0

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 commit 6813d5de15b7863ed14e1c427541597710e8b556 (the tag's commit when Software Heritage visited).

What we checked: Rebuilt with git archive from commit 6813d5de15b7 of https://github.com/maca/postgrest-admin-preview commit 6813d5de15b7863ed14e1c427541597710e8b556 (the tag's commit when Software Heritage visited) (zip prefix maca-postgrest-admin-preview-468185a/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 da90e29f30684280f6bdd7427029b28a74c4107f.

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/7.0.0/

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.