1.1.1 • Published 3 years ago

@enigmatis/polaris-schema v1.1.1

Weekly downloads
29
License
ISC
Repository
github
Last release
3 years ago

Small Logo

polaris-schema

Build Status NPM version

Install

npm install polaris-schema

Overview

This library helps you set all of the fundamental definitions of polaris based schema.

RepositoryEntity

This interface represents the base entity definitions of any graphql entity that we will create - which means that any graphql entity you will use, must inherit this interface properties. It consists the following properties:

  • id: the unique id of the entity.
  • deleted: whether the entity is soft deleted.
  • createdBy: who created the entity.
  • creationTime: when was the entity created.
  • lastUpdatedBy(string - Optional): who last updated the entity.
  • lastUpdateTime(Date - Optional): when was the entity last updated.
  • realityId: the id of the reality the entity is from.

RepositoryEntityTypeDefs

This member is the actual graphql interface type definition that consists of all of the RepositoryEntity properties explained above.

ScalarsTypeDefs & ScalarsResolvers

All of the scalars supported by polaris-schema.

ExecutableSchemaCreator

This class will combine the type defs and resolvers offered by user, with polaris-schema repository entity and scalars, to one executable schema.

1.9.0

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.3

3 years ago

1.5.2-snapshot.0

3 years ago

1.5.3-snapshot.0

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago