Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/add-synce-node-deta…
Browse files Browse the repository at this point in the history
…il' into add-synce-node-detail
  • Loading branch information
soson committed Feb 28, 2024
2 parents 2756794 + 0742a04 commit a3cd06f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 114 deletions.
21 changes: 0 additions & 21 deletions src/schema/api.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@ type GraphNodeInterfaceDetails {
ptsfUnusable: String
}

type GraphSynceNodeInterface {
details: synceDeviceInterfaces
id: String!
name: String!
status: GraphEdgeStatus!
}

type GraphVersionEdge {
id: ID!
source: EdgeSourceTarget!
Expand All @@ -365,14 +358,6 @@ type InstallDevicePayload {
device: Device!
}

type Interface {
notQualifiedDueTo: String
notSelectedDueTo: String
qualifiedForUse: String
rxQualityLevel: String
synceEnabled: Boolean
}

type IsOkResponse {
isOk: Boolean!
}
Expand Down Expand Up @@ -745,9 +730,3 @@ type ZonesConnection {
pageInfo: PageInfo!
totalCount: Int!
}

type synceDeviceInterfaces {
id: String!
interface: Interface!
name: String!
}
63 changes: 0 additions & 63 deletions src/schema/nexus-typegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,6 @@ export interface NexusGenObjects {
ptpStatus?: string | null; // String
ptsfUnusable?: string | null; // String
};
GraphSynceNodeInterface: {
// root type
details?: NexusGenRootTypes['synceDeviceInterfaces'] | null; // synceDeviceInterfaces
id: string; // String!
name: string; // String!
status: NexusGenEnums['GraphEdgeStatus']; // GraphEdgeStatus!
};
GraphVersionEdge: {
// root type
id: string; // ID!
Expand All @@ -381,14 +374,6 @@ export interface NexusGenObjects {
// root type
device: NexusGenRootTypes['Device']; // Device!
};
Interface: {
// root type
notQualifiedDueTo?: string | null; // String
notSelectedDueTo?: string | null; // String
qualifiedForUse?: string | null; // String
rxQualityLevel?: string | null; // String
synceEnabled?: boolean | null; // Boolean
};
IsOkResponse: {
// root type
isOk: boolean; // Boolean!
Expand Down Expand Up @@ -624,12 +609,6 @@ export interface NexusGenObjects {
pageInfo: NexusGenRootTypes['PageInfo']; // PageInfo!
totalCount: number; // Int!
};
synceDeviceInterfaces: {
// root type
id: string; // String!
interface: NexusGenRootTypes['Interface']; // Interface!
name: string; // String!
};
}

export interface NexusGenInterfaces {
Expand Down Expand Up @@ -859,13 +838,6 @@ export interface NexusGenFieldTypes {
ptpStatus: string | null; // String
ptsfUnusable: string | null; // String
};
GraphSynceNodeInterface: {
// field return type
details: NexusGenRootTypes['synceDeviceInterfaces'] | null; // synceDeviceInterfaces
id: string; // String!
name: string; // String!
status: NexusGenEnums['GraphEdgeStatus']; // GraphEdgeStatus!
};
GraphVersionEdge: {
// field return type
id: string; // ID!
Expand All @@ -885,14 +857,6 @@ export interface NexusGenFieldTypes {
// field return type
device: NexusGenRootTypes['Device']; // Device!
};
Interface: {
// field return type
notQualifiedDueTo: string | null; // String
notSelectedDueTo: string | null; // String
qualifiedForUse: string | null; // String
rxQualityLevel: string | null; // String
synceEnabled: boolean | null; // Boolean
};
IsOkResponse: {
// field return type
isOk: boolean; // Boolean!
Expand Down Expand Up @@ -1202,12 +1166,6 @@ export interface NexusGenFieldTypes {
pageInfo: NexusGenRootTypes['PageInfo']; // PageInfo!
totalCount: number; // Int!
};
synceDeviceInterfaces: {
// field return type
id: string; // String!
interface: NexusGenRootTypes['Interface']; // Interface!
name: string; // String!
};
BaseGraphNode: {
// field return type
coordinates: NexusGenRootTypes['GraphNodeCoordinates']; // GraphNodeCoordinates!
Expand Down Expand Up @@ -1432,13 +1390,6 @@ export interface NexusGenFieldTypeNames {
ptpStatus: 'String';
ptsfUnusable: 'String';
};
GraphSynceNodeInterface: {
// field return type name
details: 'synceDeviceInterfaces';
id: 'String';
name: 'String';
status: 'GraphEdgeStatus';
};
GraphVersionEdge: {
// field return type name
id: 'ID';
Expand All @@ -1458,14 +1409,6 @@ export interface NexusGenFieldTypeNames {
// field return type name
device: 'Device';
};
Interface: {
// field return type name
notQualifiedDueTo: 'String';
notSelectedDueTo: 'String';
qualifiedForUse: 'String';
rxQualityLevel: 'String';
synceEnabled: 'Boolean';
};
IsOkResponse: {
// field return type name
isOk: 'Boolean';
Expand Down Expand Up @@ -1775,12 +1718,6 @@ export interface NexusGenFieldTypeNames {
pageInfo: 'PageInfo';
totalCount: 'Int';
};
synceDeviceInterfaces: {
// field return type name
id: 'String';
interface: 'Interface';
name: 'String';
};
BaseGraphNode: {
// field return type name
coordinates: 'GraphNodeCoordinates';
Expand Down
30 changes: 0 additions & 30 deletions src/schema/topology.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,6 @@ export const GraphNodeInterface = objectType({
},
});

export const Interface = objectType({
name: 'Interface',
definition: (t) => {
t.boolean('synceEnabled');
t.string('rxQualityLevel');
t.string('qualifiedForUse');
t.string('notQualifiedDueTo');
t.string('notSelectedDueTo');
},
});

export const SynceDeviceInterfaces = objectType({
name: 'synceDeviceInterfaces',
definition: (t) => {
t.nonNull.string('id');
t.nonNull.string('name');
t.nonNull.field('interface', { type: Interface });
},
});

export const GraphSynceNodeInterface = objectType({
name: 'GraphSynceNodeInterface',
definition: (t) => {
t.nonNull.string('id');
t.nonNull.field('status', { type: GraphInterfaceStatus });
t.nonNull.string('name');
t.field('details', { type: SynceDeviceInterfaces });
},
});

export const GraphNodeCoordinates = objectType({
name: 'GraphNodeCoordinates',
definition: (t) => {
Expand Down

0 comments on commit a3cd06f

Please sign in to comment.