25 lines
584 B
JavaScript
25 lines
584 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.IndexDirective = void 0;
|
|
const name = 'index';
|
|
const definition = `
|
|
directive @${name}(name: String, sortKeyFields: [String], queryField: String, projection: ProjectionInput) repeatable on FIELD_DEFINITION
|
|
|
|
input ProjectionInput {
|
|
type: ProjectionType
|
|
nonKeyAttributes: [String]
|
|
}
|
|
|
|
enum ProjectionType {
|
|
ALL
|
|
KEYS_ONLY
|
|
INCLUDE
|
|
}
|
|
`;
|
|
const defaults = {};
|
|
exports.IndexDirective = {
|
|
name,
|
|
definition,
|
|
defaults,
|
|
};
|
|
//# sourceMappingURL=index-directive.js.map
|