Improving page metadata management.
This commit is contained in:
parent
3b4a7435c2
commit
da8eaeb9a6
@ -20,6 +20,7 @@ LeTextSnippet >> metadataInit [
|
||||
|
||||
^ OrderedDictionary new
|
||||
at: 'id' put: self uidString;
|
||||
at: 'parent' put: self parentId;
|
||||
at: 'created' put: self createTime asString;
|
||||
at: 'modified' put: self latestEditTime asString;
|
||||
at: 'creator' put: self createEmail asString;
|
||||
@ -31,3 +32,9 @@ LeTextSnippet >> metadataInit [
|
||||
LeTextSnippet >> options [
|
||||
^ options
|
||||
]
|
||||
|
||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||
LeTextSnippet >> parentId [
|
||||
self parent ifNil: [ ^ self ].
|
||||
^ self parent uidString.
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user