Merge pull request #6516 from uinstinct/autocomplete-timestamp
fix: autocomplete dev data timestamp as iso string
This commit is contained in:
commit
683c01568f
3 changed files with 3 additions and 3 deletions
|
|
@ -254,7 +254,7 @@ export class CompletionProvider {
|
|||
completionId: helper.input.completionId,
|
||||
gitRepo: await this.ide.getRepoName(helper.filepath),
|
||||
uniqueId: await this.ide.getUniqueId(),
|
||||
timestamp: Date.now(),
|
||||
timestamp: new Date().toISOString(),
|
||||
...helper.options,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -41,5 +41,5 @@ export interface AutocompleteOutcome extends TabAutocompleteOptions {
|
|||
gitRepo?: string;
|
||||
completionId: string;
|
||||
uniqueId: string;
|
||||
timestamp: number;
|
||||
timestamp: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export const autocompleteEventAllSchema = baseDevDataAllSchema.extend({
|
|||
gitRepo: z.string().optional(),
|
||||
completionId: z.string(),
|
||||
uniqueId: z.string(),
|
||||
timestamp: z.number(),
|
||||
timestamp: z.string(),
|
||||
|
||||
// DEPRECATED - no more nested objects after v0.1.0, all flat values
|
||||
completionOptions: completionOptionsSchema.optional(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue