File tree Expand file tree Collapse file tree 10 files changed +21
-19
lines changed Expand file tree Collapse file tree 10 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface RayContent {
2020 label : string ,
2121}
2222
23- export interface RayContentCarbone {
23+ export interface RayContentCarbon {
2424 formatted : string ,
2525 timestamp : number ,
2626 timezone : string
@@ -144,7 +144,7 @@ export interface RayPayload {
144144 | RayContent
145145 | RayContentArray
146146 | RayContentObject
147- | RayContentCarbone
147+ | RayContentCarbon
148148 | RayContentSQL
149149 | RayContentApplicationLog
150150 | RayContentEloquent
Original file line number Diff line number Diff line change 11export * from './ray-frame' ;
2- export * from './ray-carbone ' ;
2+ export * from './ray-carbon ' ;
33export * from './ray-exception' ;
44export * from './ray-file' ;
55export * from './ray-trace' ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { NormalizedEvent } from "~/src/shared/types";
44import { PreviewCard } from " ~/src/shared/ui" ;
55import type {
66 EnhancedRayEvent ,
7- RayContentCarbone ,
7+ RayContentCarbon ,
88 RayContentCustom ,
99 RayContentEloquent ,
1010 RayContentApplicationLog ,
@@ -25,7 +25,7 @@ import type {
2525} from " ../../types" ;
2626import { RAY_EVENT_TYPES } from " ../../types" ;
2727import { RayApplicationLog } from " ../ray-application-log" ;
28- import { RayCarbone } from " ../ray-carbone " ;
28+ import { RayCarbon } from " ../ray-carbon " ;
2929import { RayCustom } from " ../ray-custom" ;
3030import { RayEloquent } from " ../ray-eloquent" ;
3131import { RayEvent } from " ../ray-event" ;
@@ -79,9 +79,9 @@ const COMPONENT_TYPE_MAP = {
7979 }),
8080 },
8181 [RAY_EVENT_TYPES .CARBON ]: {
82- view: RayCarbone ,
82+ view: RayCarbon ,
8383 getProps : (payload : RayPayload ) => ({
84- carbone : payload .content as RayContentCarbone ,
84+ carbon : payload .content as RayContentCarbon ,
8585 }),
8686 },
8787 [RAY_EVENT_TYPES .TRACE ]: {
@@ -180,3 +180,5 @@ const COMPONENT_TYPE_MAP = {
180180 </template >
181181 </PreviewCard >
182182</template >
183+
184+
Original file line number Diff line number Diff line change 1+ export { default as RayCarbon } from './ray-carbon.vue'
Original file line number Diff line number Diff line change 11import type { Meta , StoryObj } from "@storybook/vue3" ;
22import { useRay } from "../../lib" ;
33import { rayCarbonMock } from '../../mocks'
4- import type { RayContentCarbone } from "../../types" ;
5- import RayCarbon from './ray-carbone .vue' ;
4+ import type { RayContentCarbon } from "../../types" ;
5+ import RayCarbon from './ray-carbon .vue' ;
66
77const { normalizeRayEvent } = useRay ( ) ;
88
@@ -14,6 +14,6 @@ export default {
1414
1515export const Default : StoryObj < typeof RayCarbon > = {
1616 args : {
17- content : ( normalizeRayEvent ( rayCarbonMock ) . payload . payloads [ 0 ] . content as RayContentCarbone )
17+ carbon : ( normalizeRayEvent ( rayCarbonMock ) . payload . payloads [ 0 ] . content as RayContentCarbon )
1818 }
1919}
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { TableBase , TableBaseRow } from " ~/src/shared/ui" ;
3- import type { RayContentCarbone } from " ../../types" ;
3+ import type { RayContentCarbon } from " ../../types" ;
44
55type Props = {
6- carbone : RayContentCarbone ;
6+ carbon : RayContentCarbon ;
77};
88
99defineProps <Props >();
@@ -13,13 +13,13 @@ defineProps<Props>();
1313 <div class =" ray-carbon" >
1414 <TableBase >
1515 <TableBaseRow title =" Formatted" >
16- {{ carbone .formatted }}
16+ {{ carbon .formatted }}
1717 </TableBaseRow >
1818 <TableBaseRow title =" Timezone" >
19- {{ carbone .timezone }}
19+ {{ carbon .timezone }}
2020 </TableBaseRow >
2121 <TableBaseRow title =" Timestamp" >
22- {{ carbone .timestamp }}
22+ {{ carbon .timestamp }}
2323 </TableBaseRow >
2424 </TableBase >
2525 </div >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default {
1313
1414export const Default : StoryObj < typeof RayException > = {
1515 args : {
16- content : ( normalizeRayEvent ( rayExceptionMock ) . payload . payloads [ 0 ] . content as RayContentException )
16+ exception : ( normalizeRayEvent ( rayExceptionMock ) . payload . payloads [ 0 ] . content as RayContentException )
1717 }
1818}
1919
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const hasSnippets = computed(() =>
7171}
7272
7373.ray-file__icon {
74- @apply w-5 h-4 border border-purple-300 shadow bg-white dark :bg - gray - 600 py- 1 rounded;
74+ @apply w-5 h-4 py-1 rounded ;
7575}
7676
7777.ray-file__icon--collapsed {
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ export default {
1414
1515export const Default : StoryObj < typeof RayViews > = {
1616 args : {
17- content : ( normalizeRayEvent ( rayLaravelViewsMock ) . payload . payloads [ 0 ] . content as RayContentView )
17+ view : ( normalizeRayEvent ( rayLaravelViewsMock ) . payload . payloads [ 0 ] . content as RayContentView )
1818 }
1919}
You can’t perform that action at this time.
0 commit comments