@aeriajs/compiler 0.0.61 → 0.0.62

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.
package/dist/ast.d.ts CHANGED
@@ -9,6 +9,7 @@ export declare const PropertyType: {
9
9
  readonly enum: "enum";
10
10
  readonly date: "string";
11
11
  readonly datetime: "string";
12
+ readonly objectid: "string";
12
13
  readonly const: "const";
13
14
  };
14
15
  export declare const PropertyModifiers: Record<'Error' | 'Result', ExportSymbol>;
package/dist/ast.js CHANGED
@@ -10,6 +10,7 @@ exports.PropertyType = {
10
10
  enum: 'enum',
11
11
  date: 'string',
12
12
  datetime: 'string',
13
+ objectid: 'string',
13
14
  const: 'const',
14
15
  };
15
16
  exports.PropertyModifiers = {
package/dist/ast.mjs CHANGED
@@ -8,6 +8,7 @@ export const PropertyType = {
8
8
  enum: "enum",
9
9
  date: "string",
10
10
  datetime: "string",
11
+ objectid: "string",
11
12
  const: "const"
12
13
  };
13
14
  export const PropertyModifiers = {
package/dist/parser.js CHANGED
@@ -542,6 +542,13 @@ const parse = (tokens) => {
542
542
  };
543
543
  break;
544
544
  }
545
+ case 'objectid': {
546
+ property = {
547
+ type: 'string',
548
+ format: 'objectid',
549
+ };
550
+ break;
551
+ }
545
552
  default:
546
553
  property = {
547
554
  type: AST.PropertyType[identifier],
package/dist/parser.mjs CHANGED
@@ -497,6 +497,13 @@ export const parse = (tokens) => {
497
497
  };
498
498
  break;
499
499
  }
500
+ case "objectid": {
501
+ property = {
502
+ type: "string",
503
+ format: "objectid"
504
+ };
505
+ break;
506
+ }
500
507
  default:
501
508
  property = {
502
509
  type: AST.PropertyType[identifier]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/compiler",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",