@based/schema 2.2.5 → 2.2.6

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -146,11 +146,11 @@ export type BasedSchemaFields = {
146
146
  text: BasedSchemaFieldText;
147
147
  cardinality: BasedSchemaFieldCardinality;
148
148
  };
149
- export type BasedSchemaField = BasedSchemaFields[keyof BasedSchemaFields] | {
149
+ export type BasedSchemaField = BasedSchemaFields[keyof BasedSchemaFields] | (BasedSchemaFieldShared & {
150
150
  type?: '';
151
151
  isRequired?: boolean;
152
152
  $ref: string;
153
- };
153
+ });
154
154
  export type BasedSchemaType = {
155
155
  fields: {
156
156
  [name: string]: BasedSchemaField;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@based/schema",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {