add a flag to check if static contextualization was enabled
This commit is contained in:
parent
be10c078c7
commit
6a2ede3971
2 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,9 @@ export const autocompleteEventAllSchema = baseDevDataAllSchema.extend({
|
|||
uniqueId: z.string(),
|
||||
timestamp: z.number(),
|
||||
|
||||
// For static contextualization.
|
||||
enabledStaticContextualization: z.boolean().optional(),
|
||||
|
||||
// DEPRECATED - no more nested objects after v0.1.0, all flat values
|
||||
completionOptions: completionOptionsSchema.optional(),
|
||||
disableInFiles: z.array(z.string()).optional(),
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ export const autocompleteEventSchema_0_2_0 = autocompleteEventAllSchema.pick({
|
|||
completionId: true,
|
||||
uniqueId: true,
|
||||
|
||||
// For static contextualization.
|
||||
enabledStaticContextualization: true,
|
||||
|
||||
// Note objects (completionOptions and disableInfiles) removed from 0.1.0 => 0.2.0
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue