Skip to content

Commit

Permalink
Merge pull request #511 from spatie/livewire-3
Browse files Browse the repository at this point in the history
Display Livewire 3 data
  • Loading branch information
rubenvanassche authored Apr 26, 2024
2 parents 352d57e + dd33135 commit b6af3c8
Show file tree
Hide file tree
Showing 3 changed files with 23,886 additions and 13 deletions.
3,412 changes: 3,410 additions & 2 deletions resources/compiled/ignition.css

Large diffs are not rendered by default.

20,471 changes: 20,465 additions & 6 deletions resources/compiled/ignition.js

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions resources/js/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ErrorSolution, IgnitionConfig, ViewContext, LogLevel, ErrorFrameArgument } from '@flareapp/ignition-ui';
import { ErrorFrameArgument, ErrorSolution, IgnitionConfig, LogLevel, ViewContext } from '@flareapp/ignition-ui';

export type IgniteData = {
report: IgnitionErrorOccurrence;
Expand Down Expand Up @@ -91,16 +91,22 @@ export type IgnitionErrorOccurrence = {
remote: string|null;
isDirty: boolean;
};
livewire?: {
component_alias: string;
component_class: string;
livewire?: [{
component_alias?: string;
component_class?: string;
component_id: string;
data: Record<string, any>;
memo?: Record<string, string | object>;
updates: Array<{
payload: Record<string, any>;
type: string;
}>;
};
calls?: Array<{
path: string,
method: string,
params: Record<string, any>;
}>
}];
view: ViewContext | null;

// Context attached to the exception or error via the `context()` method.
Expand Down

0 comments on commit b6af3c8

Please sign in to comment.