Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colearn/microservices-kit

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colearn/microservices-kit - npm Package Compare versions

Comparing version 0.0.31 to 0.0.32

4

lib/token.js

@@ -15,2 +15,6 @@ "use strict";

}
if ((m === null || m === void 0 ? void 0 : m.membershipType) === types_1.PersonMembershipType.Homeroom) {
const hm = m;
parts.push(m.membershipType, hm.hoomeroomId, hm.role);
}
if ((m === null || m === void 0 ? void 0 : m.membershipType) === types_1.PersonMembershipType.School) {

@@ -17,0 +21,0 @@ const sm = m;

@@ -19,3 +19,4 @@ export declare type Maybe<T> = T | null;

Family = "family",
School = "school"
School = "school",
Homeroom = "homeroom"
}

@@ -76,2 +77,9 @@ export declare type PersonMembership = {

};
export declare type HomeroomMember = {
hoomeroomId: string;
id: string;
membershipType?: Maybe<PersonMembershipType>;
personId: string;
role?: Maybe<HomeroomMembershipRole>;
};
export declare type Child = FamilyMember & PersonMembership & {

@@ -91,1 +99,21 @@ id: string;

};
export declare enum HomeroomMembershipRole {
Student = "student",
Teacher = "teacher"
}
export declare type HomeroomStudent = HomeroomMember & PersonMembership & {
age?: string;
grade?: string;
hoomeroomId: string;
id: string;
membershipType?: Maybe<PersonMembershipType>;
personId: string;
role?: Maybe<HomeroomMembershipRole>;
};
export declare type HomeroomTeacher = HomeroomMember & PersonMembership & {
hoomeroomId: string;
id: string;
membershipType?: Maybe<PersonMembershipType>;
personId: string;
role?: Maybe<HomeroomMembershipRole>;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FamilyRole = exports.SchoolStaffPosition = exports.SchoolMembershipRole = exports.PersonMembershipType = exports.SystemRole = void 0;
exports.HomeroomMembershipRole = exports.FamilyRole = exports.SchoolStaffPosition = exports.SchoolMembershipRole = exports.PersonMembershipType = exports.SystemRole = void 0;
var SystemRole;

@@ -14,2 +14,3 @@ (function (SystemRole) {

PersonMembershipType["School"] = "school";
PersonMembershipType["Homeroom"] = "homeroom";
})(PersonMembershipType = exports.PersonMembershipType || (exports.PersonMembershipType = {}));

@@ -32,2 +33,7 @@ var SchoolMembershipRole;

})(FamilyRole = exports.FamilyRole || (exports.FamilyRole = {}));
var HomeroomMembershipRole;
(function (HomeroomMembershipRole) {
HomeroomMembershipRole["Student"] = "student";
HomeroomMembershipRole["Teacher"] = "teacher";
})(HomeroomMembershipRole = exports.HomeroomMembershipRole || (exports.HomeroomMembershipRole = {}));
//# sourceMappingURL=types.js.map

2

package.json
{
"name": "@colearn/microservices-kit",
"version": "0.0.31",
"version": "0.0.32",
"description": "colearn microservice kit",

@@ -5,0 +5,0 @@ "author": "Colearn",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc