Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
29
node_modules/property-information/lib/util/schema.js
generated
vendored
Normal file
29
node_modules/property-information/lib/util/schema.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @import {Schema as SchemaType, Space} from 'property-information'
|
||||
*/
|
||||
|
||||
/** @type {SchemaType} */
|
||||
export class Schema {
|
||||
/**
|
||||
* @param {SchemaType['property']} property
|
||||
* Property.
|
||||
* @param {SchemaType['normal']} normal
|
||||
* Normal.
|
||||
* @param {Space | undefined} [space]
|
||||
* Space.
|
||||
* @returns
|
||||
* Schema.
|
||||
*/
|
||||
constructor(property, normal, space) {
|
||||
this.normal = normal
|
||||
this.property = property
|
||||
|
||||
if (space) {
|
||||
this.space = space
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Schema.prototype.normal = {}
|
||||
Schema.prototype.property = {}
|
||||
Schema.prototype.space = undefined
|
Reference in New Issue
Block a user