chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:08:39 +08:00
commit a0df89c693
5252 changed files with 523444 additions and 0 deletions
@@ -0,0 +1,21 @@
import { EdgeStack } from '@/react/edge/edge-stacks/types';
import { GitFormModel, RelativePathModel } from '../types';
export function parseRelativePathResponse(stack: EdgeStack): RelativePathModel {
return {
SupportRelativePath: stack.SupportRelativePath ?? false,
FilesystemPath: stack.FilesystemPath ?? '',
SupportPerDeviceConfigs: stack.SupportPerDeviceConfigs ?? false,
PerDeviceConfigsMatchType: stack.PerDeviceConfigsMatchType ?? '',
PerDeviceConfigsGroupMatchType: stack.PerDeviceConfigsGroupMatchType ?? '',
PerDeviceConfigsPath: stack.PerDeviceConfigsPath ?? '',
};
}
export const dummyGitForm: GitFormModel = {
SourceId: 0,
AdditionalFiles: [],
RepositoryReferenceName: '',
ComposeFilePathInRepository: '',
};