Add default snapshot null filter
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<b306072db6c1956ba956e52443ebf866>>
|
* @generated SignedSource<<725635dc6b9b06340cfc49b9b75d509c>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -176,6 +176,13 @@ return {
|
|||||||
"name": "referenceId",
|
"name": "referenceId",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "snapshotId",
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -359,12 +366,12 @@ return {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "727537500ac037fec1a9ffd04a5c651f",
|
"cacheID": "f788ee5c51814a5f68795aaca97cb971",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "NonconformityRegistryGraphListQuery",
|
"name": "NonconformityRegistryGraphListQuery",
|
||||||
"operationKind": "query",
|
"operationKind": "query",
|
||||||
"text": "query NonconformityRegistryGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...NonconformityRegistriesPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_3iomuz on Organization {\n id\n nonconformityRegistries(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
"text": "query NonconformityRegistryGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...NonconformityRegistriesPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_3iomuz on Organization {\n id\n nonconformityRegistries(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n snapshotId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ const nonconformityRegistriesPageFragment = graphql`
|
|||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
referenceId
|
referenceId
|
||||||
|
snapshotId
|
||||||
description
|
description
|
||||||
status
|
status
|
||||||
dateIdentified
|
dateIdentified
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<fede190bc1e89813ce1034cf93d5ae95>>
|
* @generated SignedSource<<7ec3fc6b9ecb6302152fe0031e791682>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -38,6 +38,7 @@ export type NonconformityRegistriesPageFragment$data = {
|
|||||||
};
|
};
|
||||||
readonly referenceId: string;
|
readonly referenceId: string;
|
||||||
readonly rootCause: string;
|
readonly rootCause: string;
|
||||||
|
readonly snapshotId: string | null | undefined;
|
||||||
readonly status: NonconformityRegistryStatus;
|
readonly status: NonconformityRegistryStatus;
|
||||||
readonly updatedAt: any;
|
readonly updatedAt: any;
|
||||||
};
|
};
|
||||||
@@ -176,6 +177,13 @@ return {
|
|||||||
"name": "referenceId",
|
"name": "referenceId",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "snapshotId",
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -350,6 +358,6 @@ return {
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "ebde2010138ec4b17adb214f7bd24ac6";
|
(node as any).hash = "36f3622d63ddf02a2703a2c8428f4268";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<1ea20f794eca2a8b357e64ccf3ac6deb>>
|
* @generated SignedSource<<5e78749bb635e7aa478ad7efb8f5e01b>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -176,6 +176,13 @@ return {
|
|||||||
"name": "referenceId",
|
"name": "referenceId",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "snapshotId",
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -359,12 +366,12 @@ return {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "f2ec31e8e8ec0d13aeac353f53044f97",
|
"cacheID": "fc70ce5fd4a22cc2bc0d9a63d476008f",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "NonconformityRegistriesPageQuery",
|
"name": "NonconformityRegistriesPageQuery",
|
||||||
"operationKind": "query",
|
"operationKind": "query",
|
||||||
"text": "query NonconformityRegistriesPageQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...NonconformityRegistriesPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_3iomuz on Organization {\n id\n nonconformityRegistries(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
"text": "query NonconformityRegistriesPageQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...NonconformityRegistriesPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_3iomuz on Organization {\n id\n nonconformityRegistries(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n snapshotId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<c584903b5c82a59b575deef3f54379d9>>
|
* @generated SignedSource<<d47034189b16b400cc098c230ea062c1>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -200,6 +200,13 @@ return {
|
|||||||
"name": "referenceId",
|
"name": "referenceId",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "snapshotId",
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -383,16 +390,16 @@ return {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "50e5771b4ff22e23d81c31bf7c92e619",
|
"cacheID": "c8a936f15b58d1f1d51984f692b0bba5",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "NonconformityRegistriesPageRefetchQuery",
|
"name": "NonconformityRegistriesPageRefetchQuery",
|
||||||
"operationKind": "query",
|
"operationKind": "query",
|
||||||
"text": "query NonconformityRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...NonconformityRegistriesPageFragment_35e0S5\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_35e0S5 on Organization {\n id\n nonconformityRegistries(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
"text": "query NonconformityRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...NonconformityRegistriesPageFragment_35e0S5\n id\n }\n}\n\nfragment NonconformityRegistriesPageFragment_35e0S5 on Organization {\n id\n nonconformityRegistries(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n snapshotId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "ebde2010138ec4b17adb214f7bd24ac6";
|
(node as any).hash = "36f3622d63ddf02a2703a2c8428f4268";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ type (
|
|||||||
|
|
||||||
func NewNonconformityRegistryFilter(snapshotID **gid.GID) *NonconformityRegistryFilter {
|
func NewNonconformityRegistryFilter(snapshotID **gid.GID) *NonconformityRegistryFilter {
|
||||||
return &NonconformityRegistryFilter{
|
return &NonconformityRegistryFilter{
|
||||||
snapshotID: nil,
|
snapshotID: snapshotID,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1248,7 +1248,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: AssetOrder
|
orderBy: AssetOrder
|
||||||
filter: AssetFilter
|
filter: AssetFilter = { snapshotId: null }
|
||||||
): AssetConnection! @goField(forceResolver: true)
|
): AssetConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
data(
|
data(
|
||||||
@@ -1257,7 +1257,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: DatumOrder
|
orderBy: DatumOrder
|
||||||
filter: DatumFilter
|
filter: DatumFilter = { snapshotId: null }
|
||||||
): DatumConnection! @goField(forceResolver: true)
|
): DatumConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
audits(
|
audits(
|
||||||
@@ -1274,7 +1274,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: NonconformityRegistryOrder
|
orderBy: NonconformityRegistryOrder
|
||||||
filter: NonconformityRegistryFilter
|
filter: NonconformityRegistryFilter = { snapshotId: null }
|
||||||
): NonconformityRegistryConnection! @goField(forceResolver: true)
|
): NonconformityRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
complianceRegistries(
|
complianceRegistries(
|
||||||
@@ -1283,7 +1283,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ComplianceRegistryOrder
|
orderBy: ComplianceRegistryOrder
|
||||||
filter: ComplianceRegistryFilter
|
filter: ComplianceRegistryFilter = { snapshotId: null }
|
||||||
): ComplianceRegistryConnection! @goField(forceResolver: true)
|
): ComplianceRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
continualImprovementRegistries(
|
continualImprovementRegistries(
|
||||||
@@ -1292,7 +1292,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ContinualImprovementRegistriesOrder
|
orderBy: ContinualImprovementRegistriesOrder
|
||||||
filter: ContinualImprovementRegistryFilter
|
filter: ContinualImprovementRegistryFilter = { snapshotId: null }
|
||||||
): ContinualImprovementRegistryConnection! @goField(forceResolver: true)
|
): ContinualImprovementRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
processingActivityRegistries(
|
processingActivityRegistries(
|
||||||
@@ -1301,7 +1301,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ProcessingActivityRegistryOrder
|
orderBy: ProcessingActivityRegistryOrder
|
||||||
filter: ProcessingActivityRegistryFilter
|
filter: ProcessingActivityRegistryFilter = { snapshotId: null }
|
||||||
): ProcessingActivityRegistryConnection! @goField(forceResolver: true)
|
): ProcessingActivityRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
snapshots(
|
snapshots(
|
||||||
|
|||||||
@@ -9200,7 +9200,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: AssetOrder
|
orderBy: AssetOrder
|
||||||
filter: AssetFilter
|
filter: AssetFilter = { snapshotId: null }
|
||||||
): AssetConnection! @goField(forceResolver: true)
|
): AssetConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
data(
|
data(
|
||||||
@@ -9209,7 +9209,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: DatumOrder
|
orderBy: DatumOrder
|
||||||
filter: DatumFilter
|
filter: DatumFilter = { snapshotId: null }
|
||||||
): DatumConnection! @goField(forceResolver: true)
|
): DatumConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
audits(
|
audits(
|
||||||
@@ -9226,7 +9226,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: NonconformityRegistryOrder
|
orderBy: NonconformityRegistryOrder
|
||||||
filter: NonconformityRegistryFilter
|
filter: NonconformityRegistryFilter = { snapshotId: null }
|
||||||
): NonconformityRegistryConnection! @goField(forceResolver: true)
|
): NonconformityRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
complianceRegistries(
|
complianceRegistries(
|
||||||
@@ -9235,7 +9235,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ComplianceRegistryOrder
|
orderBy: ComplianceRegistryOrder
|
||||||
filter: ComplianceRegistryFilter
|
filter: ComplianceRegistryFilter = { snapshotId: null }
|
||||||
): ComplianceRegistryConnection! @goField(forceResolver: true)
|
): ComplianceRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
continualImprovementRegistries(
|
continualImprovementRegistries(
|
||||||
@@ -9244,7 +9244,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ContinualImprovementRegistriesOrder
|
orderBy: ContinualImprovementRegistriesOrder
|
||||||
filter: ContinualImprovementRegistryFilter
|
filter: ContinualImprovementRegistryFilter = { snapshotId: null }
|
||||||
): ContinualImprovementRegistryConnection! @goField(forceResolver: true)
|
): ContinualImprovementRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
processingActivityRegistries(
|
processingActivityRegistries(
|
||||||
@@ -9253,7 +9253,7 @@ type Organization implements Node {
|
|||||||
last: Int
|
last: Int
|
||||||
before: CursorKey
|
before: CursorKey
|
||||||
orderBy: ProcessingActivityRegistryOrder
|
orderBy: ProcessingActivityRegistryOrder
|
||||||
filter: ProcessingActivityRegistryFilter
|
filter: ProcessingActivityRegistryFilter = { snapshotId: null }
|
||||||
): ProcessingActivityRegistryConnection! @goField(forceResolver: true)
|
): ProcessingActivityRegistryConnection! @goField(forceResolver: true)
|
||||||
|
|
||||||
snapshots(
|
snapshots(
|
||||||
|
|||||||
Reference in New Issue
Block a user