@walkeros/server-destination-aws 0.3.0 → 0.3.1
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/index.d.mts +8 -57
- package/dist/index.d.ts +8 -57
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/schemas.js +1 -1
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DestinationServer } from '@walkeros/server-core';
|
|
2
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
3
|
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
3
4
|
import { FirehoseClient, FirehoseClientConfig, PutRecordBatchCommand } from '@aws-sdk/client-firehose';
|
|
4
|
-
import * as zod_to_json_schema from 'zod-to-json-schema';
|
|
5
5
|
|
|
6
6
|
interface Settings$1 {
|
|
7
7
|
firehose?: FirehoseConfig;
|
|
@@ -66,79 +66,30 @@ declare const FirehoseConfigSchema: z.ZodObject<{
|
|
|
66
66
|
client: z.ZodOptional<z.ZodAny>;
|
|
67
67
|
region: z.ZodOptional<z.ZodString>;
|
|
68
68
|
config: z.ZodOptional<z.ZodAny>;
|
|
69
|
-
},
|
|
70
|
-
streamName: string;
|
|
71
|
-
client?: any;
|
|
72
|
-
region?: string | undefined;
|
|
73
|
-
config?: any;
|
|
74
|
-
}, {
|
|
75
|
-
streamName: string;
|
|
76
|
-
client?: any;
|
|
77
|
-
region?: string | undefined;
|
|
78
|
-
config?: any;
|
|
79
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
80
70
|
declare const SettingsSchema: z.ZodObject<{
|
|
81
71
|
firehose: z.ZodOptional<z.ZodObject<{
|
|
82
72
|
streamName: z.ZodString;
|
|
83
73
|
client: z.ZodOptional<z.ZodAny>;
|
|
84
74
|
region: z.ZodOptional<z.ZodString>;
|
|
85
75
|
config: z.ZodOptional<z.ZodAny>;
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
client?: any;
|
|
89
|
-
region?: string | undefined;
|
|
90
|
-
config?: any;
|
|
91
|
-
}, {
|
|
92
|
-
streamName: string;
|
|
93
|
-
client?: any;
|
|
94
|
-
region?: string | undefined;
|
|
95
|
-
config?: any;
|
|
96
|
-
}>>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
firehose?: {
|
|
99
|
-
streamName: string;
|
|
100
|
-
client?: any;
|
|
101
|
-
region?: string | undefined;
|
|
102
|
-
config?: any;
|
|
103
|
-
} | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
firehose?: {
|
|
106
|
-
streamName: string;
|
|
107
|
-
client?: any;
|
|
108
|
-
region?: string | undefined;
|
|
109
|
-
config?: any;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
112
78
|
type Settings = z.infer<typeof SettingsSchema>;
|
|
113
79
|
|
|
114
80
|
/**
|
|
115
81
|
* AWS Firehose Mapping Schema
|
|
116
82
|
* AWS Firehose has no event-level mapping configuration
|
|
117
83
|
*/
|
|
118
|
-
declare const MappingSchema: z.ZodObject<{},
|
|
84
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
119
85
|
/**
|
|
120
86
|
* Type inference from MappingSchema
|
|
121
87
|
*/
|
|
122
88
|
type Mapping = z.infer<typeof MappingSchema>;
|
|
123
89
|
|
|
124
|
-
declare const settings:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
128
|
-
} | undefined;
|
|
129
|
-
};
|
|
130
|
-
declare const mapping: zod_to_json_schema.JsonSchema7Type & {
|
|
131
|
-
$schema?: string | undefined;
|
|
132
|
-
definitions?: {
|
|
133
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
134
|
-
} | undefined;
|
|
135
|
-
};
|
|
136
|
-
declare const firehose: zod_to_json_schema.JsonSchema7Type & {
|
|
137
|
-
$schema?: string | undefined;
|
|
138
|
-
definitions?: {
|
|
139
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
140
|
-
} | undefined;
|
|
141
|
-
};
|
|
90
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
91
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
92
|
+
declare const firehose: _walkeros_core.JSONSchema;
|
|
142
93
|
|
|
143
94
|
declare const index$1_FirehoseConfigSchema: typeof FirehoseConfigSchema;
|
|
144
95
|
type index$1_Mapping = Mapping;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DestinationServer } from '@walkeros/server-core';
|
|
2
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
3
|
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
3
4
|
import { FirehoseClient, FirehoseClientConfig, PutRecordBatchCommand } from '@aws-sdk/client-firehose';
|
|
4
|
-
import * as zod_to_json_schema from 'zod-to-json-schema';
|
|
5
5
|
|
|
6
6
|
interface Settings$1 {
|
|
7
7
|
firehose?: FirehoseConfig;
|
|
@@ -66,79 +66,30 @@ declare const FirehoseConfigSchema: z.ZodObject<{
|
|
|
66
66
|
client: z.ZodOptional<z.ZodAny>;
|
|
67
67
|
region: z.ZodOptional<z.ZodString>;
|
|
68
68
|
config: z.ZodOptional<z.ZodAny>;
|
|
69
|
-
},
|
|
70
|
-
streamName: string;
|
|
71
|
-
client?: any;
|
|
72
|
-
region?: string | undefined;
|
|
73
|
-
config?: any;
|
|
74
|
-
}, {
|
|
75
|
-
streamName: string;
|
|
76
|
-
client?: any;
|
|
77
|
-
region?: string | undefined;
|
|
78
|
-
config?: any;
|
|
79
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
80
70
|
declare const SettingsSchema: z.ZodObject<{
|
|
81
71
|
firehose: z.ZodOptional<z.ZodObject<{
|
|
82
72
|
streamName: z.ZodString;
|
|
83
73
|
client: z.ZodOptional<z.ZodAny>;
|
|
84
74
|
region: z.ZodOptional<z.ZodString>;
|
|
85
75
|
config: z.ZodOptional<z.ZodAny>;
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
client?: any;
|
|
89
|
-
region?: string | undefined;
|
|
90
|
-
config?: any;
|
|
91
|
-
}, {
|
|
92
|
-
streamName: string;
|
|
93
|
-
client?: any;
|
|
94
|
-
region?: string | undefined;
|
|
95
|
-
config?: any;
|
|
96
|
-
}>>;
|
|
97
|
-
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
firehose?: {
|
|
99
|
-
streamName: string;
|
|
100
|
-
client?: any;
|
|
101
|
-
region?: string | undefined;
|
|
102
|
-
config?: any;
|
|
103
|
-
} | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
firehose?: {
|
|
106
|
-
streamName: string;
|
|
107
|
-
client?: any;
|
|
108
|
-
region?: string | undefined;
|
|
109
|
-
config?: any;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
112
78
|
type Settings = z.infer<typeof SettingsSchema>;
|
|
113
79
|
|
|
114
80
|
/**
|
|
115
81
|
* AWS Firehose Mapping Schema
|
|
116
82
|
* AWS Firehose has no event-level mapping configuration
|
|
117
83
|
*/
|
|
118
|
-
declare const MappingSchema: z.ZodObject<{},
|
|
84
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
119
85
|
/**
|
|
120
86
|
* Type inference from MappingSchema
|
|
121
87
|
*/
|
|
122
88
|
type Mapping = z.infer<typeof MappingSchema>;
|
|
123
89
|
|
|
124
|
-
declare const settings:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
128
|
-
} | undefined;
|
|
129
|
-
};
|
|
130
|
-
declare const mapping: zod_to_json_schema.JsonSchema7Type & {
|
|
131
|
-
$schema?: string | undefined;
|
|
132
|
-
definitions?: {
|
|
133
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
134
|
-
} | undefined;
|
|
135
|
-
};
|
|
136
|
-
declare const firehose: zod_to_json_schema.JsonSchema7Type & {
|
|
137
|
-
$schema?: string | undefined;
|
|
138
|
-
definitions?: {
|
|
139
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
140
|
-
} | undefined;
|
|
141
|
-
};
|
|
90
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
91
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
92
|
+
declare const firehose: _walkeros_core.JSONSchema;
|
|
142
93
|
|
|
143
94
|
declare const index$1_FirehoseConfigSchema: typeof FirehoseConfigSchema;
|
|
144
95
|
type index$1_Mapping = Mapping;
|