saleor-apps-redis_apl/apps/search/src/domain/configuration.ts
Lukasz Ostrowski fc7a70f598
Search redesign to Macaw 2.0 (#420)
* Redesign

* Better form

* Remove searchKey

* Update macaw

* Test setup

* fix build

* Create curly-jars-doubt.md

* Unify vitest to (hopefully) fix build

* fix lock

* update macaw and review fixes

* fix build
2023-04-25 18:20:20 +02:00

9 lines
259 B
TypeScript

import { z } from "zod";
export const AppConfigurationSchema = z.object({
appId: z.string().min(3),
indexNamePrefix: z.string().optional(),
secretKey: z.string().min(3),
});
export type AppConfigurationFields = z.infer<typeof AppConfigurationSchema>;