View Source Lightning.Projects.Project (Lightning v2.10.4)

Project model

Summary

Functions

Changeset to validate a project deletion request, the user must enter the projects name to confirm.

Types

Link to this type

retention_policy_type()

View Source
@type retention_policy_type() :: :retain_all | :retain_with_errors | :erase_all
@type t() :: %Lightning.Projects.Project{
  __meta__: Ecto.Schema.Metadata.t(),
  credentials: term(),
  dataclip_retention_period: term(),
  description: term(),
  history_retention_period: term(),
  id: Ecto.UUID.t() | nil,
  inserted_at: term(),
  jobs: term(),
  name: term(),
  oauth_clients: term(),
  project_credentials: term(),
  project_oauth_clients: term(),
  project_users:
    [Lightning.Projects.ProjectUser.t()] | Ecto.Association.NotLoaded.t(),
  requires_mfa: term(),
  retention_policy: term(),
  scheduled_deletion: term(),
  updated_at: term(),
  users: term(),
  workflows: term()
}

Functions

Link to this function

data_retention_options()

View Source
@spec data_retention_options() :: [pos_integer(), ...]
Link to this function

deletion_changeset(project, attrs)

View Source

Changeset to validate a project deletion request, the user must enter the projects name to confirm.

Link to this function

project_with_users_changeset(project, attrs)

View Source