@sentry/api 0.245.0 → 0.247.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.gen.d.ts +12 -8
- package/dist/zod.gen.d.ts +10 -0
- package/dist/zod.js +2 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -4554,14 +4554,16 @@ export type ListTraceItemAttributesResponse = Array<{
|
|
|
4554
4554
|
*
|
|
4555
4555
|
* When ``expand=context`` is requested, context is attached to every
|
|
4556
4556
|
* attribute. Today the metadata is sourced from the sentry conventions
|
|
4557
|
-
* (``sentry_conventions.attributes.ATTRIBUTE_METADATA``),
|
|
4558
|
-
*
|
|
4559
|
-
*
|
|
4560
|
-
*
|
|
4557
|
+
* (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
|
|
4558
|
+
* name (and type when known) regardless of the attribute's source, so any
|
|
4559
|
+
* attribute that maps to a known convention carries that metadata (only the
|
|
4560
|
+
* fields actually present are included) while the rest get an empty context.
|
|
4561
|
+
* Serving context for custom attributes is planned (gated behind the
|
|
4561
4562
|
* ``data-browsing-attribute-context`` feature), at which point the empty
|
|
4562
4563
|
* contexts will start to be populated.
|
|
4563
4564
|
*/
|
|
4564
4565
|
context?: {
|
|
4566
|
+
isConvention?: boolean;
|
|
4565
4567
|
brief?: string;
|
|
4566
4568
|
isDeprecated?: boolean;
|
|
4567
4569
|
details?: Array<string>;
|
|
@@ -21554,14 +21556,16 @@ export type ListOrganizationTraceItemAttributesResponses = {
|
|
|
21554
21556
|
*
|
|
21555
21557
|
* When ``expand=context`` is requested, context is attached to every
|
|
21556
21558
|
* attribute. Today the metadata is sourced from the sentry conventions
|
|
21557
|
-
* (``sentry_conventions.attributes.ATTRIBUTE_METADATA``),
|
|
21558
|
-
*
|
|
21559
|
-
*
|
|
21560
|
-
*
|
|
21559
|
+
* (``sentry_conventions.attributes.ATTRIBUTE_METADATA``), matched by attribute
|
|
21560
|
+
* name (and type when known) regardless of the attribute's source, so any
|
|
21561
|
+
* attribute that maps to a known convention carries that metadata (only the
|
|
21562
|
+
* fields actually present are included) while the rest get an empty context.
|
|
21563
|
+
* Serving context for custom attributes is planned (gated behind the
|
|
21561
21564
|
* ``data-browsing-attribute-context`` feature), at which point the empty
|
|
21562
21565
|
* contexts will start to be populated.
|
|
21563
21566
|
*/
|
|
21564
21567
|
context?: {
|
|
21568
|
+
isConvention?: boolean;
|
|
21565
21569
|
brief?: string;
|
|
21566
21570
|
isDeprecated?: boolean;
|
|
21567
21571
|
details?: Array<string>;
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -13073,6 +13073,7 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13073
13073
|
}>;
|
|
13074
13074
|
attributeType: z.ZodEnum<["string", "number", "boolean"]>;
|
|
13075
13075
|
context: z.ZodOptional<z.ZodObject<{
|
|
13076
|
+
isConvention: z.ZodOptional<z.ZodBoolean>;
|
|
13076
13077
|
brief: z.ZodOptional<z.ZodString>;
|
|
13077
13078
|
isDeprecated: z.ZodOptional<z.ZodBoolean>;
|
|
13078
13079
|
details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -13080,12 +13081,14 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13080
13081
|
replacementAttribute: z.ZodOptional<z.ZodString>;
|
|
13081
13082
|
}, "strip", z.ZodTypeAny, {
|
|
13082
13083
|
details?: string[] | undefined;
|
|
13084
|
+
isConvention?: boolean | undefined;
|
|
13083
13085
|
brief?: string | undefined;
|
|
13084
13086
|
isDeprecated?: boolean | undefined;
|
|
13085
13087
|
examples?: unknown[] | undefined;
|
|
13086
13088
|
replacementAttribute?: string | undefined;
|
|
13087
13089
|
}, {
|
|
13088
13090
|
details?: string[] | undefined;
|
|
13091
|
+
isConvention?: boolean | undefined;
|
|
13089
13092
|
brief?: string | undefined;
|
|
13090
13093
|
isDeprecated?: boolean | undefined;
|
|
13091
13094
|
examples?: unknown[] | undefined;
|
|
@@ -13101,6 +13104,7 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13101
13104
|
};
|
|
13102
13105
|
context?: {
|
|
13103
13106
|
details?: string[] | undefined;
|
|
13107
|
+
isConvention?: boolean | undefined;
|
|
13104
13108
|
brief?: string | undefined;
|
|
13105
13109
|
isDeprecated?: boolean | undefined;
|
|
13106
13110
|
examples?: unknown[] | undefined;
|
|
@@ -13117,6 +13121,7 @@ export declare const zListTraceItemAttributesResponse: z.ZodArray<z.ZodObject<{
|
|
|
13117
13121
|
};
|
|
13118
13122
|
context?: {
|
|
13119
13123
|
details?: string[] | undefined;
|
|
13124
|
+
isConvention?: boolean | undefined;
|
|
13120
13125
|
brief?: string | undefined;
|
|
13121
13126
|
isDeprecated?: boolean | undefined;
|
|
13122
13127
|
examples?: unknown[] | undefined;
|
|
@@ -52795,6 +52800,7 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52795
52800
|
}>;
|
|
52796
52801
|
attributeType: z.ZodEnum<["string", "number", "boolean"]>;
|
|
52797
52802
|
context: z.ZodOptional<z.ZodObject<{
|
|
52803
|
+
isConvention: z.ZodOptional<z.ZodBoolean>;
|
|
52798
52804
|
brief: z.ZodOptional<z.ZodString>;
|
|
52799
52805
|
isDeprecated: z.ZodOptional<z.ZodBoolean>;
|
|
52800
52806
|
details: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -52802,12 +52808,14 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52802
52808
|
replacementAttribute: z.ZodOptional<z.ZodString>;
|
|
52803
52809
|
}, "strip", z.ZodTypeAny, {
|
|
52804
52810
|
details?: string[] | undefined;
|
|
52811
|
+
isConvention?: boolean | undefined;
|
|
52805
52812
|
brief?: string | undefined;
|
|
52806
52813
|
isDeprecated?: boolean | undefined;
|
|
52807
52814
|
examples?: unknown[] | undefined;
|
|
52808
52815
|
replacementAttribute?: string | undefined;
|
|
52809
52816
|
}, {
|
|
52810
52817
|
details?: string[] | undefined;
|
|
52818
|
+
isConvention?: boolean | undefined;
|
|
52811
52819
|
brief?: string | undefined;
|
|
52812
52820
|
isDeprecated?: boolean | undefined;
|
|
52813
52821
|
examples?: unknown[] | undefined;
|
|
@@ -52823,6 +52831,7 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52823
52831
|
};
|
|
52824
52832
|
context?: {
|
|
52825
52833
|
details?: string[] | undefined;
|
|
52834
|
+
isConvention?: boolean | undefined;
|
|
52826
52835
|
brief?: string | undefined;
|
|
52827
52836
|
isDeprecated?: boolean | undefined;
|
|
52828
52837
|
examples?: unknown[] | undefined;
|
|
@@ -52839,6 +52848,7 @@ export declare const zListOrganizationTraceItemAttributesResponse: z.ZodArray<z.
|
|
|
52839
52848
|
};
|
|
52840
52849
|
context?: {
|
|
52841
52850
|
details?: string[] | undefined;
|
|
52851
|
+
isConvention?: boolean | undefined;
|
|
52842
52852
|
brief?: string | undefined;
|
|
52843
52853
|
isDeprecated?: boolean | undefined;
|
|
52844
52854
|
examples?: unknown[] | undefined;
|
package/dist/zod.js
CHANGED
|
@@ -5345,6 +5345,7 @@ var zListTraceItemAttributesResponse = z.array(z.object({
|
|
|
5345
5345
|
"boolean"
|
|
5346
5346
|
]),
|
|
5347
5347
|
context: z.object({
|
|
5348
|
+
isConvention: z.boolean().optional(),
|
|
5348
5349
|
brief: z.string().optional(),
|
|
5349
5350
|
isDeprecated: z.boolean().optional(),
|
|
5350
5351
|
details: z.array(z.string()).optional(),
|
|
@@ -20102,6 +20103,7 @@ var zListOrganizationTraceItemAttributesResponse = z.array(z.object({
|
|
|
20102
20103
|
"boolean"
|
|
20103
20104
|
]),
|
|
20104
20105
|
context: z.object({
|
|
20106
|
+
isConvention: z.boolean().optional(),
|
|
20105
20107
|
brief: z.string().optional(),
|
|
20106
20108
|
isDeprecated: z.boolean().optional(),
|
|
20107
20109
|
details: z.array(z.string()).optional(),
|