generated from polymech/site-template
config | component
This commit is contained in:
parent
cf0eb86e1e
commit
91f7d77eee
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/directory",
|
|
||||||
"definitions": {
|
|
||||||
"directory": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"$schema": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/helpcenter",
|
|
||||||
"definitions": {
|
|
||||||
"helpcenter": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"intro": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"$schema": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"title",
|
|
||||||
"intro"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/infopages",
|
|
||||||
"definitions": {
|
|
||||||
"infopages": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"intro": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"$schema": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
@ -1,70 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/posts",
|
|
||||||
"definitions": {
|
|
||||||
"posts": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"pubDate": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"format": "date"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "integer",
|
|
||||||
"format": "unix-time"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"author": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"alt": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"url",
|
|
||||||
"alt"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"tags": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"title",
|
|
||||||
"pubDate",
|
|
||||||
"description",
|
|
||||||
"author",
|
|
||||||
"image",
|
|
||||||
"tags"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
@ -1,602 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/projects",
|
|
||||||
"definitions": {
|
|
||||||
"projects": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"cart_id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"code": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"price": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"cscartCats": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cscartId": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"vendorId": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"shipping": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"price": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"transit": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"handling": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"default": {
|
|
||||||
"price": 0,
|
|
||||||
"transit": 12,
|
|
||||||
"handling": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"replaced_by": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"alternatives": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"url",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"used_by": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/alternatives/items"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"thumb": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"responsive": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"meta": {},
|
|
||||||
"keywords": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"alt": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"width": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"order": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"exif": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {},
|
|
||||||
"jfif": {},
|
|
||||||
"exif": {},
|
|
||||||
"gps": {}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"edrawings": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"cad": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"configuration": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"step": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"model": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"html": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"file",
|
|
||||||
"name",
|
|
||||||
"configuration"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"manufacturing": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"lead_time": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"showDimensions": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"showParts": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"Preview3d": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"type": "number",
|
|
||||||
"default": 0
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"keywords": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"meta_keywords": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"versions": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"up": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"down": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"family": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"sheet": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"authors": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assets": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"gallery": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"renderings": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"showcase": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"samples": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"default": {
|
|
||||||
"gallery": [],
|
|
||||||
"renderings": [],
|
|
||||||
"components": [],
|
|
||||||
"configurations": [],
|
|
||||||
"showcase": [],
|
|
||||||
"samples": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"tests": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/alternatives/items"
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"download": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"glob": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"glob"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"default": {
|
|
||||||
"renderings": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"showcase": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"samples": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"cart_id": {
|
|
||||||
"$ref": "#/definitions/projects/properties/cart_id"
|
|
||||||
},
|
|
||||||
"code": {
|
|
||||||
"$ref": "#/definitions/projects/properties/code"
|
|
||||||
},
|
|
||||||
"price": {
|
|
||||||
"$ref": "#/definitions/projects/properties/price"
|
|
||||||
},
|
|
||||||
"cscartCats": {
|
|
||||||
"$ref": "#/definitions/projects/properties/cscartCats"
|
|
||||||
},
|
|
||||||
"cscartId": {
|
|
||||||
"$ref": "#/definitions/projects/properties/cscartId"
|
|
||||||
},
|
|
||||||
"vendorId": {
|
|
||||||
"$ref": "#/definitions/projects/properties/vendorId"
|
|
||||||
},
|
|
||||||
"shipping": {
|
|
||||||
"$ref": "#/definitions/projects/properties/shipping"
|
|
||||||
},
|
|
||||||
"replaced_by": {
|
|
||||||
"$ref": "#/definitions/projects/properties/replaced_by"
|
|
||||||
},
|
|
||||||
"alternatives": {
|
|
||||||
"$ref": "#/definitions/projects/properties/alternatives"
|
|
||||||
},
|
|
||||||
"used_by": {
|
|
||||||
"$ref": "#/definitions/projects/properties/used_by"
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"$ref": "#/definitions/projects/properties/image"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"$ref": "#/definitions/projects/properties/name"
|
|
||||||
},
|
|
||||||
"edrawings": {
|
|
||||||
"$ref": "#/definitions/projects/properties/edrawings"
|
|
||||||
},
|
|
||||||
"cad": {
|
|
||||||
"$ref": "#/definitions/projects/properties/cad"
|
|
||||||
},
|
|
||||||
"manufacturing": {
|
|
||||||
"$ref": "#/definitions/projects/properties/manufacturing"
|
|
||||||
},
|
|
||||||
"showDimensions": {
|
|
||||||
"$ref": "#/definitions/projects/properties/showDimensions"
|
|
||||||
},
|
|
||||||
"showParts": {
|
|
||||||
"$ref": "#/definitions/projects/properties/showParts"
|
|
||||||
},
|
|
||||||
"Preview3d": {
|
|
||||||
"$ref": "#/definitions/projects/properties/Preview3d"
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"$ref": "#/definitions/projects/properties/flags"
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"$ref": "#/definitions/projects/properties/slug"
|
|
||||||
},
|
|
||||||
"keywords": {
|
|
||||||
"$ref": "#/definitions/projects/properties/keywords"
|
|
||||||
},
|
|
||||||
"meta_keywords": {
|
|
||||||
"$ref": "#/definitions/projects/properties/meta_keywords"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"$ref": "#/definitions/projects/properties/version"
|
|
||||||
},
|
|
||||||
"versions": {
|
|
||||||
"$ref": "#/definitions/projects/properties/versions"
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"$ref": "#/definitions/projects/properties/status"
|
|
||||||
},
|
|
||||||
"authors": {
|
|
||||||
"$ref": "#/definitions/projects/properties/authors"
|
|
||||||
},
|
|
||||||
"assets": {
|
|
||||||
"$ref": "#/definitions/projects/properties/assets"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"$ref": "#/definitions/projects/properties/resources"
|
|
||||||
},
|
|
||||||
"tests": {
|
|
||||||
"$ref": "#/definitions/projects/properties/tests"
|
|
||||||
},
|
|
||||||
"download": {
|
|
||||||
"$ref": "#/definitions/projects/properties/download"
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"$ref": "#/definitions/projects/properties/gallery"
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components"
|
|
||||||
},
|
|
||||||
"howto_categories": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"steps": {},
|
|
||||||
"sourceLanguage": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"category": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"product_dimensions": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"fusion-folder": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"nc-folder": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"cam": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/projects/properties/authors/items"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"fusion-folder",
|
|
||||||
"nc-folder",
|
|
||||||
"cam"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"score": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"body": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"highlights": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"specs": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"license": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"readme": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"shared": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"name",
|
|
||||||
"manufacturing",
|
|
||||||
"slug",
|
|
||||||
"category"
|
|
||||||
],
|
|
||||||
"additionalProperties": true
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"howto_categories": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/howto_categories"
|
|
||||||
},
|
|
||||||
"steps": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/steps"
|
|
||||||
},
|
|
||||||
"sourceLanguage": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/sourceLanguage"
|
|
||||||
},
|
|
||||||
"category": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/category"
|
|
||||||
},
|
|
||||||
"product_dimensions": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/product_dimensions"
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/production"
|
|
||||||
},
|
|
||||||
"score": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/score"
|
|
||||||
},
|
|
||||||
"body": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/body"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/features"
|
|
||||||
},
|
|
||||||
"highlights": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/highlights"
|
|
||||||
},
|
|
||||||
"specs": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/specs"
|
|
||||||
},
|
|
||||||
"license": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/license"
|
|
||||||
},
|
|
||||||
"readme": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/readme"
|
|
||||||
},
|
|
||||||
"shared": {
|
|
||||||
"$ref": "#/definitions/projects/properties/components/items/properties/shared"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"name",
|
|
||||||
"manufacturing",
|
|
||||||
"slug",
|
|
||||||
"category"
|
|
||||||
],
|
|
||||||
"additionalProperties": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"format": "unix-time"
|
"format": "unix-time"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"default": "2025-12-29T09:41:13.779Z"
|
"default": "2025-12-29T19:01:50.744Z"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -1,602 +0,0 @@
|
|||||||
{
|
|
||||||
"$ref": "#/definitions/store",
|
|
||||||
"definitions": {
|
|
||||||
"store": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"cart_id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"code": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"price": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"cscartCats": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cscartId": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"vendorId": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"shipping": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"price": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"transit": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"handling": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"default": {
|
|
||||||
"price": 0,
|
|
||||||
"transit": 12,
|
|
||||||
"handling": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"replaced_by": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"alternatives": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"url",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"used_by": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/alternatives/items"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"thumb": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"responsive": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"meta": {},
|
|
||||||
"keywords": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"alt": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"height": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"width": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"order": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"exif": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {},
|
|
||||||
"jfif": {},
|
|
||||||
"exif": {},
|
|
||||||
"gps": {}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"edrawings": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"cad": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"configuration": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"step": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"model": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"html": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"file",
|
|
||||||
"name",
|
|
||||||
"configuration"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"manufacturing": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"lead_time": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"showDimensions": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"showParts": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"Preview3d": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"type": "number",
|
|
||||||
"default": 0
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"keywords": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"meta_keywords": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"versions": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"version": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"up": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"down": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"family": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"sheet": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"authors": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"name": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"url": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"name",
|
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assets": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"gallery": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"renderings": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"showcase": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"samples": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"default": {
|
|
||||||
"gallery": [],
|
|
||||||
"renderings": [],
|
|
||||||
"components": [],
|
|
||||||
"configurations": [],
|
|
||||||
"showcase": [],
|
|
||||||
"samples": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"tests": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/alternatives/items"
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"download": {
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"glob": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"glob"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"default": {
|
|
||||||
"renderings": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"showcase": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"samples": {
|
|
||||||
"glob": [
|
|
||||||
"*.+(JPG|jpg|png|PNG|gif)"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"cart_id": {
|
|
||||||
"$ref": "#/definitions/store/properties/cart_id"
|
|
||||||
},
|
|
||||||
"code": {
|
|
||||||
"$ref": "#/definitions/store/properties/code"
|
|
||||||
},
|
|
||||||
"price": {
|
|
||||||
"$ref": "#/definitions/store/properties/price"
|
|
||||||
},
|
|
||||||
"cscartCats": {
|
|
||||||
"$ref": "#/definitions/store/properties/cscartCats"
|
|
||||||
},
|
|
||||||
"cscartId": {
|
|
||||||
"$ref": "#/definitions/store/properties/cscartId"
|
|
||||||
},
|
|
||||||
"vendorId": {
|
|
||||||
"$ref": "#/definitions/store/properties/vendorId"
|
|
||||||
},
|
|
||||||
"shipping": {
|
|
||||||
"$ref": "#/definitions/store/properties/shipping"
|
|
||||||
},
|
|
||||||
"replaced_by": {
|
|
||||||
"$ref": "#/definitions/store/properties/replaced_by"
|
|
||||||
},
|
|
||||||
"alternatives": {
|
|
||||||
"$ref": "#/definitions/store/properties/alternatives"
|
|
||||||
},
|
|
||||||
"used_by": {
|
|
||||||
"$ref": "#/definitions/store/properties/used_by"
|
|
||||||
},
|
|
||||||
"image": {
|
|
||||||
"$ref": "#/definitions/store/properties/image"
|
|
||||||
},
|
|
||||||
"name": {
|
|
||||||
"$ref": "#/definitions/store/properties/name"
|
|
||||||
},
|
|
||||||
"edrawings": {
|
|
||||||
"$ref": "#/definitions/store/properties/edrawings"
|
|
||||||
},
|
|
||||||
"cad": {
|
|
||||||
"$ref": "#/definitions/store/properties/cad"
|
|
||||||
},
|
|
||||||
"manufacturing": {
|
|
||||||
"$ref": "#/definitions/store/properties/manufacturing"
|
|
||||||
},
|
|
||||||
"showDimensions": {
|
|
||||||
"$ref": "#/definitions/store/properties/showDimensions"
|
|
||||||
},
|
|
||||||
"showParts": {
|
|
||||||
"$ref": "#/definitions/store/properties/showParts"
|
|
||||||
},
|
|
||||||
"Preview3d": {
|
|
||||||
"$ref": "#/definitions/store/properties/Preview3d"
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"$ref": "#/definitions/store/properties/flags"
|
|
||||||
},
|
|
||||||
"slug": {
|
|
||||||
"$ref": "#/definitions/store/properties/slug"
|
|
||||||
},
|
|
||||||
"keywords": {
|
|
||||||
"$ref": "#/definitions/store/properties/keywords"
|
|
||||||
},
|
|
||||||
"meta_keywords": {
|
|
||||||
"$ref": "#/definitions/store/properties/meta_keywords"
|
|
||||||
},
|
|
||||||
"version": {
|
|
||||||
"$ref": "#/definitions/store/properties/version"
|
|
||||||
},
|
|
||||||
"versions": {
|
|
||||||
"$ref": "#/definitions/store/properties/versions"
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"$ref": "#/definitions/store/properties/status"
|
|
||||||
},
|
|
||||||
"authors": {
|
|
||||||
"$ref": "#/definitions/store/properties/authors"
|
|
||||||
},
|
|
||||||
"assets": {
|
|
||||||
"$ref": "#/definitions/store/properties/assets"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"$ref": "#/definitions/store/properties/resources"
|
|
||||||
},
|
|
||||||
"tests": {
|
|
||||||
"$ref": "#/definitions/store/properties/tests"
|
|
||||||
},
|
|
||||||
"download": {
|
|
||||||
"$ref": "#/definitions/store/properties/download"
|
|
||||||
},
|
|
||||||
"gallery": {
|
|
||||||
"$ref": "#/definitions/store/properties/gallery"
|
|
||||||
},
|
|
||||||
"components": {
|
|
||||||
"$ref": "#/definitions/store/properties/components"
|
|
||||||
},
|
|
||||||
"howto_categories": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"steps": {},
|
|
||||||
"sourceLanguage": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"category": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"product_dimensions": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"fusion-folder": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"nc-folder": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"cam": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/definitions/store/properties/authors/items"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"fusion-folder",
|
|
||||||
"nc-folder",
|
|
||||||
"cam"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"score": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"body": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"highlights": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"specs": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"license": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"readme": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"shared": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"name",
|
|
||||||
"manufacturing",
|
|
||||||
"slug",
|
|
||||||
"category"
|
|
||||||
],
|
|
||||||
"additionalProperties": true
|
|
||||||
},
|
|
||||||
"default": []
|
|
||||||
},
|
|
||||||
"howto_categories": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/howto_categories"
|
|
||||||
},
|
|
||||||
"steps": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/steps"
|
|
||||||
},
|
|
||||||
"sourceLanguage": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/sourceLanguage"
|
|
||||||
},
|
|
||||||
"category": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/category"
|
|
||||||
},
|
|
||||||
"product_dimensions": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/product_dimensions"
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/production"
|
|
||||||
},
|
|
||||||
"score": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/score"
|
|
||||||
},
|
|
||||||
"body": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/body"
|
|
||||||
},
|
|
||||||
"features": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/features"
|
|
||||||
},
|
|
||||||
"highlights": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/highlights"
|
|
||||||
},
|
|
||||||
"specs": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/specs"
|
|
||||||
},
|
|
||||||
"license": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/license"
|
|
||||||
},
|
|
||||||
"readme": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/readme"
|
|
||||||
},
|
|
||||||
"shared": {
|
|
||||||
"$ref": "#/definitions/store/properties/components/items/properties/shared"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"code",
|
|
||||||
"name",
|
|
||||||
"manufacturing",
|
|
||||||
"slug",
|
|
||||||
"category"
|
|
||||||
],
|
|
||||||
"additionalProperties": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
||||||
}
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"_variables": {
|
"_variables": {
|
||||||
"lastUpdateCheck": 1766761372436
|
"lastUpdateCheck": 1767034904633
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@
|
|||||||
},
|
},
|
||||||
"pages": {
|
"pages": {
|
||||||
"home": {
|
"home": {
|
||||||
"hero": "https://assets.osr-plastic.org/machines/assets/newsletter/common/products/extruders/overview-3.jpg",
|
"hero": "https://assets.files.polymech.info/machines/assets/newsletter/common/products/extruders/overview-3.jpg",
|
||||||
"_blog": {
|
"_blog": {
|
||||||
"store": "resources"
|
"store": "resources"
|
||||||
}
|
}
|
||||||
@ -240,6 +240,9 @@
|
|||||||
"show_resources": true,
|
"show_resources": true,
|
||||||
"show_debug": false,
|
"show_debug": false,
|
||||||
"show_samples": true,
|
"show_samples": true,
|
||||||
|
"show_issues": true,
|
||||||
|
"show_offers": true,
|
||||||
|
"show_contacts": true,
|
||||||
"show_readme": false,
|
"show_readme": false,
|
||||||
"show_related": true,
|
"show_related": true,
|
||||||
"show_showcase": true,
|
"show_showcase": true,
|
||||||
|
|||||||
20
app.log
20
app.log
@ -84,3 +84,23 @@
|
|||||||
{"level":"INFO","time":"2025-12-29T09:41:13.146Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
{"level":"INFO","time":"2025-12-29T09:41:13.146Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
{"level":"INFO","time":"2025-12-29T09:41:13.700Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
{"level":"INFO","time":"2025-12-29T09:41:13.700Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
{"level":"INFO","time":"2025-12-29T09:41:13.715Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
{"level":"INFO","time":"2025-12-29T09:41:13.715Z","pid":24528,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:02.702Z","pid":19964,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:03.718Z","pid":19964,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:27.302Z","pid":9300,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:31.271Z","pid":9300,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:33.592Z","pid":9300,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:47:33.608Z","pid":9300,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:57:31.817Z","pid":16380,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:57:33.073Z","pid":16380,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:58:01.224Z","pid":23376,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:58:06.752Z","pid":23376,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:58:09.628Z","pid":23376,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T18:58:09.652Z","pid":23376,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:12.612Z","pid":14592,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:13.771Z","pid":14592,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:42.162Z","pid":11176,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:46.925Z","pid":11176,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:49.221Z","pid":11176,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:01:49.241Z","pid":11176,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:06:58.370Z","pid":27984,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from C:\\Users\\zx\\Desktop\\polymech\\library.polymech\\app-config.json for locale en"}
|
||||||
|
{"level":"INFO","time":"2025-12-29T19:07:01.239Z","pid":27984,"hostname":"DESKTOP-OL563U1","msg":"Loading library config from ./app-config.json for locale en"}
|
||||||
|
|||||||
@ -5,6 +5,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../polymech-astro"
|
"path": "../polymech-astro"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../osr/osr-machines"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../osr/products/products"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
|
|||||||
14
profile.json
14
profile.json
@ -2,14 +2,14 @@
|
|||||||
"includes": [],
|
"includes": [],
|
||||||
"variables": {
|
"variables": {
|
||||||
"PRODUCT_ROOT": "${root}/${product}/",
|
"PRODUCT_ROOT": "${root}/${product}/",
|
||||||
"abs_url": "https://assets.osr-plastic.org",
|
"abs_url": "https://assets.files.polymech.info",
|
||||||
"CACHE": "${root}/cache/",
|
"CACHE": "${root}/cache/",
|
||||||
"CACHE_URL": "${abs_url}/cache/",
|
"CACHE_URL": "${abs_url}/cache/",
|
||||||
"GIT_REPO": "https://git.polymech.io/",
|
"GIT_REPO": "https://git.polymech.info/",
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org",
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info",
|
||||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/${product_rel}",
|
"PRODUCTS_ASSETS_URL": "https://assets.files.polymech.info/${product_rel}",
|
||||||
"OSR_FILES_WEB": "https://files.polymech.info/files/machines",
|
"OSR_FILES_WEB": "https://files.polymech.info/files/machines",
|
||||||
"PRODUCTS_FILES_URL": "${OSR_FILES_WEB}/${product_rel}",
|
"PRODUCTS_FILES_URL": "${OSR_FILES_WEB}/${product_rel_min}",
|
||||||
"DISCORD": "https://discord.gg/s8K7yKwBRc"
|
"DISCORD": "https://discord.gg/s8K7yKwBRc"
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"${PRODUCT_ROOT}"
|
"${PRODUCT_ROOT}"
|
||||||
],
|
],
|
||||||
"variables": {
|
"variables": {
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org/"
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"astro-debug": {
|
"astro-debug": {
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"${PRODUCT_ROOT}"
|
"${PRODUCT_ROOT}"
|
||||||
],
|
],
|
||||||
"variables": {
|
"variables": {
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org",
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info",
|
||||||
"showCart": false,
|
"showCart": false,
|
||||||
"showPrice": false,
|
"showPrice": false,
|
||||||
"showResources": false,
|
"showResources": false,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"site": {
|
"site": {
|
||||||
"title": "Polymech",
|
"title": "Polymech",
|
||||||
"base_url": "https://creava.org/",
|
"base_url": "https://creava.org/",
|
||||||
"description" : "",
|
"description": "",
|
||||||
"base_path": "/",
|
"base_path": "/",
|
||||||
"trailing_slash": false,
|
"trailing_slash": false,
|
||||||
"favicon": "/images/favicon.png",
|
"favicon": "/images/favicon.png",
|
||||||
@ -15,7 +15,7 @@
|
|||||||
"default": "/images/default-image.png",
|
"default": "/images/default-image.png",
|
||||||
"error": "/images/error-image.png",
|
"error": "/images/error-image.png",
|
||||||
"alt": "Astrofront",
|
"alt": "Astrofront",
|
||||||
"src": "https://assets.osr-plastic.org/machines//assets/newsletter/common/products/extruders/overview-3.jpg"
|
"src": "https://assets.files.polymech.info/machines//assets/newsletter/common/products/extruders/overview-3.jpg"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"footer_left": [
|
"footer_left": [
|
||||||
@ -26,15 +26,13 @@
|
|||||||
{
|
{
|
||||||
"href": "/infopages/contact",
|
"href": "/infopages/contact",
|
||||||
"text": "Contact"
|
"text": "Contact"
|
||||||
} ,
|
},
|
||||||
{
|
{
|
||||||
"href": "/newsletter/newsletter_2024_09_en-hugo-release.html",
|
"href": "/newsletter/newsletter_2024_09_en-hugo-release.html",
|
||||||
"text": "Newsletter"
|
"text": "Newsletter"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"footer_right": [
|
"footer_right": [],
|
||||||
|
|
||||||
],
|
|
||||||
"settings": {
|
"settings": {
|
||||||
"search": true,
|
"search": true,
|
||||||
"account": true,
|
"account": true,
|
||||||
@ -74,10 +72,10 @@
|
|||||||
"featured_products": "featured-products"
|
"featured_products": "featured-products"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pages":{
|
"pages": {
|
||||||
"home":{
|
"home": {
|
||||||
"hero": "https://assets.osr-plastic.org/machines//assets/newsletter/common/products/extruders/overview-3.jpg",
|
"hero": "https://assets.files.polymech.info/machines//assets/newsletter/common/products/extruders/overview-3.jpg",
|
||||||
"blog":{
|
"blog": {
|
||||||
"store": "resources"
|
"store": "resources"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
"default": "/images/default-image.png",
|
"default": "/images/default-image.png",
|
||||||
"error": "/images/error-image.png",
|
"error": "/images/error-image.png",
|
||||||
"alt": "Astrofront",
|
"alt": "Astrofront",
|
||||||
"src": "https://assets.osr-plastic.org/machines//assets/newsletter/common/products/extruders/overview-3.jpg"
|
"src": "https://assets.files.polymech.info/machines//assets/newsletter/common/products/extruders/overview-3.jpg"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"footer_left": [
|
"footer_left": [
|
||||||
@ -74,7 +74,7 @@
|
|||||||
},
|
},
|
||||||
"pages": {
|
"pages": {
|
||||||
"home": {
|
"home": {
|
||||||
"hero": "https://assets.osr-plastic.org/machines//assets/newsletter/common/products/extruders/overview-3.jpg",
|
"hero": "https://assets.files.polymech.info/machines//assets/newsletter/common/products/extruders/overview-3.jpg",
|
||||||
"blog": {
|
"blog": {
|
||||||
"store": "resources"
|
"store": "resources"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,12 +2,12 @@
|
|||||||
"includes": [],
|
"includes": [],
|
||||||
"variables": {
|
"variables": {
|
||||||
"PRODUCT_ROOT": "${root}/${product}/",
|
"PRODUCT_ROOT": "${root}/${product}/",
|
||||||
"abs_url": "https://assets.osr-plastic.org",
|
"abs_url": "https://assets.files.polymech.info",
|
||||||
"CACHE": "${root}/cache/",
|
"CACHE": "${root}/cache/",
|
||||||
"CACHE_URL": "${abs_url}/cache/",
|
"CACHE_URL": "${abs_url}/cache/",
|
||||||
"GIT_REPO": "https://git.polymech.io/",
|
"GIT_REPO": "https://git.polymech.io/",
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org",
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info",
|
||||||
"PRODUCTS_ASSETS_URL": "https://assets.osr-plastic.org/${product_rel}",
|
"PRODUCTS_ASSETS_URL": "https://assets.files.polymech.info/${product_rel}",
|
||||||
"OSR_FILES_WEB": "https://files.polymech.info/files/machines",
|
"OSR_FILES_WEB": "https://files.polymech.info/files/machines",
|
||||||
"PRODUCTS_FILES_URL": "${OSR_FILES_WEB}/${product_rel}",
|
"PRODUCTS_FILES_URL": "${OSR_FILES_WEB}/${product_rel}",
|
||||||
"DISCORD": "https://discord.gg/s8K7yKwBRc"
|
"DISCORD": "https://discord.gg/s8K7yKwBRc"
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"${PRODUCT_ROOT}"
|
"${PRODUCT_ROOT}"
|
||||||
],
|
],
|
||||||
"variables": {
|
"variables": {
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org/"
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"astro-debug": {
|
"astro-debug": {
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"${PRODUCT_ROOT}"
|
"${PRODUCT_ROOT}"
|
||||||
],
|
],
|
||||||
"variables": {
|
"variables": {
|
||||||
"OSR_MACHINES_ASSETS_URL": "https://assets.osr-plastic.org",
|
"OSR_MACHINES_ASSETS_URL": "https://assets.files.polymech.info",
|
||||||
"showCart": false,
|
"showCart": false,
|
||||||
"showPrice": false,
|
"showPrice": false,
|
||||||
"showResources": false,
|
"showResources": false,
|
||||||
|
|||||||
@ -33,7 +33,7 @@ tags: ["community", "blogging", "c++"]
|
|||||||
|
|
||||||
- [Interview: AON3D Launches Hylo and Basis: The Future of 3D Printing Software and Hardware](https://3dprintingindustry.com/news/interview-aon3d-launches-hylo-and-basis-the-future-of-3d-printing-software-and-hardware-225751/)
|
- [Interview: AON3D Launches Hylo and Basis: The Future of 3D Printing Software and Hardware](https://3dprintingindustry.com/news/interview-aon3d-launches-hylo-and-basis-the-future-of-3d-printing-software-and-hardware-225751/)
|
||||||
|
|
||||||
- [Resource : Collection of AI Tools](https://forum.osr-plastic.org/t/ai-tools/11060)
|
- [Resource : Collection of AI Tools](https://forum.files.polymech.info/t/ai-tools/11060)
|
||||||
|
|
||||||
- [Resource: The CTO Handbook](https://github.com/ZachGoldberg/Startup-CTO-Handbook/blob/main/StartupCTOHandbook.md)
|
- [Resource: The CTO Handbook](https://github.com/ZachGoldberg/Startup-CTO-Handbook/blob/main/StartupCTOHandbook.md)
|
||||||
|
|
||||||
@ -101,11 +101,11 @@ tags: ["community", "blogging", "c++"]
|
|||||||
|
|
||||||
### Polymech - Resources
|
### Polymech - Resources
|
||||||
|
|
||||||
- [Marketplace](https://shop.osr-plastic.org/)
|
- [Marketplace](https://shop.files.polymech.info/)
|
||||||
|
|
||||||
- [Howtos](https://forum.osr-plastic.org/c/wiki/howtos/72)
|
- [Howtos](https://forum.files.polymech.info/c/wiki/howtos/72)
|
||||||
|
|
||||||
- [Machine & Components Library](https://forum.osr-plastic.org/c/machines/49)
|
- [Machine & Components Library](https://forum.files.polymech.info/c/machines/49)
|
||||||
|
|
||||||
- [Moulds - Library](https://files.polymech.info/files/machines/moulds/)
|
- [Moulds - Library](https://files.polymech.info/files/machines/moulds/)
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ tags: ["community", "blogging", "c++"]
|
|||||||
|
|
||||||
- [Firmware](https://git.polymech.io/osr-plastic/osr-firmware)
|
- [Firmware](https://git.polymech.io/osr-plastic/osr-firmware)
|
||||||
|
|
||||||
- [EMail](mailto:admin@osr-plastic.org)
|
- [EMail](mailto:admin@files.polymech.info)
|
||||||
|
|
||||||
#### Talents
|
#### Talents
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,6 @@ We are pleased to share the tools that support us to develop open-source hardwar
|
|||||||
|
|
||||||
[***Polymech-Code-Bot***](https://git.polymech.io/osr-plastic/osr-mono/src/branch/master/packages/osr-code-bot) As alternative to [bolt.new](https://bolt.new) and similar AI aided tools, we introduced a terminal variant that helps with data & code transformation, translations and reseach.
|
[***Polymech-Code-Bot***](https://git.polymech.io/osr-plastic/osr-mono/src/branch/master/packages/osr-code-bot) As alternative to [bolt.new](https://bolt.new) and similar AI aided tools, we introduced a terminal variant that helps with data & code transformation, translations and reseach.
|
||||||
|
|
||||||
We are currently porting all packages to more recent standards, enabling free trade, modern content creation. That includes migrating content from PreciousPlastic and others sources due to massive corruption and censorship cases. See [here](https://forum.osr-plastic.org/t/preciousplastic-review/11066) more details.
|
We are currently porting all packages to more recent standards, enabling free trade, modern content creation. That includes migrating content from PreciousPlastic and others sources due to massive corruption and censorship cases. See [here](https://forum.files.polymech.info/t/preciousplastic-review/11066) more details.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@ -9,7 +9,8 @@ const slugify = require('slugify');
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
sanitize,
|
sanitize,
|
||||||
imageName} from './download'
|
imageName
|
||||||
|
} from './download'
|
||||||
|
|
||||||
export const createMap = async (src, data, users, root) => {
|
export const createMap = async (src, data, users, root) => {
|
||||||
|
|
||||||
@ -30,7 +31,7 @@ export const createMap = async (src, data, users, root) => {
|
|||||||
const pins = users.filter((u) => u.type === type && u.location);
|
const pins = users.filter((u) => u.type === type && u.location);
|
||||||
const placeTemplate = read(path.resolve(`${templates_path}/place.xml`));
|
const placeTemplate = read(path.resolve(`${templates_path}/place.xml`));
|
||||||
return pins.map((u) => {
|
return pins.map((u) => {
|
||||||
const image = `https://osr-plastic.org/users/${u._id}/${encodeURIComponent(sanitize(imageName(u.detail.heroImageUrl)))}`;
|
const image = `https://files.polymech.info/users/${u._id}/${encodeURIComponent(sanitize(imageName(u.detail.heroImageUrl)))}`;
|
||||||
const title = u.data && u.data.title ? u.data.title : u._id;
|
const title = u.data && u.data.title ? u.data.title : u._id;
|
||||||
let links = '';
|
let links = '';
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ export const createMap = async (src, data, users, root) => {
|
|||||||
logger.error(`User ${u._id} has no links`);
|
logger.error(`User ${u._id} has no links`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// const name = `<a href=\"https://osr-plastic.org/users/${u._id}.html\">${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}</a>`;
|
// const name = `<a href=\"https://files.polymech.info/users/${u._id}.html\">${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}</a>`;
|
||||||
|
|
||||||
const name = `${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}`;
|
const name = `${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}`;
|
||||||
|
|
||||||
@ -67,7 +68,7 @@ export const createMap = async (src, data, users, root) => {
|
|||||||
name: name,
|
name: name,
|
||||||
description: `<img src=${image} height="200" width="auto"/><br/>
|
description: `<img src=${image} height="200" width="auto"/><br/>
|
||||||
${sanitize(u.detail.shortDescription || '')}<br/>
|
${sanitize(u.detail.shortDescription || '')}<br/>
|
||||||
<a href="https://osr-plastic.org/users/${u._id}.html">https://osr-plastic.org/users/${u._id}.html</a><br/>${links}`,
|
<a href="https://files.polymech.info/users/${u._id}.html">https://files.polymech.info/users/${u._id}.html</a><br/>${links}`,
|
||||||
coords: `${u.location.lng},${u.location.lat},0`,
|
coords: `${u.location.lng},${u.location.lat},0`,
|
||||||
media: `<value>${image}</value>`,
|
media: `<value>${image}</value>`,
|
||||||
style: u.moderation == 'accepted' ? styles[type] : 'icon-ci-6'
|
style: u.moderation == 'accepted' ? styles[type] : 'icon-ci-6'
|
||||||
@ -113,7 +114,7 @@ export const createMapDirectory = async (src, data, users, root) => {
|
|||||||
const pins = users.filter((u) => u.type === type && u.location);
|
const pins = users.filter((u) => u.type === type && u.location);
|
||||||
const placeTemplate = read(path.resolve(`${templates_path}/place.xml`));
|
const placeTemplate = read(path.resolve(`${templates_path}/place.xml`));
|
||||||
return pins.map((u) => {
|
return pins.map((u) => {
|
||||||
const image = `https://osr-plastic.org/users/${u._id}/${encodeURIComponent(sanitize(imageName(u.detail.heroImageUrl)))}`;
|
const image = `https://files.polymech.info/users/${u._id}/${encodeURIComponent(sanitize(imageName(u.detail.heroImageUrl)))}`;
|
||||||
const title = u.data && u.data.title ? u.data.title : u._id;
|
const title = u.data && u.data.title ? u.data.title : u._id;
|
||||||
let links = '';
|
let links = '';
|
||||||
|
|
||||||
@ -142,7 +143,7 @@ export const createMapDirectory = async (src, data, users, root) => {
|
|||||||
logger.error(`User ${u._id} has no links`);
|
logger.error(`User ${u._id} has no links`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// const name = `<a href=\"https://osr-plastic.org/users/${u._id}.html\">${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}</a>`;
|
// const name = `<a href=\"https://files.polymech.info/users/${u._id}.html\">${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}</a>`;
|
||||||
|
|
||||||
const name = `${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}`;
|
const name = `${sanitize(slugify(title))} - ${u.moderation !== 'accepted' ? '' : ''}`;
|
||||||
|
|
||||||
@ -150,7 +151,7 @@ export const createMapDirectory = async (src, data, users, root) => {
|
|||||||
name: name,
|
name: name,
|
||||||
description: `<img src=${image} height="200" width="auto"/><br/>
|
description: `<img src=${image} height="200" width="auto"/><br/>
|
||||||
${sanitize(u.detail.shortDescription || '')}<br/>
|
${sanitize(u.detail.shortDescription || '')}<br/>
|
||||||
<a href="https://osr-plastic.org/users/${u._id}.html">https://osr-plastic.org/users/${u._id}.html</a><br/>${links}`,
|
<a href="https://files.polymech.info/users/${u._id}.html">https://files.polymech.info/users/${u._id}.html</a><br/>${links}`,
|
||||||
coords: `${u.location.lng},${u.location.lat},0`,
|
coords: `${u.location.lng},${u.location.lat},0`,
|
||||||
media: `<value>${image}</value>`,
|
media: `<value>${image}</value>`,
|
||||||
style: u.moderation == 'accepted' ? styles[type] : 'icon-ci-6'
|
style: u.moderation == 'accepted' ? styles[type] : 'icon-ci-6'
|
||||||
|
|||||||
@ -5,34 +5,47 @@ import Wrapper from "@/components/containers/Wrapper.astro";
|
|||||||
import { getCollection } from "astro:content";
|
import { getCollection } from "astro:content";
|
||||||
import KBot from "@/components/polymech/kbot.astro";
|
import KBot from "@/components/polymech/kbot.astro";
|
||||||
const allProducts = await getCollection("store");
|
const allProducts = await getCollection("store");
|
||||||
const locale = Astro.currentLocale
|
const locale = Astro.currentLocale;
|
||||||
const store = `${locale}/store/`
|
const store = `${locale}/store/`;
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<Wrapper variant="standard" class="py-4">
|
<Wrapper variant="standard" class="py-4">
|
||||||
<section>
|
<section>
|
||||||
<div class="py-2 space-y-2">
|
<div class="py-2 space-y-2">
|
||||||
<div class="grid md:grid-cols-1 lg:grid-cols-1 gap-4" >
|
<div class="grid md:grid-cols-1 lg:grid-cols-1 gap-4">
|
||||||
<KBot template="research" filters="code" cache dst="./temp/software.md">
|
<KBot
|
||||||
Summarize the following packages, as markdown, add a table
|
template="research"
|
||||||
https://git.polymech.io/osr-plastic/osr-cad
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/software.md"
|
||||||
|
>
|
||||||
|
Summarize the following packages, as markdown, add a
|
||||||
|
table https://git.polymech.io/osr-plastic/osr-cad
|
||||||
https://git.polymech.io/osr-plastic/osr-code-bot
|
https://git.polymech.io/osr-plastic/osr-code-bot
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
<KBot template="research" filters="code" cache dst="./temp/forum.md">
|
<KBot
|
||||||
Top posts, as markdown, add a table, with links and image preview
|
template="research"
|
||||||
https://forum.osr-plastic.org/
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/forum.md"
|
||||||
|
>
|
||||||
|
Top posts, as markdown, add a table, with links and
|
||||||
|
image preview https://forum.files.polymech.info/
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
<KBot template="research" filters="code" cache dst="./temp/kbot.md">
|
<KBot
|
||||||
|
template="research"
|
||||||
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/kbot.md"
|
||||||
|
>
|
||||||
Short summary, as markdown
|
Short summary, as markdown
|
||||||
https://www.npmjs.com/package/@plastichub/kbot
|
https://www.npmjs.com/package/@plastichub/kbot
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</Wrapper
|
</Wrapper></BaseLayout
|
||||||
></BaseLayout
|
|
||||||
>
|
>
|
||||||
|
|||||||
@ -5,34 +5,47 @@ import Wrapper from "@/components/containers/Wrapper.astro";
|
|||||||
import { getCollection } from "astro:content";
|
import { getCollection } from "astro:content";
|
||||||
import KBot from "@/components/polymech/kbot.astro";
|
import KBot from "@/components/polymech/kbot.astro";
|
||||||
const allProducts = await getCollection("store");
|
const allProducts = await getCollection("store");
|
||||||
const locale = Astro.currentLocale
|
const locale = Astro.currentLocale;
|
||||||
const store = `${locale}/store/`
|
const store = `${locale}/store/`;
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<Wrapper variant="standard" class="py-4">
|
<Wrapper variant="standard" class="py-4">
|
||||||
<section>
|
<section>
|
||||||
<div class="py-2 space-y-2">
|
<div class="py-2 space-y-2">
|
||||||
<div class="grid md:grid-cols-1 lg:grid-cols-1 gap-4" >
|
<div class="grid md:grid-cols-1 lg:grid-cols-1 gap-4">
|
||||||
<KBot template="research" filters="code" cache dst="./temp/software.md">
|
<KBot
|
||||||
Summarize the following packages, as markdown, add a table
|
template="research"
|
||||||
https://git.polymech.io/osr-plastic/osr-cad
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/software.md"
|
||||||
|
>
|
||||||
|
Summarize the following packages, as markdown, add a
|
||||||
|
table https://git.polymech.io/osr-plastic/osr-cad
|
||||||
https://git.polymech.io/osr-plastic/osr-code-bot
|
https://git.polymech.io/osr-plastic/osr-code-bot
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
<KBot template="research" filters="code" cache dst="./temp/forum.md">
|
<KBot
|
||||||
Top posts, as markdown, add a table, with links and image preview
|
template="research"
|
||||||
https://forum.osr-plastic.org/
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/forum.md"
|
||||||
|
>
|
||||||
|
Top posts, as markdown, add a table, with links and
|
||||||
|
image preview https://forum.files.polymech.info/
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
<KBot template="research" filters="code" cache dst="./temp/kbot.md">
|
<KBot
|
||||||
|
template="research"
|
||||||
|
filters="code"
|
||||||
|
cache
|
||||||
|
dst="./temp/kbot.md"
|
||||||
|
>
|
||||||
Short summary, as markdown
|
Short summary, as markdown
|
||||||
https://www.npmjs.com/package/@plastichub/kbot
|
https://www.npmjs.com/package/@plastichub/kbot
|
||||||
</KBot>
|
</KBot>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</Wrapper
|
</Wrapper></BaseLayout
|
||||||
></BaseLayout
|
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"/old-page": "/new-page",
|
"/old-page": "/new-page",
|
||||||
"https://shop.osr-plastic.org/injection/katbot/": "https://polymech.io/en/store/products/injection/katbot-pro-mega-beta/"
|
"https://shop.files.polymech.info/injection/katbot/": "https://polymech.io/en/store/products/injection/katbot-pro-mega-beta/"
|
||||||
}
|
}
|
||||||
@ -1 +1 @@
|
|||||||
I'm sorry, but I can't directly fetch or display content from external links such as https://forum.osr-plastic.org/. However, you can copy and paste the forum content here, and I'd be happy to help you format it into Markdown, including tables, clickable links, and image previews.
|
I'm sorry, but I can't directly fetch or display content from external links such as https://forum.files.polymech.info/. However, you can copy and paste the forum content here, and I'd be happy to help you format it into Markdown, including tables, clickable links, and image previews.
|
||||||
Loading…
Reference in New Issue
Block a user