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

@adminide-stack/account-api-server

Package Overview
Dependencies
Maintainers
1
Versions
1008
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adminide-stack/account-api-server - npm Package Compare versions

Comparing version 0.0.16-24 to 0.0.16-25

3

lib/index.js

@@ -373,3 +373,3 @@ module.exports =

module.exports = "enum TierEnum {\n PRO\n PERSONAL\n ENTERPRISE\n}\n\nenum OrgainizationInvitationRole {\n ADMIN\n REINSTATE\n DIRECT_MEMBER\n BILLING_MANAGER\n}\n\ntype OrgUserRole {\n userId: String!\n role: String!\n inactive: Boolean\n}\n\n\ntype Organization {\n id: ID\n name: String\n tier: TierEnum\n picture: String\n stripeId: String\n namespace: String\n orgUserCount: Int\n createdAt: DateTime\n updatedAt: DateTime\n periodStop: DateTime\n orgMembers: [OrgUserRole]\n periodStart: DateTime\n billingLeaders: [String]\n isBillingLeader: Boolean\n mainBilingLeaderId: String\n stripeSubscriptionId: String\n}\n\ntype OrganizationMember {\n id: String\n user: AuthUser\n isBillingLeader: Boolean\n organization: Organization\n}\n\ntype Team {\n id: String\n name: String\n orgId: String\n tags: [String]\n parentTeam: Team\n updatedAt: String\n createdAt: String\n description: String\n invitations: [Invitation]\n teamMembers: [TeamMember]\n}\n\ntype TeamMember {\n id: String\n email: String\n userId: String\n role: TeamMemberRole\n}\n\ntype Invitation {\n _id: ID!\n email: String\n teamId: String\n role: TeamRole\n active: Boolean\n fullName: String\n inviteCount: Int\n invitedBy: String\n createdAt: String\n updatedAt: String\n acceptedAt: String\n tokenExpiration: String\n}\n\nenum TeamRole {\n ADMIN\n MEMBER\n}\n\nenum TeamMemberRole {\n MEMBER\n MAINTAINER\n}\n\ninput ITeamInvitationRequest {\n teamId: String\n emails: [String]\n invitedBy: String\n}\n\ninput ITeamCreationRequest {\n name: String!\n orgId: String!\n tags: [String]\n parentTeam: String\n description: String\n}\n\nextend type Query {\n teams: [Team]\n team(team: ID!): Team\n organizations: [Organization]\n invitation(id: ID!): Invitation!\n}\n\nextend type Mutation {\n resendInvitation(id: ID!): Boolean\n acceptInvitation(id: ID!): Boolean\n declineInvitation(id: ID!): Boolean\n createTeam(request: ITeamCreationRequest!): Boolean\n sendInvitation(request: ITeamInvitationRequest!): Boolean\n}\n"
module.exports = "enum TierEnum {\n PRO\n PERSONAL\n ENTERPRISE\n}\n\nenum OrgainizationInvitationRole {\n ADMIN\n REINSTATE\n DIRECT_MEMBER\n BILLING_MANAGER\n}\n\ntype OrgUserRole {\n userId: String!\n role: String!\n inactive: Boolean\n}\n\n\ntype Organization {\n id: ID\n name: String\n tier: TierEnum\n picture: String\n stripeId: String\n namespace: String\n orgUserCount: Int\n createdAt: DateTime\n updatedAt: DateTime\n periodStop: DateTime\n orgMembers: [OrgUserRole]\n periodStart: DateTime\n billingLeaders: [String]\n isBillingLeader: Boolean\n mainBilingLeaderId: String\n stripeSubscriptionId: String\n}\n\ntype OrganizationMember {\n id: String\n user: AuthUser\n isBillingLeader: Boolean\n organization: Organization\n}\n\ntype Team {\n id: String\n name: String\n orgId: String\n tags: [String]\n parentTeam: Team\n updatedAt: String\n createdAt: String\n description: String\n invitations: [Invitation]\n teamMembers: [TeamMember]\n}\n\ntype TeamMember {\n id: String\n email: String\n userId: String\n role: TeamMemberRole\n}\n\ntype Invitation {\n id: ID!\n email: String\n teamId: String\n role: TeamRole\n active: Boolean\n fullName: String\n inviteCount: Int\n invitedBy: String\n createdAt: String\n updatedAt: String\n acceptedAt: String\n tokenExpiration: String\n}\n\nenum TeamRole {\n ADMIN\n MEMBER\n}\n\nenum TeamMemberRole {\n MEMBER\n MAINTAINER\n}\n\ninput ITeamInvitationRequest {\n teamId: String\n emails: [String]\n invitedBy: String\n}\n\ninput ITeamCreationRequest {\n name: String!\n orgId: String!\n tags: [String]\n parentTeam: String\n description: String\n}\n\nextend type Query {\n teams: [Team]\n team(team: ID!): Team\n organizations: [Organization]\n invitation(id: ID!): Invitation!\n}\n\nextend type Mutation {\n resendInvitation(id: ID!): Boolean\n acceptInvitation(id: ID!): Boolean\n declineInvitation(id: ID!): Boolean\n createTeam(request: ITeamCreationRequest!): Boolean\n sendInvitation(request: ITeamInvitationRequest!): Boolean\n}\n"

@@ -1101,3 +1101,2 @@ /***/ }),

const team = await this.model.findOne({ 'invitations._id': id }).exec();
console.log('<<<<<<<NOTE--:-->>>>>>checking invigtation having .id instead _id and then removed ', team);
return _.find(team.invitations, invitation => invitation.id.toString() === id && invitation.active);

@@ -1104,0 +1103,0 @@ }

{
"name": "@adminide-stack/account-api-server",
"version": "0.0.16-24",
"version": "0.0.16-25",
"description": "Sample core for higher packages to depend on",

@@ -57,4 +57,4 @@ "main": "lib/index.js",

"dependencies": {
"@adminide-stack/account": "^0.0.16-24",
"@adminide-stack/react-shared-components": "^0.0.16-24"
"@adminide-stack/account": "^0.0.16-25",
"@adminide-stack/react-shared-components": "^0.0.16-25"
},

@@ -61,0 +61,0 @@ "peerDependencies": {

@@ -12,3 +12,2 @@ import 'reflect-metadata';

const testDB = generateMongo(process.env.MONGO_UR);
console.log('testDb', testDB);

@@ -15,0 +14,0 @@ describe('AccountRepository', () => {

@@ -149,3 +149,2 @@ import * as _ from 'lodash';

const team = await this.model.findOne({ 'invitations._id': id }).exec();
console.log('<<<<<<<NOTE--:-->>>>>>checking invigtation having .id instead _id and then removed ', team)
return _.find(team.invitations, invitation => invitation.id.toString() === id && invitation.active) as IInvitation;

@@ -152,0 +151,0 @@ }

@@ -22,6 +22,2 @@ var nodeExternals = require('webpack-node-externals');

plugins: [
// new PersistGraphQLPlugin({
// filename: 'persisted_queries.json',
// moduleName: path.resolve('node_modules/persisted_queries.json')
// }),
new webpack.LoaderOptionsPlugin({

@@ -28,0 +24,0 @@ options: {

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