Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
blocks: unique(flatMap(this.blocks, block => block.getAdminViews())),
};
}
getGqlAuxTypes({ schemaName }) {
return [...super.getGqlAuxTypes({ schemaName }), ...this.auxList.getGqlTypes({ schemaName })];
}
gqlAuxFieldResolvers({ schemaName }) {
return this.auxList.gqlFieldResolvers({ schemaName });
}
}
export class MongoContentInterface extends Relationship.adapters.mongoose {}
export class KnexContentInterface extends Relationship.adapters.knex {}
return {
...views,
blocks: unique(flatMap(this.blocks, block => block.getAdminViews())),
};
}
getGqlAuxTypes({ schemaName }) {
return [...super.getGqlAuxTypes({ schemaName }), ...this.auxList.getGqlTypes({ schemaName })];
}
gqlAuxFieldResolvers({ schemaName }) {
return this.auxList.gqlFieldResolvers({ schemaName });
}
}
export class MongoContentInterface extends Relationship.adapters.mongoose {}
export class KnexContentInterface extends Relationship.adapters.knex {}