3.2.0 • Published 2 months ago

@openstapps/core v3.2.0

Weekly downloads
309
License
GPL-3.0-only
Repository
gitlab
Last release
2 months ago

@openstapps/core

pipeline status npm license) documentation

StAppsCore - Generalized model of data

What is the StAppsCore?

The StAppsCore (SC) is a generalized model of data.

SC is based on the idea of schema.org. The SC structures data by describing objects as so called SC-types like: Event, Place, Date, Person, ...

Data sources of the same type of data are assigned to the same SC-type.

Requirements for the SC

  • Study processes which can be generalized are abstracted and modeled in that manner that the structure can be adapted to any german university.
  • It must be platform- and software-independent.
  • Search interface must be clearly specified that different working groups with different search tools can retrieve the same search results.
  • Must be expandable.

Generate documentation for routes

To generate a documentation for the routes use the following command.

node --require ts-node/register src/cli.ts routes PATH/TO/ROUTES.md

Annotations

Annotations are used to add additional informations to fields, which are used to autogenerate mappings from the core objects. External dependencies can not be covered by the annotations. Documentation about some of the annotations can be found in: typedoc

annotationdescriptionparameters
@aggregatableused for generating of aggregations of the field if the core schema is used to put data into a database/key-value storewhether the property is being used on the top type or across all types: global
@floatnumber field is interpreted as float
@indexablemarks the type as indexable if the core schema is used to put data into a database/key-value store
@integernumber field is interpreted as integer
@keywordstring field is interpreted as keyword
@sortablefield is sortable if the core schema is used to put data into a database/key-value store. Fields are always sortable through generic sort, even without annotation.sort method to be used: ducet, price, distance
@textstring field is interpreted as text
@datestring field is interpreted as a date field
@validatableMarks the type for json schema generation, which can be checked at runtime. Any top-level type that is put into a database should always be marked as validatable.
@filterablenon-object/nested field is filterable if the core schema is used to put data into a database/key-value store
@inheritTagsinherit all tags from another field[SCThingType]::[field]

Note: tags ignore casing, but for consistency they should use the variants proposed here.

3.2.0

2 months ago

3.1.1

5 months ago

3.0.0-next.4

10 months ago

3.0.0

7 months ago

3.1.0

6 months ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.75.0

1 year ago

0.74.0

1 year ago

0.72.0

1 year ago

0.73.0

1 year ago

0.71.1

1 year ago

0.71.0

2 years ago

0.70.0

2 years ago

0.69.0

2 years ago

0.68.0

2 years ago

0.67.0

2 years ago

0.66.1

2 years ago

0.66.0

2 years ago

0.64.0

2 years ago

0.65.1

2 years ago

0.62.0

2 years ago

0.60.0

2 years ago

0.59.0

2 years ago

0.57.0

2 years ago

0.63.0

2 years ago

0.61.0

2 years ago

0.58.0

2 years ago

0.55.0

2 years ago

0.56.0

2 years ago

0.54.0

3 years ago

0.53.0

3 years ago

0.52.0

3 years ago

0.51.0

3 years ago

0.50.0

3 years ago

0.49.5

3 years ago

0.49.2

3 years ago

0.49.3

3 years ago

0.49.1

3 years ago

0.48.0

3 years ago

0.47.0

3 years ago

0.46.0

3 years ago

0.45.0

3 years ago

0.44.0

3 years ago

0.43.0

3 years ago

0.42.0

3 years ago

0.41.0

3 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.38.1

4 years ago

0.38.0

4 years ago

0.37.0

4 years ago

0.36.0

4 years ago

0.35.0

4 years ago

0.34.0

4 years ago

0.33.0

4 years ago

0.32.0

4 years ago

0.31.0

5 years ago

0.30.0

5 years ago

0.29.0

5 years ago

0.28.0

5 years ago

0.27.0

5 years ago

0.26.0

5 years ago

0.25.0

5 years ago

0.24.0

5 years ago

0.23.1

5 years ago

0.23.0

5 years ago

0.22.0

5 years ago

0.21.0

5 years ago

0.20.0

5 years ago

0.19.0

5 years ago

0.18.0

5 years ago

0.17.0

5 years ago

0.16.0

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago