Beacon.Content.JSHook (Beacon v0.5.0)
View SourceStores a JS Hook which can be referenced from your Beacon pages, layouts, and components.
Do not create or edit JS Hooks manually
Use the public functions in Beacon.Content
instead.
The functions in that module guarantee that all dependencies
are created correctly and all processes are updated.
Manipulating data manually will most likely result
in inconsistent behavior and crashes.
Summary
Types
@type t() :: %Beacon.Content.JSHook{ __meta__: term(), code: binary(), id: UUID.t(), inserted_at: DateTime.t(), name: binary(), site: Site.t(), updated_at: DateTime.t() }