diff --git a/lib/doc_index.ex b/lib/doc_index.ex index 0fa9c788..8a3cba31 100644 --- a/lib/doc_index.ex +++ b/lib/doc_index.ex @@ -99,121 +99,110 @@ defmodule Ash.DocIndex do @spec code_modules :: [{String.t(), list(module)}] def code_modules do [ - {"Resources", - [ - Ash.Api, - Ash.Filter.TemplateHelpers, - Ash.Calculation, - Ash.Resource.Calculation.Builtins, - Ash.CodeInterface, - Ash.DataLayer, - Ash.Notifier, - Ash.Notifier.Notification, - Ash.Resource.ManualRead, - Ash.Resource.ManualRelationship - ]}, - {"Expressions", - [ - Ash.Expr - ]}, - {"Queries", - [ - Ash.Query, - Ash.Resource.Preparation, - Ash.Resource.Preparation.Builtins, - Ash.Query.Calculation, - Ash.Query.Aggregate - ]}, - {"Changesets", - [ - Ash.Changeset, - Ash.Resource.Change, - Ash.Resource.Change.Builtins, - Ash.Resource.Validation, - Ash.Resource.Validation.Builtins - ]}, - {"Authorization", - [ - Ash.Authorizer, - Ash.Policy.Check, - Ash.Policy.Check.Builtins, - Ash.Policy.FilterCheck, - Ash.Policy.FilterCheckWithContext, - Ash.Policy.SimpleCheck - ]}, - {"Introspection", - [ - Ash.Api.Info, - Ash.Registry.Info, - Ash.Resource.Info, - Ash.Flow.Info, - Ash.Policy.Info, - Ash.DataLayer.Ets.Info, - Ash.DataLayer.Mnesia.Info, - Ash.Notifier.PubSub.Info - ]}, - {"Utilities", - [ - Ash, - Ash.Page.Keyset, - Ash.Page.Offset, - Ash.Filter, - Ash.Filter.Runtime, - Ash.Sort, - Ash.CiString, - Ash.UUID, - Ash.NotLoaded, - Ash.Changeset.ManagedRelationshipHelpers, - Ash.DataLayer.Simple, - Ash.Filter.Simple, - Ash.Filter.Simple.Not, - Ash.OptionsHelpers, - Ash.Resource.Builder, - Ash.Tracer - ]}, - {"Testing", - [ - Ash.Generator, - Ash.Seed - ]}, - {"Flow", - [ - Ash.Flow, - Ash.Flow.Step, - Ash.Flow.Executor, - Ash.Flow.Chart.Mermaid, - Ash.Flow.StepHelpers - ]}, - {"Errors", - [ - Ash.Error, - Ash.Error.Exception, - Ash.Error.Stacktrace - ]}, - {"Types", - [ - Ash.Type, - Ash.Type.Enum, - Ash.Type.Atom, - Ash.Type.Binary, - Ash.Type.Boolean, - Ash.Type.CiString, - Ash.Type.Date, - Ash.Type.Decimal, - Ash.Type.DurationName, - Ash.Type.Float, - Ash.Type.Function, - Ash.Type.Integer, - Ash.Type.Map, - Ash.Type.NaiveDatetime, - Ash.Type.String, - Ash.Type.Term, - Ash.Type.Time, - Ash.Type.UUID, - Ash.Type.UrlEncodedBinary, - Ash.Type.UtcDatetime, - Ash.Type.UtcDatetimeUsec - ]} + Resources: [ + Ash.Api, + Ash.Filter.TemplateHelpers, + Ash.Calculation, + Ash.Resource.Calculation.Builtins, + Ash.CodeInterface, + Ash.DataLayer, + Ash.Notifier, + Ash.Notifier.Notification, + Ash.Resource.ManualRead, + Ash.Resource.ManualRelationship + ], + Expressions: [ + Ash.Expr + ], + Queries: [ + Ash.Query, + Ash.Resource.Preparation, + Ash.Resource.Preparation.Builtins, + Ash.Query.Calculation, + Ash.Query.Aggregate + ], + Changesets: [ + Ash.Changeset, + Ash.Resource.Change, + Ash.Resource.Change.Builtins, + Ash.Resource.Validation, + Ash.Resource.Validation.Builtins + ], + Authorization: [ + Ash.Authorizer, + Ash.Policy.Check, + Ash.Policy.Check.Builtins, + Ash.Policy.FilterCheck, + Ash.Policy.FilterCheckWithContext, + Ash.Policy.SimpleCheck + ], + Introspection: [ + Ash.Api.Info, + Ash.Registry.Info, + Ash.Resource.Info, + Ash.Flow.Info, + Ash.Policy.Info, + Ash.DataLayer.Ets.Info, + Ash.DataLayer.Mnesia.Info, + Ash.Notifier.PubSub.Info + ], + Utilities: [ + Ash, + Ash.Page.Keyset, + Ash.Page.Offset, + Ash.Filter, + Ash.Filter.Runtime, + Ash.Sort, + Ash.CiString, + Ash.UUID, + Ash.NotLoaded, + Ash.Changeset.ManagedRelationshipHelpers, + Ash.DataLayer.Simple, + Ash.Filter.Simple, + Ash.Filter.Simple.Not, + Ash.OptionsHelpers, + Ash.Resource.Builder, + Ash.Tracer + ], + Testing: [ + Ash.Generator, + Ash.Seed + ], + Flow: [ + Ash.Flow, + Ash.Flow.Step, + Ash.Flow.Executor, + Ash.Flow.Chart.Mermaid, + Ash.Flow.StepHelpers + ], + Errors: [ + Ash.Error, + Ash.Error.Exception, + Ash.Error.Stacktrace + ], + Types: [ + Ash.Type, + Ash.Type.Enum, + Ash.Type.Atom, + Ash.Type.Binary, + Ash.Type.Boolean, + Ash.Type.CiString, + Ash.Type.Date, + Ash.Type.Decimal, + Ash.Type.DurationName, + Ash.Type.Float, + Ash.Type.Function, + Ash.Type.Integer, + Ash.Type.Map, + Ash.Type.NaiveDatetime, + Ash.Type.String, + Ash.Type.Term, + Ash.Type.Time, + Ash.Type.UUID, + Ash.Type.UrlEncodedBinary, + Ash.Type.UtcDatetime, + Ash.Type.UtcDatetimeUsec + ] ] end end diff --git a/mix.exs b/mix.exs index 4a64949e..5f01e0d8 100644 --- a/mix.exs +++ b/mix.exs @@ -100,6 +100,9 @@ defmodule Ash.MixProject do Ash.Notifier, Ash.Notifier.Notification, Ash.Resource.ManualRead, + Ash.Resource.ManualCreate, + Ash.Resource.ManualUpdate, + Ash.Resource.ManualDestroy, Ash.Resource.ManualRelationship ], Queries: [