@bagelink/sdk 0.0.1131 → 0.0.1133

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/index.cjs CHANGED
@@ -363,8 +363,6 @@ function generateTypes(schemas) {
363
363
  `;
364
364
  }
365
365
  if (!schema.properties) {
366
- console.log("No properties found for schema:", typeName);
367
- console.log(JSON.stringify({ typeName, schema }, null, 2));
368
366
  return "";
369
367
  }
370
368
  const properties = Object.entries(schema.properties).map(([key, value]) => {
package/dist/index.mjs CHANGED
@@ -357,8 +357,6 @@ function generateTypes(schemas) {
357
357
  `;
358
358
  }
359
359
  if (!schema.properties) {
360
- console.log("No properties found for schema:", typeName);
361
- console.log(JSON.stringify({ typeName, schema }, null, 2));
362
360
  return "";
363
361
  }
364
362
  const properties = Object.entries(schema.properties).map(([key, value]) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/sdk",
3
3
  "type": "module",
4
- "version": "0.0.1131",
4
+ "version": "0.0.1133",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -14,11 +14,15 @@ export function generateTypes(schemas: SchemasObject): string {
14
14
  return `export type ${typeName} = ${schemaToType(schema.items)}[];\n`
15
15
  }
16
16
 
17
+ // if (typeName === 'LocalizedJsonInt') {
18
+ // console.log(JSON.stringify({ typeName, schema }, null, 2))
19
+ // }
20
+
17
21
  if (!schema.properties) {
18
22
  // #region Debug
19
- console.log('No properties found for schema:', typeName)
23
+ // console.log('No properties found for schema:', typeName)
20
24
 
21
- console.log(JSON.stringify({ typeName, schema }, null, 2))
25
+ // console.log(JSON.stringify({ typeName, schema }, null, 2))
22
26
  // #endregion Debug
23
27
 
24
28
  return ''