Moving to MiniDocs.
This commit is contained in:
parent
53326c077e
commit
ac3e92bfc9
@ -5,28 +5,6 @@ LeTextualSnippet >> childrenIds [
|
|||||||
^ self children collect: [ :each | each uidString ]
|
^ self children collect: [ :each | each uidString ]
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
|
||||||
LeTextualSnippet >> metadata [
|
|
||||||
|
|
||||||
^ self optionAt: 'metadata' ifAbsentPut: [ self metadataInit ]
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
|
||||||
LeTextualSnippet >> metadataInit [
|
|
||||||
| surrogate |
|
|
||||||
self parent
|
|
||||||
ifNil: [ surrogate := nil]
|
|
||||||
ifNotNil: [ surrogate := self parent uidString ].
|
|
||||||
^ OrderedDictionary new
|
|
||||||
at: 'id' put: self uidString;
|
|
||||||
at: 'parent' put: surrogate;
|
|
||||||
at: 'created' put: self createTime asString;
|
|
||||||
at: 'modified' put: self latestEditTime asString;
|
|
||||||
at: 'creator' put: self createEmail asString;
|
|
||||||
at: 'modifier' put: self editEmail asString;
|
|
||||||
yourself
|
|
||||||
]
|
|
||||||
|
|
||||||
{ #category : #'*Grafoscopio-Utils-Core' }
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||||
LeTextualSnippet >> options [
|
LeTextualSnippet >> options [
|
||||||
^ options
|
^ options
|
||||||
|
Loading…
Reference in New Issue
Block a user