LibraryResourcePatch
Represents an update to a LibraryResource. Fields that are set will be updated.
input LibraryResourcePatch {
id: String
workspaceId: String
version: Int
updatedAt: Datetime
createdAt: Datetime
createdByWorkspaceAccountId: String
deletedAt: Datetime
libraryName: String
approvedAt: Datetime
approvedByWorkspaceAccountId: String
searchVector: FullText
ownerWorkspaceAccountId: String
expirationDate: Date
remoteSyncedAt: Datetime
allDomains: Boolean
}
Fields
LibraryResourcePatch.id ● String scalar
LibraryResourcePatch.workspaceId ● String scalar
LibraryResourcePatch.version ● Int scalar
LibraryResourcePatch.updatedAt ● Datetime scalar
LibraryResourcePatch.createdAt ● Datetime scalar
LibraryResourcePatch.createdByWorkspaceAccountId ● String scalar
LibraryResourcePatch.deletedAt ● Datetime scalar
LibraryResourcePatch.libraryName ● String scalar
Display name of the resource within the content library. Seller-side bookkeeping: customer sessions that are not partners read an empty string.
LibraryResourcePatch.approvedAt ● Datetime scalar
When the library resource was approved for use; null while unapproved or pending. Customer sessions that are not partners also read null, so null alone does not mean unapproved.
LibraryResourcePatch.approvedByWorkspaceAccountId ● String scalar
LibraryResourcePatch.searchVector ● FullText scalar
LibraryResourcePatch.ownerWorkspaceAccountId ● String scalar
The member who owns and maintains this library resource. Customer sessions that are not partners read null.
LibraryResourcePatch.expirationDate ● Date scalar
Author-set expiry, surfaced as a display-only badge (expiring soon / expiring / expired). Nothing in the application gates on it — an expired resource stays readable and linkable. Every customer session reads null, partners included.
LibraryResourcePatch.remoteSyncedAt ● Datetime scalar
For a resource synced from an external source, when it was last synced.
LibraryResourcePatch.allDomains ● Boolean scalar
Partner scoping for this library resource: true opens it to every partner domain, false leaves access to its resource_entitlement domain rows. Scoping it hides it from customers who are not partners; with neither it is visible to every customer.
Member Of
UpdateLibraryResourceByNodeIdInput input ● UpdateLibraryResourceInput input