@nahisaho/katashiro-collector 2.5.6 → 2.6.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.
@@ -36,16 +36,16 @@ export declare const ContentVersionSchema: z.ZodObject<{
36
36
  fetchedAt: string;
37
37
  versionId: string;
38
38
  hash: string;
39
- headers?: Record<string, string> | undefined;
40
39
  source?: string | undefined;
40
+ headers?: Record<string, string> | undefined;
41
41
  statusCode?: number | undefined;
42
42
  }, {
43
43
  size: number;
44
44
  fetchedAt: string;
45
45
  versionId: string;
46
46
  hash: string;
47
- headers?: Record<string, string> | undefined;
48
47
  source?: string | undefined;
48
+ headers?: Record<string, string> | undefined;
49
49
  statusCode?: number | undefined;
50
50
  }>;
51
51
  export type ContentVersion = z.infer<typeof ContentVersionSchema>;
@@ -82,16 +82,16 @@ export declare const ContentEntrySchema: z.ZodObject<{
82
82
  fetchedAt: string;
83
83
  versionId: string;
84
84
  hash: string;
85
- headers?: Record<string, string> | undefined;
86
85
  source?: string | undefined;
86
+ headers?: Record<string, string> | undefined;
87
87
  statusCode?: number | undefined;
88
88
  }, {
89
89
  size: number;
90
90
  fetchedAt: string;
91
91
  versionId: string;
92
92
  hash: string;
93
- headers?: Record<string, string> | undefined;
94
93
  source?: string | undefined;
94
+ headers?: Record<string, string> | undefined;
95
95
  statusCode?: number | undefined;
96
96
  }>;
97
97
  /** 過去のバージョン(最新順) */
@@ -115,16 +115,16 @@ export declare const ContentEntrySchema: z.ZodObject<{
115
115
  fetchedAt: string;
116
116
  versionId: string;
117
117
  hash: string;
118
- headers?: Record<string, string> | undefined;
119
118
  source?: string | undefined;
119
+ headers?: Record<string, string> | undefined;
120
120
  statusCode?: number | undefined;
121
121
  }, {
122
122
  size: number;
123
123
  fetchedAt: string;
124
124
  versionId: string;
125
125
  hash: string;
126
- headers?: Record<string, string> | undefined;
127
126
  source?: string | undefined;
127
+ headers?: Record<string, string> | undefined;
128
128
  statusCode?: number | undefined;
129
129
  }>, "many">>;
130
130
  /** 最終アクセス日時 */
@@ -136,7 +136,7 @@ export declare const ContentEntrySchema: z.ZodObject<{
136
136
  }, "strip", z.ZodTypeAny, {
137
137
  url: string;
138
138
  content: string;
139
- status: "success" | "failed" | "stale" | "pending" | "fetching" | "cached";
139
+ status: "failed" | "success" | "stale" | "pending" | "fetching" | "cached";
140
140
  lastAccessedAt: string;
141
141
  accessCount: number;
142
142
  contentType: string;
@@ -145,8 +145,8 @@ export declare const ContentEntrySchema: z.ZodObject<{
145
145
  fetchedAt: string;
146
146
  versionId: string;
147
147
  hash: string;
148
- headers?: Record<string, string> | undefined;
149
148
  source?: string | undefined;
149
+ headers?: Record<string, string> | undefined;
150
150
  statusCode?: number | undefined;
151
151
  };
152
152
  versions: {
@@ -154,23 +154,23 @@ export declare const ContentEntrySchema: z.ZodObject<{
154
154
  fetchedAt: string;
155
155
  versionId: string;
156
156
  hash: string;
157
- headers?: Record<string, string> | undefined;
158
157
  source?: string | undefined;
158
+ headers?: Record<string, string> | undefined;
159
159
  statusCode?: number | undefined;
160
160
  }[];
161
161
  metadata?: Record<string, unknown> | undefined;
162
162
  }, {
163
163
  url: string;
164
164
  content: string;
165
- status: "success" | "failed" | "stale" | "pending" | "fetching" | "cached";
165
+ status: "failed" | "success" | "stale" | "pending" | "fetching" | "cached";
166
166
  lastAccessedAt: string;
167
167
  currentVersion: {
168
168
  size: number;
169
169
  fetchedAt: string;
170
170
  versionId: string;
171
171
  hash: string;
172
- headers?: Record<string, string> | undefined;
173
172
  source?: string | undefined;
173
+ headers?: Record<string, string> | undefined;
174
174
  statusCode?: number | undefined;
175
175
  };
176
176
  metadata?: Record<string, unknown> | undefined;
@@ -181,8 +181,8 @@ export declare const ContentEntrySchema: z.ZodObject<{
181
181
  fetchedAt: string;
182
182
  versionId: string;
183
183
  hash: string;
184
- headers?: Record<string, string> | undefined;
185
184
  source?: string | undefined;
185
+ headers?: Record<string, string> | undefined;
186
186
  statusCode?: number | undefined;
187
187
  }[] | undefined;
188
188
  }>;
@@ -92,14 +92,14 @@ export declare const LogEntrySchema: z.ZodObject<{
92
92
  }, "strip", z.ZodTypeAny, {
93
93
  timestamp: Date;
94
94
  message: string;
95
- level: "debug" | "error" | "info" | "warn";
95
+ level: "error" | "debug" | "info" | "warn";
96
96
  component: string;
97
- url?: string | undefined;
98
97
  error?: {
99
98
  name: string;
100
99
  message: string;
101
100
  stack?: string | undefined;
102
101
  } | undefined;
102
+ url?: string | undefined;
103
103
  requestId?: string | undefined;
104
104
  statusCode?: number | undefined;
105
105
  context?: Record<string, unknown> | undefined;
@@ -112,14 +112,14 @@ export declare const LogEntrySchema: z.ZodObject<{
112
112
  }, {
113
113
  timestamp: Date;
114
114
  message: string;
115
- level: "debug" | "error" | "info" | "warn";
115
+ level: "error" | "debug" | "info" | "warn";
116
116
  component: string;
117
- url?: string | undefined;
118
117
  error?: {
119
118
  name: string;
120
119
  message: string;
121
120
  stack?: string | undefined;
122
121
  } | undefined;
122
+ url?: string | undefined;
123
123
  requestId?: string | undefined;
124
124
  statusCode?: number | undefined;
125
125
  context?: Record<string, unknown> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/katashiro-collector",
3
- "version": "2.5.6",
3
+ "version": "2.6.0",
4
4
  "description": "KATASHIRO Collector - 情報収集パッケージ",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",